Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

mp4 buffering


Hello, I'm a new user of the JW player, and I've run into problems producing my own MP4 videos for playback. I have some mp4 videos that works with JW player, but the ones I create my self won't buffer, eg. they require that I download the full video before it can start playing.

From the knowledge I've gathered on the subject, I believe it to be a problem with the headers of the mp4 file.

I've bought IMTOO MP4 Converter, and it works like a charm, however the final mp4 files won't buffer in JW Player. They play fine in any player on my pc.

Does anyone know why this is, or how it can be fixed? Am i forced to use another encoder? If so, does anyone know a good encoder to use?

10 Community Answers

JW Player

User  
-1 rated :

VLC says that the created mp4 file uses video codec, avc1 and audio codec, mp4a

Thats the same as the mp4 files that will buffer in JW player.

JW Player

User  
-1 rated :

After you encode the MP4, you have to post process it with a tool like MP4Box or qt-faststart to move the MOOV atoms from the end of the file to the beginning of the file, so it will start playing after the MOOV atoms are loaded, instead of after the entire file is loaded. There will still be some delay at the beginning while the MOOV atoms (which can be quite large) are loaded. Some encoders also have a "Fast Start" option which places the MOOV atoms at the beginning of the MP4 file. Really has nothing whatsoever to do with buffering.

JW Player

User  
-1 rated :

Ok, I will try that, thank you :)

JW Player

User  
0 rated :

Just for people who might have the same problem in the future.

Here is what i found to be the easiest fix, i got qt_faststart.exe from this blog post, it's very easy to use.

http://mrdoob.com/blog/post/479/

JW Player

User  
0 rated :

Zalon, could you share how you exactly use qt_faststart.

I downloaded it plus checked the blog post you referenced but can't figure out what specifically is next... ;(

Thanks!

Falk

JW Player

User  
0 rated :

Progress: figured out how to run this thanks to
http://www.bleepingcomputer.com/tutorials/tutorial76.html

But: the resulting message was:

encountered non-QT top-level atom <is this a Quick Time file?>
last atom in file was not a moov atom

Any thoughts?

JW Player

User  
-1 rated :

Use MP4Box.bc.. mp4box -isma video.mp4



JW Player

User  
0 rated :

Honestly, I don't know what to do with MP4Box & your info above.

This info was also beyond my tech capabilities:
http://gpac.sourceforge.net/doc_mp4box.php

Can anybody lay out the exact steps what to do here?

I am sure I am not the only getting stopped by this. ;)

Thanks in advance,

Falk

JW Player

User  
0 rated :

so what are your capabilities?

where should I start?

do you know how to open a Command Prompt?

do you know how to change directories?

do you know how to move files from one directory to another?

do you know how to search?
the detailed step-by-step directions have already been posted on this Forum several times.

JW Player

User  
0 rated :

Got it now.

Thanks, streamed!

Gotta love the power of community. ;)

FYI, here's how I did it:

- Download MP4Box (http://www.videohelp.com/tools/mp4box)
- Have the MP4 Box files in same directory/folder as the MP4 file (example: if the mp4 file is on your desktop: gotta drag the MP4Box files ALL on your DT as well (not just the folder being on your DT!)
- Go to Start, go to Run, put in cmd & hit enter, then go to the directory (here is how: http://www.bleepingcomputer.com/tutorials/tutorial76.html) where the mp4box files AND the MP4 files are (must be same one!); if on Desktop, for example: put in cd Desktop & hit enter
- Then put in the following command in: mp4box -isma NAMEOFYOURVIDEO.mp4
- Hit enter
- Poof! ;) Your MP4 file can now be uploaded to a server & used with JW player (and auto-play setting) and will start playing ASAP

This question has received the maximum number of answers.