oliviano
1/25/2019 - 11:08 PM

ffmpeg

ffmpeg flags

HAP Chunk:
ffmpeg -framerate 60 -f image2 -i %07d.png -vcodec hap -chunks 16 hap.mov

ffmpeg -i yourSourceFile.mov -c:v hap outputName.mov
ffmpeg -i yourSourceFile.mov -c:v hap -format hap_alpha outputName.mov
ffmpeg -i yourSourceFile.mov -c:v hap -format hap_q outputName.mov

-chunks N (default is 1; N is a number from 1-64 that does not exceed the number of CPU cores in the playback system)
ffmpeg -i yourSourceFile.mov -c:v hap -format hap_q -chunks 4 outputName.mov

-compressor snappy or -compressor none (default is snappy; when set to none may marginally reduce CPU usage in exchange for much larger file sizes that are a fixed bit-rate)
ffmpeg -i yourSourceFile.mov -c:v hap -compressor none outputName.mov

file sequence:
ffmpeg -i "D:\Local_Projects\Niwa_sftp\ParticleTests\PNGFrames\image_00_%%03d.png" 
-vf scale=3840:2160 -sws_flags bicubic+full_chroma_int -c:v hap -format hap_q -chunks 4 
"D:\Local_Projects\Niwa_sftp\ParticleTests\outputs\mynewvideo3.mov"