encoding examples: change global_quality use to qscale

global_quality would need an extra multiplication by QP2LAMBDA otherwise
This commit is contained in:
Rudolf Polzer 2012-11-15 15:42:06 +01:00
parent 50db7b7f75
commit eb12bc4c21
1 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@
# Examples:
# 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
# mpv -profile enc-v-mpeg4 -ovcopts-add qscale=7 -profile enc-a-mp3 -oacopts-add b=320k -o outfile.avi infile.mkv
################
# audio codecs #
@ -54,7 +54,7 @@ oacopts = b=128k
[enc-a-vorbis]
profile-desc = "Vorbis (libvorbis)"
oac = libvorbis
oacopts = global_quality=3
oacopts = qscale=3
################
# video codecs #
@ -62,7 +62,7 @@ oacopts = global_quality=3
[enc-v-h263]
profile-desc = "H.263 (FFmpeg)"
ovc = h263
ovcopts = global_quality=4
ovcopts = qscale=4
[enc-v-h264]
profile-desc = "H.264 (x264)"
@ -77,7 +77,7 @@ ovcopts-clr = yes
[enc-v-mpeg4]
profile-desc = "MPEG-4 Part 2 (FFmpeg)"
ovc = mpeg4
ovcopts = global_quality=4
ovcopts = qscale=4
[enc-v-vp8]
profile-desc = "VP8 (libvpx)"