Hot answers tagged

2

See https://github.com/zeroepoch/plotbitrate It uses ffprobe under the hood and can output an xml file. Here's an example output.svg: (Although it is slow - almost as slow as transcoding, because it scans the whole video.)


1

CRF is not a constant quality guarantee, more of an approximate bitrate specification. veryslow outperforms ultrafast in SSIM: ffmpeg -i output_crf-15_preset_ultrafast.mp4 -i Input.mkv -lavfi ssim=stats_file=ssim_logfile.txt -f null - ffmpeg -i output_crf-15_preset_veryslow.mp4 -i Input.mkv -lavfi ssim=stats_file=ssim_logfile.txt -f null - ffmpeg -i ...


1

I've put together a Python script that will do all of this. Generates the ffprobe and ffmpeg commands and runs them And outputs a file without black clips GitHub gist: https://gist.github.com/FarisHijazi/eff7a7979440faa84a63657e085ec504 """ @author: https://github.com/FarisHijazi Use ffprobe to extract black frames and ffmpeg to trim them and ...


1

I use these commands: 4x speedup: ffmpeg" -r 60 -i "inputfile.mp4" -vf "tmix=frames=4:weights='1',select='not(mod(n\,4))',setpts=0.25*PTS" -c:v libx265 -an -x265-params crf=25 "outputfile.mp4" 16x speedup: ffmpeg" -r 60 -i "inputfile.mp4" -vf "tmix=frames=16:weights='1',select='not(mod(n\,16))',setpts=...


Only top voted, non community-wiki answers of a minimum length are eligible