[MEncoder-users] DVD compliant MPEG2 encoding
Lauri Myllari
lauri at myllari.net
Sat Sep 10 11:52:29 CEST 2005
On Fri, Sep 09, 2005 at 11:31:33AM +0200, Michael Niedermayer wrote:
> On Thu, Sep 08, 2005 at 11:01:27PM -0400, Rich Felker wrote:
> > On Fri, Sep 09, 2005 at 01:14:18AM +0300, Lauri Myllari wrote:
> > > 1) me_range
> > >
> > > The player I use for testing is a Pioneer DV-545 and it's
> > > apparently quite strict about standard compliance. After adding
> > > "me_range=127" to lavcopts the player stopped skipping/crashing on
> > > scenes with fast motion.
>
> use cvs!!!
% mencoder -v
MEncoder dev-CVS-050905-13:39-3.4.5 (C) 2000-2005 MPlayer Team
(Now updated to dev-CVS-050910-12:13-3.4.5 and got the same result)
[snip]
> > > Should this be noted in the encoding-guide.txt section about DVD
> > > constraints?
> >
> > Yes.
>
> probably not but it wont hurt OTOH, this is a limit of MPEG-2 not dvd,
> and lavc will take care of it by default
Without me_range=128 I get a bad stream.
I think this happens with all encodes, but here's one way to reproduce:
% mencoder kingdom_of_heaven_m720p.mov -o video_mer128.m2v -noskip -ofps 24000/1001 \
-ovc lavc -of rawvideo -ffourcc MPG2 -vf expand=1280:720,scale=720:480 \
-lavcopts vcodec=mpeg2video:keyint=15:vbitrate=1800:vrc_buf_size=1835:vrc_maxrate=9000:aspect=16/9:me_range=128
% mencoder kingdom_of_heaven_m720p.mov -o video.m2v -noskip -ofps 24000/1001 \
-ovc lavc -of rawvideo -ffourcc MPG2 -vf expand=1280:720,scale=720:480 \
-lavcopts vcodec=mpeg2video:keyint=15:vbitrate=1800:vrc_buf_size=1835:vrc_maxrate=9000:aspect=16/9
Source is http://images.apple.com/movies/us/hd_gallery/gl1800/kingdom_of_heaven_m720p.mov
First output (video_mer128.m2v) works, second one (video.m2v) has
problems (skips, then hangs) on Pioneer DV-545.
--rez
More information about the MEncoder-users
mailing list