[FFmpeg-devel] [PATCH 4/5] avformat/movenc: reduce tfra box size when every sample is a sync sample

Michael Niedermayer michael at niedermayer.cc
Fri Dec 3 15:33:02 EET 2021


On Fri, Dec 03, 2021 at 01:06:56PM +0800, Zhao Zhili wrote:
> ---
>  libavformat/movenc.c  |  8 +++++
>  libavformat/movenc.h  |  1 +
>  tests/ref/fate/movenc | 80 +++++++++++++++++++++----------------------
>  3 files changed, 49 insertions(+), 40 deletions(-)

Heres a testcase this seems to break

ffmpeg -i matrixbench_mpeg2.mpg -movflags frag_keyframe -t 3 /tmp/1/file.ismv
ismindex -n /tmp/1/file /tmp/1/file.ismv
cd /tmp/1
ismindex -split -n file-split file.ismv

Before the patch there is

'Fragments(audio=0)'
in
'./QualityLevels(127986)'

afterwards the directory is empty


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/20211203/a0440115/attachment.sig>


More information about the ffmpeg-devel mailing list