[MEncoder-users] Convertion from AVI[mjpeg+pcm] to DVD[mpeg2video+mp] fails with clicking sound problem

Mojo mojoholder at narod.ru
Thu Mar 9 08:33:22 CET 2006


Hi,

I capture TV in avi [mjpeg+pcm] and then recode it following the mplayer 
manual into dvd format mpeg2+mp2. The output file has very strange sound 
problems - it has clicks twice a second (both mp2 and ac3 codecs).

Gentoo, MPlayer dev-CVS-060302-17:36-3.3.5

**** Capture script:

mencoder -mc 0 -noskip -tv 
driver=v4l2:input=3:width=720:height=576:device=/dev/v4l/video0:\
normid=0:buffersize=500:fps=25:\
:saturation=40:amode=0:alsa:audiorate=48000:adevice=hw.0 \
-oac pcm \
tv:// \
-o tvcapture.avi -ovc lavc -lavcopts 
vcodec=mjpeg:vhq:aspect=4/3:vbitrate=50000:vqscale=1 \
-vf harddup,crop=680:560:25:8,pp=lb

**** Avi -> Dvd script

mencoder -mc 0 -noskip -of mpeg -vf scale=720:576,harddup -srate 48000 -ofps 
25 \
-ovc lavc -oac lavc -lavcopts vcodec=mpeg2video:\
vrc_buf_size=1835:\
keyint=15:\
vrc_maxrate=6000:\
vbitrate=4000:\
aspect=4/3:\
acodec=mp2:abitrate=48 \
$1 -o $2


Thanks for any clue.

PS: I can upload video and sound files if it is needed




More information about the MEncoder-users mailing list