samgardner / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

mpeg4 encoding to youtube 480p resolution fails #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Command line and output:

ffmbc -i 00717.MTS -f mov -vf scale=854:480 -vcodec mpeg4 -an 00717-MPEG4.mov
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mpegts, from '00717.MTS':
  Duration: 00:00:11.00, start: 0.823111, bitrate: 37791 kb/s
  Program 1
    Stream #0.0[0x1011](und): Video: h264 (High), yuv420p, 1920x1080i tff [PAR 1:1 DAR 16:9], 25.00 fps
    Stream #0.1[0x1100](und): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0.2[0x1200](und): Subtitle: pgssub
[scale @ 0x101005e60] w:1920 h:1080 fmt:yuv420p -> w:854 h:480 fmt:yuv420p 
flags:0x4
[mpeg4 @ 0x10180b400] Invalid pixel aspect ratio 1280/1281, limit is 255/255
Error while opening encoder for output stream #0.0 - maybe incorrect parameters 
such as bit_rate, rate, width or height

ffmpeg seems to adjust the pixel aspect ratio with a warning and performs the 
same transcoding.

854:480 ist the resolution recommended by youtube encoding guidelines for 480p. 
Is there a command line workaround for this?

Original issue reported on code.google.com by krue...@lesspain.de on 24 Feb 2013 at 4:29

GoogleCodeExporter commented 9 years ago
Right, I will fix that

Original comment by baptiste...@gmail.com on 5 Mar 2013 at 8:20

GoogleCodeExporter commented 9 years ago
Should be fixed

Original comment by baptiste...@gmail.com on 14 Mar 2013 at 9:04