View Full Version : mp4box for progressive download
smok3
11th March 2007, 15:39
What is the minimum mp4box muxing command line for preparing files for progressive download?
tnx
Kurtnoise
11th March 2007, 19:20
MP4Box -hint myfile.mp4
smok3
11th March 2007, 20:49
Kurtnoise13: tnx, but aren't hints only in use when using RTP type of server? (i want to use standard http web server)
ilovejedd
11th March 2007, 22:35
@Kurtnoise13
Thanks for the info! I had been trying to look for programs that can add a hint track for streamable MP4. Google wasn't very effective this time, as the only pages I saw all pointed to Apple's QuickTime. I thought I would have to buy QuickTime Pro ($30) just to create streamable MP4 (AVC + AAC). Had no idea MP4Box could do that already. :D
@smok3
It works. (http://utterlyinsane.org/media/embed-mp4.html) :D
smok3
11th March 2007, 23:27
yes it works for some unknown reason, however from what i have read the file must be made only in such way that headers are at the beginning, so hint tracks are overkill for this purpose (they do blow up file size), or iam completely wrong?
well doing:
mp4box -hint file.mp4
and then
mp4box -unhint file.mp4
seems to work as well....
iam lost :)
edit: actually everything seems to work now, the files:
file.mp4 2.260.798
file_hint.mp4 2.358.159
file_unhint.mp4 2.260.806
are behaving exactly the same (they do download progressively as wanted)..., maybe it is something to do with mp4box upgrade or maybe with quicktime version?
ilovejedd
11th March 2007, 23:52
MP4 w/o hint track 13,083,415
MP4 with hint track 13,953,066
Curiously enough, converting a .mov to a .mp4 with or without the hint track generated files of same size.
smok3
12th March 2007, 00:00
Curiously enough, converting a .mov to a .mp4 with or without the hint track generated files of same size. probably the mov was hinted and qt cant remove hint tracks?
edit: Did another test with a x264 encoded file using darwin streaming server, here is a difference, file that was not hinted will not play at all, while hinted file will play for a while (will end up borked after some time, probably iam evil since this is VBR encoded file).
ilovejedd
12th March 2007, 00:09
Nope, not hinted. Both videos were a quick one-pass using ffmpeg. I've been wracking my head on how to make them streamable. At first I thought since it was a .MOV file, if I just open the url with QuickTime, it would stream, but it waited to finish downloading the whole video before I can play it.
smok3
12th March 2007, 00:14
ok, iam just uploading fatter mp4 file without hints, will see how that goes.
edit: yep it works.
edit2: ilovejedd, i have send you an url via PM, let me know if it works on your side as well.
bond
16th March 2007, 08:06
mp4box always places the headers at the start of the file when muxing
moved
smok3
16th March 2007, 08:57
bond, then this is a mistery, i do know that older versions didnt play progressively out of the mp4box.
bond
17th March 2007, 13:41
bond, then this is a mistery, i do know that older versions didnt play progressively out of the mp4box.so you are saying that it doesnt do it on your files? if yes, can you run mp4dump from mpeg4ip over such a file and post the output here
smok3
18th March 2007, 09:06
nope, iam saying that new versions of my clips do play fine.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.