0

I'm want to use ffmpeg for a personal project so I'm practicing with some commands. Right now I'm trying to generate a MPD with 720p and 320p versions from a 720p webm video recorded with MediaRecording API. The execution of the command takes Its time but, in the end, mpd only covers 22 seconds of the end of the original video, which is 4 minutes and a half long. This is the command I'm launching.

ffmpeg -i "test.webm" -map 0 -map 0 -c:a aac -c:v libx264 -b:v:0 6000k -b:v:1 600k -s:v:1 320x170 -metadata:s:a language=zxx 
-profile:v:1 baseline -profile:v:0 main -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 
-ar:a:1 22050 -use_timeline 1 -use_template 1 -window_size 5 -adaptation_sets "id=0,streams=v id=1,streams=a" 
-f dash "out.mpd"

Thank you for your time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.