[Libav-user] Incorrect frame size
Deepika
deepika at cinemacraft.tv
Mon Oct 10 10:22:50 CEST 2011
You could also try 1920x1088 as 1080 is not a multiple of 16.
Regards,
Deepika
On 10/10/2011 4:09 PM, Alex Cohn wrote:
> On Mon, Oct 10, 2011 at 08:34, lekha mishra<mishra.ni.lekha at gmail.com> 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
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
More information about the Libav-user
mailing list