Results 1 to 3 of 3

Thread: Streaming From RTSP to MP4(h.264+AAC)?

  1. #1
    Join Date
    Oct 2010
    Beans
    72

    Streaming From RTSP to MP4(h.264+AAC)?

    I have a client that I've setup with IP cameras streaming RTSP to a Flusonic server setup in Amazon EC2 which then restreams the cams for the flashplayer on their website. They want to start streaming to mobile devices as well. I'm having a hard time figuring out how to get the RTSP to restream as HLS or h.264+AAC packaged in an MP4. Flusonic can do it supposedly, but you must have the paid version which is $2k I don't have. Darwin Streaming Server seems a possible option, but I can't tell whether it will do the conversion or if the feed needs to be converted already.

    Does anyone have any experience with this and maybe know of an open source solution?

  2. #2
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Streaming From RTSP to MP4(h.264+AAC)?

    MP4 is not a great choice for live streaming. Standard MP4 files have an index that is required for playback, but the index is generally not created until the file is done being encoded. You would have to use "fragments" if you want to use MP4 for streaming.

    Did you see the FFmpeg documentation on HLS and RTSP? Note that there is a large HLS patchset being worked on in FFmpeg so additional improvements are pending. I recommend using a recent FFmpeg build when possible to take advantage of new developments.

    You can simply download a Linux build of ffmpeg, or follow a step-by-step guide to compile ffmpeg.

  3. #3
    Join Date
    Oct 2010
    Beans
    72

    Re: Streaming From RTSP to MP4(h.264+AAC)?

    I know ffmpeg can be used for streaming, but there's no persistence for if the stream drops out and starts up again.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •