Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Metadatas injection on Mac for .mp4 H264 files ???

7 replies [Last post]
Reply

Hi,

I'd like to inject seekpoints in a a H264/AAC .mp4 file to play it with a HTTP Pseudo-Streaming PHP code.

But I don't find how it could be posible...

Is there a way to manage that with Compressor or any nother Mac compatible software ?

Thanks a lot for your help
Paul

Reply

An MP4 file always has the seekpoints injected. It was with FLV that these sometimes were not available.

Do note you should have your seekpoints (the MOOV atom) at the start of the video. Some tools place them at the end. If your MP4 files don't seek correctly (they likely will), I would check that.

Reply

Thanks Jeroen for your answer.

So I tried my HTTP Pseudo-Streaming PHP with Xmoov PHP code (I can't use any server module as I am using a shared server).

Unfortunately I saw that Xmoov works only with FLV files, not MP4...
:-(

And I'd like to use MP4 files to be compatible with iPhones (even if on these platforms it wouldn't be streamed)

Is the a way to make Xmoov work with MP4 fles ?
If not what your be the solution on a shared server ?

Tanks for your help
Paul

Reply

There's not really a way to make this work on shared servers, with PHP or so. You'd need to install a server module (like mod_h264) for your Apache/NginX/IIS.

Alternatively, you could default to HTML5 and fallback to Flash. Then on Chrome/Safari/IE9, users will also be able to pseudo-seek, since that feature is built into HTML5.

Reply

So no way to make Xmoov work with MP4 fles...

As I am on a shared server without required Pseudo-Streaming module (like mod_h264), I should use Xmoov PHP code to permit seeking.

But as Xmoov works only with FLV files, and not MP4, if I want to be seen on smartphones (without HTTP streaming), I'd need to use use Xmoov PHP code for FLV files and then fallback to MP4 files...

Am I right ?

Or I'd need to find a shared server host with Pseudo-Streaming module...
Do you know some in Europe ?

Reply

That's all correct. You can still use FLV + pseudostreaming for Flash and MP4 for HTML5.

Instead of a shared server, you could also look into a CDN like Amazon CloudFront. They support RTMP streaming of MP4 videos, which is even nicer than pseudostreaming.

Reply

> you could also look into a CDN like Amazon CloudFront. They support RTMP streaming of MP4

Sounds great but there's something that's not clear for me could you help me ?

iPhone doesn't support RTMP means :
- the MP4 file wouldn't be displayed at all
- the MP4 file would be displayed but looses the seeking ability

Thanks for your patience

Reply

CloudFront supports both HTTP and RTMP. You should create a distribution for both.

*) The RTMP stream plays in Flash (with seeking)
*) The HTTP download plays on iOS (with seeking, through HTTP range-requests)

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options