diff options
Diffstat (limited to 'etc/encoding-example-profiles.conf')
-rw-r--r-- | etc/encoding-example-profiles.conf | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/etc/encoding-example-profiles.conf b/etc/encoding-example-profiles.conf index 5dc2908599..f24c11d3ef 100644 --- a/etc/encoding-example-profiles.conf +++ b/etc/encoding-example-profiles.conf @@ -1,5 +1,5 @@ # -# MPlayer configuration file +# mpv configuration file # ######################### @@ -8,10 +8,10 @@ # # Usage of this file: copy/symlink it to a fixed location, and add # include = /path/to/this/encoding-example-profiles.conf -# to your ~/.mplayer/config +# to your ~/.mpv/config # # Then, list all profiles by -# mplayer -profile help | grep enc- +# mpv -profile help | grep enc- # # The following kinds of encoding profiles exist: # enc-a-*: initialize an audio codec including good defaults @@ -26,19 +26,19 @@ # options, or even switch to another codec. # # You can view the exact options a profile sets by -# mplayer -show-profile enc-to-bb-9000 +# mpv -show-profile enc-to-bb-9000 # # Examples: -# mplayer -profile enc-to-dvdpal -o outfile.mpg infile.mkv -# mplayer -profile enc-f-avi -ofps 30 -o outfile.avi infile.mkv -# mplayer -profile enc-v-mpeg4 -ovcopts-add global_quality=7 -profile enc-a-mp3 -oacopts-add b=320k -o outfile.avi infile.mkv +# mpv -profile enc-to-dvdpal -o outfile.mpg infile.mkv +# mpv -profile enc-f-avi -ofps 30 -o outfile.avi infile.mkv +# mpv -profile enc-v-mpeg4 -ovcopts-add global_quality=7 -profile enc-a-mp3 -oacopts-add b=320k -o outfile.avi infile.mkv ################ # audio codecs # ################ [enc-a-aac] profile-desc = "AAC (libfaac or FFmpeg)" -oac = libfaac,aac +oac = libfdk_aac,libfaac,libvo_aacenc,aac oacopts = b=128k [enc-a-ac3] @@ -124,33 +124,33 @@ ofopts-clr = yes # target devices # ################## [enc-to-dvdpal] -profile-desc = "DVD-Video PAL, use dvdauthor -v pal+4:3 -a ac3+en" +profile-desc = "DVD-Video PAL, use dvdauthor -v pal -a ac3+en (MUST be used with 4:3 or 16:9 aspect, and 720x576, 704x576, 352x576 or 352x288 resolution)" profile = enc-v-mpeg2 profile = enc-a-ac3 of = dvd ofopts-add = packetsize=2048,muxrate=10080000 ofps = 25 oharddup = yes -vf = expand=aspect=4/3,scale=720:576 +ovfirst = yes # dvdauthor needs this srate = 48000 ovcopts-add = g=15,b=6000000,maxrate=9000000,minrate=0,bufsize=1835008 [enc-to-dvdntsc] -profile-desc = "DVD-Video NTSC, use dvdauthor -v ntsc+4:3 -a ac3+en" +profile-desc = "DVD-Video NTSC, use dvdauthor -v ntsc -a ac3+en (MUST be used with 4:3 or 16:9 aspect, and 720x480, 704x480, 352x480 or 352x240 resolution)" profile = enc-v-mpeg2 profile = enc-a-ac3 of = dvd ofopts-add = packetsize=2048,muxrate=10080000 ofps = 24000/1001 oharddup = yes -vf-add = expand=aspect=4/3,scale=720:480 +ovfirst = yes # dvdauthor needs this srate = 48000 ovcopts-add = g=18,b=6000000,maxrate=9000000,minrate=0,bufsize=1835008 [enc-to-bb-9000] profile-desc = "MP4 for Blackberry Bold 9000" profile = enc-f-mp4 -vf-add = scale=480:-2 +vf-add = scale=w=480:h=-2:noup=2,scale=h=-2 # second scaler serves to fix aspect ratio in case "noup" of the first scaler has hit ovcopts-add = maxrate=1500k,bufsize=1000k,rc_init_occupancy=900k,refs=1,profile=baseline oacopts-add = b=96k @@ -158,7 +158,7 @@ oacopts-add = b=96k profile-desc = "3GP for Nokia 6300" profile = enc-f-3gp ofps = 25 -vf-add = scale=176:144 +vf-add = scale=w=176:h=144 srate = 16000 channels = 1 oacopts-add = b=32k @@ -167,7 +167,7 @@ oacopts-add = b=32k profile-desc = "MP4 for PlayStation Portable" profile = enc-f-mp4 ofps = 30000/1001 -vf-add = scale=480:272,dsize=480:270 +vf-add = scale=w=480:h=272,dsize=w=480:h=270 srate = 48000 channels = 2 ovcopts-add = b=512k,profile=baseline @@ -176,7 +176,7 @@ ovcopts-add = b=512k,profile=baseline profile-desc = "MP4 for iPhone" profile = enc-f-mp4 oautofps = yes # iphone supports 30fps max -vf-add = scale=-2:320 # half native screen res is probably best here, full res is no fun on tiny display anyway +vf-add = scale=w=-2:h=320:noup=2 # half native screen res is probably best here, full res is no fun on tiny display anyway ovcopts-add = maxrate=2500k,bufsize=1000k,rc_init_occupancy=900k,level=30,profile=baseline oacopts-add = b=128k @@ -184,6 +184,6 @@ oacopts-add = b=128k profile-desc = "MP4 for iPhone 4 (960x640)" profile = enc-f-mp4 oautofps = yes # iphone supports 30fps max -vf-add = scale=-2:640 # native screen res +vf-add = scale=w=-2:h=640:noup=2 # native screen res ovcopts-add = maxrate=2500k,bufsize=1000k,rc_init_occupancy=900k,level=30,profile=baseline oacopts-add = b=128k |