Player downloads all moof part of a fragment mp4 file before playing

237 Views Asked by At

I converted a mp4 to fragment mp4 with the following command:

ffmpeg -i ./input.mp4 -y -b:a 32k -vcodec libx265 -b:v 320k -bufsize 320k -tag:v hvc1 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -c:a libfdk_aac -profile:a aac_he_v2 -movflags faststart+frag_keyframe+empty_moov+dash+global_sidx -chunk_duration 500000000 -max_muxing_queue_size 1024 ./output.mp4

But when playing, the player send many http requests to download all the moof part:

enter image description here

enter image description here

But I think in normal case the player only need to download the head part of the video file to play.

So is there anything wrong with my ffmpeg parameters? Please help me. Thank you.

0

There are 0 best solutions below