Can I get help converting CC to .srt? - AVS Forum
Forum Jump: 
 
Thread Tools
post #1 of 16 Old 11-27-2004, 02:26 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hello,
As of Sept 9, 2005 I no longer need help.

The final and working process:
1. Drag and drop to rtvcc from Wen-King
2. Edit if needed with VideoRedo
3. Drag and drop to mpg2srt from Merrypig
4. Play with Zoomplayer or WMP10 and VOBsub from Gabest. Vobsub has an option
for subtitle positioning, under launch config dialog, which fixes roll-up captioning.
5. If desired open with Virtualdub and framserve to TMPGenc for permanent subtitles.


OLD PROCESSES

Process 1
1. Extract Closed Captions from MPEG Files: General Parser and ccExtract
2. Convert Raw Closed Caption Data to SCC Format: RAW2SCC
ex. >raw2scc "Classic Car Restoration2.bin"
3. Convert SCC to a Readable Format: CCASDI
ex. >ccasdi -s "Classic Car Restoration2.scc"
4. Play the subs with WMP10, ZoomPlayer, or another program that recognizes .srt files

I was having trouble converting closed captioning to .srt subtitles.
I was using McPoodle's tools. I was successful once.
When using Subtitle Workshop I got "bad subtitle or unsuported format"
I had tried using the process before and after using rtvconvert.

The links
http://www.geocities.com/mcpoodle43/...SCC_TOOLS.HTML
Subtitle Workshop

Process 2
1. Use Womble and make a new mpg.
2. Extract Closed Captions from MPEG Files: General Parser and ccExtract
3. Convert Raw Closed Caption Data to SCC Format: RAW2SCC
ex. >raw2scc "Classic Car Restoration2.bin"
4. Convert SCC to a Readable Format: CCASDI
ex. >ccasdi -s "Classic Car Restoration2.scc"
5. Play the subs with WMP10, ZoomPlayer, or another program that recognizes .srt files

I actually was using Vsfilter and I hadn't payed attention. Its hard to keep track of all the programs I install.

Process 3.
1. Use rtvcc from wen-king
2. mpg2srt
3. Play with WMP10, ZoomPlayer, or another program that recognizes .srt files

This is when I started noticing the subs starting from the middle then shooting to the sides.
This was due to them being roll-up captions rather than pop-up captions.
See http://www.robson.org/capfaq/look.html#AvailableStyles

the www.gbpvr.com advocate
dvasco is offline  
Sponsored Links
Advertisement
 
post #2 of 16 Old 11-27-2004, 07:01 PM
AVS Special Member
 
Jeff D's Avatar
 
Join Date: May 2000
Location: One step ahead of you
Posts: 8,273
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 14
What are you using GP for? That's the first I've ever seen of someone using that for anything other than debug/analysis...

I though mcpoodle's stuff was working good. THere's also a program hosted here that will convert replay CC data to DVD CC data. Maybe you used that?
Jeff D is offline  
post #3 of 16 Old 11-27-2004, 07:12 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I use GP because that is what McPoodle says I have to use to extract the CC in raw format.

I already use wenkings rtvcc programs. They work nicely for my DVDs. I have my name all over that thread.

I want to use subtitles, .srt, for my stored WMV content. WMV will not playback CC.

Can you test McPoodles SCC tools? I don't understand why I got it to work once but the next two attempts were failures.

the www.gbpvr.com advocate
dvasco is offline  
post #4 of 16 Old 11-28-2004, 07:58 PM
Member
 
lglenn73's Avatar
 
Join Date: Oct 2004
Posts: 38
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
There's a program called MPG2SRT that used to work for me when I used SageTV. http://www.sage-community.org/index....srt_ver0.3.zip

Make sure you "clean" the file first with ReVue.

