2017-05-15 23:31 GMT+10:00 坚定前行 <[email protected]>:

>
>
> ---Original---
> *From:* "YIRAN LI"<[email protected]>
> *Date:* 2017/5/15 21:26:07
> *To:* "This list is about using libavcodec, libavformat,
> libavutil,libavdevice and libavfilter."<[email protected]>;
> *Subject:* Re: [Libav-user] What should I do when avcodec_decode_audio4
> fails?
>
>
>
> 2017-05-15 20:00 GMT+10:00 Nicolas George <[email protected]>:
>
>> 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.
>

​ffmpeg command line tool and ffplay handle this perfectly, there's no out
out sync at all. So there must ​be some way to do it. I just want to find a
quick answer instead of checking code myself.

Thanks

so you had solutions already…
>
>> Regards,
>>
>> --
>>   Nicolas George
>> _______________________________________________
>> Libav-user mailing list
>> [email protected]
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to