[FFmpeg-user] Incompatible pixel format 'uyvy422' for codec 'libx264', auto-selecting format 'yuv420p10le'

Boštjan Strojan bostjan.strojan at gmail.com
Mon Feb 6 10:53:05 CET 2012


Hi,

while converting some aja captured yuv422 files i'am getting:

Incompatible pixel format 'uyvy422' for codec 'libx264',
auto-selecting format 'yuv420p10le'
(x264 was compiled in 10bit mode)

(shouldn't that patch to yuv422 of some sort?)

full dump:
----------------------
ffmpeg -i /Users/smoke/Desktop/test.m4a -i
/Users/smoke/Desktop/test.mov -map 0:0 -map 1:0 -acodec copy -vcodec
libx264 -preset medium -tune film -qp 0 -threads 0
/Users/smoke/Desktop/test.mp4
ffmpeg version N-37571-gbb9c8d9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  5 2012 21:30:41 with clang 3.0 (tags/Apple/clang-211.12)
  configuration: --prefix=/Volumes/tempdisk/sw --enable-gpl
--enable-libx264 --cc=clang --enable-runtime-cpudetect
  libavutil      51. 37.100 / 51. 37.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.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, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/smoke/Desktop/test.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 1917-12-29 03:38:51
  Duration: 00:00:36.05, start: 0.000000, bitrate: 115 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz,
stereo, s16, 112 kb/s
    Metadata:
      creation_time   : 1917-12-29 03:38:51
      handler_name    :
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc4db841a00] decoding for stream 2 failed
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/smoke/Desktop/test.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-12-22 09:18:01
  Duration: 00:00:36.00, start: 0.000000, bitrate: 167436 kb/s
    Stream #1:0(eng): Video: rawvideo (2vuy / 0x79757632), uyvy422,
720x576, 165888 kb/s, SAR 1024:702 DAR 640:351, 25 fps, 25 tbr, 25
tbn, 25 tbc
    Metadata:
      creation_time   : 2011-12-22 09:18:01
      handler_name    : ?Apple Alias Data Handler
    Stream #1:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2011-12-22 09:18:01
      handler_name    : ?Apple Alias Data Handler
    Stream #1:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-12-22 09:18:08
      handler_name    : ?Apple Alias Data Handler
      timecode        : 00:00:00:00
Incompatible pixel format 'uyvy422' for codec 'libx264',
auto-selecting format 'yuv420p10le'
[buffer @ 0x7fc4db416540] w:720 h:576 pixfmt:uyvy422 tb:1/1000000
sar:1024/702 sws_param:
[buffersink @ 0x7fc4db417a20] auto-inserting filter 'auto-inserted
scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x7fc4db417d80] w:720 h:576 fmt:uyvy422 -> w:720 h:576
fmt:yuv420p10le flags:0x4
[libx264 @ 0x7fc4db82d000] using SAR=512/351
[libx264 @ 0x7fc4db82d000] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x7fc4db82d000] profile High 4:4:4 Predictive, level 3.0,
4:2:0 10-bit
[libx264 @ 0x7fc4db82d000] 64 - core 120 r2164 da19765 - H.264/MPEG-4
AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:-1:-1 analyse=0x3:0x113 me=hex
subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=36
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
Output #0, mp4, to '/Users/smoke/Desktop/test.mp4':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 1917-12-29 03:38:51
    encoder         : Lavf54.0.100
    Stream #0:0(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz,
stereo, 112 kb/s
    Metadata:
      creation_time   : 1917-12-29 03:38:51
      handler_name    :
    Stream #0:1(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p10le,
720x576 [SAR 512:351 DAR 640:351], q=-1--1, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 2011-12-22 09:18:01
      handler_name    : ?Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (rawvideo -> libx264)
Press [q] to stop, [?] for help
frame=   61 fps=  0 q=0.0 size=    5365kB time=00:00:00.87
bitrate=50248.7kbits/s
frame=  111 fps=109 q=0.0 size=   17880kB time=00:00:02.88
bitrate=50858.6kbits/s
frame=  154 fps=100 q=0.0 size=   28650kB time=00:00:04.58
bitrate=51169.4kbits/s
frame=  204 fps= 99 q=0.0 size=   42554kB time=00:00:06.59
bitrate=52883.2kbits/s
frame=  257 fps=100 q=0.0 size=   56976kB time=00:00:08.70
bitrate=53624.7kbits/s
frame=  288 fps= 94 q=0.0 size=   66133kB time=00:00:09.96
bitrate=54393.4kbits/s
frame=  353 fps= 98 q=0.0 size=   78346kB time=00:00:12.54
bitrate=51164.5kbits/s
frame=  409 fps=100 q=0.0 size=   92317kB time=00:00:14.78
bitrate=51154.2kbits/s
frame=  445 fps= 97 q=0.0 size=  100235kB time=00:00:16.23
bitrate=50578.6kbits/s
frame=  503 fps= 98 q=0.0 size=  112658kB time=00:00:18.56
bitrate=49725.0kbits/s
frame=  556 fps= 99 q=0.0 size=  124009kB time=00:00:20.67
bitrate=49142.7kbits/s
frame=  591 fps= 97 q=0.0 size=  130977kB time=00:00:22.08
bitrate=48594.2kbits/s
frame=  648 fps= 98 q=0.0 size=  143236kB time=00:00:24.36
bitrate=48168.6kbits/s
frame=  684 fps= 96 q=0.0 size=  153127kB time=00:00:25.79
bitrate=48635.9kbits/s
frame=  719 fps= 94 q=0.0 size=  161249kB time=00:00:27.20
bitrate=48564.4kbits/s
frame=  809 fps= 99 q=0.0 size=  169913kB time=00:00:30.78
bitrate=45215.9kbits/s
frame=  900 fps=105 q=-1.0 Lsize=  169939kB time=00:00:35.92
bitrate=38756.6kbits/s
video:169422kB audio:496kB global headers:0kB muxing overhead 0.012428%
[libx264 @ 0x7fc4db82d000] frame I:35    Avg QP: 0.00  size:251360
[libx264 @ 0x7fc4db82d000] frame P:865   Avg QP: 0.00  size:190393
[libx264 @ 0x7fc4db82d000] mb I  I16..4..PCM: 33.0% 27.0% 40.0%  0.0%
[libx264 @ 0x7fc4db82d000] mb P  I16..4..PCM: 12.0% 25.6% 11.7%  0.0%
P16..4: 14.7%  9.0%  8.7%  0.0%  0.0%    skip:18.3%
[libx264 @ 0x7fc4db82d000] 8x8 transform intra:50.0% inter:64.0%
[libx264 @ 0x7fc4db82d000] coded y,uvDC,uvAC intra: 99.1% 95.0% 94.8%
inter: 61.6% 56.9% 56.8%
[libx264 @ 0x7fc4db82d000] i16 v,h,dc,p: 92%  7%  1%  0%
[libx264 @ 0x7fc4db82d000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 74% 23%  2%
0%  0%  0%  0%  0%  0%
[libx264 @ 0x7fc4db82d000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 50% 26%  4%
3%  4%  4%  3%  3%  3%
[libx264 @ 0x7fc4db82d000] i8c dc,h,v,p:  5% 25% 70%  0%
[libx264 @ 0x7fc4db82d000] Weighted P-Frames: Y:7.9% UV:4.4%
[libx264 @ 0x7fc4db82d000] ref P L0: 77.1% 16.3%  6.5%  0.1%
[libx264 @ 0x7fc4db82d000] kb/s:38552.80


More information about the ffmpeg-user mailing list