Pls help. rtmpsink not working consistently

manickam palaniappan manickam79 at yahoo.com
Tue Mar 25 04:17:47 PDT 2014


And viewing the admin console for adobe media server, it shows tester7 stream as "publishing". but still if I try to open the url like below, it throws error:

manickam at manickam-Aspire-5738:~/gst-rtsp-server-1.2.3/examples$ gst-launch-1.0 playbin uri=rtmp://localhost/live/tester7
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: Closing connection: NetStream.Play.StreamNotFound






On Tuesday, March 25, 2014 4:39 PM, manickam palaniappan <manickam79 at yahoo.com> wrote:
 
Hello,

Consistently Iam facing errors when trying to use rtmpsink to stream live video to adobe media server from gstream.

Could somebody pls help what is wrong here ?

Below is the output/cmd I used.

manickam at manickam-Aspire-5738:~/gst-rtsp-server-1.2.3/examples$ gst-launch-1.0 rtspsrc location=rtsp://xxx.xxx.xxx/videoSub ! 'application/x-rtp,media=video' ! decodebin ! videoconvert ! deinterlace ! queue max-size-buffers=3 silent=true  ! videoconvert qos=true ! videoscale qos=true  ! videobalance! 'video/x-raw,width=176,height=144' ! videorate ! 'video/x-raw,framerate=9/1' ! videoconvert ! 'video/x-raw,width=176,height=144,format=RGB' ! facedetect profile=/home/manickam/opencv-2.4.8/data/haarcascades/haarcascade_frontalface_default.xml ! faceblur
 profile=/home/manickam/opencv-2.4.8/data/haarcascades/haarcascade_frontalface_default.xml !  videoconvert ! x264enc ! 'video/x-h264,profile=baseline' ! flvmux ! rtmpsink location=rtmp://localhost/live/tester7
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:admin@cn2033.myfoscam.org:8090/videoSub
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(4367):
 gst_rtspsrc_reconnect (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a TCP connection.
Redistribute latency...
ERROR: WriteN, RTMP send error 32 (129 bytes)
ERROR: WriteN, RTMP send error 32 (42 bytes)
ERROR: WriteN, RTMP send error 9 (42 bytes)
ERROR: from element /GstPipeline:pipeline0/GstRTMPSink:rtmpsink0: Could not write to resource.
Additional debug info:
gstrtmpsink.c(258): gst_rtmp_sink_render (): /GstPipeline:pipeline0/GstRTMPSink:rtmpsink0:
Failed to write data
Execution ended after 0:01:15.882490297
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140325/61ca7d9b/attachment.html>


More information about the gstreamer-devel mailing list