encoding

  • -x265-params passes options to x265 encoder instead of ffmpeg
  • But whenever try to run the command, ffmpeg doesn’t seem to recognize/pass the options to x265.
  • Error splitting the argument list: Option not found
  • Make sure all options are in form key=value with value set to 1 if it’s a boolean option.
  • -c:v libx265 tells ffmpeg to use the h.265 codec for video streams


@ng_real_ninja: ffmpeg won’t recognize x265 options #angularjs #reactjs

C:\ffmpeg (20170123-e371f03-win64-static)\bin> ffmpeg -i concat:’input1.VOB’\’input.VOB’ -map 0:v -map 0:a -r 24000/1001 -f yuv4mpegpipe -c:v libx265 -x265-params –y4m –fps 24000/1001 -p veryslow –open-gop –bframes 16 –b-p yramid –bitrate 2500 –rect –amp –aq-mode 3 –no-sao –qcomp 0.75 –no-strong -intra-smoothing –psy-rd 1.6 –psy-rdoq 5.0 –rdoq-level 1 –tu-inter-depth 4 –tu-intra-depth 4 –ctu 32 –max-tu-size 16 –pass 1 –slow-firstpass –stats v. stats –sar 1 –range full ‘E:\output.hevc’ ffmpeg version N-83195-ge371f03 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: –enable-gpl –enable-version3 –enable-cuda –enable-cuvid –e nable-d3d11va –enable-dxva2 –enable-libmfx –enable-nvenc –enable-avisynth — enable-bzlib –enable-fontconfig –enable-frei0r –enable-gnutls –enable-iconv –enable-libass –enable-libbluray –enable-libbs2b –enable-libcaca –enable-li bfreetype –enable-libgme –enable-libgsm –enable-libilbc –enable-libmodplug – -enable-libmp3lame –enable-libopencore-amrnb –enable-libopencore-amrwb –enabl e-libopenh264 –enable-libopenjpeg –enable-libopus –enable-librtmp –enable-li bsnappy –enable-libsoxr –enable-libspeex –enable-libtheora –enable-libtwolam e –enable-libvidstab –enable-libvo-amrwbenc –enable-libvorbis –enable-libvpx –enable-libwavpack –enable-libwebp –enable-libx264 –enable-libx265 –enable -libxavs –enable-libxvid –enable-libzimg –enable-lzma –enable-decklink –ena ble-zlib libavutil 55. 44.100 / 55. 44.100 libavcodec 57. 75.100 / 57. 75.100 libavformat 57. 63.100 / 57. 63.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 69.100 / 6. 69.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Unrecognized option ‘-y4m’. Error splitting the argument list: Option not found

Thanks for the help! Still getting a few errors though, not really sure why – cdpp 13 mins ago

if it’s a boolean option. – Mulvya 7 mins ago

encoding