SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-03-2023, 11:41 AM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
Need Suggestions for converting shows to mkvs

For years I have been converting shows via ffmpeg and batch files. Lately the mini client is having issues with those files so I am moving toward using the built in convert and the new sagetvtranscoder.exe from Josh.

I see that I can transcode favorites right inside the favorite menu and even put them in a different folder. That is awesome!

What I want to do is have them automatically convert after hours, not right away. Anyone know of a way to do that, maybe a command I could use from Taskmanager.

I used to be able to control it when I was running an external ffmpeg, but now thats not working right anymore.
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #2  
Old 04-03-2023, 04:05 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Do you cut out commercials first, or do you just encode the original file commercials and all?
Reply With Quote
  #3  
Old 04-03-2023, 05:45 PM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
I don't bother with comskip or editing commercials anymore, I just use the 30 second skip. So no, we just encode the original file. -Bill
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #4  
Old 04-03-2023, 05:55 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
This isn't the solution you were looking for, but just a thought. Have you ever considered not encoding your TV programs, and just purchasing a hard drive large enough to deal with the file sizes? Or is there some other reason that you have to have mkv media files?
Reply With Quote
  #5  
Old 04-03-2023, 10:40 PM
Striker:WG Striker:WG is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 472
Look into Handbrake. I run it via a Docker on Unraid, so it watches a folder and anything that gets dropped in there gets automatically transcoded.

I know it has support for command line calls, so I imagine you could setup some type of a scheduled batch command that would scan and encode files rather than having it start as soon as a file is detected, or you could automate the timing of moving the files into a watched folder for transcoding.
Reply With Quote
  #6  
Old 04-04-2023, 06:36 AM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
Plenty of drive space. I transcode the files so they can be sync'd to our motorhome while traveling, usually via Cellular connections. So bandwidth usage is the main reason I want a 6gb file to become a 1 gb file. I don't transcode anything when we are at home 6 months out of the year. -Bill
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #7  
Old 04-04-2023, 06:39 AM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
Quote:
Originally Posted by Striker:WG View Post
Look into Handbrake. I run it via a Docker on Unraid, so it watches a folder and anything that gets dropped in there gets automatically transcoded.

I know it has support for command line calls, so I imagine you could setup some type of a scheduled batch command that would scan and encode files rather than having it start as soon as a file is detected, or you could automate the timing of moving the files into a watched folder for transcoding.
I am running windows, I will look at handbrake again, it always seemed like an interactive type of program that I would use occasionally. I never thought about it having a command line. -Bill
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #8  
Old 04-04-2023, 07:40 PM
VCRUser VCRUser is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 444
If you don't use the built-in conversion functions, how do you get the converted files recognized as recordings with metadata matching the original? That's the main reason I run my conversions via the built-in process.

