[MEncoder-users] MPEG encoding hangs
Stefan Sassenberg
stefan.sassenberg at gmx.de
Sat Jan 3 11:43:25 CET 2009
Moritz Barsnick schrieb:
> Hi,
>
> On Fri, Jan 02, 2009 at 12:36:11 +0100, belcampo wrote:
>> I don't know what you're trying to achieve, but your source is an mp4
>> container and the dvd-format is an MPEG2 format container.
>
> I think his command line should be capable of doing exactly that
> conversion.
>
>> Further DVD codec format is MPEG2 which your mp4 won't be. So a ovc
>> copy cannot work.
>
> It _can_ be MPEG2 video within an MPEG4 container (Google claims it
> exists ;->). But indeed:
>
>>> VIDEO: [avc1] 1280x720 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
>>> [V] filefmt:44 fourcc:0x31637661 size:1280x720 fps:29.970 ftime:=0.0334
>
> That's AVC-1 video a.k.a. H.264. So indeed, Stefan (the original
> poster) is not going to achieve what he said he was trying to.
The final command line looks like this:
mencoder 03-trail_betti.mp4 -vf scale=720:576,expand=720:576,harddup
-srate 48000 -af lavcresample=48000 -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=16/9
-ofps 25 -oac lavc -of mpeg -mpegopts format=dvd -o
~/movies/new/03-trail_betti.mpg -frames 7250
So it contains scaling, cutting and - first of all - reencoding. I
usually start with simple command lines when testing things. Please
ignore the expand parameter as mencoder probably does too.
What matters me is that I still have to reencode the audio track because
of the endless loop. Is there any developer out here who is interested?
Should I subscribe to some bug tracking system to report the bug? Is
there a quick hack? I added 255: as case label to the file but it ends
with lots of messages like
Skipping frame!
AINIT: 0.200 20f ( 0%) 0.00fps Trem: 2min 0mb A-V:0.063 [0:65]
Stefan
More information about the MEncoder-users
mailing list