Results 1 to 7 of 7

Thread: Live Streaming from RaspberryPi using GStreamer - Help please?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Unhappy Live Streaming from RaspberryPi using GStreamer - Help please?

    Similar question : http://www.wowza.com/forums/showthre...GStreamer-RTSP

    Hi Everybody,

    We are having a RaspberryPi which is connected to two cameras, and is supposed to send the streams to Wowza server.
    Our Wowza server works great with GoCoder iPhone app.

    We have GStreamer on RaspberryPi and are trying to stream using the following commands on an RTMP/RTSP open connection (no authentication)
     gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! muxout. pulsesrc device="alsa_input.usb-046d_HD_Pro_Webcam_C920_5A8C986F-02-C920.analog-stereo" ! queue ! audioconvert ! voaacenc ! muxout. flvmux name=muxout streamable=true ! \ rtmpsink location =  'wowz://54.213.46.154:1935/liveStreamCam1/cam1'
    What we get is the following:
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstPulseSrcClock
    ERROR: RTMP_ReadPacket, failed to read RTMP packet header
    ERROR: from element /GstPipeline:pipeline0/GstRTMPSink:rtmpsink0: Could not open resource for writing.
    Additional debug info:
    gstrtmpsink.c(214): gst_rtmp_sink_render (): /GstPipeline:pipeline0/GstRTMPSink:rtmpsink0:
    Could not connect to RTMP stream "wowz://54.213.46.154:1935/liveStreamCam1/cam1" for writing
    Execution ended after 0:00:03.223963639
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    We took a TCP dump and found that the connection is being refused with the message "Permission Denied"

    The verbose messages are following:

    ........level...status..code...NetConnection.Connect.Success..description...Connection succeeded...data.......version..
    3,5,7,7009.....clientid.A..I".....objectEncoding............
    releaseStream.@...........cam1
    C..........FCPublish.@...........cam1
    C..........createStream.@........
    ...............onStatus.............level...error..code...NetStream.Publish.Denied..description..FRTMP
    Publishing not allowed.  Client is not in list of valid 
    encoders...clientid.A..I"......
    ...............onFCPublish.............level...status..code...NetStream.Publish.Start..description...FCPublish
    to stream 
    cam1...clientid.A..I"....................._result.@.........?.......
    ......"........publish.@...........cam1...live
    ...............onStatus.............level...error..code...NetStream.Publish.Denied..description..FRTMP
    Publishing not allowed.  Client is not in list of valid 
    encoders...clientid.A..I"......
    C..........FCUnpublish.@...........cam1
    C....."....deleteStream.@.........?.......
    We tried using rtmp:// instead of wowz:// too! (wowz: certainly doesn't look a fit here)

    It says "NetStream.Publish.Denied description. FRTMP Publishing not allowed. Client is not in list of valid encoders"
    Are there only certain kind of clients that Wowza will support?

    Now, there's a tutorial here on how to do it using FFMPEG, but we currently don't have the liberty of time to set FFMPEG on our Pi.

    Is there something that we are missing here?
    It doesn't work even when the server is not expecting any authentication.

    Any help will be greatly appreciated
    Last edited by aman.alam; 09-30-2014 at 01:11 PM. Reason: Adding more details

  2. #2

    Default

    Hi again, I wrote a message to your other post but
    when I saw here
    It says "NetStream.Publish.Denied description. FRTMP Publishing not allowed. Client is not in list of valid encoders"
    IN wowza 4.1 there is a settings in Application-> incoming stream security
    that
    Flash Version String
    Wirecast/|FME/|FMLE/|Wowza GoCoder*
    and you can edit here.

    Emre Karatasoglu
    emre.karatasoglu@hotmail.com
    LetheaSoftware
    http://letheasoftware.com
    http://emrekaratasoglu.com
    Last edited by letheasoftware; 10-09-2014 at 07:13 AM.

  3. #3

    Default

    Thanks for the reply again!
    (How can I buy you a beer? )

    Yes, there's such an entry there in our Wowza server, but I am not sure what it does.
    Should I change it to something?
    I have almost no clue about it.

    -Aman

  4. #4

    Default

    ahhahaha Thanks; consider me as having drunk cheers .
    I'm not sure , you have to try like that, it seems there is a regex rule,I wish one of them work
    Wirecast/|FME/|FMLE/|Wowza GoCoder*|Gstreamer/|Gstreamer/*|Gstreamer*

  5. #5

    Default

    Oh great, that means it will look into some kind of UA string etc?

    Okay, will try this.

    And I was serious for buying you beer ;-)

  6. #6

    Default

    Quote Originally Posted by aman.alam View Post
    Oh great, that means it will look into some kind of UA string etc?

    Okay, will try this.

    And I was serious for buying you beer ;-)
    yes , exactly that is UA as I understood. I guess that I'm far way from you ,I'm in Turkey If you happen to pass by here,ur beer ready

  7. #7
    Join Date
    Mar 2012
    Posts
    8

    Default

    Quote Originally Posted by aman.alam View Post
    Similar question : http://www.wowza.com/forums/showthre...GStreamer-RTSP

    Hi Everybody,

    We are having a RaspberryPi which is connected to two cameras, and is supposed to send the streams to Wowza server.
    Our Wowza server works great with GoCoder iPhone app.

    We have GStreamer on RaspberryPi and are trying to stream using the following commands on an RTMP/RTSP open connection (no authentication)
     gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! muxout. pulsesrc device="alsa_input.usb-046d_HD_Pro_Webcam_C920_5A8C986F-02-C920.analog-stereo" ! queue ! audioconvert ! voaacenc ! muxout. flvmux name=muxout streamable=true ! \ rtmpsink location =  'wowz://54.213.46.154:1935/liveStreamCam1/cam1'
    What we get is the following:
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstPulseSrcClock
    ERROR: RTMP_ReadPacket, failed to read RTMP packet header
    ERROR: from element /GstPipeline:pipeline0/GstRTMPSink:rtmpsink0: Could not open resource for writing.
    Additional debug info:
    gstrtmpsink.c(214): gst_rtmp_sink_render (): /GstPipeline:pipeline0/GstRTMPSink:rtmpsink0:
    Could not connect to RTMP stream "wowz://54.213.46.154:1935/liveStreamCam1/cam1" for writing
    Execution ended after 0:00:03.223963639
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    We took a TCP dump and found that the connection is being refused with the message "Permission Denied"

    The verbose messages are following:

    ........level...status..code...NetConnection.Connect.Success..description...Connection succeeded...data.......version..
    3,5,7,7009.....clientid.A..I".....objectEncoding............
    releaseStream.@...........cam1
    C..........FCPublish.@...........cam1
    C..........createStream.@........
    ...............onStatus.............level...error..code...NetStream.Publish.Denied..description..FRTMP
    Publishing not allowed.  Client is not in list of valid 
    encoders...clientid.A..I"......
    ...............onFCPublish.............level...status..code...NetStream.Publish.Start..description...FCPublish
    to stream 
    cam1...clientid.A..I"....................._result.@.........?.......
    ......"........publish.@...........cam1...live
    ...............onStatus.............level...error..code...NetStream.Publish.Denied..description..FRTMP
    Publishing not allowed.  Client is not in list of valid 
    encoders...clientid.A..I"......
    C..........FCUnpublish.@...........cam1
    C....."....deleteStream.@.........?.......
    We tried using rtmp:// instead of wowz:// too! (wowz: certainly doesn't look a fit here)

    It says "NetStream.Publish.Denied description. FRTMP Publishing not allowed. Client is not in list of valid encoders"
    Are there only certain kind of clients that Wowza will support?

    Now, there's a tutorial here on how to do it using FFMPEG, but we currently don't have the liberty of time to set FFMPEG on our Pi.

    Is there something that we are missing here?
    It doesn't work even when the server is not expecting any authentication.

    Any help will be greatly appreciated

    Hi Aman,

    I would also like to stream my house entrance-area using Raspberry-PI.
    Can you share more infos how to setup (which OS and tools to use for Raspberry-PI) this all? I have access to wowza-server.

    That would be really great.

    Many thanks in advance.

    Cheers

Similar Threads

  1. Gstreamer and Decklink video but no audio
    By KLindgren in forum Live Streaming and Encoder Discussion
    Replies: 0
    Last Post: 12-02-2013, 04:40 PM
  2. GStreamer + RTSP
    By rodolfospalenza in forum Live Streaming and Encoder Discussion
    Replies: 0
    Last Post: 12-20-2011, 05:07 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
  •