Where can I specify where mp4 box places the moov atom as at this time it takes a while for the initial MP4 videos to start playing. The video begins downloading quickly right away and downloads roughly 8 percent before it begins to stream in our player; We'd prefer that it starts after 1 or 2 percent.
Thanks!!
XFileSharing Pro - MP4 Moov Atom
I do not believe this functionality has been implemented yet. However, if you want to do it yourself you should use:
Code: Select all
MP4Box -inter 500 filename.mp4
-
- Posts: 73
- Joined: Aug 20, 2010 4:39 am
I made some changes to the enc.pl file how-ever it doesn't seem to change where the moov atom is placed.
I also tried 100 but it didn't have an affect.
Code: Select all
my @rr = `/usr/bin/MP4Box -add $c->{upload_dir}/$dx/$code.mp4 -isma -inter 500 $c->{upload_dir}/$dx/$code.mp4x`;
#my @rr = `/usr/local/bin/MP4Box -add $c->{upload_dir}/$dx/$code.mp4 -isma -inter 500 $c->{upload_dir}/$dx/$code.mp4x`;
-
- Posts: 73
- Joined: Aug 20, 2010 4:39 am
-
- Posts: 73
- Joined: Aug 20, 2010 4:39 am
Without an example link, it is hard to determine where the problem is.
Also you might want to use H264 Streaming Module (http://h264.code-shop.com/trac).
Also you might want to use H264 Streaming Module (http://h264.code-shop.com/trac).
Last edited by komi on Apr 28, 2011 7:07 pm, edited 1 time in total.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
and to be able to play at start with out all those modifications is it even better to install psuedostreaming ( H264 pseudostreaming)
it is a mess to get the player working for it , but as soon it is fixed then it will work
lets explain what that is
pseudostreaming loads the end of the file first to know the size of the video and then use keys to say his position
on that way you can skip parts of a movie and play it with out a problem
as it does not need to load the video to play
here is a previeuw
http://www.boosterking.com/embed-feurjqpnf2i8.html
and if you like to know the size , it is 2.3GB
this is what you get as normal user
5040231.mp4.mp4 - 44.4 MB
Greets From PowerChaos
it is a mess to get the player working for it , but as soon it is fixed then it will work
lets explain what that is
pseudostreaming loads the end of the file first to know the size of the video and then use keys to say his position
on that way you can skip parts of a movie and play it with out a problem
as it does not need to load the video to play
here is a previeuw
http://www.boosterking.com/embed-feurjqpnf2i8.html
and if you like to know the size , it is 2.3GB
this is what you get as normal user
5040231.mp4.mp4 - 44.4 MB
Greets From PowerChaos
-
- Posts: 73
- Joined: Aug 20, 2010 4:39 am
I changed the values for the player to a 3 second buffer - the flash files start more quickly but the mp4 files are the same.
The main issue is that large files take over a minute to start playing. The moov atom is a certain percent into the video file so it works ok for smaller files.
I tried the psudostreaming with nignx and I couldn't seem to compile nginx to make it work.
I'll keep looking around for a solution.
The main issue is that large files take over a minute to start playing. The moov atom is a certain percent into the video file so it works ok for smaller files.
I tried the psudostreaming with nignx and I couldn't seem to compile nginx to make it work.
I'll keep looking around for a solution.