[FFmpeg-devel] [PATCH v6] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

Michael Niedermayer michael at niedermayer.cc
Wed Mar 13 18:17:51 EET 2019


On Wed, Mar 13, 2019 at 05:54:53PM -0400, Shaofei Wang wrote:
> It enabled multiple simple filter graph concurrency, which bring above about
> 4%~20% improvement in some 1:N scenarios by CPU or GPU acceleration
> 
> Below are some test cases and comparison as reference.
> (Hardware platform: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz)
> (Software: Intel iHD driver - 16.9.00100, CentOS 7)

This causes aborts.
I suggest you test it with a fuzzer
example:
Program received signal SIGABRT, Aborted.
0x00007fffefeaec37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
Python Exception <type 'exceptions.ImportError'> No module named gdb.frames: 
#0  0x00007fffefeaec37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffefeb2028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000042bf71 in strict_pthread_join (thread=0, value_ptr=0x0) at ./libavutil/thread.h:55
#3  0x000000000042d412 in ffmpeg_cleanup (ret=1) at fftools/ffmpeg.c:526
#4  0x00000000004251a8 in exit_program (ret=1) at fftools/cmdutils.c:139
#5  0x000000000043f152 in main (argc=6, argv=0x7fffffffe3a8) at fftools/ffmpeg.c:5032

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

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190313/b713276c/attachment.sig>


More information about the ffmpeg-devel mailing list