[Libav-user] problem with ffmpeg on mac vs win

Craig Murray craigmurray100 at gmail.com
Wed Apr 25 04:10:44 CEST 2012


I'm having some problems getting ffmpeg to behave the same on windows as
opposed to mac.  Mac seems to have some codec problems, where the windows
version is fine.  Here is my output:

Any help understanding why my mac version is failing would be appreciated.
Thanks!



*Mac*:

./ffmpeg -i test.AVI -y test.MOV

ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers

  built on Mar 17 2012 18:13:24 with gcc 4.0.1 (Apple Inc. build 5493)

  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl
--enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx
--disable-decoder=libvpx --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-avfilter
--enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters
--arch=x86 --enable-runtime-cpudetect

  libavutil      51. 35.100 / 51. 35.100

  libavcodec     53. 61.100 / 53. 61.100

  libavformat    53. 32.100 / 53. 32.100

  libavdevice    53.  4.100 / 53.  4.100

  libavfilter     2. 61.100 /  2. 61.100

  libswscale      2.  1.100 /  2.  1.100

  libswresample   0.  6.100 /  0.  6.100

  libpostproc    52.  0.100 / 52.  0.100

Input #0, avi, from 'test.AVI':

  Duration: 00:00:19.99, start: 0.000000, bitrate: 5094 kb/s

    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 320x240, 60
tbr, 60 tbn, 60 tbc

    Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 8000 Hz, 1
channels, u8, 64 kb/s

Incompatible pixel format 'yuvj422p' for codec 'libx264', auto-selecting
format 'yuvj420p'

[buffer @ 0x1300d20] w:320 h:240 pixfmt:yuvj422p tb:1/1000000 sar:0/1
sws_param:

[buffersink @ 0x13010a0] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'

[scale @ 0x1301270] w:320 h:240 fmt:yuvj422p -> w:320 h:240 fmt:yuvj420p
flags:0x4

Incompatible sample format 'u8' for codec 'aac', auto-selecting format 'flt'

[libx264 @ 0x180a200] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64

[libx264 @ 0x180a200] profile High, level 2.1

[libx264 @ 0x180a200] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft
2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1
crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

[NULL @ 0x180c400] Codec is experimental but experimental codecs are not
enabled, see -strict -2

Output #0, mov, to 'test.MOV':

    Stream #0:0: Video: h264, yuvj420p, 320x240, q=-1--1, 90k tbn, 60 tbc

    Stream #0:1: Audio: none, 8000 Hz, 1 channels, flt, 128 kb/s

Stream mapping:

  Stream #0:0 -> #0:0 (mjpeg -> libx264)

  Stream #0:1 -> #0:1 (pcm_u8 -> aac)

Error while opening encoder for output stream #0:1 - maybe incorrect
parameters such as bit_rate, rate, width or height




*Win*

ffmpeg -i test.AVI -y test.MOV
ffmpeg version N-38292-ga4c22e3 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Feb 27 2012 14:50:39 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 41.100 / 51. 41.100
  libavcodec     54.  4.100 / 54.  4.100
  libavformat    54.  1.100 / 54.  1.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.101 /  2. 62.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'test.AVI':
  Duration: 00:00:19.99, start: 0.000000, bitrate: 5094 kb/s
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 320x240, 60
tbr, 60 tbn, 60 tbc
    Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 8000 Hz, 1
channels, u8, 64 kb/s
Incompatible pixel format 'yuvj422p' for codec 'libx264', auto-selecting
format 'yuvj420p'
[buffer @ 03CB6560] w:320 h:240 pixfmt:yuvj422p tb:1/1000000 sar:0/1
sws_param:
[buffersink @ 03CB78C0] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'
[scale @ 03CB7CA0] w:320 h:240 fmt:yuvj422p -> w:320 h:240 fmt:yuvj420p
flags:0x4
Incompatible sample format 'u8' for codec 'libvo_aacenc', auto-selecting
format 's16'
[libx264 @ 03CD0AA0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 03CD0AA0] profile High, level 2.1
[libx264 @ 03CD0AA0] 264 - core 120 r2146 bcd41db - H.264/MPEG-4 AVC codec
- Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1
ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chro
ma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00
[mov @ 003AF820] WARNING codec timebase is very high. If duration is too
long,
file may not be playable by quicktime. Specify a shorter timebase
or choose different container.
Output #0, mov, to 'test.MOV':
  Metadata:
    encoder         : Lavf54.1.100
    Stream #0:0: Video: h264 (avc1 / 0x31637661), yuvj420p, 320x240,
q=-1--1, 500k tbn, 60 tbc
    Stream #0:1: Audio: aac (mp4a / 0x6134706D), 8000 Hz, 1 channels, s16,
128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> libx264)
  Stream #0:1 -> #0:1 (pcm_u8 -> libvo_aacenc)
Press [q] to stop, [?] for help
frame= 1200 fps=234 q=-1.0 Lsize=    1583kB time=00:00:19.96 bitrate=
649.3kbits/s
video:1538kB audio:26kB global headers:0kB muxing overhead 1.130127%
[libx264 @ 03CD0AA0] frame I:6     Avg QP:26.56  size:  5459
[libx264 @ 03CD0AA0] frame P:654   Avg QP:28.93  size:  1987
[libx264 @ 03CD0AA0] frame B:540   Avg QP:32.24  size:   449
[libx264 @ 03CD0AA0] consecutive B-frames: 10.2% 89.3%  0.5%  0.0%
[libx264 @ 03CD0AA0] mb I  I16..4: 11.4% 81.4%  7.2%
[libx264 @ 03CD0AA0] mb P  I16..4:  3.3%  4.4%  0.4%  P16..4: 55.4% 16.7%
8.5%  0.0%  0.0%    skip:11.2%
[libx264 @ 03CD0AA0] mb B  I16..4:  0.2%  0.1%  0.0%  B16..8: 33.8%  3.5%
0.6%  direct: 3.2%  skip:58.6%  L0:40.3% L1:49.3% BI:10.5%
[libx264 @ 03CD0AA0] 8x8 transform intra:56.3% inter:75.8%
[libx264 @ 03CD0AA0] coded y,uvDC,uvAC intra: 44.9% 83.3% 53.4% inter:
20.1% 41.6% 8.9%
[libx264 @ 03CD0AA0] i16 v,h,dc,p: 33% 21% 10% 36%
[libx264 @ 03CD0AA0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 33%  3%  4%
5%  4%  4%  5%
[libx264 @ 03CD0AA0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 23% 19%  2%  3%
4%  4%  3%  3%
[libx264 @ 03CD0AA0] i8c dc,h,v,p: 64% 15% 17%  3%
[libx264 @ 03CD0AA0] Weighted P-Frames: Y:6.6% UV:3.7%
[libx264 @ 03CD0AA0] ref P L0: 55.5% 19.4% 16.8%  7.9%  0.3%
[libx264 @ 03CD0AA0] ref B L0: 74.7% 25.2%  0.0%
[libx264 @ 03CD0AA0] ref B L1: 99.9%  0.1%
[libx264 @ 03CD0AA0] kb/s:629.92
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120424/88086cb3/attachment.html>


More information about the Libav-user mailing list