Lauren
lglenn73 is offline  
post #5 of 16 Old 11-29-2004, 06:53 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Lauren,
Thanks for the tip. mpg2srt is a whole lot easier than SCC Tools. It worked on the same mpg I had success with using SCC Tools. The mpgs that failed aren't that different from the one that worked. The CC shows up in all the mpg files when played in mplayer. I don't know what is so different that the CC can't be converted to srt in some ReplayTV mpg files and not in others.

Can you try it on some of your mpgs?

the www.gbpvr.com advocate
dvasco is offline  
post #6 of 16 Old 11-29-2004, 08:16 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I got the srt to play two more files. This time it scrolls differently though. Instead of the text appearing from left to right, it appears in the middle and shoots out to the sides. Very weird and unreadable. Now I need to find out how to fix that. Or figure out what else can be done.

Did the text appear in the middle then shoot out to the sides on your SageTV recordings?

the www.gbpvr.com advocate
dvasco is offline  
post #7 of 16 Old 11-29-2004, 08:22 PM
Member
 
lglenn73's Avatar
 
Join Date: Oct 2004
Posts: 38
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Actually, SageTV wasn't able to read the SMI/SRT files directly. The interface program would read these CC files and display them with custom text routines.

It wasn't until 2.1 where they read the CC directly from the MPEG stream.

It might be doing that on Live broadcast shows or on shows where the regular CC data is displayed like someone is typing it in real-time.

Lauren
lglenn73 is offline  
post #8 of 16 Old 11-29-2004, 08:24 PM
Member
 
lglenn73's Avatar
 
Join Date: Oct 2004
Posts: 38
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I couldn't get the CC to extract on one of the video files that I had with CC in it.

The MPG2SRT program was designed to read the CC written by the PVR250/PVR350. I just thought that if the Replay embeds it like the PVR250, maybe it might work.

It seems like a hit-and-miss for me, though.

Lauren
lglenn73 is offline  
post #9 of 16 Old 11-29-2004, 08:34 PM
Member
 
wen-king's Avatar
 
Join Date: Oct 2003
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
> it appears in the middle and shoots out to the sides

There are two types of captions, one that buffers a line and display
it whole. The other display each character as soon as it appears in
the caption stream. The second form is most often used in live programs
such as TV news. The behavior you described matches exactly the
behavior of mplayer when it is is playing a Tivo mpeg with the second
form of captioning. Since that CC section is iself borrowed from yet
another player, and that in turn may have come from yet another one.
many players you will find may ultimately share the same bad behavior.
The right behavior should have been a character is shown immediately
when the CC operator types the key.

For replayTV support, I hacked the DVD CC section to make it work
with the second form of captioning, as it was too much trouble to
borrow Tivo's section and then make to make it work acceptibly well.
wen-king is offline  
post #10 of 16 Old 11-29-2004, 08:47 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Lauren,
I need to apologize to you and wen-king. I had to use wen-king's rtvcc before using MPG2SRT.

Wen-king, I am happpy to see you read this thread. I am confused. Not your fault. It is just going over my head.

1. What is the fix?
2. Is there one?
3. Do you think you can make a program the converts to srt?

Thank you

the www.gbpvr.com advocate
dvasco is offline  
post #11 of 16 Old 11-30-2004, 09:35 AM
Member
 
wen-king's Avatar
 
Join Date: Oct 2003
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
1,2 - the fix was to modify mplayer so that it handles the second form of
captioning. To get CC to show up at all, mplayer was first fixed to recognize
replay-specific CC records in replay mpeg, and pass the extracted CC stream
to the DVD CC handler in mplayer. The DVD CC handler works only for the
first type of captioning. For the second type of captioning, nothing is shown
on the screen at all, and mplayer ultimately die because of buffer overrun.

mplayer also has a built-in Tivo CC handler. If I pass the CC stream to it
instead, I get nothing for the first type of captioning. For the second type
of captioning, I see the caption start at the center and then "shoots out
to the sides", as you described.

The Tivo CC handler was such an ugly hack, that I decided it was easier to
fix up the DVD CC handler. So I made modifications to the DVD CC handler
to display the second type of captioning by buffering a whole line and
displaying a whole line at once. Not exactly the right behavior, but a lot
easier than what the Tivo's handler was doing.

