5/30/2023 0 Comments Ffmpeg h264 to proresThis generates the output file in MP4 format (output.mp4) with H264 encoded video. ffmpeg -y -vsync 0 s 1280x720 i input.yuv -c:v h264nvenc output.mp4. To encode a 720p YUV, use the following command. I’m working on skipping the python script by programming a custom GUI that will do the same thing, including grabbing the source timecode from the original file FFMPEG and FFMBC don’t copy that info over directly so it has to be set as an encoding parameter. The quality of encoded video depends on various features in use by the encoder. Once FFMBC completes the file, the larger uncompressed file is deleted and it continues to monitor the folder. The Python script monitors a folder and watches for growing files, when the file is done growing, it knows Redcine X is done converting the file so the script launches FFMPEG (or in this case, a fork called FFMBC) to encode the file. In the bin folder you will find ffmpeg.exe and ffplay.exe. Since Redcine-X (the program that manages RED camera footage) can’t export AVI, there is a bit of a workaround using an uncompressed MOV file. Drill down in the FFmpeg folder until you see a folder called bin. I currently use what’s described in my blog post here Can’t say I’ve come across the “-1” error when I was using the setup but I think that was before ProRes was part of FFMPEG. This howto shows how you can use ffmpeg to hardware accelerate the video decoding and encoding if you have the proper Intel processor.
0 Comments
Leave a Reply. |