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

2012-09-18 Thread Licheng Niu
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

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

2012-09-18 Thread Carl Eugen Hoyos
Licheng Niu niulicheng@... writes: I am trying to decode TS file on android with hardware decoder. And I use ffmpeg MPEGTS demuxer. To init hardware decoder, (Isn't libstagefright supposed to do that? Or do I misunderstand?) extradata (SPS, PPS or sth.) is needed to be set for both

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

2012-09-18 Thread chinos
hi all, 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