[FFmpeg-user] Why does encoding a file on different VM hosts result in different file size?

Werner Robitza werner.robitza at gmail.com
Fri Aug 15 16:29:06 CEST 2014


I have a file that is encoded with ffv1 using an Ubuntu-built binary
of ffmpeg. Ubuntu runs in a virtual machine. Running the exact same
encode once under VMware Player and VirtualBox gives me different file
sizes.

Why is that happening? You'd expect that (especially for a lossless
codec like ffv1) the file size would be exactly the same, since there
is nothing indeterministic about it. Regardless of number of CPUs,
cores or hardware acceleration (which I don't believe to be used
here).

What's the deal here?

Two outputs included; note that the framerate is radically different
and the file size is 522675kB vs 560835kB.

ffmpeg started on 2014-08-14 at 01:21:39
Report written to "ffmpeg-20140814-012139.log"
Command line:
ffmpeg -i Barefoot.mp4 -filter:v
"scale=iw*min(1920/iw\\,1080/ih):ih*min(1920/iw\\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\\,1080/ih))/2:(1080-ih*min(1920/iw\\,1080/ih))/2"
-c:a pcm_s16le -c:v ffv1 -pix_fmt yuv420p -ss 14.5 -t 60 -report
Barefoot-60s-2.avi
ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun 19 2014 04:19:20 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libass --enable-libfdk-aac
--enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree
--enable-version3
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument 'Barefoot.mp4'.
Reading option '-filter:v' ... matched as option 'filter' (set stream
filtergraph) with argument
'scale=iw*min(1920/iw\,1080/ih):ih*min(1920/iw\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\,1080/ih))/2:(1080-ih*min(1920/iw\,1080/ih))/2'.
Reading option '-c:a' ... matched as option 'c' (codec name) with
argument 'pcm_s16le'.
Reading option '-c:v' ... matched as option 'c' (codec name) with
argument 'ffv1'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuv420p'.
Reading option '-ss' ... matched as option 'ss' (set the start time
offset) with argument '14.5'.
Reading option '-t' ... matched as option 't' (record or transcode
"duration" seconds of audio/video) with argument '60'.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option 'Barefoot-60s-2.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file Barefoot.mp4.
Successfully parsed a group of options.
Opening an input file: Barefoot.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x288a4a0] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x288a4a0] ISO: File Type Major Brand: isom
rfps: 23.916667 0.004905
rfps: 23.916667 0.004905
rfps: 24.000000 0.000800
rfps: 24.000000 0.009910
rfps: 24.083333 0.016030
rfps: 47.833333 0.019619
rfps: 47.833333 0.019619
rfps: 47.916667 0.001743
rfps: 47.916667 0.001743
rfps: 48.000000 0.003201
rfps: 48.000000 0.011320
rfps: 23.976024 0.000000
rfps: 47.952048 0.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x288a4a0] Before
avformat_find_stream_info() pos: 494661272 bytes read:189933 seeks:1
[h264 @ 0x288b280] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x288a4a0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x288a4a0] After
avformat_find_stream_info() pos: 59516 bytes read:255469 seeks:2
frames:3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Barefoot.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.12.100
  Duration: 00:03:05.14, start: 0.000000, bitrate: 21374 kb/s
    Stream #0:0(und), 2, 1/90000: Video: h264 (High) (avc1 /
