diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2013-04-04 09:40:00 +0200 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2013-04-04 09:40:00 +0200 |
commit | 18755dcbea574eee0105fe973d1842fd046d28e4 (patch) | |
tree | cc19b61200eb5d727c651808473ef5ec6d5ee8bb /etc | |
parent | 061b99d7b9cac8c6e6be3dc4763cf44284614b7c (diff) | |
download | mpv-18755dcbea574eee0105fe973d1842fd046d28e4.tar.bz2 mpv-18755dcbea574eee0105fe973d1842fd046d28e4.tar.xz |
encoding-example-profiles: block non-4:0:0 for baseline h264
libx264 rejects the other pixel formats when doing baseline H.264,
although libavcodec accepts them, leading to an encoding abort.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/encoding-example-profiles.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/encoding-example-profiles.conf b/etc/encoding-example-profiles.conf index ad67454bae..890cbc0067 100644 --- a/etc/encoding-example-profiles.conf +++ b/etc/encoding-example-profiles.conf @@ -152,12 +152,14 @@ profile-desc = "MP4 for Blackberry Bold 9000" profile = enc-f-mp4 vf-add = dsize=480:360:0:2,scale=w=0:h=0,dsize=-1:-1 # native screen res, letterbox ovcopts-add = maxrate=1500k,bufsize=1000k,rc_init_occupancy=900k,refs=1,profile=baseline +vf-add=noformat=444p,noformat=444p9,noformat=444p10,noformat=422p,noformat=422p9,noformat=422p10 [enc-to-nok-n900] 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,maxrate=10000k,bufsize=10000k,rc_init_occupancy=9000k,refs=5 +vf-add=noformat=444p,noformat=444p9,noformat=444p10,noformat=422p,noformat=422p9,noformat=422p10 [enc-to-nok-6300] profile-desc = "3GP for Nokia 6300" @@ -176,12 +178,14 @@ vf-add = scale=w=480:h=272,dsize=480:270 srate = 48000 channels = 2 ovcopts-add = b=512k,profile=baseline +vf-add=noformat=444p,noformat=444p9,noformat=444p10,noformat=422p,noformat=422p9,noformat=422p10 [enc-to-iphone-noscale] profile-desc = "MP4 for iPhone (no scaling)" profile = enc-f-mp4 oautofps = yes # iphone supports 30fps max ovcopts-add = maxrate=2500k,bufsize=1000k,rc_init_occupancy=900k,level=30,profile=baseline +vf-add=noformat=444p,noformat=444p9,noformat=444p10,noformat=422p,noformat=422p9,noformat=422p10 [enc-to-iphone] profile-desc = "MP4 for iPhone (480x320)" |