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

Ram Shaffir ram at ram.sh
Sat Dec 19 19:00:11 EET 2020


> > 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

I will apply the patch and let you know ASAP!
Many thanks!



More information about the ffmpeg-user mailing list