summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2013-03-20 16:01:04 +0100
committerRudolf Polzer <divverent@xonotic.org>2013-03-20 16:16:16 +0100
commit5d5c5e31e1daa5a359584cf08b3e4544e9599715 (patch)
tree9bca5cdd4203c4f7a08f3140917478229fe4578a /etc
parente4be357bce73b1c583f7811e365ce937c7d46355 (diff)
downloadmpv-5d5c5e31e1daa5a359584cf08b3e4544e9599715.tar.bz2
mpv-5d5c5e31e1daa5a359584cf08b3e4544e9599715.tar.xz
encoding-examples-profiles: fix N900 profile
In some cases (when using tune=animation as an additional option), the N900 profile caused use of 6 reference frames, where Level 3.0 only allows 5 reference frames. This prevented playback on the Nokia N900. This has been fixed by always specifying refs=5.
Diffstat (limited to 'etc')
-rw-r--r--etc/encoding-example-profiles.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/encoding-example-profiles.conf b/etc/encoding-example-profiles.conf
index 3348804e61..280c025946 100644
--- a/etc/encoding-example-profiles.conf
+++ b/etc/encoding-example-profiles.conf
@@ -157,7 +157,7 @@ ovcopts-add = maxrate=1500k,bufsize=1000k,rc_init_occupancy=900k,refs=1,profile=
profile-desc = "MP4 for Nokia N900"
profile = enc-f-mp4
vf-add = dsize=800:480:0:2,scale=w=0:h=0:noup=1,scale=w=-1:h=-2:noup=1,scale=w=-2:h=-1:noup=1,dsize=-1:-1 # native screen res, letterbox
-ovcopts-add = profile=baseline,level=30
+ovcopts-add = profile=baseline,level=30,maxrate=10000k,bufsize=10000k,rc_init_occupancy=9000k,refs=5
[enc-to-nok-6300]
profile-desc = "3GP for Nokia 6300"