3 - I don't know how to do that, and it won't help you either because the
problem is in the players, not the caption streams.
wen-king is offline  
post #12 of 16 Old 11-30-2004, 04:38 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Wen-king,
I prefer a whole line at once as opposed to it shooting out.

I wish there were a way to convert the second type of captioning to the first. Or at least have the srt subtitles display the same as the first type of captioning.

I don't understand how srt subtitles hold the same display information as the CC. They should be subtitles plain and simple. But, like I said, I don't understand.

the www.gbpvr.com advocate
dvasco is offline  
post #13 of 16 Old 09-09-2005, 09:50 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I finally got the text to stop shooting out to the sides from the middle by using VOBsub and setting the text to the lower left corner, under launch config dialog. It happens because they are roll-up captions and not pop-up. See http://www.robson.org/capfaq/look.html#AvailableStyles

I figured this out by using Baldricks recommendations at videohelp.com
One was for subtitle positioning with the subtitle tool.
along with How to add permanent subtitle to a video with virtualdub

Never give up!

Lauren and WenKing, thanks a million for your help! :cool:

the www.gbpvr.com advocate
dvasco is offline  
post #14 of 16 Old 02-27-2006, 02:22 PM
Newbie
 
X1_761's Avatar
 
Join Date: Feb 2006
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hi all, I know it's been a while, however I was wondering if there is any way to convert the second form of captions (one letter at a time) to the first form (one line at a time). I've noticed that the resulting .srt files for the second type of captions comes out with a bunch of lines for each line, like this:

t
th
thi
this
this i
this is
this is v
this is ve
this is ver
this is very
this is very l
this is very lo
this is very lon
this is very long

It would be great to find a way to automatically have the mpg2srt program record a single line to start when the first letter of the line begins, and end when the last character is completed.

Any ideas?

Quote:
Originally Posted by wen-king
> it appears in the middle and shoots out to the sides

There are two types of captions, one that buffers a line and display
it whole. The other display each character as soon as it appears in
the caption stream. The second form is most often used in live programs
such as TV news. The behavior you described matches exactly the
behavior of mplayer when it is is playing a Tivo mpeg with the second
form of captioning. Since that CC section is iself borrowed from yet
another player, and that in turn may have come from yet another one.
many players you will find may ultimately share the same bad behavior.
The right behavior should have been a character is shown immediately
when the CC operator types the key.

For replayTV support, I hacked the DVD CC section to make it work
with the second form of captioning, as it was too much trouble to
borrow Tivo's section and then make to make it work acceptibly well.
X1_761 is offline  
post #15 of 16 Old 02-27-2006, 03:51 PM - Thread Starter
Advanced Member
 
dvasco's Avatar
 
Join Date: Mar 2002
Posts: 589
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
mpg2srt was made by a guy that goes by merrypig and uses Snapstream software. See the Snapstream forum where he posted it. Maybe he can do that for us. If you can get him to do that please let us know in this thread.

However, I was never able to get that converted. What I did was install Vobsub. Set it to show the captions text to the lower left corner, under launch config dialog. Then the text appears to be pop-up and not roll-up.

the www.gbpvr.com advocate
dvasco is offline  
post #16 of 16 Old 02-27-2006, 04:55 PM
Newbie
 
X1_761's Avatar
 
Join Date: Feb 2006
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thank you; I've posted on the snapsteam site. I'll let you know if I hear anything.....

Quote:
Originally Posted by dvasco
mpg2srt was made by a guy that goes by merrypig and uses Snapstream software. Maybe he can do that for us. If you can get him to do that please let us know in this thread.

However, I was never able to get that converted. What I did was install Vobsub. Set it to show the captions text to the lower left corner, under launch config dialog. Then the text appears to be pop-up and not roll-up.
X1_761 is offline  
Closed Thread ReplayTV & Showstopper PVRs

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off