[Libav-user] What should I do when avcodec_decode_audio4 fails?

坚定前行 powerpan at qq.com
Mon May 15 16:31:34 EEST 2017


---Original---
From: "YIRAN LI"<mrfun.china at gmail.com>
Date: 2017/5/15 21:26:07
To: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter."<libav-user at ffmpeg.org>;
Subject: Re: [Libav-user] What should I do when avcodec_decode_audio4 fails?





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?

​
 


tooooooo much worries……  if we met this kind of dump file,just dump it.
so you had solutions already…
 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/5d376ade/attachment.html>


More information about the Libav-user mailing list