[FFmpeg-user] Basic dash muxing

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Mar 4 12:25:57 EET 2020


Am Mi., 4. März 2020 um 09:13 Uhr schrieb Jesús Aguilar Armijo
<jesus at itec.aau.at>:
>
> I see, thank you. I am doing now from a .yuv video and the HLS
> segmentation works perfectly but I still have problems with dash. There
> is no error in the execution but I get less output files than expected
> so I did some mistake with the command options.
>
> For: ffmpeg -s:v 1920x1080 -r 25 -i inputVideo.yuv -c:a aac -c:v libx265
> -f dash –seg_duration 2 out.mpd
> The outputs are: init-stream0.m4s, chunk-stream0-00001.m4s,
> chunk-stream0-00002.m4s, out.mpd
>
> The video is 20 seconds, for 2 second segments it should be 10 segment
> files at least (Plus mpd).

Do you get 20 seconds output if you play the resulting dash with ffplay?
It is possible that you have to force keyframes for short segments.

Please find out what top-posting means and avoid it here.

Carl Eugen


More information about the ffmpeg-user mailing list