I use the web interface for that, as I find it more convenient than the Sage UI for these. I also trim out any starting/ending padding (I get those times by using VLC, then put into a spreadsheet so I know the starting/ending number of seconds to specify. Then before I delete the original, I check that the conversion went ok. Sometimes there's an issue and I need to re-do it.

I have lots of storage, but even more recordings.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit.
Reply With Quote
  #9  
Old 04-04-2023, 08:45 PM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
Quote:
Originally Posted by VCRUser View Post
If you don't use the built-in conversion functions, how do you get the converted files recognized as recordings with metadata matching the original? That's the main reason I run my conversions via the built-in process. I use the web interface for that, as I find it more convenient than the Sage UI for these. I also trim out any starting/ending padding (I get those times by using VLC, then put into a spreadsheet so I know the starting/ending number of seconds to specify. Then before I delete the original, I check that the conversion went ok. Sometimes there's an issue and I need to re-do it.I have lots of storage, but even more recordings.
Wow, that sounds like a lot of work. I just put them into my "videos" folder and use Videos/folders to find and watch them. As they are going to a different sagetv instance they wouldn't show in the recordings unless I changed that in BMT. Which occasionally I do for the wife's shows. -Bill

I am kind of getting resigned to using the internal convert. Just wish I could find a way to run is via a scheduled job instead of immediately after a recording finished like it does when setup in the Favorites page.
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #10  
Old 04-05-2023, 06:20 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I have used my own process using Handbrake and SJQ in the past and the metadata was preserved. But I think I kept the ID number in the file name. There also can be an issue about the file date/time that can screw up the timeline - I think I needed to touch the file to fix that or to set its date/time of creation to the same as the original file.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #11  
Old 04-08-2023, 10:57 AM
Malfunction Malfunction is offline
Sage Aficionado
 
Join Date: Sep 2004
Location: Willoughby, Ohio
Posts: 452
Quote:
Originally Posted by KryptoNyte View Post
Do you cut out commercials first, or do you just encode the original file commercials and all?
How would you cut out the commercials, other than hand editing the videos?
__________________
ASRock B450M Pro4 AM4 MB, Ryzen 5 2600 3.4ghz, Crucial Ballistix Gaming 32GB (2 x 16GB) DDR4-3200, EVGA GT 1030SC, WD Black NVMe SSD 250GB, 1x WD120EFAX 12TB, 1x WD80EFAX 8TB, 1x WDBH2D0040HNC 4TB, USB-UIRT, Colossus 2, WinTV-DualHD USB, Windows 11 64bit
Reply With Quote
  #12  
Old 04-08-2023, 01:07 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
I used VAP in conjunction with SageTV and VideoRedo.
https://videoredo.net/msgBoard/index...or-program.41/

This was for TV shows. VAP basically took the video files in any specific directory, renamed them per the parameters that I configured in VAP for friendly filenames that I liked (using theTVdb for accurate episode names), ran comskip on them, then queued them in a list of files waiting for me to review each for accurate commercial detecting. Once I reviewed the files for comskip accuracy and manually adjusted the way I liked it, the files then went into a second queue where they awaited file creation (without commercials) and ultimately a batch file process that would launch and re-encode each file one after the other using Handbrake.

I got this down to where I could review and correct commercial cuts on a list of 20 shows in about 10 minutes, then just before bed I would start VAP on the secondary processing list, where it would actually perform the final commercial cutting and encoding (with Handbrake). The next morning there would be 20 fully encoded TV shows in the final directory, where I would manually sort them into a TV show archive. It sounds involved, but once it's set up, I would run it once a week or so, so about 10 to 15 minutes of user intervention per week. The computer was a fairly powerful machine for encoding purposes, but it operating as my SageTV server so it was on 24/7 anyway.
Reply With Quote
  #13  
Old 04-10-2023, 07:06 PM
Foggy Foggy is offline
Sage User
 
Join Date: Oct 2015
Posts: 44
re: VideoReDo - no longer available

Per the web site:

"VideoRedo is no longer available for purchase!
Unfortunately the owner and founder of VideoReDo, Dan Rosen, passed away unexpectedly in September. For now all sales, support and development have been halted while his family decides what to do with the company. "
Reply With Quote
  #14  
Old 04-10-2023, 09:26 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
That totally sucks, and if it was six months ago it doesn't sound good. I wonder why they don't just Open Source it, the way that Narflex Open Sourced SageTV?

edit - Reading a little bit more it seems like it is very unlikely that VRD will be taken over by anyone else. There was one developer but he had to find another job and Dan Rosen's wife doesn't seem to know what to do. There also appeared to be lots of knowledge that only rested with the founder so it seems like it isn't that easy to put things back together.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server

Last edited by wayner; 04-10-2023 at 09:41 PM.
Reply With Quote
  #15  
Old 04-14-2023, 02:14 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
Quote:
Originally Posted by bigbill View Post
What I want to do is have them automatically convert after hours, not right away. Anyone know of a way to do that, maybe a command I could use from Taskmanager. .
this is the kind of thing SJQv4 was created for, and I still use it for that, converting all my favorites to MKV's after midnight, since as you said, the Android mini client has some problems (with transport stream files for me). I use it along with a tweaked version of EvilPenguin's old MediaShrink toolset to actually handle the conversions. You can point MediaShrink to use the latest ffmpeg stuff.

can one still install SJQ? I don't even know.

Edit: I don't remove commercials but use the ComSkip tool to create the commercial location file. unfortunately, the Android Mini Client seems to have problems with this on occasion and I think is what is responsible for the play marker to skip to the beginning of a recording on occasional playback.

Last edited by phelme; 04-14-2023 at 02:18 PM.
Reply With Quote
  #16  
Old 04-14-2023, 02:22 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Quote:
can one still install SJQ? I don't even know.
yes you can. did it for a new install i did several weeks ago.
Reply With Quote
  #17  
Old 04-15-2023, 08:19 AM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
I just looked at SJQ in my plugin menu. 2 of the 3 plugins say "Not Compatible" -Bill
Attached Images
File Type: jpg SJQ.jpg (129.3 KB, 16 views)
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #18  
Old 04-15-2023, 01:11 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by bigbill View Post
I just looked at SJQ in my plugin menu. 2 of the 3 plugins say "Not Compatible" -Bill
I believe if you look at the plugin details it will tell you why its not compatible

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #19  
Old 04-15-2023, 06:00 PM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
Doesn't say why its not compatible. At first I thought it was "Has a web site" but that's just below it on the compatible ones too.

Do I just install the Sage Job Queue Agent? None of the website links work, is there a document on whats needed?

Its very odd, but the release notes only go to October 2011 but at the last modified time is January 2022.

-Bill
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #20  
Old 04-15-2023, 09:01 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
I have not installed it in a long time but the most recent changes I made to make it work with the new Jetty Web server which you need. Start with installing that of its not already installed or current. Check out the thread on the web server for details.

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting OTA shows to MP4 Files without Play back Issues bigbill SageTV Clients Development 7 04-03-2023 01:51 PM
Play all MKVs through MPC? ChaOConnor SageTV Software 3 08-30-2011 09:55 AM
MKVs and Cover Art will SageTV Beta Test Software 2 11-05-2010 07:18 PM
Anyone converting shows to H.264? What are your results? 2FAST4U General Discussion 4 02-03-2006 06:09 AM
Converting shows to DIVX but keeping Sage show info? ben_gb General Discussion 3 04-02-2005 10:25 PM


All times are GMT -6. The time now is 11:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.