Downsize 4k Videos

From JoBaPedia
Revision as of 21:42, 19 December 2020 by Joachim (talk | contribs) (→‎more infos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Downsize 4k Videos

not all my equipment can display 4k video material, especially not H.265 material. These are some commands

10-bit H.265 to 10-bit H.264

ffmpeg -i infile -c:v libx264 -crf 18 -c:a copy outfile.mkv

true lossless with -crf 0 could produce big files

10-bit H.265 to 8-bit H.265

ffmpeg -i infile -c:v libx265 -vf format=yuv420p -c:a copy outfile.mkv

true lossless with -x265-params lossless=1, again, can become big...

10-bit H.265 to 8-bit H.264

ffmpeg -i infile -c:v libx264 -crf 18 -vf format=yuv420p -c:a copy outfile.mkv

nice for PS4

== Windows example command

 F:\GoPro\2020-12-19\HERO7 BLACK 1>for %f in (*.MP4) do "C:\Users\Joachim\Downloads\ffmpeg-2020-12-15-git-32586a42da-essentials_build\bin\ffmpeg.exe" -i %f -c:v libx264 -crf 18 -c:a copy %f.mkv

more infos