[FFmpeg-user] File sizes for full search and epzs motion estimation algorithms

문준형 jh.moon.cs at yonsei.ac.kr
Fri Feb 22 06:09:16 CET 2013


Full search encoding console output :

 

mjh at ubuntu:~/ffmpeg-1.1.1$ ffmpeg -s qcif -i foreman_qcif.yuv -vcodec h263 -g 10 -q 10 -dia_size 1025 full_foreman_dia1025.avi
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
 built on Feb 4 2013 01:43:31 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
 configuration: --disable-yasm
 libavutil 52. 13.100 / 52. 13.100
 libavcodec 54. 86.100 / 54. 86.100
 libavformat 54. 59.106 / 54. 59.106
 libavdevice 54. 3.102 / 54. 3.102
 libavfilter 3. 32.100 / 3. 32.100
 libswscale 2. 1.103 / 2. 1.103
 libswresample 0. 17.102 / 0. 17.102
[rawvideo @ 0xab00120] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'foreman_qcif.yuv':
 Duration: 00:00:12.00, start: 0.000000, bitrate: 7603 kb/s
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 176x144, 7603 kb/s, 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'full_foreman_dia1025.avi':
 Metadata:
 ISFT : Lavf54.59.106
 Stream #0:0: Video: h263 (H263 / 0x33363248), yuv420p, 176x144, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo -> h263)
Press [q] to stop, [?] for help
frame= 300 fps=0.0 q=10.0 Lsize= 245kB time=00:00:12.00 bitrate= 167.4kbits/s 
video:233kB audio:0kB subtitle:0 global headers:0kB muxing overhead 5.471404%


 

epzs encoding console output :

 

mjh at ubuntu:~/ffmpeg-1.1.1$ ffmpeg -s qcif -i foreman_qcif.yuv -vcodec h263 -g 10 -q 10 epzs_foreman.avi
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
 built on Feb 4 2013 01:43:31 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
 configuration: --disable-yasm
 libavutil 52. 13.100 / 52. 13.100
 libavcodec 54. 86.100 / 54. 86.100
 libavformat 54. 59.106 / 54. 59.106
 libavdevice 54. 3.102 / 54. 3.102
 libavfilter 3. 32.100 / 3. 32.100
 libswscale 2. 1.103 / 2. 1.103
 libswresample 0. 17.102 / 0. 17.102
[rawvideo @ 0x9fac0a0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'foreman_qcif.yuv':
 Duration: 00:00:12.00, start: 0.000000, bitrate: 7603 kb/s
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 176x144, 7603 kb/s, 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'epzs_foreman.avi':
 Metadata:
 ISFT : Lavf54.59.106
 Stream #0:0: Video: h263 (H263 / 0x33363248), yuv420p, 176x144, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo -> h263)
Press [q] to stop, [?] for help
frame= 300 fps=0.0 q=10.0 Lsize= 234kB time=00:00:12.00 bitrate= 160.0kbits/s 
video:222kB audio:0kB subtitle:0 global headers:0kB muxing overhead 5.738467%


 

File sizes for both encoded files

Full search : 251158 bytes

EPZS : 240002 bytes

 

Is it right that encoded file size with epzs is smaller than that with full search??


More information about the ffmpeg-user mailing list