Results 1 to 5 of 5

Thread: RTSP stream ip camera -> audio only to AAC+

  1. #1
    Join Date
    Apr 2012
    Posts
    3

    Default RTSP stream ip camera -> audio only to AAC+

    Is it possible to receive a live rtsp stream from an ip camera and then use the trancoder addon to only stream the audio in AAC+ format?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Yes you can. Use "disabled" for video encode. Use .stream files to contain the rtsp url, and start the stream in StreamManager to start the Transcoder.

    Richard

  3. #3
    Join Date
    Apr 2012
    Posts
    3

    Default

    Ok so I did.
    Transcoder template:

    <Encode>
    <Enable>true</Enable>
    <Name>RTP</Name>
    <StreamName>${SourceStreamName}_aac</StreamName>
    <Video>
    <!-- H.264, PassThru, Disable -->
    <Codec>Disable</Codec>
    </Video>
    <Audio>
    <!-- AAC, PassThru -->
    <Codec>AAC</Codec>
    <Bitrate>${SourceAudioBitrate}</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>

    The problem I am having is the header that is send: Content-Type: application/vnd.apple.mpegurl
    with this url: http://ip:1935/rtplive/x.stream_aac/playlist.m3u

    I need the content type to be: Content-Type: audio/mpeg
    Is this possible and what url should I use?
    It's for a hardware device that accept streamed audio in AAC+ but checks the header and refuses it.

  4. #4
    Join Date
    Jun 2011
    Posts
    1,037

    Default

    That's a HLS url.
    The proper form is: http://ip:1935/rtplive/x.stream_aac/playlist.m3u8

    What protocols does the devices support?

  5. #5
    Join Date
    Apr 2012
    Posts
    3

    Default

    Quote Originally Posted by daren_j View Post
    That's a HLS url.
    The proper form is: http://ip:1935/rtplive/x.stream_aac/playlist.m3u8

    What protocols does the devices support?
    The device I am talking about: http://www.streamit.eu/product/lukas_ii/
    Codecs supported: MP3, WMA, AAC+ and Ogg Vorbis codec

    protocol: http, mms I know for sure.

Similar Threads

  1. Wrong encoding of audio in RTSP stream from camera
    By eyalhasson in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 06-26-2012, 08:37 AM

Posting Permissions

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