|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SubtitleRender - SRT subtitles in SageClient w/ HWA
SubtitleRender is a DirectShow filter that pushes SRT based subtitles into SageTV. The main benefit versus a filter like VobSub is that this approach does not break hardware acceleration (important for HD h.264/VC-1).
The filter supports switching between up to two subtitle streams (CC1/CC2) if the filter it is connected to implements IAMStreamSelect (i.e. Haali Splitter). Installation Instructions: 1. Install SageTV 6.5.18+ 2. regsvr32 the attached filter 3. Default STV - Mike was nice enough to make a STVi 4. SageMC - install SageMC_6_3_9a_46+ 5. If you installed version 1.0.0.1 you must run regsvr32 in the new ax Thanks to Jeff for providing the necessary documentation and for changing Sage to look for a Line 21 decoder where there shouldn't be one. 1.0.0.2 - 07/01/09 - Change merit to MERIT_PREFERRED+2 to beat out the Internal Script Command Renderer - Add support for MEDIATYPE_TEXT to connect to Haali when no subtitle is set as default - Register supported media types when filter is regsvr32 - Select first SRT stream on connect to support when no subtitle is set as default - Fix deadlock issue when media type changes - Clear subtitles when OFF is selected - Fix clearing subtitles when seeking Known Issues: - When subtitles are initially turned on, it can take a few seconds for them to show up. I think this is due to samples queueing at the renderer (i.e. the graph is actually a few seconds ahead of what you see). download Last edited by babgvant; 07-01-2009 at 08:57 PM. |
#2
|
|||
|
|||
Would this enable a Sage Client to display subtitles from a .TS file generated through Clown_BD off of a BD disk?
|
#3
|
|||
|
|||
It only works with SRT subtitles currently, but I will probably add other text based formats if there is demand.
I've only tested the solution with SRT subs embedded in a MKV, but I would expect it to work with external srt files if a source filter (MPC HC has one) is installed and Sage supports loading the file (I don't know if it does on the PC). |
#4
|
||||
|
||||
Sounds great...
But for now this will always show the subtitles if present? No way to turn them on/off/toggle between them within the SageTV UI?
__________________
SageTV 7.1.9 / Phoenix Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD Extender: 2x HD200 / 1x HD300 |
#5
|
|||
|
|||
That's what step 3 or 4 is meant to address - w/ the added benefit that 2 discrete sub streams can be toggled.
|
#6
|
||||
|
||||
Hi Andy,
I'll generate the stvi for you durning my lunch hour later today and post it in this thread. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#7
|
||||
|
||||
Quote:
__________________
Jeffrey Kardatzke Founder of SageTV |
#8
|
|||
|
|||
Quote:
Your implementation is better (and not just notepad thing) because it will work for files that aren't MKV. |
#9
|
|||
|
|||
Very slick! <strike>Does it implement IAMStreamSelect to switch streams?</strike> nm, if it already works there's no point to loading this filter
Last edited by babgvant; 06-24-2009 at 11:13 AM. |
#10
|
||||
|
||||
Hi Andy,
Here's the import for the default STV. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#11
|
|||
|
|||
This doesn't work for extenders, correct?
__________________
Server:W7 Ultimate, SageTV 7.1.9 Capture Devices: HVR-2250, 2x HD PVR 1212 Clients: 1x STX-HD100 3x STP-HD200 @cliftpompee |
#12
|
|||
|
|||
You don't need it on the HD200 (not sure about the other ones). It already supports SRT embedded in MKV.
|
#13
|
|||
|
|||
Thanks Mike.
|
#14
|
|||
|
|||
Quote:
I have to double check.
__________________
Server:W7 Ultimate, SageTV 7.1.9 Capture Devices: HVR-2250, 2x HD PVR 1212 Clients: 1x STX-HD100 3x STP-HD200 @cliftpompee |
#15
|
|||
|
|||
Has anyone actually gotten this to work? I muxed in an .srt file on the movie Defiance (just an example), which is an .mkv file. The subtitles show on Media Player Classic. I have the menu options when watching on the HD200 on extender mode, but even when turned on they don't show in Sage. I am not using the plugin that is referenced, it looks as though it should just work in the latest beta.
Any ideas? Last edited by teddykgb; 07-01-2009 at 02:59 PM. |
#16
|
|||
|
|||
Quote:
I'm working on a new rev that takes a more flexible approach, should be ready w/in the next couple days. AFAIK this filter is the only way to get embedded SRT working, if the files are external they should work w/o doing anything. |
#17
|
|||
|
|||
Thank you for the prompt response! I (stupidly) wasn't aware that they even worked without embedding them.
Which brings up a follow up question, how on earth do you ever find a srt that is synced to the audio? |
#18
|
|||
|
|||
Haven't noticed a problem with that when ripping (w/ eac3to) or converting from ATSC.
I didn't know external files worked on the PC until Jeff mentioned it a few posts back. |
#19
|
|||
|
|||
I'm sorry, I probably didn't ask that very intelligently. I ripped Defiance from a blu-ray and then was trying to add back an srt (off of subscene) after the fact.
Can I assume the easier way would be to rip the srt from the blu-ray? I've never done that. |
#20
|
|||
|
|||
I use eac3to to extract the sup from the BD, then suprip to OCR into SRT.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Subtitle (srt) support? | 1oser | SageTV HD Theater - Media Player | 19 | 01-24-2010 08:59 PM |
Does it play .srt subtitles? | JParedis | SageTV Customizations | 7 | 08-18-2008 02:34 PM |
Q: SageClient mode w/ Sage Service not saving into SageClient.properties | laurenglenn | SageTV Software | 2 | 06-17-2007 09:22 PM |
srt subtitles (again...) | klauslauritsen | SageTV Media Extender | 3 | 05-12-2007 07:48 AM |
Sub titles in .srt files? | tankd0g | SageTV Software | 3 | 01-25-2006 07:09 PM |