
mythtv at hbuus
Oct 10, 2009, 2:25 PM
Post #3 of 5
(1518 views)
Permalink
|
Hi Alexandra, amaranth13 wrote: > Hi, > > I just had a question about how to use the zvbi command. > > I have a system with one Hauppauge PVR 150 card with Mythtv on Ubuntu > 8.04 Hardy Heron and I managed to set up Mythtv. The mythtv saves the > subtitles and I can play them with Mythtv. My problem is that I'm trying > to work out how to save subtitles with a program, and I've tried all > kinds of programs (ccextract, vbiutil, streamparser and other programs) > to extract the caption information from the saved file before I > transcode but, but that hasn't had any success. > > My next attempt is that I got a second card, which is exactly the same > maker and model as the first, and I want to save subtitles from that > card while it's saving the program from the first. Subtitles is pretty > important to me (somewhat hard of hearing) so that's why all the work on > subtitles. I was able to get subtitles from a card while it's not saving > a program, but not while it is working on a program, that's why I got > the second card. > > I am trying to find out how to save subtitles to a textfile or even .srt > file so I can play them with vlc or mplayer for example. Now, if I use > the following command: > zvbi-ntsc-cc --cc -C subtitles -d /dev/vbi0 -p > I actually can save the subtitles by themselves in a txt file, but I > would love to have timecodes with it, and adding --filter [timecode] > doesn't add any timecodes. > > Do any of you know if it's possible to save closed caption information > from a card into a file with time codes with this zvbi command? Is there > another command that can be used to do this? If it would be possible to > save subtitles in a format that could be used right away as an .srt > file, that would be ideal, but just having time codes in the file and > being able to get it done with just some minor changes would be good too. If I understand correctly, you got the second card as a way to capture the VBI/CC data for MythTV recordings so you can somehow convert that data into a form you can later display when you play back MythTV recordings using other programs like mplayer or vlc viewer. If I understand correctly, you don't need to use the second card for that purpose. The VBI/CC data is in the files recorded by MythTV, including the needed timestamps. What you need is a way to extract them and convert them into a form that vlc and/or mplayer can use, right? If so, I think I can help. But first, I'd like to understand why you want to use vlc or mplayer to play the recordings. Is it because you're using a Windows PC? If you're playing back on a Linux computer, why not use the MythTV frontend? Would it be possible to turn your Windows PC into a multi boot machine, one that can boot either Windows or Linux, depending on what you want to do? FWIW, closed captions are important to me, too. In my case, I wanted to be able to burn DVDs of MythTV recordings that preserved closed captions. If DVDs with closed captions in the form of subtitles would work for you, then you might like to try my solution. You can read all the details here: http://www.hbuus.com/cc2subtitles/ Even if my solution doesn't exactly meet your needs, I might be able to adapt it to do what you want. That's because it uses libzvbi, from the zapping project that also provided the zvbi program you're trying to use, and it can be configured to save different file formats, like SRT. If you'd like to discuss the possibilities, I welcome you to contact me off list, since I think we're straying away from a ivtv driver issue. Another thought is to post about your problem to the mythtv-users group: http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users Or to the mythbuntu forum on ubuntuforums.org: http://ubuntuforums.org/forumdisplay.php?f=301 HTH, Helen _______________________________________________ ivtv-users mailing list ivtv-users [at] ivtvdriver http://ivtvdriver.org/mailman/listinfo/ivtv-users
|