0x31637661), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], 21246 kb/s, 23.98
fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 1, 1/44100: Audio: aac (mp4a / 0x6134706D),
44100 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Successfully opened the file.
Parsing a group of options: output file Barefoot-60s-2.avi.
Applying option filter:v (set stream filtergraph) with argument
scale=iw*min(1920/iw\,1080/ih):ih*min(1920/iw\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\,1080/ih))/2:(1080-ih*min(1920/iw\,1080/ih))/2.
Applying option c:a (codec name) with argument pcm_s16le.
Applying option c:v (codec name) with argument ffv1.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option ss (set the start time offset) with argument 14.5.
Applying option t (record or transcode "duration" seconds of
audio/video) with argument 60.
Successfully parsed a group of options.
Opening an output file: Barefoot-60s-2.avi.
Successfully opened the file.
detected 1 logical cores
[Parsed_scale_0 @ 0x2a99b40] Setting 'w' to value 'iw*min(1920/iw,1080/ih)'
[Parsed_scale_0 @ 0x2a99b40] Setting 'h' to value 'ih*min(1920/iw,1080/ih)'
[Parsed_scale_0 @ 0x2a99b40] Setting 'flags' to value '0x4'
[Parsed_scale_0 @ 0x2a99b40] w:iw*min(1920/iw,1080/ih)
h:ih*min(1920/iw,1080/ih) flags:'0x4' interl:0
[Parsed_pad_1 @ 0x2a9a720] Setting 'width' to value '1920'
[Parsed_pad_1 @ 0x2a9a720] Setting 'height' to value '1080'
[Parsed_pad_1 @ 0x2a9a720] Setting 'x' to value
'(1920-iw*min(1920/iw,1080/ih))/2'
[Parsed_pad_1 @ 0x2a9a720] Setting 'y' to value
'(1080-ih*min(1920/iw,1080/ih))/2'
[graph 0 input from stream 0:0 @ 0x2a9a320] Setting 'video_size' to
value '3840x2160'
[graph 0 input from stream 0:0 @ 0x2a9a320] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x2a9a320] Setting 'time_base' to
value '1/90000'
[graph 0 input from stream 0:0 @ 0x2a9a320] Setting 'pixel_aspect' to
value '1/1'
[graph 0 input from stream 0:0 @ 0x2a9a320] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:0 @ 0x2a9a320] Setting 'frame_rate' to
value '24000/1001'
[graph 0 input from stream 0:0 @ 0x2a9a320] w:3840 h:2160
pixfmt:yuv420p tb:1/90000 fr:24000/1001 sar:1/1 sws_param:flags=2
[format @ 0x2a96d00] compat: called with args=[yuv420p]
[format @ 0x2a96d00] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x2882ac0] query_formats: 6 queried, 5 merged, 0
already done, 0 delayed
[Parsed_scale_0 @ 0x2a99b40] w:3840 h:2160 fmt:yuv420p sar:1/1 ->
w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x4
[Parsed_pad_1 @ 0x2a9a720] w:1920 h:1080 -> w:1920 h:1080 x:0 y:0
color:0x000000FF
[graph 1 input from stream 0:1 @ 0x28ad520] Setting 'time_base' to
value '1/44100'
[graph 1 input from stream 0:1 @ 0x28ad520] Setting 'sample_rate' to
value '44100'
[graph 1 input from stream 0:1 @ 0x28ad520] Setting 'sample_fmt' to value 'fltp'
[graph 1 input from stream 0:1 @ 0x28ad520] Setting 'channel_layout'
to value '0x3'
[graph 1 input from stream 0:1 @ 0x28ad520] tb:1/44100 samplefmt:fltp
samplerate:44100 chlayout:0x3
[audio format for output stream 0:1 @ 0x2a961c0] Setting 'sample_fmts'
to value 's16'
[audio format for output stream 0:1 @ 0x2a961c0] auto-inserting filter
'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and
the filter 'audio format for output stream 0:1'
[AVFilterGraph @ 0x28820a0] query_formats: 5 queried, 9 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 0x2a47cc0] ch:2 chl:stereo fmt:fltp
r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
Output #0, avi, to 'Barefoot-60s-2.avi':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    ISFT            : Lavf55.33.100
    Stream #0:0(und), 0, 1001/24000: Video: ffv1 (FFV1 / 0x31564646),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 tbn,
23.98 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] /
0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> ffv1)
  Stream #0:1 -> #0:1 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
