[Libav-user] Demuxer not giving proper data to decoder ?

ssshukla26 ssshukla26 at gmail.com
Thu Sep 15 16:14:10 EEST 2016

Solved it by following code under *decode* function of decoder.

if(*av_bitstream_filter_filter*(decoder->bsf, avctx, "*private_spspps_buf*",
                                        avpkt->data, avpkt->size,
!!(avpkt->flags & AV_PKT_FLAG_KEY)) < 0)
    ERROR("Error: unable to convert data from avcc to annexb");
    //Do decoding of decoder->pkt.data instead of avpkt->data

View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-Demuxer-not-giving-proper-data-to-decoder-tp4662628p4662661.html
Sent from the libav-users mailing list archive at Nabble.com.

More information about the Libav-user mailing list