|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Plugin to Run File Through ffmpeg?
Pretty regularly my Sage v7 setup records shows that can't be played back over an HD300 or HD200.
It was suggested that remuxing the files might solve the problem. I tested doing so with ffmpeg, and it did, indeed, fix the files so they'd play back. Is there a plugin available which can convert a recorded sage file via ffmpeg, through the UI? My testing was done via command line, but that's not wife friendly enough . Basically, I'm looking to be able to run the following command against a previously recorded file, then delete the original and cause sage to re-read the video directory: ffmpeg -i /path/to/file.ts -c copy -map 0 /path/to/file.mkv |
#2
|
||||
|
||||
Quote:
Adding the following entry to sage.properties should add a new option in the Convert screen to remux the file into a, mkv file with the same audio and video streams (essentially what you've done in your ffmpeg command). Code:
transcoder/formats/JustFix=f\=matroska;[bf\=vid;f\=copy;][bf\=aud;f\=copy;]
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 07-21-2016 at 02:17 AM. |
#3
|
||||
|
||||
Thanx for the suggestion. However, when I add that line to sage.properties, sage takes a l-o-n-g time to initialize, and the option doesn't appear in the convert menu. In fact, the "JustFix" line gets deleted from sage.properties during the startup process. I guess Sage is protective that way...
Other thoughts? Or maybe a link you can suggest where I can read up on the transcoder configuration? Maybe something's just a little wrong. BTW, I did try to look for something in the log files. But I wasn't able to see any recently updated log files -- are they someplace other than the c:\program files\sagetv\sagetv folder? |
#4
|
||||
|
||||
From what tuner are these problem files coming?
|
#5
|
||||
|
||||
HDHomeRun Prime (w/cablecards)
|
#6
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#7
|
||||
|
||||
Going forward, I'd recommend switching to OpenDCT, as the new versions can remux the file on the fly as it's being recorded, so this won't be an issue in the future (the issue is typically bad formatting from the cable company, usually introduced when they introduce local commercials into the stream).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#8
|
||||
|
||||
Quote:
|
#9
|
||||
|
||||
I found this old thread and tried adding the transcoder "JustFix" option to clean up recordings made on my Hauppauge QuadHD - but it only seems to work on progressive scan recordings (Fox) and does not seem to work on interlaced content (CBS,NBC,ABC) - it crashes on those - does anyone know why and how to get this to work on interlaced content?
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA) AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8) Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV) |
#10
|
||||
|
||||
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA) AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8) Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV) |
#11
|
||||
|
||||
Update: changing "xcode_auto_deinterlace=false" in sage.properties allows this to work for cleaning up 1080i material into an MKV container. For some reason, however, running the JustFix conversion is much faster on 720p than 1080i material.
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA) AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8) Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV) |
#12
|
|||
|
|||
I'll have to try this. I've been having about half of my 720p file conversions fail, and 1080i has never converted for me.
__________________
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 |
#13
|
|||
|
|||
I couldn't get Justfix to work, even with the xcode_auto_deinterlace=false property. This actually did work on some files, so it was the file causing the problem.
__________________
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 Last edited by Malfunction; 02-27-2019 at 05:14 AM. Reason: File caused problem. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to specify a minimum STV file set in a plugin manaifest? | tmiranda | SageTV Studio | 12 | 11-27-2011 10:31 PM |
Plugin: Recipe (Text File) Viewer | cncb | SageTV v7 Customizations | 24 | 11-06-2011 08:28 AM |
Plugin: SageRecordings XML file generator (v1.3 8/Aug/2007) | nielm | SageTV Customizations | 36 | 07-23-2011 03:55 PM |
errro msg 'cant find file' with PlayOn plugin | les_bloom | SageTV v7 Customizations | 6 | 04-13-2011 08:11 PM |
Plugin File management | chrishallowell | SageTV Studio | 3 | 08-19-2010 12:05 PM |