[h264 @ 0x288b280] no picture
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    1 fps=0.0 q=0.0 size=     215kB time=00:00:00.05
bitrate=30378.3kbits/s
frame=    2 fps=0.0 q=0.0 size=     421kB time=00:00:00.08
bitrate=41348.5kbits/s
frame=    3 fps=0.0 q=0.0 size=     619kB time=00:00:00.12
bitrate=39734.1kbits/s
frame=    4 fps=0.0 q=0.0 size=     817kB time=00:00:00.17
bitrate=38458.5kbits/s
frame=    6 fps=0.0 q=0.0 size=    1241kB time=00:00:00.26
bitrate=38079.8kbits/s
...
frame= 1429 fps=1.3 q=0.0 size=  519773kB time=00:00:59.61
bitrate=71426.8kbits/s
frame= 1433 fps=1.3 q=0.0 size=  520970kB time=00:00:59.77
bitrate=71396.6kbits/s
frame= 1436 fps=1.3 q=0.0 size=  521841kB time=00:00:59.89
bitrate=71375.8kbits/s
[output stream 0:0 @ 0x2a96840] EOF on sink link output stream 0:0:default.
[output stream 0:1 @ 0x2882780] EOF on sink link output stream 0:1:default.
No more output streams to write to, finishing.
frame= 1439 fps=1.3 q=0.0 Lsize=  522675kB time=00:01:00.01
bitrate=71340.8kbits/s
video:512233kB audio:10337kB subtitle:0 data:0 global headers:0kB
muxing overhead 0.020043%
5001 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x2a99760] Statistics: 10 seeks, 19341 writeouts
[AVIOContext @ 0x2892c60] Statistics: 211010678 bytes read, 2 seeks




ffmpeg started on 2014-08-15 at 15:46:34
Report written to "ffmpeg-20140815-154634.log"
Command line:
ffmpeg -report -i Barefoot.mp4 -filter:v
"unsharp=la=1.0,scale=iw*min(1920/iw\\,1080/ih):ih*min(1920/iw\\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\\,1080/ih))/2:(1080-ih*min(1920/iw\\,1080/ih))/2"
-c:a pcm_s16le -c:v ffv1 -pix_fmt yuv420p -ss 14.5 -t 60
Barefoot-60s-4.avi
ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun 19 2014 04:19:20 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libass --enable-libfdk-aac
--enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree
--enable-version3
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'Barefoot.mp4'.
Reading option '-filter:v' ... matched as option 'filter' (set stream
filtergraph) with argument
'unsharp=la=1.0,scale=iw*min(1920/iw\,1080/ih):ih*min(1920/iw\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\,1080/ih))/2:(1080-ih*min(1920/iw\,1080/ih))/2'.
Reading option '-c:a' ... matched as option 'c' (codec name) with
argument 'pcm_s16le'.
Reading option '-c:v' ... matched as option 'c' (codec name) with
argument 'ffv1'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuv420p'.
Reading option '-ss' ... matched as option 'ss' (set the start time
offset) with argument '14.5'.
Reading option '-t' ... matched as option 't' (record or transcode
"duration" seconds of audio/video) with argument '60'.
Reading option 'Barefoot-60s-4.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file Barefoot.mp4.
Successfully parsed a group of options.
Opening an input file: Barefoot.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x39b4260] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x39b4260] ISO: File Type Major Brand: isom
rfps: 23.916667 0.004905
rfps: 23.916667 0.004905
rfps: 24.000000 0.000800
rfps: 24.000000 0.009910
rfps: 24.083333 0.016030
rfps: 47.833333 0.019619
rfps: 47.833333 0.019619
rfps: 47.916667 0.001743
rfps: 47.916667 0.001743
rfps: 48.000000 0.003201
rfps: 48.000000 0.011320
rfps: 23.976024 0.000000
rfps: 47.952048 0.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x39b4260] Before
avformat_find_stream_info() pos: 494661272 bytes read:189933 seeks:1
[h264 @ 0x39b5080] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x39b4260] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x39b4260] After
avformat_find_stream_info() pos: 59516 bytes read:255469 seeks:2
frames:3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Barefoot.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.12.100
  Duration: 00:03:05.14, start: 0.000000, bitrate: 21374 kb/s
    Stream #0:0(und), 2, 1/90000: Video: h264 (High) (avc1 /
