C:\DATA\video>avconv -i map.mp4 -c:v mpeg2video -r:v 29.97 -s hd720 -b:v
18000k -maxrate:v 20000k -minrate:v 12000k -c:a libmp3lame -q:a 2 map.mpg
avconv version 9.7, Copyright (c) 2000-2013 the Libav developers
built on Jun 16 2013 20:03:03 with gcc 4.7.2 (Gentoo 4.7.2 p1.3,
pie-0.5.5)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'map.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2011-10-31 19:42:39
Duration: 00:01:00.33, start: 0.000000, bitrate: 348 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360,
274 kb/s, 15 fps, 15 tbr, 30 tbn, 30 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, mono, fltp, 71 kb/s
Metadata:
creation_time : 2011-10-31 19:42:39
[mpeg2video @ 01AAFAA0] a vbv buffer size is needed, for encoding with a
maximum bitrate
Output #0, mpeg, to 'map.mpg':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2011-10-31 19:42:39
Stream #0.0(und): Video: mpeg2video, yuv420p, 1280x720, q=2-31, 18000
kb/s, 90k tbn, 29.97 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: libmp3lame, 44100 Hz, mono, fltp
Metadata:
creation_time : 2011-10-31 19:42:39
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg2video)
Stream #0:1 -> #0:1 (aac -> libmp3lame)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
C:\DATA\video>
On Tue, Jan 28, 2014 at 10:37 PM, Luca Barbato <[email protected]> wrote:
> On 28/01/14 01:11, Nick Lawrence wrote:
> > My original file map.mp4 has a bitrate of 348 kb/s and a resolution of
> > 640*360
> >
> > I think that is well within the limits of mpeg1?
> >
>
> Paste the whole error message, the framerate could be not matching and
> it should print a message with all the info.
>
> lu
>
> _______________________________________________
> libav-tools mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-tools
>
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools