How To Stream MP4 On A Website – H.264 High Def


PrintPrint Friendly

I recently started doing High Definition videos for one of my customers, and I ran into a problem with mp4 files streaming on websites. What was happening was the mp4 file had to download in full before it would start playing. Come to find out, the metadata for an mp4 is located in the back of the video file information, and the video will not play until it reaches the metadata information.

I found a program that moves the metadata information from the back of the mp4 file to the front, so that the file will start playing instantly and stream on a website, instead of waiting to start until the entire video is downloaded. This program is really easy to use, and works extremely fast, all you have to do is open the program up in a Windows OS, open the folder the movie file sits in and press edit all files in the lower left, then wait for it to work, takes a minute or less of time, and then you are done. Now the metadata is at the front of the mp4 file and it will play instantly without having to download the entire video file.

Download the program from this website.

Metadata Mover – Streaming MP4 Files.

http://rndware.info/content/MetadataMover

Screen Shot

Screen Shot of MetaData Mover

 

 Example of streaming .mp4 file using h.264 High Def Video codec in a flash player, high quality, small file size, no quicktime player. Video from InternetsVideo – Promotional Videos & Production.If you are unable to play the video it means you have an out dated Adobe Flash player, and I would recommend following this link to get the latest Adobe Player.

 

Internets Video

  • Share/Bookmark