0x31637661), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], 21246 kb/s, 23.98
fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 1, 1/44100: Audio: aac (mp4a / 0x6134706D),
44100 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Successfully opened the file.
Parsing a group of options: output file Barefoot-60s-4.avi.
Applying option filter:v (set stream filtergraph) with argument
unsharp=la=1.0,scale=iw*min(1920/iw\,1080/ih):ih*min(1920/iw\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\,1080/ih))/2:(1080-ih*min(1920/iw\,1080/ih))/2.
Applying option c:a (codec name) with argument pcm_s16le.
Applying option c:v (codec name) with argument ffv1.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option ss (set the start time offset) with argument 14.5.
Applying option t (record or transcode "duration" seconds of
audio/video) with argument 60.
Successfully parsed a group of options.
Opening an output file: Barefoot-60s-4.avi.
Successfully opened the file.
detected 1 logical cores
[Parsed_unsharp_0 @ 0x3bc1a00] Setting 'la' to value '1.0'
[Parsed_scale_1 @ 0x39d4840] Setting 'w' to value 'iw*min(1920/iw,1080/ih)'
[Parsed_scale_1 @ 0x39d4840] Setting 'h' to value 'ih*min(1920/iw,1080/ih)'
[Parsed_scale_1 @ 0x39d4840] Setting 'flags' to value '0x4'
[Parsed_scale_1 @ 0x39d4840] w:iw*min(1920/iw,1080/ih)
h:ih*min(1920/iw,1080/ih) flags:'0x4' interl:0
[Parsed_pad_2 @ 0x39d5560] Setting 'width' to value '1920'
[Parsed_pad_2 @ 0x39d5560] Setting 'height' to value '1080'
[Parsed_pad_2 @ 0x39d5560] Setting 'x' to value
'(1920-iw*min(1920/iw,1080/ih))/2'
[Parsed_pad_2 @ 0x39d5560] Setting 'y' to value
'(1080-ih*min(1920/iw,1080/ih))/2'
[graph 0 input from stream 0:0 @ 0x39d5460] Setting 'video_size' to
value '3840x2160'
[graph 0 input from stream 0:0 @ 0x39d5460] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x39d5460] Setting 'time_base' to
value '1/90000'
[graph 0 input from stream 0:0 @ 0x39d5460] Setting 'pixel_aspect' to
value '1/1'
[graph 0 input from stream 0:0 @ 0x39d5460] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:0 @ 0x39d5460] Setting 'frame_rate' to
value '24000/1001'
[graph 0 input from stream 0:0 @ 0x39d5460] w:3840 h:2160
pixfmt:yuv420p tb:1/90000 fr:24000/1001 sar:1/1 sws_param:flags=2
[format @ 0x3bc2360] compat: called with args=[yuv420p]
[format @ 0x3bc2360] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x39b4fc0] query_formats: 7 queried, 6 merged, 0
already done, 0 delayed
[Parsed_unsharp_0 @ 0x3bc1a00] effect:sharpen type:luma msize_x:5
msize_y:5 amount:1.00
[Parsed_unsharp_0 @ 0x3bc1a00] effect:none type:chroma msize_x:5
msize_y:5 amount:0.00
[Parsed_scale_1 @ 0x39d4840] w:3840 h:2160 fmt:yuv420p sar:1/1 ->
w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x4
[Parsed_pad_2 @ 0x39d5560] w:1920 h:1080 -> w:1920 h:1080 x:0 y:0
color:0x000000FF
[graph 1 input from stream 0:1 @ 0x39ce040] Setting 'time_base' to
value '1/44100'
[graph 1 input from stream 0:1 @ 0x39ce040] Setting 'sample_rate' to
value '44100'
[graph 1 input from stream 0:1 @ 0x39ce040] Setting 'sample_fmt' to value 'fltp'
[graph 1 input from stream 0:1 @ 0x39ce040] Setting 'channel_layout'
to value '0x3'
[graph 1 input from stream 0:1 @ 0x39ce040] tb:1/44100 samplefmt:fltp
samplerate:44100 chlayout:0x3
[audio format for output stream 0:1 @ 0x39ce2e0] Setting 'sample_fmts'
to value 's16'
[audio format for output stream 0:1 @ 0x39ce2e0] auto-inserting filter
'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and
the filter 'audio format for output stream 0:1'
[AVFilterGraph @ 0x39ac540] query_formats: 5 queried, 9 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 0x3b6dca0] ch:2 chl:stereo fmt:fltp
r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
Output #0, avi, to 'Barefoot-60s-4.avi':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    ISFT            : Lavf55.33.100
    Stream #0:0(und), 0, 1001/24000: Video: ffv1 (FFV1 / 0x31564646),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 tbn,
