[FFmpeg-user] Encode with "tiles" scheme using ffmpeg

Mohammed Bey Ahmed Khernache mohbeyinfo at gmail.com
Mon Apr 29 14:03:51 EEST 2019


Hello,
how to encode a video sequence in hevc, with "*tiles*" or "*wpp*" schemes
using ffmpeg?
Following is the command line and the output:
-------------------------------------------------------------------------------------------------
PS D:\tools\ffmpeg\windows\ffmpeg-20190128-1db30d6-win64-static\bin>
.\ffmpeg.exe -f rawvideo -vcodec rawvideo -s 1920x1080 -r 25 -pix_fmt
yuv420p -i .\pedestrian_area.yuv -c:v hevc -r 25 -x265-params -tiles 4x2
crf=27 -vframes 375 -an -y pedestrian_area.mp4
ffmpeg version N-93041-g1db30d6cec Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 8.2.1 (GCC) 20181201
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 46.100 / 58. 46.100
  libavformat    58. 26.100 / 58. 26.100
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
[rawvideo @ 00000178db47b740] Estimating duration from bitrate, this may be
inaccurate
Input #0, rawvideo, from '.\pedestrian_area.yuv':
  Duration: 00:00:15.00, start: 0.000000, bitrate: 622080 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080,
622080 kb/s, 25 tbr, 25 tbn, 25 tbc
[NULL @ 00000178db486a40] Unable to find a suitable output format for '4x2'
4x2: Invalid argument

Thank you in advance
Best regards


More information about the ffmpeg-user mailing list