[FFmpeg-user] Basic dash muxing

Jesús Aguilar Armijo jesus at itec.aau.at
Wed Mar 4 10:13:12 EET 2020


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). I don't know what I am doing wrong.

Thank you for your help, best regards.

El 2020-03-02 18:02, Carl Eugen Hoyos escribió:
> Am Mo., 2. März 2020 um 15:48 Uhr schrieb Jesús Aguilar Armijo
> <jesus at itec.aau.at>:
> 
>> 1.- The input video is a 20 seconds h265 encoded video from a .yuv 
>> file,
>> is that input correct? I understand that the dash command creates
>> segments and manifest files from a previously encoded video, so it
>> should be correct at my understanding.
> 
> It is (with above command line) unnecessary: Since you are re-encoding
> (-c:v libx265) any input is accepted and will be converted into h265.
> 
> Theoretically, you can copy the video stream from input to output (-c:v 
> copy)
> in this case the input has to be h265 encoded (if that's what you 
> need).
> 
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list