Hi all.  I have ffmpeg installed from MacPorts and apparently x264 does not 
support yuv420p!  I can probably fix this by recompiling myself, but I’m 
curious how did they remove support for this common pixel format?  I don’t see 
anything relevant in the configuration listed.


$ ffmpeg -h encoder=libx264
ffmpeg version 3.4.git Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter 
--enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus 
--enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug 
--enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass 
--enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig 
--enable-libfreetype --enable-libfribidi --disable-libjack 
--disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb 
--disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack 
--enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox 
--enable-sdl2 --mandir=/opt/local/share/man --enable-shared --enable-pthreads 
--cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl 
--enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree 
--enable-libfdk-aac
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 19.102 / 58. 19.102
  libavformat    58. 16.100 / 58. 16.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 24.100 /  7. 24.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Encoder libx264 [libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10]:
    General capabilities: delay threads 
    Threading capabilities: auto
    Supported pixel formats: yuv420p10le yuv422p10le yuv444p10le nv20le
libx264 AVOptions:
  -preset            <string>     E..V..... Set the encoding preset (cf. x264 
--fullhelp) (default "medium")
  -tune              <string>     E..V..... Tune the encoding params (cf. x264 
--fullhelp)
  -profile           <string>     E..V..... Set profile restrictions (cf. x264 
--fullhelp) 
  -fastfirstpass     <boolean>    E..V..... Use fast settings when encoding 
first pass (default true)
  -level             <string>     E..V..... Specify level (as defined by Annex 
A)
  -passlogfile       <string>     E..V..... Filename for 2 pass stats
  -wpredp            <string>     E..V..... Weighted prediction for P-frames
  -a53cc             <boolean>    E..V..... Use A53 Closed Captions (if 
available) (default true)
  -x264opts          <string>     E..V..... x264 options
  -crf               <float>      E..V..... Select the quality for constant 
quality mode (from -1 to FLT_MAX) (default -1)
  -crf_max           <float>      E..V..... In CRF mode, prevents VBV from 
lowering quality beyond this point. (from -1 to FLT_MAX) (default -1)
  -qp                <int>        E..V..... Constant quantization parameter 
rate control method (from -1 to INT_MAX) (default -1)
  -aq-mode           <int>        E..V..... AQ method (from -1 to INT_MAX) 
(default -1)
     none                         E..V.....
     variance                     E..V..... Variance AQ (complexity mask)
     autovariance                 E..V..... Auto-variance AQ
     autovariance-biased              E..V..... Auto-variance AQ with bias to 
dark scenes
  -aq-strength       <float>      E..V..... AQ strength. Reduces blocking and 
blurring in flat and textured areas. (from -1 to FLT_MAX) (default -1)
  -psy               <boolean>    E..V..... Use psychovisual optimizations. 
(default auto)
  -psy-rd            <string>     E..V..... Strength of psychovisual 
optimization, in <psy-rd>:<psy-trellis> format.
  -rc-lookahead      <int>        E..V..... Number of frames to look ahead for 
frametype and ratecontrol (from -1 to INT_MAX) (default -1)
  -weightb           <boolean>    E..V..... Weighted prediction for B-frames. 
(default auto)
  -weightp           <int>        E..V..... Weighted prediction analysis 
method. (from -1 to INT_MAX) (default -1)
     none                         E..V.....
     simple                       E..V.....
     smart                        E..V.....
  -ssim              <boolean>    E..V..... Calculate and print SSIM stats. 
(default auto)
  -intra-refresh     <boolean>    E..V..... Use Periodic Intra Refresh instead 
of IDR frames. (default auto)
  -bluray-compat     <boolean>    E..V..... Bluray compatibility workarounds. 
(default auto)
  -b-bias            <int>        E..V..... Influences how often B-frames are 
used (from INT_MIN to INT_MAX) (default INT_MIN)
  -b-pyramid         <int>        E..V..... Keep some B-frames as references. 
(from -1 to INT_MAX) (default -1)
     none                         E..V.....
     strict                       E..V..... Strictly hierarchical pyramid
     normal                       E..V..... Non-strict (not Blu-ray compatible)
  -mixed-refs        <boolean>    E..V..... One reference per partition, as 
opposed to one reference per macroblock (default auto)
  -8x8dct            <boolean>    E..V..... High profile 8x8 transform. 
(default auto)
  -fast-pskip        <boolean>    E..V..... (default auto)
  -aud               <boolean>    E..V..... Use access unit delimiters. 
(default auto)
  -mbtree            <boolean>    E..V..... Use macroblock tree ratecontrol. 
(default auto)
  -deblock           <string>     E..V..... Loop filter parameters, in 
<alpha:beta> form.
  -cplxblur          <float>      E..V..... Reduce fluctuations in QP (before 
curve compression) (from -1 to FLT_MAX) (default -1)
  -partitions        <string>     E..V..... A comma-separated list of 
partitions to consider. Possible values: p8x8, p4x4, b8x8, i8x8, i4x4, none, all
  -direct-pred       <int>        E..V..... Direct MV prediction mode (from -1 
to INT_MAX) (default -1)
     none                         E..V.....
     spatial                      E..V.....
     temporal                     E..V.....
     auto                         E..V.....
  -slice-max-size    <int>        E..V..... Limit the size of each slice in 
bytes (from -1 to INT_MAX) (default -1)
  -stats             <string>     E..V..... Filename for 2 pass stats
  -nal-hrd           <int>        E..V..... Signal HRD information (requires 
vbv-bufsize; cbr not allowed in .mp4) (from -1 to INT_MAX) (default -1)
     none                         E..V.....
     vbr                          E..V.....
     cbr                          E..V.....
  -avcintra-class    <int>        E..V..... AVC-Intra class 50/100/200 (from -1 
to 200) (default -1)
  -me_method         <int>        E..V..... Set motion estimation method (from 
-1 to 4) (default -1)
     dia                          E..V.....
     hex                          E..V.....
     umh                          E..V.....
     esa                          E..V.....
     tesa                         E..V.....
  -motion-est        <int>        E..V..... Set motion estimation method (from 
-1 to 4) (default -1)
     dia                          E..V.....
     hex                          E..V.....
     umh                          E..V.....
     esa                          E..V.....
     tesa                         E..V.....
  -forced-idr        <boolean>    E..V..... If forcing keyframes, force them as 
IDR frames. (default false)
  -coder             <int>        E..V..... Coder type (from -1 to 1) (default 
default)
     default                      E..V.....
     cavlc                        E..V.....
     cabac                        E..V.....
     vlc                          E..V.....
     ac                           E..V.....
  -b_strategy        <int>        E..V..... Strategy to choose between 
I/P/B-frames (from -1 to 2) (default -1)
  -chromaoffset      <int>        E..V..... QP difference between chroma and 
luma (from INT_MIN to INT_MAX) (default -1)
  -sc_threshold      <int>        E..V..... Scene change threshold (from 
INT_MIN to INT_MAX) (default -1)
  -noise_reduction   <int>        E..V..... Noise reduction (from INT_MIN to 
INT_MAX) (default -1)
  -x264-params       <string>     E..V..... Override the x264 configuration 
using a :-separated list of key=value parameters

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to