[Libav-user] Decoding MPEG-TS : can't retrieve Subtiles or Metadata

Sylvain Verdoux sylvain.verdoux at gmail.com
Wed Jun 8 10:20:24 CEST 2011


I'm developping a MPEG-TS videoplayer based on the dranger tutorial for
video. The thing is the av_find_stream_info() function gives me 5 streams in
my video : video, audio which i am able to decode, one of subtitles and 2 of
metadatas. Sub and Mdt are custom and cannot be decoded by supplied codecs.
When i use av_read_frame(), i can detect subtitles packets for example, the
problem is that packet.data or packet.size are empty, so i have not access
to sub datas and decode them by hand.
Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110608/8b143134/attachment.html>

More information about the Libav-user mailing list