SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 07-01-2009, 03:46 PM
teddykgb teddykgb is offline
Sage User
 
Join Date: Mar 2009
Posts: 20
I'll have to try that. Thanks!
Reply With Quote
  #22  
Old 07-01-2009, 08:55 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
1.0.0.2
- 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).

see the first post for the download link.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #23  
Old 07-04-2009, 12:29 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Thank you, thank you, thank you!!! I've been fighting with stuttering in my MKVs for about 3 weeks now trying to figure out what I'm screwing up during muxing to MKV. I created about 12 different versions of the same movie with minor changes to flags, audio, and/or subtitles, and finally nailed it down to the simple existence of subtitles causing the sporadic stutter (always in the same place, too). Then I updated to all the latest betas, hoping that would fix the stutter, knowing CC is still new.

I was using DirectVobSub as you mentioned and needed to unregister that filter completely. Simply lowering the merit was not enough. Combine that with your filter and Mike's import and everything is perfect now. I can finally get back to ripping my Blu-ray collection to MKVs!
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #24  
Old 07-04-2009, 09:56 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I have two requests, if they're not already planned:

1. Show the subtitle name in the selection screen, rather than simply "CC1" or "CC2".
2. Obey the forced subtitle flag so that these subtitles do not need to be manually enabled during playback.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #25  
Old 07-04-2009, 10:33 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
1) I can't do this. Part of how the filter works is implementing IAMLine21Decoder (to impersonate a NTSC and DVD CC/Subtitle decoder) which only have CC1/CC2 (there are others and if Sage supports them the filter will switch to them because it just uses the # value of the enum to select the stream). Ideally Sage would manage subtitle (and audio) stream selection via IAMStreamSelect directly on the Haali splitter (I'm not sure what the long term plan is, but it wouldn't hurt to submit a feature request to Sage letting them know you'd like it).

2) On the todo list, just need to figure out how to determine if a stream is "forced".
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #26  
Old 07-04-2009, 11:48 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Quote:
Originally Posted by Skirge01 View Post
2. Obey the forced subtitle flag so that these subtitles do not need to be manually enabled during playback.
Quote:
Originally Posted by babgvant View Post
2) On the todo list, just need to figure out how to determine if a stream is "forced".
Is there any way to check this flag externally? If so, it might be easier to do this in the STV.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #27  
Old 07-04-2009, 01:24 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by MeInMaui View Post
Is there any way to check this flag externally? If so, it might be easier to do this in the STV.

Aloha,
Mike
I'm not sure if Sage exposes the information in its media info class.

One hacky thing I was thinking about doing is using the track name to indicate the flag. Obviously less than ideal, but it would work
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #28  
Old 07-05-2009, 05:32 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
You guys probably know this and this is exactly what you're talking about, but I figure it couldn't hurt to mention. I'm using MKVMerge GUI to mux my files. In there, I'm simply setting the "forced subtitles" dialog box to "Yes". When I pull up the MKV file in MVKInfo, it does show me that the subtitles are flagged appropriately as forced.

I can tell you that I also use the subtitle name field to tell myself that it's the forced subtitles track. Regular subtitles are simply entered with a track name of "Subtitles", as opposed to "Forced Subtitles". If that's what you're talking about, then it would certainly work for me. :-)
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #29  
Old 07-05-2009, 07:55 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by Skirge01 View Post
Regular subtitles are simply entered with a track name of "Subtitles", as opposed to "Forced Subtitles". If that's what you're talking about, then it would certainly work for me. :-)
That is the current worst-case plan.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #30  
Old 07-16-2009, 07:27 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I tried this out very quickly before I came to work and cannot get it to work in SageTV. In Windows Media Player the subtitles show flawlessly with hardware acceleration but in SageTV, nothing. Is there some setting I have wrong?

I have EVR set as my renderer and I have always_use_dshow_player set to true. If I set it to false I get no video with the Arcsoft Video Decoder. When I do get video, mainly from MPEG2 video or if I use ffmpeg as my H.264 decoder, I also get improper colorspace conversion if I have it set to false.

I have the latest RC and the latest SageMC.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #31  
Old 07-16-2009, 07:46 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Is the file a MKV with SRT subs?
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #32  
Old 07-16-2009, 07:49 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by babgvant View Post
Is the file a MKV with SRT subs?
yes
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #33  
Old 07-16-2009, 07:52 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I should also add that when I have always_use_dshow_player set to true that the subtitle options don't come up in the menus. But also that for whatever reason SageTV doesn't and never has automatically put a subtitle filter in the graph. I had to force loading vsfilter in Haali to get subtitles to work at all with always_use_dshow_player=true.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #34  
Old 07-16-2009, 07:56 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Did you disable that setting in Haali and unregister (or reduce the merit) of VSFilter?

Download GraphStudio then drag the file into it; post a screen cap of the graph and the properties for the subtitle pin.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #35  
Old 07-16-2009, 08:12 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Yes, I lowered the merit of vsfilter and disabled the setting in Haali that forced loading it.

Here is the graph for one of the videos I have with embedded SRT subs that are set as both the default and forced. As I said, the subtitles show fine in Windows Media Player with hardware accelerated video.
Attached Images
File Type: png pan-graph.png (18.2 KB, 241 views)
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #36  
Old 07-16-2009, 08:15 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
That graph is perfect. Can you check the client log to see if this filter is getting loaded, if it is then I think something's going bad in the STV.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #37  
Old 07-16-2009, 08:20 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
One step ahead of you, it looks like it is being inserted properly into the graph in SageTV. I suppose it's possible that it is the "couple minutes" thing you referenced in the information about the filter and I was in a hurry. Can't really effectively test it out over Remote Desktop but maybe if I squeeze the window down to a thumbnail I can at least see the subtitles being rendered and get a "decent" framerate.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #38  
Old 07-16-2009, 08:21 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
BTW, here is the line from my log:
Code:
Thu 7/16 9:14:34.484 [AWT-EventQueue-0@1eed786] DShowGraphFilters=SubtitleRender,AudRend,VidRend,Audio Decoder,Video Decoder,\\htpc\Movies1\Videos\HD Movies\Pan's Labyrinth.mkv,
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #39  
Old 07-16-2009, 08:27 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
After 3 minutes of playback I'm still not getting subtitles displayed even though it appears to be inserted into the graph. Just to clarify, I do get subtitles displayed when played over Remote Desktop with vsfilter. However I didn't see any subtitles at home either sitting at the computer.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #40  
Old 07-16-2009, 08:36 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
If you don't see the CC options they won't display. Sage needs to tell the filter to start sending them.
__________________
babgvant.com | @babgvant | Missing Remote
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
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


All times are GMT -6. The time now is 09:02 AM.


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