[MEncoder-users] DVD compliant MPEG2 encoding

Giacomo Comes comes at naic.edu
Mon Sep 12 21:50:48 CEST 2005


On Mon, Sep 12, 2005 at 10:09:58PM +0300, Lauri Myllari wrote:
> On Mon, Sep 12, 2005 at 02:19:11PM -0400, Giacomo Comes wrote:
> > The errors are due to the fact that you do not use the harddup filter.
> > Use -vf expand=1280:720,scale=720:480,harddup
> > (or -vf scale=720:362,expand=720:480,harddup)
> > and add you favorite dvd audio stream. 
> 
> It only changes the numbers a bit, but still a lot of errors.

I don't have these errors.

With dev-CVS-050906 using this command line:

mencoder kingdom_of_heaven_m720p.mov -o video_me256_0bf.mpg  -ofps 24000/1001 -ovc lavc -of mpeg -mpegopts format=dvd:vaspect=16/9:telecine -vf expand=1280:720,scale=720:480 -lavcopts vcodec=mpeg2video:keyint=15:vbitrate=1800:vrc_buf_size=1835:vrc_maxrate=9000:aspect=16/9:vmax_b_frames=0 -oac lavc -lavcopts acodec=ac3:abitrate=192

I don't have any error at all.
If I use MPlayer 1.0pre7, I have some (very few) errors
and if I add harddup they disappear.

What kind of audio are you adding to your DVD?

Giacomo

> 
> Without harddup:
> ENABLED SOFT TELECINING, FPS=29.97, INITIAL PATTERN IS TFF:0, RFF:0
> INITIAL DELAY of 0 frames   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
> Pos:   0.1s      3f ( 0%)   0fps Trem:   0min   0mb  A-V:0.008 [0:0]
> 1 duplicate frame(s)!
> Pos:   0.7s     17f ( 0%)   0fps Trem:   0min   0mb  A-V:0.054 [0:224]
> ERROR: SCR: 46894015, APTS: 44974080, DELTA=-0.021 secs, COMPENSATE=583, BR: 28000, lens: 2016/2016, frames: 2
> Pos:   1.3s     32f ( 0%)   0fps Trem:   0min   0mb  A-V:0.066 [545:223]
> ERROR: SCR: 99183451, APTS: 92160000, DELTA=-0.076 secs, COMPENSATE=2133, BR: 28000, lens: 2016/2016, frames: 3
> 
> ERROR: SCR: 105073729, APTS: 98058240, DELTA=-0.076 secs, COMPENSATE=2131, BR: 28000, lens: 2016/2016, frames: 2
> 
> ERROR: SCR: 108997668, APTS: 106905600, DELTA=-0.023 secs, COMPENSATE=635, BR: 28000, lens: 2016/2016, frames: 2
> 
> ERROR: SCR: 112921607, APTS: 112803840, DELTA=-0.001 secs, COMPENSATE=35, BR: 28000, lens: 2016/2016, frames: 2
> Pos:   2.0s     47f ( 0%)  35fps Trem:   0min   0mb  A-V:0.068 [545:223]
> ERROR: SCR: 157004895, APTS: 139345920, DELTA=-0.192 secs, COMPENSATE=5365, BR: 28000, lens: 2016/2016, frames: 2
> 
> And with harddup:
> ENABLED SOFT TELECINING, FPS=29.97, INITIAL PATTERN IS TFF:0, RFF:0
> INITIAL DELAY of 0 frames   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
> Pos:   0.1s      3f ( 0%)   0fps Trem:   0min   0mb  A-V:0.008 [0:0]
> 1 duplicate frame(s)!
> Pos:   1.3s     31f ( 0%)   0fps Trem:   0min   0mb  A-V:0.065 [564:223]
> ERROR: SCR: 92960587, APTS: 92160000, DELTA=-0.009 secs, COMPENSATE=243, BR: 28000, lens: 2016/2016, frames: 3
> 
> ERROR: SCR: 98454742, APTS: 98058240, DELTA=-0.004 secs, COMPENSATE=120, BR: 28000, lens: 2016/2016, frames: 2
> Pos:   1.9s     46f ( 0%)  35fps Trem:   0min   0mb  A-V:0.067 [557:223]
> ERROR: SCR: 152235922, APTS: 151142400, DELTA=-0.012 secs, COMPENSATE=332, BR: 28000, lens: 2016/2016, frames: 2
> Pos:   2.5s     61f ( 0%)  36fps Trem:   0min   0mb  A-V:0.069 [554:224]
> ERROR: SCR: 209787089, APTS: 198328320, DELTA=-0.124 secs, COMPENSATE=3481, BR: 28000, lens: 2016/2016, frames: 3
> 
> ERROR: SCR: 215871041, APTS: 204226560, DELTA=-0.126 secs, COMPENSATE=3537, BR: 28000, lens: 2016/2016, frames: 2
> 
> 
> > The missing harddup could also be related to the DVD player skipping.
> 
> It should only lead to missing frames, not crashing the player? Also,
> using rawvideo output and doing pulldown with another program produces
> a good stream, even without harddup.
> 
> > Can you try again with your Pioneer? Add harddup and the audio channel,
> > and test telecine with and without B-frames.
> 
> I guess there's no point including audio with all those errors?
> 
> > > The resulting files are accepted by dvdauthor without any warnings.
> > 
> > Are you using dvdauthor 0.6.11? This version is more strict than older
> > ones and may shows more errors.
> 
> Yes, it's 0.6.11.
> 
> --rez
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users

-- 




More information about the MEncoder-users mailing list