Post a Comment or Leave a Trackback
  • I've managed to solve my problem streaming mp4 on my server!

    All i needed to do is to disable compression for videos on /etc/httpd/conf/extra/httpd-deflate.conf

    # Don't compress images and other uncompressible content SetEnvIfNoCase? Request_URI \

    \.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|mp4|avi|mp?g)$ no-gzip dont-vary

    Added MP4 to the list and everything is working as good as it supposed to be!

    This is all caused by the module deflate on apache... :D
  • I've managed to solve my problem streaming mp4 on my server!

    All i needed to do is to disable compression for videos on /etc/httpd/conf/extra/httpd-deflate.conf

    # Don't compress images and other uncompressible content SetEnvIfNoCase? Request_URI \

    \.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|mp4|avi|mp?g)$ no-gzip dont-vary

    Added MP4 to the list and everything is working as good as it supposed to be!

    This is all caused by the module deflate on apache... :D
  • Keisham
    Thanks man, I am looking for some source :wink:
  • Keisham
    Thanks man, I am looking for some source :wink:
  • I use Avidemux or allok for encoding.

    I just do single pass, 300 kbps rate for the recording I showed you. When i recorded it i was only using the windows codec 9.

    Sorry about the delay, this message didn't send me an email saying i had a new comment.
  • I use Avidemux or allok for encoding.

    I just do single pass, 300 kbps rate for the recording I showed you. When i recorded it i was only using the windows codec 9.

    Sorry about the delay, this message didn't send me an email saying i had a new comment.
  • guess what, I tried using WMV & not having much problems streaming it using the JW Flash Player Setup Wizard page but the huge disadvantage is that the viewer has to install Silverlight before watching it.

    Additionally, my filesize difference is not much smaller than my MP4 file & quality is slightly inferior compared to MP4. I'm using Sorenson Squeeze for encoding the WMV at these settings:
    http://ezpics.novia.com.sg/images/7i7ahaobyyp3u...

    What do u use for encoding WMV?
  • guess what, I tried using WMV & not having much problems streaming it using the JW Flash Player Setup Wizard page but the huge disadvantage is that the viewer has to install Silverlight before watching it.

    Additionally, my filesize difference is not much smaller than my MP4 file & quality is slightly inferior compared to MP4. I'm using Sorenson Squeeze for encoding the WMV at these settings:
    http://ezpics.novia.com.sg/images/7i7ahaobyyp3u...

    What do u use for encoding WMV?
  • Not a bad reason to not use Silverlight.

    I prefer silverlight for presentation videos that require extremely high quality and small file sizes because a lot of people will be watching it.

    As far as DRM, I have not looked into Microsoft's Play Ready DRM service.

    The sad part about any DRM services for Videos, is that someone can use camstudio / camtasia desktop recording to capture the video. So I don't put protection on my video files because if someone wants it bad enough, you can't stop them, so why spend money on it, in my opinion.
  • Not a bad reason to not use Silverlight.

    I prefer silverlight for presentation videos that require extremely high quality and small file sizes because a lot of people will be watching it.

    As far as DRM, I have not looked into Microsoft's Play Ready DRM service.

    The sad part about any DRM services for Videos, is that someone can use camstudio / camtasia desktop recording to capture the video. So I don't put protection on my video files because if someone wants it bad enough, you can't stop them, so why spend money on it, in my opinion.
  • I'm concern about DRM for Microsoft's Silverlight using WMV.. :lol: hence didnt explore further to trying it.. LOL... :wink:
  • I'm concern about DRM for Microsoft's Silverlight using WMV.. :lol: hence didnt explore further to trying it.. LOL... :wink:
  • Ya, i know FLV is larger file sizes. The intent was to see if your server could stream large file sizes such as flv and wmv correctly. If it couldn't then it's problem with rack streaming video. If it's isolated to one file type then it's down to the streaming of that file or server coding for mp4 file types.

    By the way, have you seen the great quality for Silverlight, which is a microsoft codec. Small file sizes beautiful quality. I host http://www.billionaireadvantage.com on the howbits.com server. With silver light you can go full screen with no quality loss with great detail. The file sizes are smaller then a mp4 but the quality is High Def.

    Take a look at that video it's a long power point presentation but very nice quality and you can read the small text in the presentation. The video streams fast and is a really small file size.
  • Ya, i know FLV is larger file sizes. The intent was to see if your server could stream large file sizes such as flv and wmv correctly. If it couldn't then it's problem with rack streaming video. If it's isolated to one file type then it's down to the streaming of that file or server coding for mp4 file types.

    By the way, have you seen the great quality for Silverlight, which is a microsoft codec. Small file sizes beautiful quality. I host http://www.billionaireadvantage.com on the howbits.com server. With silver light you can go full screen with no quality loss with great detail. The file sizes are smaller then a mp4 but the quality is High Def.

    Take a look at that video it's a long power point presentation but very nice quality and you can read the small text in the presentation. The video streams fast and is a really small file size.
  • Wow... fast reponse from u...

    I tried FLV, for sure it does work for FLV but FLV's quality & file size are too huge compared to HD quality MP4 with smaller file sizes....

    Only MP4 is giving me problems. And it gives the same issues when I'm used your MP4 file in the demo above... :???: Look at my test pages now:

    1) http://x264-bb.com/vids/ - MP4 File is hosted on SimpleCDN's server
    2) http://x264-bb.com/vids2/ - MP4 File is hosted on my own server

    Apparently, the same MP4 File but simply won;t work on my server.... :neutral:
  • Wow... fast reponse from u...

    I tried FLV, for sure it does work for FLV but FLV's quality & file size are too huge compared to HD quality MP4 with smaller file sizes....

    Only MP4 is giving me problems. And it gives the same issues when I'm used your MP4 file in the demo above... :???: Look at my test pages now:

    1) http://x264-bb.com/vids/ - MP4 File is hosted on SimpleCDN's server
    2) http://x264-bb.com/vids2/ - MP4 File is hosted on my own server

    Apparently, the same MP4 File but simply won;t work on my server.... :neutral:
  • Have you tried loading up a different video type and seeing if it works? Such as wmv or flv? If those formats work then, it's down to corrupted h.264 mp4 file handling.

    If you are uploading videos with the intent of seeing if the videos work on your server, you don't need to code it in every time. Just go to

    http://www.longtailvideo.com/support/jw-player-...

    and type in the link to the video under the file properties. Then click update preview code and play the video.

    Saves you some time when testing streaming ideas and doesn't require any programming on your end.
  • Have you tried loading up a different video type and seeing if it works? Such as wmv or flv? If those formats work then, it's down to corrupted h.264 mp4 file handling.

    If you are uploading videos with the intent of seeing if the videos work on your server, you don't need to code it in every time. Just go to

    http://www.longtailvideo.com/support/jw-player-...

    and type in the link to the video under the file properties. Then click update preview code and play the video.

    Saves you some time when testing streaming ideas and doesn't require any programming on your end.
  • What are you planning to do with your website, or rather what is your business plan for it?

    Btw, want some usability advice for your website design? :wink:
  • What are you planning to do with your website, or rather what is your business plan for it?

    Btw, want some usability advice for your website design? :wink:
blog comments powered by Disqus