Hi. I would like programatticaly embed closed captions to AVI. I found http://www.alexander-noe.com/video/documentation/avi.pdf document. I know that I must create GAB2 chunk, but I do not know how should AVISTREAMHEADER look like, how strf should look like and what entry should be written in the idx1 index at the end of AVI file. Any help would be appreciated. Could anyone send me an example video with embedded GAB2 closed captions?
B.
+ Reply to Thread
Results 1 to 14 of 14
-
-
I have not seen any such avi and does any player support that?
I would head over to forum.doom9.org and ask there also. -
Of course such videos exist. A lot of players support that. E.g. Windows Media Player/Play/Lyrics, Captions, and Subtitles/On if Available.
-
Is this what you are referring to?
https://www.videohelp.com/tools/AVIAddXSubsSONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
I'm thinking of closed captions in mpeg2/ts streams.
-
SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
-
Thank you, but this is not exactly what I want. AVIAddXSubs adds subtitles as some kind of "transparent" frames into second video stream. Finally player draws this second stream with subtitle frames onto original main video stream. Also http://www.pixeltools.com/tech_tip_closed_captioning.html works by this way.
But I would like to encode raw subtitles into video as it is written in http://www.alexander-noe.com/video/documentation/avi.pdf document. So user can later during playback change subtitles font, color, position etc. as subtitles would stored in separate .srt/.sub file. -
I never saw CC's in an AVI. Sometimes CC's are converted to Subs, but also contain CC data (door opening). IF you ever make one let us know.
-
talbot_sk - Closed captions and subtitles are not the same. The document you refer to talks about subtitles.
-
Aegisub, VSFilter / DirectVobSub, and Virtualdub are other tools I've seen mentioned as being used in combination to add subtitles to .avi files. Maybe they will do what you want, but I don't know for sure. I have never used these myself, because I don't use .avi containers, but there is a tutorial on YouTube. http://www.youtube.com/watch?v=v0NojT5M8iQ
For N. Americans, closed captions are a special form of subtitling used for TV and sometimes commercial DVDs. The closest equivalent would be teletext, but the implementation of N. American closed captions is different. They are not used outside of N. America, as far as I know.
[Edit]I remembered another program used for subtitling .avi , AVIMux GUI (Alexander Noé is the author of this one.)Last edited by usually_quiet; 27th Oct 2010 at 17:36. Reason: Fixed link
-
But you can really do CC's in flash with this free software from PBS:
http://ncam.wgbh.org/invent_build/web_multimedia/tools-guidelines/ccforflash -
Hi. Long time ago I created video with embeded subtitles. You can view it using e.g. VLC. Now I would like to share one with you, see the attachment. It contains embedded SRT subtitles marked with GAB2 fourcc. I did it following this document: http://www.alexander-noe.com/video/documentation/avi.pdf and Microsoft AVI specification http://msdn.microsoft.com/en-us/library/ms779636.aspx. It was quite difficult, but I did it.
-
I do not know exactly. My WMP shows embedded subtitles too. I installed K-Lite Mega Codec Pack. WMP uses DirectVobSub (auto-loading version) and ffdshow video decoder.
Similar Threads
-
Clips with H264 embedded closed captions
By video_newb in forum MediaReplies: 1Last Post: 1st Sep 2011, 06:40 -
encoding closed captions in an .avi file
By jbaber in forum Capturing and VCRReplies: 9Last Post: 13th Nov 2010, 09:45 -
No Closed Captions on Computer, Only TV
By JimBarbasol in forum Authoring (DVD)Replies: 7Last Post: 4th Jun 2009, 17:17 -
Extracting Closed captions info from AVI
By arikp in forum Video ConversionReplies: 1Last Post: 16th Jul 2008, 12:16 -
Elusive closed captions
By CeciliaM in forum Newbie / General discussionsReplies: 2Last Post: 26th Apr 2008, 04:45