Yohann Martineau a écrit :
> Le jeudi 03 avril 2008 à 22:29 +0200, Joan Charmant a écrit :
>   
>> Hello,
>>
>> I'm using libav* to read and write videos in my application.
>> I have some meta-data about the video (XML formatted) and I would like 
>> to mux them into the file along with the video stream.
>> What are the best practices / guidelines to go about this ?
>> Should I use a CODEC_TYPE_DATA stream or is it reserved to something else ?
>>
>> Ideally those private data would be transparent when the resulting file 
>> is played in other applications.
>> Sub optimal solution would be to use a subtitle stream and to put all 
>> the data at a single timestamp... (I have no idea how feasible it is)
>>
>> I would appreciate any pointers or insights on the matter...
>>
>> joan.
>>     
>
> i think EPG can be included in a particular stream in an MPEG2-TS
> stream. I don't know if it is possible directly with ffmpeg, but I think
> it should at least be possible to mux or demux this stream.
>
> Search EPG in the following page:
>
> http://www.freepatentsonline.com/EP1732253.html
>
> hope this helps,
>
> yohann
>
>   
Hi, thanks for the input.
 From what I understood they plan to use something called MOT 
(Multimedia Object Transfer Protocol) to mix the data with the 
audio/video...
(Well I'm not sure I focused on the right parts of the article... )

Anyway, I somehow hoped that libav* had a generic way to go about such 
things...
I tried to start implementing the idea using subtitles, but I realized 
there is no text buffer (?) in the Subtitle structs.
Or can I use the *bitmap field of  AVSubtitleRect has a unicode string 
pointer without breaking other players ?

I'll mux to MP4 and Matroska containers, maybe they have their own way 
to deal with this ?
Ok, I'll digg a bit more :-)
joan


_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to