[FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

Michael Niedermayer michaelni at gmx.at
Sun Jul 5 23:43:37 CEST 2015


On Sat, Jul 04, 2015 at 12:14:51PM +0800, 周晓勇 wrote:
> i will offer a download source of Fedora21 OS next Monday.
> i will run yum-builddep ffmpeg-xxx.src.rpm for preparing devel environment.
>  what else do you need to install, because it maybe slow for downloading other packages abroad.
> the new FC21 build with mips64el N64 API and mips64r2(-march=loongson3a) isa, and enabled ARCH_MIPS64 after ffmpeg configure.
> the FC19-O32 was slow, so aborted.

other things hmm
ccache, dash, screen



> 
> here i contrast the performance between libav and ffmpeg
> i run test on my x86_64 notebook(Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz):
> 
> ffmpeg version 2.5.7-0ubuntu0.15.04.1 Copyright (c) 2000-2015 the FFmpeg developers
>   built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
> avconv version 11.2-6:11.2-1, Copyright (c) 2000-2014 the Libav developers
>   built on Jan 18 2015 05:12:33 with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu2)
> 
> 1> single thread
> ---------------------------------------------------------------
> time ffmpeg -threads 1  -i 1920x1080.mp4 -cpuflags 0 -f rawvideo -an -vframes 4096 -y /dev/null
> 
> frame= 1253 fps= 38 q=0.0 Lsize= 3805988kB time=00:00:52.20 bitrate=597196.8kbits/s    
> video:3805988kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
> 
> real	0m33.163s
> user	0m33.092s
> sys	0m0.056s
> 
> ---------------------------------------------------------------
> time avconv -threads 1  -i 1920x1080.mp4 -cpuflags 0 -f rawvideo -an -vframes 4096 -y /dev/null
> 
> frame= 1253 fps= 40 q=0.0 Lsize= 3805988kB time=52.17 bitrate=597673.8kbits/s    
> video:3805988kB audio:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
> 
> real	0m31.154s
> user	0m31.036s
> sys	0m0.108s
> 
> 2> multi-threads
> ---------------------------------------------------------------
> time ffmpeg -threads 1  -i 1920x1080.mp4 -cpuflags 0 -f rawvideo -an -vframes 4096 -y /dev/null
> 
> frame= 1253 fps= 78 q=0.0 Lsize= 3805988kB time=00:00:52.20 bitrate=597196.8kbits/s    
> video:3805988kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
> 
> real	0m16.157s
> user	0m59.600s
> sys	0m0.328s
> 
> ---------------------------------------------------------------
> time avconv -threads 1  -i 1920x1080.mp4 -cpuflags 0 -f rawvideo -an -vframes 4096 -y /dev/null
> 
> frame= 1253 fps= 84 q=0.0 Lsize= 3805988kB time=52.17 bitrate=597673.8kbits/s    
> video:3805988kB audio:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
> 
> real	0m15.005s
> user	0m55.296s
> sys	0m0.240s
> 
> libav is faster than ffmpeg? 
> the test of other video has same conclusion.

there was a bug in -f rawvideo that resulted in a extra copy of the
image, ive just fixed it in master, its possible there are more bugs
of course

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150705/45c73cc4/attachment.sig>


More information about the ffmpeg-devel mailing list