Ffmpeg Codec Frame Size Is Not Set

Ffmpeg Frames From Video

I have found over the last few years that FFMPEG changes command line options, and sometimes the documentation is updated, sometimes it is not. Using a completely good command line on one version is completely refused on another. For example, I used to use (and so do your examples) '-trellis 2', and on the latest git 03/07 it takes 2 as an output file name. The version before (02/27) works fine.

The web documentation doesn't even have the word trellis in it. On the other side, an error message like 'track 1: codec frame size is not set'.

Re: Command line error messages should give example of usage Post by brs5tettba ยป Thu Apr 19, 2012 5:35 am I also received the message 'ffmpeg codec frame size is not set'.

What is the command to set a frame size, and why doesn't it use the frame size of the input video? Which command line option of the 45 I am using caused the confusion? I am stuck doing a binary search of command line options as my evening entertainment, instead of going to watch one of the movies I transcoded yesterday.

A perfected command line. And removing 90% of it still has the problem. Install 7zip Without Admin. Ffmpeg.exe -i%p1% -f mp4 -vcodec libx264 -level 30 -b:v 4096k -acodec copy -g 250 -coder 0 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method umh -trellis 2 -me_range 64 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -filter:v yadif%p2%%p3%%p4%%p5%%p6%%p7%%p8%%p9%%1%2%3%4%5%6%7%8%9 Even this command line, which used to work, fails.