[MEncoder-users] Problems creating deinterlaced video

James Hastings-Trew jimht at shaw.ca
Wed Nov 21 01:07:38 CET 2007


fabio_calzavara at alice.it wrote:
> Hi, I've tryied to create a 6Mbit divx-deinterlaced-video with mencoder using the following command
>
> mencoder "file.vob" -ovc lavc -oac mp3lame -lameopts cbr:br=128 -lavcopts vcodec=mpeg4:vhq:vbitrate=6000  -ffourcc DX50 -vf pp=lb -o file2.avi
>
> Mencoder showed this message at the end:
>
>
> 1 duplicate frame(s)!
> Pos:   0.8s     22f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.084 [0:127]
> Skipping frame!
> Pos:   1.2s     32f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.083 [523:128]
> Skipping frame!
> ODML: Starting new RIFF chunk at 1023MB.   0min   0mb  A-V:0.056 [4113:128]]
> Pos:3161.5s  79041f ( 0%) 37.41fps Trem:   0min   0mb  A-V:0.081 [4366:127]
> Skipping frame!
> ODML: Starting new RIFF chunk at 2047MB.   0min   0mb  A-V:0.052 [4424:128]
> Pos:4652.8s 116324f ( 0%) 37.19fps Trem:   0min   0mb  A-V:0.081 [-2832:128]
> Skipping frame!
> ODML: Starting new RIFF chunk at -1024MB.  0min   0mb  A-V:0.016 [-1666:127]]
> Pos:6244.5s 156119f ( 0%) 37.09fps Trem:   0min   0mb  A-V:0.014 [-1010:127]]
> Flushing video frames
>
>
> CBR audio: 16000 bytes/sec, 384 bytes/block
> Writing index...
> Writing header...
> ODML: Aspect information not (yet?) available or unspecified, not writing vprp
> eader.
>
> Video stream: -1010.042 kbit/s  (-126255 B/s)  size: 18446744072921153595 bytes
>  6244.480 secs  156119 frames
>
> Audio stream:  128.000 kbit/s  (15999 B/s)  size: 99913728 bytes  6244.608 secs
>
> The resulted file cannot be open by any software but Mplayer but it isn't possible to sroll it.
> Is there a solution for this Problem?
> Thank you guys and sorry for my really bad english!  
> _______________________________________________
>   
Couple of things I spotted - that bitrate is "out there" for Divx - I'd 
be very surprised if it all got used - looks like it used an average of 
4400. Consider something more conservative - in the 2500 - 3500 range.  
You could also use some more considered lavc settings to keep the same 
quality but increase the compression. Try something like:

vcodec=mpeg4:mbd=2:trell=yes:vbitrate=3500:vrc_maxrate=6000:vrc_buf_size=1835

Also, put the -noodml switch in there for maximum compatibility. A lot 
of software and set top devices won't read past the first chunk of an 
ODML indexed AVI.




More information about the MEncoder-users mailing list