[FFmpeg-devel] [PATCH] Use AVBufferPool in MOV

compn ff at hawaiiantel.net
Mon Nov 25 01:52:06 EET 2024


On Sun, 24 Nov 2024 18:14:03 +0100
Arnaud Masserann <arnaud1602 at gmail.com> wrote:

> Good question. I just benchmarked all the .mov files in the samples repo.
> On average, there is a 1.3x speedup. A few files are slower, but 75%
> of the files have at least a 1.11x speedup, and 25% of the files have
> at least 1.49x.
> 
> Outliers include openquicktime/aletrek-tga-8bit.mov (0.8x, so slower),
> and wmv3/Bluem.mov (10.4x).
> Full data: https://etconlyview-my.sharepoint.com/:x:/g/personal/a_masserann_etc-onlyview_com/EXomK72G3LdJgoBHCgnYcBUBnxd0FAe90nrIkL4EFZKEuw?e=vj3TRl
> 
> And FATE passes with valgrind, btw.

thanks for testing. if the change doesnt break any old files, i have no
issue with it slowing the speeds of demuxing on old weird files.

more ancient mov samples if you feel like doing more testing.
https://samples.ffmpeg.org/A-codecs/MACE/MAC6-mov/
https://samples.ffmpeg.org/A-codecs/QDM2/
https://samples.ffmpeg.org/A-codecs/QDMC/
https://samples.ffmpeg.org/A-codecs/qclp/
https://samples.ffmpeg.org/A-codecs/qtNONE/
https://samples.ffmpeg.org/A-codecs/qtfl32/
https://samples.ffmpeg.org/A-codecs/qtraw/
https://samples.ffmpeg.org/A-codecs/suite/3G2/
https://samples.ffmpeg.org/A-codecs/suite/3GP/
https://samples.ffmpeg.org/A-codecs/uLaw/
https://samples.ffmpeg.org/mobileVideo_3gp/
https://samples.ffmpeg.org/archive/container/mov/
https://samples.ffmpeg.org/V-codecs/SVQ1/
https://samples.ffmpeg.org/V-codecs/SVQ3/
https://samples.ffmpeg.org/V-codecs/QT-qdrw/Airplane.mov
https://samples.ffmpeg.org/V-codecs/QTRLE/
https://samples.ffmpeg.org/V-codecs/ZyGo/
https://samples.ffmpeg.org/V-codecs/icod/
https://samples.ffmpeg.org/V-codecs/pxlt-ApplePixlet/
https://samples.ffmpeg.org/MPEG-4/
https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket4471/spot-day.mj2

probably a good idea to test the rest of the mov formats like
psp,m4b,ism,ismv,isma,f4v,avif,heic,heif which i didnt link.

especially popular camera photo format heic/heif could do with some
tests.

full list of samples https://samples.ffmpeg.org/allsamples.txt

note that mp4 files are the 2nd most popular format that i see on a
daily basis , just behind mkv. with support by default in
windows, mac/ios, android and web browsers, mov/mp4 is probably the #1
popular format in the world currently. testing and speeding up our
mov/mp4 demuxer is a good idea.

392092 	mov.c
ugh.

thanks,
-compn


More information about the ffmpeg-devel mailing list