SilentVideo.FFmpexCommon (silent_video v0.5.0)
Summary
Functions
Use yuv420p pixel format instead of FFmpeg default yuv444p. Requires width and height divisible by 2, so adds "-vf scale=..." option.
Remove audio track.
Move the index to the beginning of the file so it can be streamed.
Functions
Link to this function
compatible_pixel_format(ffmpex_command, output_width \\ nil, output_height \\ nil, max_width \\ nil, max_height \\ nil)
Use yuv420p pixel format instead of FFmpeg default yuv444p. Requires width and height divisible by 2, so adds "-vf scale=..." option.
Link to this function
remove_audio(ffmpex_command)
Remove audio track.
Link to this function
streamable(ffmpex_command)
Move the index to the beginning of the file so it can be streamed.