Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Stream http stream to rtsp stream

  1. #1
    Join Date
    Jul 2014
    Posts
    18

    Default Stream http stream to rtsp stream

    I am looking to restream a http stream to rtp. I did follow this guide http://www.wowza.com/forums/content.php?39 But it doesnt seem to work for me. Am I doing something completely stupid? Do i need to actually start the stream and if so where? The error logs dont seem to be showing too much.

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    To recap, you entered in your IP Camera's RTSP url into your stream file as follows. If this is the case, then you will need to "connect" to the stream (as mentioned in "Publishing the Stream" under 3.a within the same tutorial) or add it to your StartupStreams.xml.

  3. #3
    Join Date
    Jul 2014
    Posts
    18

    Default

    Yes i seem to have followed all those instructions properly. The only difference is my ".stream" file is not for an ip camera, but is for a http stream.

  4. #4
    Join Date
    Jul 2014
    Posts
    18

    Default

    When i try and connect the stream file again i get this error "Publish stream already started[live/_definst_]: mp4:test.stream" which tells me it is already connected. In this case what will the address be? I am using this address. "rtsp://serverip:1935/live/myStream" Is the "/live/mystream" part of the address wrong and if so what should it be?

  5. #5
    Join Date
    Jul 2014
    Posts
    18

    Default

    My stream file is called "test.stream" I have tried connecting to this through vlc. The error logs are:

    [0x7f0e14001248] main vout display error: Failed to resize display
    [0x7f0e14004b78] live555 demux error: Nothing to play for rtsp://serverip:1935/live/test.stream
    [0x7f0e340009b8] main input error: open of `rtsp://serverip:1935/live/test.stream' failed
    [0x7f0e14010da8] live555 demux error: Nothing to play for rtsp://serverip:1935/live/test.stream
    [0x7f0e340009b8] main input error: open of `rtsp://serverip:1935/live/test.stream' failed
    I checked the incomming streams section and it states that the test.stream file is incomming with the correct url which i know works. The url is for a http ts stream so i am not sure if this will make any difference to what i am trying to achieve.

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

    Default

    The only difference is my ".stream" file is not for an ip camera, but is for a http stream.
    Wowza only supports ingress of shoutcast/icecast streams over HTTP, otherwise it is not supported. You can use VLC in between as a transcoder with the http stream as the source. Take a look at the transcoding examples at the bottom of this VLC guide.

    Richard

  7. #7
    Join Date
    Jul 2014
    Posts
    18

    Default

    Quote Originally Posted by rrlanham View Post
    Wowza only supports ingress of shoutcast/icecast streams over HTTP, otherwise it is not supported. You can use VLC in between as a transcoder with the http stream as the source. Take a look at the transcoding examples at the bottom of this VLC guide.

    Richard
    Yes! reading through a few guides i have noticed this. I have tried to get VLC installed on my Amazon instance, which is the one from the marketplace with wowza on it. But cannot seem to get it installed via yum. Do you have a repository i need to add to get vlc installed or will i need to use another seperate instance running vlc?

  8. #8
    Join Date
    May 2013
    Posts
    680

    Default

    I'm not sure which distribution you might be running but the VLC website does have some instructions on installation:

    For example:
    http://www.videolan.org/vlc/download-redhat.html
    http://www.videolan.org/vlc/download-fedora.html

    Thanks,

    Matt

  9. #9
    Join Date
    Jul 2014
    Posts
    18

    Default

    Quote Originally Posted by matt_y View Post
    I'm not sure which distribution you might be running but the VLC website does have some instructions on installation:

    For example:
    http://www.videolan.org/vlc/download-redhat.html
    http://www.videolan.org/vlc/download-fedora.html

    Thanks,

    Matt
    Thanks for getting back.

    Vlc seems to be a difficult task to install on the amazon instance, it seems to be a brew of their own. I think i have managed to "almost" get it working with just using ffmpeg. This is my command.

    ffmpeg -y -f mpegts -i http://[stream.url]  -deinterlace  -f h264 "udp://127.0.0.1:10000"
    I can see in the monitoring tab that the stream is connected and showing traffic in. But still cannot connect to the server via vlc or the test players.

    My streamfile is called "test.stream" and in this files i have the following url

    udp://127.0.0.1:10000
    Also all outgoing security is currently disabled until i can get this going.

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

    Default

    Hi,

    Refer to the FFmpeg/mpegts guide here, and for the Wowza side take a look at this guide to re-steaming MPEG-TS

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. how to stream over http rather than rtsp?
    By jdpark7 in forum General Forum
    Replies: 1
    Last Post: 05-30-2012, 03:12 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
  •