2015-03-14, 20:57
Thank you very much this helped. ( I use FFMpeg for this )
If the movie you want to convert is 1080p or NOT 720p then it need to be resized 720p before the conversion.
Now everyone can convert any video to splash.h264 with these 2 lines of code:
If your file is not 720p you must first convert it to 720p with this line:
ffmpeg -i movie.mp4 -vf scale=-1:720 -c:v libx264 -crf 18 -preset veryslow -c:a copy movie720p.mp4
then convert your 720p file to splash.h264 with this line:
ffmpeg -i movie720p.mp4 -vcodec copy -bsf h264_mp4toannexb splash.h264
what I did was to make a 2 batch files named "Splash720.bat" and placed both lines inside:
ffmpeg -i movie.mp4 -vf scale=-1:720 -c:v libx264 -crf 18 -preset veryslow -c:a copy movie720p.mp4
ffmpeg -i movie720p.mp4 -vcodec copy -bsf h264_mp4toannexb splash.h264
and one batch file named SplashH264.bat and placed this line inside:
ffmpeg -i movie.mp4 -vcodec copy -bsf h264_mp4toannexb splash.h264
Now i only name the file I want to convert to splash.h264 to "movie.mp4" and click the batch file that must be used.
OK I now see it is not easy to make things look easy but this is easy.... i think ;-)
If the movie you want to convert is 1080p or NOT 720p then it need to be resized 720p before the conversion.
Now everyone can convert any video to splash.h264 with these 2 lines of code:
If your file is not 720p you must first convert it to 720p with this line:
ffmpeg -i movie.mp4 -vf scale=-1:720 -c:v libx264 -crf 18 -preset veryslow -c:a copy movie720p.mp4
then convert your 720p file to splash.h264 with this line:
ffmpeg -i movie720p.mp4 -vcodec copy -bsf h264_mp4toannexb splash.h264
what I did was to make a 2 batch files named "Splash720.bat" and placed both lines inside:
ffmpeg -i movie.mp4 -vf scale=-1:720 -c:v libx264 -crf 18 -preset veryslow -c:a copy movie720p.mp4
ffmpeg -i movie720p.mp4 -vcodec copy -bsf h264_mp4toannexb splash.h264
and one batch file named SplashH264.bat and placed this line inside:
ffmpeg -i movie.mp4 -vcodec copy -bsf h264_mp4toannexb splash.h264
Now i only name the file I want to convert to splash.h264 to "movie.mp4" and click the batch file that must be used.
OK I now see it is not easy to make things look easy but this is easy.... i think ;-)