[Libav-user] how to get extradata of MPEGTS using ffmpeg?

Licheng Niu niulicheng at gmail.com
Tue Sep 18 14:15:32 CEST 2012


hi everyone,

I am trying to decode TS file on android with hardware decoder. And I use
ffmpeg MPEGTS demuxer.

To init hardware decoder, extradata (SPS, PPS or sth.) is needed to be set
for both audio and video decoders. But I can not get extradata of TS file
by ffmpeg demuxer.

Does anyone know how to get extradata of TS file using ffmpeg?

Any help is appreciate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120918/fb677041/attachment.html>


More information about the Libav-user mailing list