Not able to play large files #979
Unanswered
baseliners
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I recommend having a read on https://howvideo.works as well. Your users will have a better experience with a chunked delivery like HLS or DASH. That being said chunked is not absolutely necessary. Pseudo streaming with a long MP4 should be possible if the format / compression is correct (use ffmpeg or handbrake), make sure the MOOV atom is at the start of the file (-movflags faststart) and if your server supports 206 partial content. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi - I've been using media-chrome in a Svelte app and am trying to play a few local mp4 videos (H264 codec). It's been great so far but I just noticed that large files (e.g. a 3hr long movie) do not play - i.e. I see a black box and clicking on play just shows a black screen.
I then used ffmpeg to create clips from this video of varying lengths and found that if I take the first 60 or even 70mins clip, it plays fine. If I take 90mins, I get a black screen but can hear the audio fine. If I take the entire clip, it seems to play (I can see the timecode changing) but no audio or video.
Based on some research, it looks like html5 video may not work well with very large files and may require some sort of chunking solution. Curious if there's any way to get large files to work properly in media-chrome (with or without chunking). Thanks!
Beta Was this translation helpful? Give feedback.
All reactions