iis video streaming slow?
use ffmpeg if mp4box doesn't work.
Let me explain again
Your movie has variable bitrate... one minute could be 1 MB , the next minute could be 2 MB in the file. It's hard for a video player to know where to start downloading the file when you choose to play from some time.
To help players, the mp4 file has a small list with timings, like for example time 20 seconds and 100 milliseconds starts at 3 MB and 50 KB in the file, time 1m 30s starts at 10 MB and so on.
To generate this list, keyframes are usually used.
Keyframes are special frames in the video ... if your video is 30fps , that means there's 30 frames per second. A video codec can look at several frames and send only one full frame and the next few frames only contain information that tell the decoder how to generate an image from the previous frames. So if there's some transmission error and one of those frames are corrupted you'd get blocks of green on the screen or player jumps frames until the next keyframe is found in the file, which contains all the needed information to create a full picture.
So that ffmpeg command takes that list with entries and puts it at the start of the file, so that it's downloaded right at the start and then video player knows exactly where to jump in the file.
mp4 box gui should do this automatically, but if it doesn't seem to be a change, use ffmpeg
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now