123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- #
- # Mencoder configuration file
- #
- # Configuration files are read system-wide from /etc/mencoder.conf
- # and per user from ~/.mplayer/mencoder.conf, where per-user settings override
- # system-wide settings, all of which are overrriden by the command line.
- #
- # The configuration file settings are the same as the command line
- # options without the preceding '-'.
- #
- # See the CONFIGURATION FILES section in the man page
- # for a detailed description of the syntax.
- ####################
- # default settings #
- ####################
- # Some font enhancements using fontconfig as default
- fontconfig = 1
- subcp = cp1254
- spuaa = 4
- subfont-text-scale = 3
- font = "Dejavu Sans Condensed"
- ############
- # profiles #
- ############
- [yuy2]
- profile-desc="RAW uncompressed YUY2"
- mf=fps=25
- oac=copy=yes
- ovc=raw=yes
- vf=format=yuy2
- [mpeg1]
- profile-desc="MPEG-1 Video MP2 Audio"
- of=mpeg=1
- mpegopts=format=mpeg1:tsaf=1:muxrate=2000
- oac=lavc=1
- ovc=lavc=1
- lavcopts=acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3
- [mpeg2]
- profile-desc="MPEG-2 Video MP2 Audio - Slow because Full Encoding"
- lavdopts=threads=2
- vf=pp=md,harddup
- ovc=lavc=1
- oac=lavc=1
- lavcopts=vcodec=mpeg2video:vqscale=1:acodec=mp2:abitrate=320:threads=2
- of=lavf=1
- lavfopts=format=dvd
- [mpeg4]
- profile-desc="MPEG4 video"
- ovc=lavc=1
- oac=mp3lame=1
- lameopts=preset=standard
- lavcopts=vcodec=mpeg4:vbitrate=1200
- [mpeg4-hq]
- profile-desc="MPEG4 video HQ"
- profile=mpeg4
- lavcopts=mbd=2:trell=yes:v4mv=yes
- [x264]
- profile-desc="x264 video MP3 audio"
- ovc=x264=1
- x264encopts=subq=5:frameref=2:b_pyramid=1:weight_b=1:nr=500
- oac=mp3lame=1
- lameopts=preset=standard
- [x264-hq]
- profile-desc="x264 video MP3 audio HQ"
- lavdopts=threads=2
- ovc=x264=1
- x264encopts=subq=6:partitions=all:8x8dct=yes:me=umh:frameref=5:bframes=3:b_pyramid=yes:weight_b=yes:threads=auto
- ofps=25
- alang=it
- oac=mp3lame=yes
- lameopts=vbr=3:br=128
- [xvid]
- profile-desc="MPEG4 (XviD) video MP3 audio"
- ovc=xvid=yes
- xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg
- ofps=25
- oac=mp3lame=yes
- lameopts=vbr=3:br=128
- [xvid-hq]
- profile-desc="MPEG4 (XviD) video MP3 audio HQ"
- ovc=xvid=yes
- xvidencopts=bitrate=5000:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg
- ofps=25
- oac=mp3lame=yes
- lameopts=vbr=3:br=192
- [xvid-cartoon]
- profile-desc="MPEG4 (XviD) video MP3 audio Cartoon optimised"
- ovc=xvid=yes
- xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg:cartoon=yes
- ofps=25
- oac=mp3lame=yes
- lameopts=vbr=3:br=128
- [divx]
- profile-desc="MPEG4 (DivX) video MP3 audio"
- ovc=lavc=yes
- lavcopts=mbd=2:trell=yes:v4mv=yes:vbitrate=1200:autoaspect=yes:acodec=mp3:abitrate=128
- # this is for compatibility with divx players, hint to use with other profiles
- ffourcc=DX50
- ofps=25
- oac=mp3lame=yes
- lameopts=vbr=3:br=128
- [wmv]
- profile-desc="WMV Good Quality"
- lavdopts=threads=2
- vf=pp=md,harddup
- ovc=lavc=1
- oac=lavc=1
- lavcopts=vcodec=wmv2:vqscale=4:acodec=wmav2:abitrate=128
- of=lavf=yes
- [lameaudio]
- profile-desc="Lame Audio"
- oac=mp3lame=1
- srate=48000
- lameopts=abr=yes:br=128
- [hd-1080p]
- profile-desc="HD 1080p video AC3 audio"
- ovc=xvid=1
- vf=pp=l5,crop=1920:1056
- xvidencopts=vhq=4:bvhq=1:nogmc=1:me_quality=6:chroma_me=1:chroma_opt=1:min_iquant=1:min_pquant=1:fixed_quant=5
- oac=lavc=1
- lavcopts=acodec=ac3:abitrate=384
- [dvrms2xvid]
- profile-desc="Convert DVRMS to XviD"
- profile=lameaudio
- quiet=1
- demuxer=35
- sws=2
- vfm=ffmpeg
- vf=pp=md,scale=624:352
- ovc=xvid=1
- xvidencopts=threads=2:bitrate=900:vhq=1:max_bframes=2
- lavdopts=threads=2
- noodml=1
- forceidx=1
- ffourcc=DX50
- [dvd]
- profile-desc="MPEG2 (PAL DVD) video AC3 audio"
- ovc=lavc=yes
- lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes
- of=mpeg=yes
- mpegopts=format=dvd:tsaf=yes
- vf=scale=720:576,harddup
- ofps=25
- srate=48000
- af=lavcresample=48000
- oac=lavc=yes
- [dvdi]
- profile-desc="MPEG2 (PAL DVD interlaced source) video AC3 audio"
- ovc=lavc=yes
- lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes:ildct=yes:ilme=yes
- of=mpeg=yes
- mpegopts=format=dvd:tsaf=yes
- vf=scale=720:576,harddup
- ofps=25
- srate=48000
- af=lavcresample=48000
- oac=lavc=yes
- [dvd-wide]
- profile-desc="MPEG2 (PAL DVD wide screen source) video AC3 audio"
- ovc=lavc=yes
- lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192
- of=mpeg=yes
- mpegopts=format=dvd:tsaf=yes
- vf=scale=720:-2,expand=720:576,harddup
- ofps=25
- srate=48000
- af=lavcresample=48000
- oac=lavc=yes
- [dvd-16_9]
- profile-desc="MPEG2 (PAL DVD 16/9) video AC3 audio"
- ovc=lavc=yes
- lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9
- of=mpeg=yes
- mpegopts=format=dvd:tsaf=yes
- vf=scale=720:576,harddup
- ofps=25
- srate=48000
- af=lavcresample=48000
- oac=lavc=yes
- [webcam]
- profile-desc="Webcam capture with MJPEG/nosound"
- oac=pcm=1
- ovc=lavc=1
- lavcopts=vcodec=mjpeg
- tv=driver=v4l:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24
- vf=pp=hb:a/vb:a,hqdn3d,mirror
- nosound=1
- [webcam-v4l2]
- profile-desc="Webcam capture with MJPEG/nosound (V4L2)"
- oac=pcm=1
- ovc=lavc=1
- lavcopts=vcodec=mjpeg
- tv=driver=v4l2:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24
- vf=pp=hb:a/vb:a,hqdn3d,mirror
- nosound=1
- [tv]
- profile-desc="TV capture with MP3 audio"
- tv=driver=v4l:normid=4:width=640:height=480:chanlist=europe-west
- tv=alsa=yes:adevice=hw.1,1:audiorate=32000
- srate=32000
- vf=crop=624:464:0:8,pp=lb,denoise3d,decimate
- oac=mp3lame=1
- ovc=lavc=1
- lavcopts=vqscale=5
- lameopts=q=6
- [tv-v4l2]
- profile-desc="TV capture with MP3 audio (V4L2)"
- tv=driver=v4l2:normid=4:width=640:height=480:chanlist=europe-west
- tv=alsa=yes:adevice=hw.1,1:audiorate=32000
- srate=32000
- vf=crop=624:464:0:8,pp=lb,denoise3d,decimate
- oac=mp3lame=1
- ovc=lavc=1
- lavcopts=vqscale=5
- lameopts=q=6
- [psp]
- profile-desc="PSP H264/AAC (AVC/AAC)"
- sws=9
- vf=pullup,softskip,scale=368:208,harddup,unsharp=l3x3:0.7
- ofps=30000/1001
- ovc=x264=1
- x264encopts=bitrate=650:global_header:partitions=all:trellis=1:vbv_maxrate=768:vbv_bufsize=2000:level_idc=30
- oac=faac=1
- faacopts=br=128:mpeg=4:object=2:raw=yes
- of=lavf=1
- lavfopts=format=psp
- [psp-lavc]
- profile-desc="PSP H264/AAC (AVC/AAC) with FFmpeg"
- vf=hqdn3d,scale=368:208
- af=lavcresample=48000
- ofps=30000/1001
- ovc=lavc=1
- oac=lavc=1
- lavcopts=aglobal=1:vglobal=1:vcodec=libx264:acodec=libfaac:vbitrate=320:abitrate=97:coder=1
- of=lavf=1
- lavfopts=format=psp
- [psp-fast]
- profile-desc="PSP MPEG4/AAC Medium Quality"
- lavdopts=threads=2
- vf=pp=md,scale=368:208,harddup
- af=lavcresample=24000
- ofps=30000/1001
- ovc=lavc=1
- oac=lavc=1
- lavcopts=aglobal=1:vglobal=1:vcodec=mpeg4:acodec=libfaac:vbitrate=500
- of=lavf=1
- lavfopts=format=psp
- [youtube]
- profile-desc="YouTube output"
- ovc=lavc=1
- oac=lavc=1
- vf-add=scale=320:200
- vf-add=expand=320:240
- lavcopts=vhq=yes:vcodec=mpeg4:vrc_buf_size=1835:vrc_maxrate=350:vbitrate=350:v4mv=yes:aspect=4/3:trell=yes:cbp=yes
- ffourcc=XVID
- [pda-z-napisami]
- profile-desc="PDA"
- ovc=lavc=1
- lavcopts=vcodec=mpeg4:vbitrate=300
- oac=mp3lame=1
- lameopts=preset=112
- vf=scale=320:-3
- af=resample=44100:0:0
- [mswin]
- profile-desc="MS Win compatible MPEG1 video MPEG2 audio"
- of=mpeg=1
- mpegopts=format=mpeg1:tsaf=1
- oac=lavc=1
- lavcopts=acodec=mp2:abitrate=192
- ovc=lavc=1
- lavcopts=vcodec=mpeg1video:trell=1:autoaspect=1
- vf=hqdn3d=2:1:2
- [treo650]
- profile-desc="Treo 650 compatible"
- aspect=4:3
- ovc=lavc=1
- lavcopts=vcodec=mpeg4:mbd=2:turbo=yes:vbitrate=300:aspect=4/3:acodec=libmp3lame:abitrate=96
- oac=lavc=1
- vf-pre=pp=lb
- vf=scale=320:200
- af=volnorm=1
|