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
  #61  
Old 04-29-2007, 11:34 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by coryking View Post
Show Analyzer seems to output SMI files that cannot be read by either this STV or the SageMC one.
4) You cannot see it above, but ShowAnalyzer saves it's files as either UTF-16 or UTF-8, which my copy of UltraEdit will pick up as unicode files. The mpg2srt ones are picked up as plain old ASCII files.
Apparently there is an option in version 0.8.8 of ShowAnalyzer and later to output .smi as ANSI. When I do a conversion of your file to ANSI it works. Also on the ShowAnalyzer forum, there is talk of captions not working properly with 0.8.11, but working well with 0.8.8

John

Last edited by JREkiwi; 04-30-2007 at 03:45 AM.
Reply With Quote
  #62  
Old 04-30-2007, 03:03 AM
Doubletop's Avatar
Doubletop Doubletop is offline
Sage Advanced User
 
Join Date: Apr 2005
Location: New Zealand
Posts: 126
Yes that did it.

I used a clean copy of Sagetv3.xml and it loaded fine. Could it be something to do with the order of loading STVI's?

Anyway thats fixed it thanks; now I just need to find a confirmed source of CC data that's not just DVDs

Last edited by Doubletop; 04-30-2007 at 03:17 AM.
Reply With Quote
  #63  
Old 04-30-2007, 10:50 AM
coryking's Avatar
coryking coryking is offline
Sage User
 
Join Date: Nov 2006
Location: Seattle, WA (USA)
Posts: 62
Send a message via AIM to coryking
This is the first version of ShowAnalyzer that I tried to get CC working. They must have taken out the ASCII format because all I'm getting is UTF-8 & UTF-16.

The ShowAnalyzer guys must have used MSDN for a reference, because they follow it perfectly. Given that Microsoft is the one who developed the file format, I'd wager it is actually mpg2srt that is broken.

The fileformat spec:
http://msdn2.microsoft.com/en-us/library/ms971327.aspx

Some samples & more info:
http://msdn2.microsoft.com/en-us/library/ms867679.aspx

That spec page has a download, samioverview.exe, that has some sample smi files.

Edit: Er, I see that you've gotten it to work if it is done as ASCII.... either way, besides the encoding, ShowAnalyzer nailed the spec :-)
Reply With Quote
  #64  
Old 05-01-2007, 12:17 AM
OferL OferL is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 109
Request:
Can you add an option to center justify the text or right justify, instead of left justify? or is there a way to change this in some .ini or .properties?
Reply With Quote
  #65  
Old 05-01-2007, 02:22 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by OferL View Post
Can you add an option to center justify the text or right justify, instead of left justify?
I'll have that for you in the next update

John
Reply With Quote
  #66  
Old 05-01-2007, 11:56 AM
dblaine2 dblaine2 is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 307
So for those using this plugin with SA, did you switch SA outputting to srt to get it to work?
Reply With Quote
  #67  
Old 05-01-2007, 04:10 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by dblaine2 View Post
So for those using this plugin with SA, did you switch SA outputting to srt to get it to work?
srt won't work. I'll have a look at what's involved in getting the SA Unicode files working. No promises on that one though.

John
Reply With Quote
  #68  
Old 05-01-2007, 11:12 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by coryking View Post
This is the first version of ShowAnalyzer that I tried to get CC working. They must have taken out the ASCII format because all I'm getting is UTF-8 & UTF-16.
OK, I've had a bit more of a look at this. The import will read UTF-8 files, but the ones from ShowAnalyzer you supplied use frame based timing (not the MS spec and means they run nearly 30x too fast) while the ones from mpg2srt and subtitle workshop use time based timing (work OK as ANSI or UTF-8)

John

Last edited by JREkiwi; 05-01-2007 at 11:21 PM.
Reply With Quote
  #69  
Old 05-01-2007, 11:25 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Just to add some more info from the SAMI(smi) spec.

"SAMI introduces the <Sync Start=> tag to support this functionality. The Start parameter is assigned the media's Elapsed Time value in milliseconds. "

John
Reply With Quote
  #70  
Old 05-03-2007, 01:38 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by OferL View Post
Can you add an option to center justify the text or right justify, instead of left justify?
New version up for download

(1.0.8)
- Option to select Text Alignment of Captions (thanks Opus4)

John
Reply With Quote
  #71  
Old 05-03-2007, 01:56 AM
OferL OferL is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 109
Quote:
Originally Posted by JREkiwi View Post
New version up for download

(1.0.8)
- Option to select Text Alignment of Captions (thanks Opus4)

John

Thank you very much!
Reply With Quote
  #72  
Old 05-04-2007, 02:55 PM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
Overlay

Will this import work if I am rendering using overlay? I thought I read somewhere that it must be VMR9, but I can't get smooth playback with VMR9.

thanks in advance
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
Reply With Quote
  #73  
Old 05-04-2007, 03:43 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by Eckwell View Post
Will this import work if I am rendering using overlay?
Yes, the .smi file based captions will work in overlay.

John
Reply With Quote
  #74  
Old 05-07-2007, 02:13 PM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
Help! please...

I am using the OnAir GT USB Tuner to record HD via QAM. I know that the file that SageTV records does include the CC as I can take the file and watch it with the original OnAir Program and the CC appears. The CC is not analog, but digital.

The STV Import here is not rendering the embedded captions though. I think I might be able to extract the CC to a .smi file but none of the programs I have tried finds the captions.

Could someone here take a look at a sample mpg file and see if they can find the captions? So I can get them either rendered, or output to smi?

My wife has great difficulty watching TV without Captions and that is putting my whole SageTV based HTPC for HD recordings project on the line! Ah!!!

Thanks in advance.