23.98 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] /
0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> ffv1)
  Stream #0:1 -> #0:1 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
[h264 @ 0x39b5080] no picture
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    0 fps=0.0 q=0.0 size=      10kB time=00:00:00.00 bitrate=N/A
frame=    1 fps=0.0 q=0.0 size=     232kB time=00:00:00.05
bitrate=32721.6kbits/s
frame=    5 fps=0.1 q=0.0 size=    1099kB time=00:00:00.22
bitrate=40842.1kbits/s
frame=    8 fps=0.2 q=0.0 size=    1846kB time=00:00:00.33
bitrate=44926.7kbits/s
frame=   11 fps=0.2 q=0.0 size=    2590kB time=00:00:00.47
bitrate=44590.3kbits/s
...
frame= 1411 fps=4.4 q=0.0 size=  553182kB time=00:00:58.85
bitrate=77003.1kbits/s
frame= 1414 fps=4.4 q=0.0 size=  553868kB time=00:00:58.98
bitrate=76921.0kbits/s
frame= 1417 fps=4.4 q=0.0 size=  554584kB time=00:00:59.10
bitrate=76869.1kbits/s
frame= 1420 fps=4.4 q=0.0 size=  555332kB time=00:00:59.24
bitrate=76791.8kbits/s
frame= 1423 fps=4.4 q=0.0 size=  556114kB time=00:00:59.35
bitrate=76749.5kbits/s
frame= 1426 fps=4.4 q=0.0 size=  556917kB time=00:00:59.47
bitrate=76707.5kbits/s
frame= 1429 fps=4.4 q=0.0 size=  557747kB time=00:00:59.61
bitrate=76645.2kbits/s
frame= 1432 fps=4.4 q=0.0 size=  558711kB time=00:00:59.72
bitrate=76628.3kbits/s
frame= 1435 fps=4.4 q=0.0 size=  559657kB time=00:00:59.86
bitrate=76579.5kbits/s
frame= 1438 fps=4.4 q=0.0 size=  560514kB time=00:00:59.98
bitrate=76548.3kbits/s
[output stream 0:0 @ 0x3bc24e0] EOF on sink link output stream 0:0:default.
[output stream 0:1 @ 0x3b99760] EOF on sink link output stream 0:1:default.
No more output streams to write to, finishing.
frame= 1439 fps=4.4 q=0.0 Lsize=  560835kB time=00:01:00.01
bitrate=76549.3kbits/s
video:550393kB audio:10337kB subtitle:0 data:0 global headers:0kB
muxing overhead 0.018691%
5001 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x3bc15e0] Statistics: 10 seeks, 20512 writeouts
[AVIOContext @ 0x39bca20] Statistics: 211010678 bytes read, 2 seeks


More information about the ffmpeg-user mailing list