VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member
    Join Date
    Oct 2010
    Location
    Slovakia
    Search Comp PM
    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.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    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.
    Quote Quote  
  3. Member
    Join Date
    Oct 2010
    Location
    Slovakia
    Search Comp PM
    Of course such videos exist. A lot of players support that. E.g. Windows Media Player/Play/Lyrics, Captions, and Subtitles/On if Available.
    Quote Quote  
  4. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Is this what you are referring to?
    https://www.videohelp.com/tools/AVIAddXSubs
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  
  5. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I'm thinking of closed captions in mpeg2/ts streams.
    Quote Quote  
  6. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  
  7. Member
    Join Date
    Oct 2010
    Location
    Slovakia
    Search Comp PM
    Originally Posted by netmask56 View Post
    Is this what you are referring to?
    https://www.videohelp.com/tools/AVIAddXSubs
    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.
    Quote Quote  
  8. 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.
    Quote Quote  
  9. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    talbot_sk - Closed captions and subtitles are not the same. The document you refer to talks about subtitles.
    Quote Quote  
  10. Member
    Join Date
    Aug 2006
    Location
    United States
    Search Comp PM
    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
    Quote Quote  
  11. 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
    Quote Quote  
  12. Member
    Join Date
    Oct 2010
    Location
    Slovakia
    Search Comp PM
    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.
    Image Attached Files
    Quote Quote  
  13. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Nice. But what players supports this? It worked with VLC but it requires some external filter for wmp?
    Quote Quote  
  14. Member
    Join Date
    Oct 2010
    Location
    Slovakia
    Search Comp PM
    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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!