Jon
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
Reply With Quote
  #75  
Old 05-07-2007, 05:49 PM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
In another thread, Eckwell let me know about a CC extractor that works on digital captures, http://ccextractor.sourceforge.net

The CC data is in my HDHR recordings and in my Firewired STB recordings.

I was able to extract .srt and .smi files with valid CC data in them. The files end in xxxxxxx_1.smi or xxxxxxxx_1.srt, so the files would need to be renamed, or perhaps the .stvi could be altered to look for the _1 file. Also, the formatting of the file is different than mpg2srt and subtitle workshop, so it would take some tweaking of the .stvi. Right now, I get the invalid captioning error.

If I take the .srt file and run it through srt2smi, then the resulting .smi will work. Also, there are some timing issues, but I dunno where the error is from.

edit: Timing issues seem to be with CC extraction from digital captures and not analog capture extractions. CCextractor files created from analog recordings in .srt and converted to .smi are in time, whereas digital recordings are off by seconds.
Attached Files
File Type: txt Entourage.smi.txt (110.5 KB, 347 views)
__________________
- Jack
__________________________________________
Server: AMD Phenom 9750, 2GB RAM, 2 Hauppauge PVR500, 1 Firewired DCT6200, 1 HDHomerun tuning 2 QAM channels, Vizio 37" HDTV LCD, 1 USB-UIRT

Clients: 1 MediaMVP, 1 Placeshifter Client, & 1 SageTV Client.

Last edited by ke6guj; 05-07-2007 at 06:39 PM.
Reply With Quote
  #76  
Old 05-07-2007, 07:44 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
On first glance I can see a problem with the case of SYNC start and the quotes on UNKNOWNCC, which should be easy to fix.

Is the timing out by a consistent amount? or is it variable?

John
Reply With Quote
  #77  
Old 05-07-2007, 10:19 PM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
I was watching "meet the Fockers" that I had recorded, ripped the CC using ccextractor, and converted the .srt to .smi (renaming the file) and the CC seems to be time aligned very well... until. About 30 minutes in there is a point were the CC is off by 10 seconds or so, immediately, as if there is a miscue in the file. I need to look further, but that seems to be the reason. I could back up 15 minutes into the show and it would realign, and them watch as it "fell" of out sync. It was a very specific point, not variable, or a consistent falling out of sync rate.
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
Reply With Quote
  #78  
Old 05-07-2007, 10:22 PM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
Did some quick tests for you...

View a show and watch the display, jump forward minutes and see if still in sync ( I can look at the .srt timestamps of the source file to double check to see if display is off, or the .smi file is off)

Andy Barker, QAM'ed HDHR, pretty much on time, maybe .25-.5 second
fast, perhaps some offset would fix that one. Sometimes gets out of sync (fast or slow) when FF'ing a lot, but a 10sec REW would get it back on sync..

Friday Night Lights, QAM HDHR, runs slightly fast, gaining seconds as it goes on. About 8 seconds fast in 30 minutes, 15 seconds in 1 hour.
edit: Tested another FNL, QAM, HDHR, perfect timing, only slightly out of sync on FF occasionally, a REW got it back on sync.

Brothers & Sisters, KABCDT, Firewired STB, some parts on time, some parts 1-5 seconds fast, and others 1-5 seconds slow.

Weeds, Showtime, FW STB, seems to be running about 10% fast, 1 minute fast over 10 minutes, 2 minutes over 20.

Tuders, ShowtimeHD, FW STB, similar 10% fast.

Entorage, HBO, FW STB, 55 seconds at 5, 90 at 10, 120 at 20.
__________________
- Jack
__________________________________________
Server: AMD Phenom 9750, 2GB RAM, 2 Hauppauge PVR500, 1 Firewired DCT6200, 1 HDHomerun tuning 2 QAM channels, Vizio 37" HDTV LCD, 1 USB-UIRT

Clients: 1 MediaMVP, 1 Placeshifter Client, & 1 SageTV Client.

Last edited by ke6guj; 05-07-2007 at 11:16 PM.
Reply With Quote
  #79  
Old 05-07-2007, 11:08 PM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
I just checked another forum where the author of ccextractor had posted and he said he placed a .20 version on line that supports direct .smi production. You just need to use a command line parameter of -sami. I am rerunning an smi for Meet the Fockers and I am going to check the timing... that is if it is clean enough for SageTV to render it. It might be... we shall see.
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
Reply With Quote
  #80  
Old 05-07-2007, 11:20 PM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
I'm already using .20 and have already created some .smi files with it. The file syntax is different than the currently used .smi creators, and JREkiwi is looking into adding support into the .stvi.
__________________
- Jack
__________________________________________
Server: AMD Phenom 9750, 2GB RAM, 2 Hauppauge PVR500, 1 Firewired DCT6200, 1 HDHomerun tuning 2 QAM channels, Vizio 37" HDTV LCD, 1 USB-UIRT

Clients: 1 MediaMVP, 1 Placeshifter Client, & 1 SageTV Client.

Last edited by ke6guj; 05-07-2007 at 11:38 PM.
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
Guide on how to enable Closed Caption in Placeshifter TechBill SageTV Placeshifter 0 10-16-2007 10:55 AM
Exporting STV Import and retaining references fafurd SageTV Studio 6 01-22-2007 04:13 PM
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) Cayars SageTV Customizations 3664 12-13-2005 05:35 PM
Choppy Playback with Import STV's??? RedCoat999 SageTV Customizations 3 12-09-2004 10:28 PM
Can't get rid of Closed Caption during DVD Playback joegensh SageTV Software 1 08-08-2004 10:14 AM


All times are GMT -6. The time now is 09:54 PM.


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