[FFmpeg-user] need assistance with combining two different calls

Andriy Gelman andriy.gelman at gmail.com
Sat Dec 19 18:51:17 EET 2020


On Fri, 18 Dec 2020 at 18:03, Ram Shaffir <ram at ram.sh> wrote:

> The root of the problem is with the v4l2 driver's buffer:
>
> 'Dequeued v4l2 buffer contains corrupted data (0 bytes).'
>
> and it seems that the v4l2 doesn't clear its buffer as it should in some
> way that affects the video/audio; as a workaround, before every run of the
> ffmpeg need to execute the following to clear the buffer (from this link:
> https://trac.ffmpeg.org/ticket/4988?cversion=2&cnum_hist=1):
>
>
To drop the corrupt packets, you may want to try the attached patch. And
then set -discardcorrupt option.

--
Andriy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_label_corrupt_pkts.diff
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20201219/4693f31f/attachment.bin>


More information about the ffmpeg-user mailing list