[MPlayer-users] mencoder: interlaced mpeg2 to interlaced mpeg4?

Timothee Groleau kde at timotheegroleau.com
Fri Sep 14 21:27:07 CEST 2007


Hi all, 

I'm currently archiving the videos taken from my Sony DCR-SR200E video camera 
(MPEG2, interlaced, anamorphic: 720x576 -> 1024x576). I am converting them to 
mpeg4 to save space, while keeping the interlacing.

Using mplayer and the yadif deinterlace filter, I could play both original and 
converted video properly deinterlaced. I wanted to check the result in 
another player and I used Xine. Xine could also play both videos but, while 
the default Xine deinterlace filter worked perfectly on the original mpeg2 
video, it had no effect on the generated mpeg4 video.

I am kind of clueless about interlacing. Is there something wrong with the 
deinterlace filter of Xine or is there something wrong with the mpeg4 video I 
generated? 

The reason I ask is because I will eventually delete the mpeg2 originals and I 
want to make sure my mpeg4 copies are good. Thanks in advance for any 
explanation on this.


I'm using mencoder 1.0_rc1_p20070622-r4 on gentoo and the mencoder command I 
used for the conversion is below:

# vopt="aspect=16/9:vbitrate=1400000:mbd=2:v4mv:ilme:ildct:trell:mv0:vqmin=3"
# 
# mencoder -ffourcc XVID -oac mp3lame -lameopts preset=standard:vol=3 -srate 
44100 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:turbo:$vopt -passlogfile 
mpeg4_2pass.log -o /dev/null m2u00037.mpg
# 
# mencoder -ffourcc XVID -oac mp3lame -lameopts preset=standard:vol=3 -srate 
44100 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:$vopt -passlogfile 
mpeg4_2pass.log -o storm_me_mpeg4_p2.mpg m2u00037.mpg


Thanks!
Tim.



More information about the MPlayer-users mailing list