[FFmpeg-devel] [PATCH v3] ffmpeg CLI multithreading

Michael Niedermayer michael at niedermayer.cc
Thu Dec 7 20:27:38 EET 2023


On Thu, Dec 07, 2023 at 11:52:47AM +0100, Anton Khirnov wrote:
> Quoting Michael Niedermayer (2023-12-06 21:21:55)
> > On Wed, Dec 06, 2023 at 11:27:06AM +0100, Anton Khirnov wrote:
> > > Hi,
> > > this should hopefully be the last version of this set. If nobody has new
> > > comments, I will push it in a few days.
> > 
> > I have a case that becomes really non deterministic
> > 
> > for i in `seq 10` ; do ./ffmpeg -v 0 -bitexact -i mszh-zlib/monika_zlib.avi -bitexact  -t 1  -f crc - ; done
> > CRC=0x52e2e323
> > CRC=0x747761ba
> > CRC=0x747761ba
> > CRC=0x52e2e323
> > CRC=0x9d872a4b
> > CRC=0x5f5cacfd
> > CRC=0xda55c458
> > CRC=0x2eccf1c8
> > CRC=0x747761ba
> > CRC=0x1a4775bd
> > 
> > sample from here probably: https://samples.ffmpeg.org/V-codecs/mszh-zlib/
> > 
> > before:
> > 
> > for i in `seq 10` ; do ./ffmpeg -v 0 -bitexact -i mszh-zlib/monika_zlib.avi -bitexact  -t 1  -f crc - ; done
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> > CRC=0x192dc994
> 
> Should now be fixed in my git tree.

Another failure:

./ffmpeg -analyzeduration 1M  -y -i mm-short.mpg -vcodec copy -vframes 3  tmp.avi

[in#0/mpeg @ 0x55f7cf529a40] Unable to send demuxed packet to consumers: Invalid argument
[in#0/mpeg @ 0x55f7cf529a40] Task finished with error code: -22 (Invalid argument)
[in#0/mpeg @ 0x55f7cf529a40] Terminating thread with return code -22 (Invalid argument)

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The smallest minority on earth is the individual. Those who deny 
individual rights cannot claim to be defenders of minorities. - Ayn Rand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231207/f2018eda/attachment.sig>


More information about the ffmpeg-devel mailing list