mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
encoding-example-profiles: restructure iPhone profiles
The names are left as is, but they are hierarchic internally now.
This commit is contained in:
parent
f96dd88b41
commit
015548401c
@ -171,23 +171,23 @@ srate = 48000
|
||||
channels = 2
|
||||
ovcopts-add = b=512k,profile=baseline
|
||||
|
||||
[enc-to-iphone]
|
||||
profile-desc = "MP4 for iPhone"
|
||||
[enc-to-iphone-noscale]
|
||||
profile-desc = "MP4 for iPhone (no scaling)"
|
||||
profile = enc-f-mp4
|
||||
oautofps = yes # iphone supports 30fps max
|
||||
vf-add = dsize=480:320:1:2,scale=w=0:h=0,dsize=-1:-1 # 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
|
||||
|
||||
[enc-to-iphone]
|
||||
profile-desc = "MP4 for iPhone (480x320)"
|
||||
profile = enc-to-iphone
|
||||
vf-add = dsize=480:320:1:2,scale=w=0:h=0,dsize=-1:-1 # panscan
|
||||
|
||||
[enc-to-iphone-4]
|
||||
profile-desc = "MP4 for iPhone 4 (960x640)"
|
||||
profile = enc-f-mp4
|
||||
oautofps = yes # iphone supports 30fps max
|
||||
vf-add = dsize=960:480:1:2,scale=w=0:h=0,dsize=-1:-1 # native screen res, panscan
|
||||
ovcopts-add = maxrate=2500k,bufsize=1000k,rc_init_occupancy=900k,level=30,profile=baseline
|
||||
profile = enc-to-iphone
|
||||
vf-add = dsize=960:480:1:2,scale=w=0:h=0,dsize=-1:-1 # panscan
|
||||
|
||||
[enc-to-iphone-5]
|
||||
profile-desc = "MP4 for iPhone 5 (1136x640)"
|
||||
profile = enc-f-mp4
|
||||
oautofps = yes # iphone supports 30fps max
|
||||
vf-add = dsize=1136:480:1:2,scale=w=0:h=0,dsize=-1:-1 # native screen res, panscan
|
||||
ovcopts-add = maxrate=2500k,bufsize=1000k,rc_init_occupancy=900k,level=30,profile=baseline
|
||||
profile = enc-to-iphone
|
||||
vf-add = dsize=1136:480:1:2,scale=w=0:h=0,dsize=-1:-1 # panscan
|
||||
|
Loading…
Reference in New Issue
Block a user