My goal is to import a video and export individual files for each cut. I've read through a number of threads on the site, and this question was most helpful in coming to a solution.
ffmpeg -y -i testing.mp4 -vf yadif \ -c:v libx264 -profile:v high -preset:v fast \ -x264opts min-keyint=15:keyint=1000:scenecut=40 -b:v 2000k \ -an \ -f segment -segment_format mp4 -segment_time 1 -segment_format_options movflags=faststart \ output%05d.mp4
Unfortunately, the result isn't working for me. The first outputted segment plays, but the following cuts appear to be unplayable .mp4s (in preview, quicktime player, premiere, VLC—all black or blank screens). I'd love to ask for all of your expertise!
As I mentioned in the title, I'd love to have a v2 that creates gif versions of each clip. As I understand, scenecut is an x264 option that might not work for .gifs. It's a secondary question, but will I be able to concatenate a .gif conversion to the end of this scenecut process?