Added scene change detection options for keyframing in the h264 converter scripts

This commit is contained in:
2016-10-27 12:10:33 -07:00
parent 4c0907bdd9
commit 1e74181967
2 changed files with 4 additions and 6 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
g=6;
for i;
do ffmpeg -i "$i" -c:v libx264 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 "${i%.*}_h264.mov" ;
do ffmpeg -i "$i" -c:v libx264 -x264opts keyint=$g:scenecut=-1 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 "${i%.*}_h264.mov" ;
done;