Log in

View Full Version : Does MEGUI make .MP4 streamable over http?


floz23
21st February 2007, 18:42
Greetings,

MEGUI and x264, all just amazing software, seriously!

But one question. I just encoded a .mp4 with x264 and ND-AAC (not HE)... the resulting file was not able to be streamed over http, I tried both VLC and K-lite codec pack (standard) using media player classic.

Am I under some delusion that the .mp4 file should be fully streamable? When downloaded in full, the file plays fine.

Thanks everyone!
-Adam

check
22nd February 2007, 01:55
from what I recall, streaming mp4 requires a hint track to be added. If you remux the files with said hint track, it should work fine.

Drachir
22nd February 2007, 09:40
from what I recall, streaming mp4 requires a hint track to be added. If you remux the files with said hint track, it should work fine.

The hint track is only needed for rtp streaming(if you use DSS), a http server doesn't know what to do with the hint track.

Drachir
22nd February 2007, 09:58
... the resulting file was not able to be streamed over http, I tried both VLC and K-lite codec pack (standard) using media player classic.

Am I under some delusion that the .mp4 file should be fully streamable? When downloaded in full, the file plays fine.

I wouldn't call progressive download over http streaming.
It is possible to partially download(cache) a MP4 file and play it back if the meta data(moov box/atom) is at the beginning of the file.
Also the used player have to support this, like the Quicktime Player.

Not sure if this is supported by VLC or the DShow MP4 splitter you used.

In files muxed with MP4Box the moov box is normally at the beginning.
in files created by x264 the moov box is at the end. I am not sure what happen if you now mux audio into the file created by x264 insted of muxing both files into a new MP4 file. Which way it is don by MeGUI I can't tell, I don't use it. This depends from what MP4Box comand line is used.
You can check where the moov box is with "MP4Box -diso yourFile.mp4"

But for real streaming I would use DSS ( http://developer.apple.com/opensource/server/streaming/index.html )

bond
22nd February 2007, 20:00
In files muxed with MP4Box the moov box is normally at the beginning.
in files created by x264 the moov box is at the end. I am not sure what happen if you now mux audio into the file created by x264 insted of muxing both files into a new MP4 file. iirc the moov is moved to the start when muxing audio and video

floz23
22nd February 2007, 22:20
Thanks guys,

I have taken a crash course in all of this over the last 24 hours.

Anyway, I am currently investigating the DSS, and plan on getting that working soon. Also, profiles, should I be limiting myself to a particular AVC level/profile? I'm not sure this question fits in this forum anymore, but thanks.

-Adam

infante
7th October 2008, 00:53
iirc the moov is moved to the start when muxing audio and video

I am having issues with my H264 in terms of http streaming with files encoded with megui. The meta data, I am told, is in the end versus the beginning.

Can someone suggest a solution? thanks!

bond
7th October 2008, 20:24
:search: