On Mon, Oct 10, 2011 at 08:34, lekha mishra <[email protected]> wrote: > > Hi all, > I am trying to change the resolution of the video 3.mp4(frame size : > 176X144) to 1980X1080 using ffmpeg+libx264. > My command is: > > ffmpeg -y -i Test.mp4 -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -b > 1200k -vpre default -crf 22 -async 1 -threads 0 -s 1920×1080 -aspect 4:3 -r > 30 -ar 48000 outputFileName.mp4 > > but every time I get an error "Incorrect frame size".
I believe it is libx264 who complains; to produce HD video, you are expected to use a 1080p - compatible preset instead of default. Cheers, Alex > This command works fine for 320x240 and 480X320 frame size. > > If anyone has an idea, what is going wrong, please help. > -- > Regards, > Lekha Mishra > > > > > -- > Lekha Mishra > New Generation Application Pvt. Ltd > Software Developer > 90444149852 > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > > _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
