[Libav-user] What should I do when avcodec_decode_audio4 fails?
YIRAN LI
mrfun.china at gmail.com
Mon May 15 16:26:07 EEST 2017
2017-05-15 20:00 GMT+10:00 Nicolas George <george at nsup.org>:
> Le sextidi 26 floréal, an CCXXV, YIRAN LI a écrit :
> > It's okay for me to add silence to makeup the decode failure but how can
> I
> > know how many silent samples to insert?
>
> If your frames come from a decent format, then the packets have a
> timestamp.
>
> Hi Nicolas,
That depends on timestamp, how if timestamp is inaccurate?
> Regards,
>
> --
> Nicolas George
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170515/103b7d9b/attachment.html>
More information about the Libav-user
mailing list