Re: Closed Caption

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alessandro Angeli [MVP::DigitalMedia] (nobody_at_nowhere.in.the.net)
Date: 03/01/04


Date: Mon, 1 Mar 2004 14:07:21 +0100


"jquiet" <tester,testingplace,net> wrote:

> Thanks for the tip. I'll have to see what I can do with that. dvr-ms
> is an mpeg-2 in a wrapper. I'm not sure but I think one problem is
> that most programs that extract the MPEG-2 also chop out the closed
> captioning info. So I may be stuck using graphEdit to get the closed
> captioning, but I have to investigate more.

The CC is in the user data extension of the video stream (at least on DVDs
if my memory is not failing), so it's quite likely MPEG editors will strip
it, even if they have no right to do so. Have you tried the demo versions
(if they still exist) of TMPGEnc (www.tmpgenc.com, in the File->MPEG Tools
menu) or nanoPEG (www.nanocosmos.de)? They are the only good MPEG editors I
know of, so they might keep the CC data.

> "Alessandro Angeli [MVP::DigitalMedia]" <nobody@nowhere.in.the.net>
> wrote in message news:ekNEUPm$DHA.1796@TK2MSFTNGP12.phx.gbl...
>> I'll add my 2 cents to this...
>>
>> VobSub can extract the CC user data from the video stream of
>> VOB files and save it as a perfectly synchronized text file.
>> It's a better approach IMHO that dumping the CC and then
>> running CCParser. Moreover, VobSub is open source if you
>> want to extract the CC parsing code. In the end, VOB files
>> are just MPEG2 program streams, so VobSub may work with any
>> MPEG2 PS. I don't know much about MS's DVR files, but since
>> they should be created by encoders like the PVR-250/350,
>> they may just be MPEG2 PSs.
>>
>>
>>
>> jquiet wrote:
>>
>>> I take it the captionkit doesn't extract captions from
>>> Microsoft'd dvr-ms format, but this seems right up your
>>> alley.
>>>
>>> "Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote
>>> in message news:4040e839.30070949@news.blueyonder.co.uk...
>>>> On Sat, 28 Feb 2004 11:59:20 -0700, "jquiet"
>>>> <tester,testingplace,net> wrote:
>>>>
>>>>> Neil, I think what I figured could be perfected (new
>>>>> program written) so that the captioning is captured on
>>>>> the fly and appended to a SAMI file but I don't know if
>>>>> the SAMI file is streamed to the user or if the Media
>>>>> player
>>>>
>>>> It's all at once :-p
>>>>
>>>> The w3c have a timed text working group who are due to
>>>> publish an authoring format 'some time soon' which
>>>> should include provision for segment streaming
>>>>
>>>> Like anything at the w3c it goes through endless
>>>> revisions and discussion and reaches public release
>>>> status after barely a few years ;-(
>>>>
>>>> LOL
>>>>
>>>>> expects to see it all at once. For a half hour TV show
>>>>> it was only 31 KB. My last post has my progress so far.
>>>>> As far as closed captioning it's pretty much done. I'm
>>>>> having audio/video synch problems.
>>>>>
>>>>> "Neil Smith [MVP Digital Media]" <neil@nospam.com>
>>>>> wrote in message
>>>>> news:4040e386.28868420@news.blueyonder.co.uk...
>>>>>> Keep posting, sounds like an interesting tack.
>>>>>>
>>>>>> On Fri, 27 Feb 2004 16:51:06 -0700, "jquiet"
>>>>>> <tester,testingplace,net> wrote:
>>>>>>
>>>>>>> I should be using the dump filter instead but I have
>>>>>>> to compile it.
>>>>>>>
>>>>>>> "jquiet" <tester,testingplace,net> wrote in message
>>>>>>> news:e$Qsy4X$DHA.3804@TK2MSFTNGP09.phx.gbl...
>>>>>>>> I did the following:
>>>>>>>> Graphedit
>>>>>>>> Render media file, dvr-ms file
>>>>>>>> Insert filter, File Writer
>>>>>>>> Connected Line 21 from Nvidia Video Decoder to "in"
>>>>>>>> on File Writer filter I get an error that filters
>>>>>>>> cannot agree on a connection
>>>>>>>>
>>>>>>>> so I'm stuck
>>>>>>>>
>>>>>>>> "jquiet" <tester,testingplace,net> wrote in message
>>>>>>>> news:%23RIoCHX$DHA.1456@TK2MSFTNGP09.phx.gbl...
>>>>>>>>> Melanie, I'm not doing anything live but my problem
>>>>>>>>> sounds similar. I have MPEG-2 files with closed
>>>>>>>>> captioning and I am trying to create a
>>> WMV
>>>>> file
>>>>>>>> and
>>>>>>>>> an accompanying SAMI file so that I can play the
>>>>>>>>> video with closed captioning in Windows Media
>>>>>>>>> Player. This is what I have found out:
>>>>>>>>>
>>>>>>>>> GraphEdit can be used to extract line 21 to a file
>>>>>>>>> A program called CCParser can convert the file to a
>>>>>>>>> SubRip format file (.srt)
>>>>>>>>> A program called SubSync can convert .srt to .smi
>>>>>>>>> (SAMI)
>>>>>>>>>
>>>>>>>>> The CCParser zip file contains instructions and a
>>>>>>>>> picture of a graph for GraphEdit:
>>>>>>>>> http://www.divx-digest.com/software/ccparser.html
>>>>>>>>>
>>>>>>>>> I haven't tried this yet. If you get ahead of me or
>>>>>>>>> find some other solution please post.
>>>>>>>>>
>>>>>>>>> "Melanie" <melanie.schmahl@assembly.ab.ca> wrote in
>>>>>>>>> message
>>>>>>>>> news:uuqcDCV$DHA.2660@TK2MSFTNGP10.phx.gbl...
>>>>>>>>>> I am told that the captions are overlaid on the
>>>>>>>>>> video in line
>>> 21.
>>>>> My
>>>>>>>>> video
>>>>>>>>>> capture card can decode closed captioning but I am
>>>>>>>>>> not sure how
>>> I
>>>>> set
>>>>>>>> that
>>>>>>>>>> up. I set the card to do the scripting in the
>>>>>>>>>> properties of the encoding session but I am
>>>>>>>>>> confused on how or where it creates the SAMI file?
>>>>>>>>>> "Neil Smith [MVP Digital Media]" <neil@nospam.com>
>>>>>>>>>> wrote in message
>>>>>>>>>> news:40369759.382890@news.blueyonder.co.uk...
>>>>>>>>>>> Your users need to be informed to show their
>>>>>>>>>>> caption area on the media player, unless the
>>>>>>>>>>> captions are overlaid on the video already -
>>>>>>>>>>> which usually results in difficult to read
>>>>>>>>>>> captions due to the compression.
>>>>>>>>>>>
>>>>>>>>>>> Are your captions in SAMI format ? Usually you
>>>>>>>>>>> have to
>>> provide
>>>>> an
>>>>>>> ASX
>>>>>>>>>>> file which contains both the URL to the feed,
>>>>>>>>>>> followed by ?SAMI= followed by the URL to the
>>>>>>>>>>> sami file eg
>>>>>>>>>>>
>>>>>>>>>>>
>> mms://server/path/to/video.wmv?sami=/path/to/sami_file.smi
>>>>>>>>>>>
>>>>>>>>>>> Your users can find out how to enable / show
>>>>>>>>>>> captions on media player
>>>>>>>>>>> 6.4 / 7 / 9 and Real player here :
>>>>>>>>>>>
>>>>>>>>>>> http://www.captionkit.com/switchoncaptions.php
>>>>>>>>>>>
>>>>>>>>>>> Regards - Neil Smith MVP
>>>>>>>>>>>
>>>>>>>>>>> On Fri, 20 Feb 2004 11:26:09 -0700, "Melanie"
>>>>>>>>>>> <melanie.schmahl@assembly.ab.ca> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I am broadcasting a live stream - included in
>>>>>>>>>>>> the feed is CC.
>>>>> How
>>>>>>> do
>>>>>>>> I
>>>>>>>>>>>> provide this to my users?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>> ========================================================
>>>>>>>>>>> CaptionKit http://www.captionkit.com : Produce
>>>>>>>>>>> subtitled internet media, transcripts and
>>>>>>>>>>> searchable video. Supports Real Player, Quicktime
>>>>>>>>>>> and Windows Media Player.
>>>>>>>>>>>
>>>>>>>>>>> VideoChat with friends online, get Freshly
>>>>>>>>>>> Toasted every
>>>>>>>>>>> day at http://www.fresh-toast.net : NetMeeting
>>>>>>>>>>> solutions
>>>>>>>>>>> for a connected world.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>> ========================================================
>>>>>> CaptionKit http://www.captionkit.com : Produce
>>>>>> subtitled
>>>>>> internet media, transcripts and searchable video.
>>>>>> Supports
>>>>>> Real Player, Quicktime and Windows Media Player.
>>>>>>
>>>>>> VideoChat with friends online, get Freshly Toasted
>>>>>> every
>>>>>> day at http://www.fresh-toast.net : NetMeeting
>>>>>> solutions
>>>>>> for a connected world.
>>>>>
>>>>>
>>>>
>>>> ========================================================
>>>> CaptionKit http://www.captionkit.com : Produce subtitled
>>>> internet media, transcripts and searchable video.
>>>> Supports
>>>> Real Player, Quicktime and Windows Media Player.
>>>>
>>>> VideoChat with friends online, get Freshly Toasted every
>>>> day at http://www.fresh-toast.net : NetMeeting solutions
>>>> for a connected world.
>>
>> --
>>
>> /**
>> * Alessandro Angeli
>> *
>> * MVP::DigitalMedia
>> *
>> * a dot angeli at biosys dot net
>> */

-- 
Alessandro Angeli
MVP::DigitalMedia
a dot angeli at biosys dot net


Relevant Pages

  • Re: Closed Caption
    ... programs that extract the MPEG-2 also chop out the closed captioning info. ... > VOB files and save it as a perfectly synchronized text file. ...
    (microsoft.public.windowsmedia.encoder)
  • Re: MPEG2+KLV extraction
    ... > would extract the first frame of an MPEG2 to a JPG file and the KLV ... Iain Downs ...
    (microsoft.public.win32.programmer.directx.video)
  • DVD audio extraction
    ... I can get audio extracted from vob files with mplayer, ... For example, I might like to say, extract enough chapters from title 1 ... Seems like I loose my title/chapter info when I access the vob files ... files to mark the chapter locations. ...
    (Debian-User)
  • MPEG2+KLV extraction
    ... would extract the first frame of an MPEG2 to a JPG file and the KLV ... The files we have to extract have a .ts extension. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Extract file info etc into a DB - WinXP Pro
    ... mpeg2 (mpg) files and have added ... I now want to create a database but need to find a way to ... extract the ...
    (microsoft.public.windowsxp.video)