MP4 support in ngnix-rtmp master

Today I have finished my work on MP4 video-on-demand feature. The code in merged in master. My tests work perfectly. However I’m waiting for issues from module users.

Besides I have implemented a common framework for video-on-demand (the new play-module). Both mp4 and flv modules now work through this module.

  1. #1 by Mattias Pettersson on September 25, 2012 - 1:27 pm

    Hey! Testing this on a devmachine I’ve got. I only get audio with a mp4 that plays normally on wowza/fms – and I can’t for the life of me get hls to do anything.

    Could you provide a full config for running ONLY vod for both mp4 & hls?

    • #2 by rarut on September 25, 2012 - 2:12 pm

      If you get audio then I think you’ve done everything correct. Could you share your mp4, I’ll try to find the error.

      HLS is not supported for VOD. You can manually split your videos into HLS fragments and serve via HTTP. You don’t need any media server for that.

      As for live hls, it’s pretty simple. Here’s the application which should receive the stream to produce HLS:

      application hls {
      hls on;
      hls_path /tmp/hls; # this path should exist

      obviously you should build nginx HLS support (–add-module=/path/nginx-rtmp-module/hls)

  1. New RTMP streaming server in town! « Transcoding video & sound

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: