Convert video to I420 using ffmpeg.exe -
what's command convert .yuv video i420 format using ffmpeg? mean, convert video using cli, not code convert. 1 conversion needed.
to convert raw yuv i420 in yuv4mpeg2 (change .y4m .yuv if want raw yuv output also):
ffmpeg -video_size $widthx$height -pixel_format $pixfmt -i $input.yuv -vf format=yuv420p $output.y4m
where have fill in variables. valid values pixfmt e.g. yuyv422. see:
ffmpeg -pix_fmts
for full list of supported formats.
Comments
Post a Comment