Skip to content

Instantly share code, notes, and snippets.

@smagch
Last active March 20, 2020 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smagch/b3fcd2bbaf0db88902506e88c45acc44 to your computer and use it in GitHub Desktop.
Save smagch/b3fcd2bbaf0db88902506e88c45acc44 to your computer and use it in GitHub Desktop.
ffmpeg for a6400
# ffmpeg -i input.mp4 -crf 28 -b:a 128k -color_range 1 -color_trc arib-std-b67 -color_primaries bt2020 -colorspace bt2020nc output_28.mp4
# ffmpeg -i output28.mp4 -c copy -map 0 -segment_time 00:01:00 -reset_timestamps 1 -f segment output_%03d.mp4
ffmpeg -i input.mp4 -crf 28 -b:a 128k -color_range 1 -color_trc arib-std-b67 -color_primaries bt2020 -colorspace bt2020nc -segment_time 60 -f segment -reset_timestamps 1 output_%03d.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment