How to generate multi rate mpeg-dash stream by ffmpeg

自作多情 提交于 2019-12-06 05:15:55
Parham Alvani

With the following command, you create two streams and after that, you can put them into adoption sets instead of seperate streams:

ffmpeg -i $INPUT.mp4 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 \
-b:v:0 250k -filter:v:0 "scale=-2:240" -profile:v:0 baseline -b:v:1 \ 
750k -filter:v:1 "scale=-2:480" -profile:v:1 main -use_timeline 1 \    
-use_template 1 -window_size 5 -adaptation_sets "id=0,streams=v \ 
id=1,streams=a" -f dash $OUTPUT.mpd
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!