How to set the segment size and fragment size properly. I have played around 
with the settings but can't seem to achieve what i require

ffmpeg -re -i "XXX.mxf" -pix_fmt yuv420p -vsync 1 -map 0:v:0 -map 0:a:0 -c:a 
aac -c:v libx264 -use_template 1 -use_timeline 1 -init_seg_name  
"init-stream$RepresentationID$-$Bandwidth$.mp4" -media_seg_name 
"chunk-stream$RepresentationID$-$Number%05d$.$ext$" -b:v 12000k -b:a 128k -ac 2 
-profile:v main -level:v 3.0  -s 1920x1080 -r 25 -vsync passthrough 
-increment_tc 1 -adaptation_sets "id=0,streams=v id=1,streams=a" -window_size 5 
-frag_duration 0.01 -seg_duration 5  -dash_segment_type auto -f dash 
"stream.mpd"

How can I keep the video chunk size to a minimum of 2secs each chunk ?


_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to