[MPlayer-users] A-V sync with mencoder/mplayer

Miroslav Rovis m.rovis at inet.hr
Sat Dec 12 12:15:07 CET 2009


Hello Ken, Reimar and all mencoder users!

I wrote:
> I'll be back to post what I promised above
I can't check this one now, but it is one of the latest I used for
capturing VHS:
mencoder tv:// -tv
input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa:adevice=hw.0:audiorate=48000:amode=1:width=768:height=576
-ovc lavc -lavcopts
vcodec=mpeg4:autoaspect:vqscale=4:vb_strategy=1:vmax_b_frames=2:autoaspect:mbd=0:turbo
-oac mp3lame -lameopts cbr:preset=standard -vf softskip,harddup -mc 0 -o
hvk316_1119_112158.avi
In other words, if you read my previous posts, this should be an
improvement as well as a rebuff of some of my statements of minor
importance in those previous posts.

But I remember ending up making an entry in my ~/.mplayer/mencoder.conf
file, so I'll post it here.

The PROBLEM is, I don't remember which of the profile entries worked and
which didn't... And I can't test them now, I have to be back on other
matters of my life ASAP... And now I wouldn't even remember without
consulting mplayer docs how to use the profiles on the command line :-)
So this is all I can do. Good luck!

[mpeg4_capt]

profile-desc="mpeg4 capture"

tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.0:audiorate=48000:amode=1:width=768:height=576

ovc=lavc=1

lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:vmax_b_frames=2:mbd=0:turbo=1

vf=softskip,harddup

mc=0


[mpeg4_capt_b_sens]
profile-desc="mpeg4 capture"
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.0:audiorate=48000:amode=1:width=768:height=576

ovc=lavc=1

lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:b_sensitivity=80:vmax_b_frames=2:mbd=0:turbo=1


vf=softskip,harddup

mc=0


[mpeg4_capt_MP3_b_sens]
profile=mpeg4_capt_b_sens
oac=mp3lame=1
lameopts=cbr=1:preset=standard

[mpeg4_capt_MP3]
profile=mpeg4_capt
oac=mp3lame=1
lameopts=cbr=1:preset=standard

[mpeg4_capt_MP2_AUDIO_not_muxed_in]
profile=mpeg4_capt
oac=lavc=1
lavcopts=acodec=mp2

[x264_capt_BUFFER_UNDERUN]
profile-desc="x264 capture"
oac=lavc=1
ovc=x264=1
x264encopts=crf=29
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.0:audiorate=48000:amode=1:width=768:height=576


[h264_on_captVHS]
profile-desc="h264_on_captVHS"
ovc=x264=1
x264encopts=bitrate=900
vf=harddup=1
oac=faac=1
faacopts=br=192:mpeg=4:object=2
channels=2
srate=48000

[h264_on_captVHS_01_p1]
profile-desc="h264_on_captVHS_01_p1"
profile=h264_on_captVHS
x264encopts=pass=1:turbo=1:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300



[h264_on_captVHS_01_p2]
profile=h264_on_captVHS
profile-desc="h264_on_captVHS_01_p2"
x264encopts=pass=2:turbo=1:frameref=5:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300

[h264_on_captVHS_02_p1]
profile=h264_on_captVHS
profile-desc="h264_on_captVHS_02_p1"
x264encopts=pass=1:turbo=1:frameref=1:subq=1:bframes=1:partitions=all:qp_step=4:qcomp=0.7:keyint=300

[h264_on_captVHS_02_p2]
profile=h264_on_captVHS
profile-desc="h264_on_captVHS_02_p2"
x264encopts=pass=2:turbo=1:subq=5:8x8dct:frameref=2:bframes=1:b_pyramid:weight_b:partitions=all:trellis=1:qp_step=4:qcomp=0.7:keyint=300

[h264_on_captVHS_03_p1]
profile=h264_on_captVHS
profile-desc="h264_on_captVHS_03_p1"
x264encopts=pass=1:turbo=1:frameref=1:subq=1:bframes=1:partitions=all:qp_step=4:qcomp=0.7:keyint=300

[h264_on_captVHS_03_p2]
profile=h264_on_captVHS
profile-desc="h264_on_captVHS_03_p2"
x264encopts=pass=2:turbo=1:subq=3:frameref=2:bframes=1:partitions=all:trellis=1:qp_step=4:qcomp=0.7:keyint=300


More information about the MPlayer-users mailing list