[Libav-user] Inserting user text into mpeg2 stream

francesco at bltitalia.com francesco at bltitalia.com
Mon Mar 26 15:54:39 CEST 2012

Hi to all
examinig mpeg2 stream I saw that some files have user text.  Usually the
header is the
00 00 01 B2 <user text, 37 char> 

typical is the export in AVID IMX 50 from Quicktime. There is a way to
include text using libavcodec ?  I experimented that setting the
CODEC_FLAG_SVCD_SCAN_OFFSET in the compressed stream there is the 00 00 01
B2 header, but I haven't found the way to add text. Where I should insert my
text ?

More information about the Libav-user mailing list