I was simulating a lot of videos in cif format, also all videos came with yuv format file. I used the expression below and it works well:
ffmpeg -s cif -r 30 -i video.yuv -vcodec mpeg4 -g 12 -bf 2 -sameq video.m4v
But now I'm looking for simulations with HD videos and they come with y4m extensions. Do you know witch expression I should use?
I tried to replace -s hd720, instead of -s cif and still not working:
ffmpeg -s hd720 -i ducks_take_off_420_720p50.y4m -vcodec mpeg4 -g 12 -bf 2 -sameq video.m4v
Error: Option video_size not found