Jump to content
  • 0

GStreamer ingestion of rtmp stream


R S Nikhil Krishna
 Share

Question

Hi

When trying to use gstreamer to ingest the rtmp stream generated from Ant media server, it throws the following error

```
gst-launch-1.0 rtmpsrc location=<rtmp url> ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0: Could not read from resource.
Additional debug info:
gstrtmpsrc.c(419): gst_rtmp_src_create (): /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0:
Failed to read any data from stream, check your URL
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
```

However, the same RTMP URL can be read from ffmpeg and from VLC. Can anyone help understand why the RTMP feeds generated by the Ant Media server are not ingestable by GStreamer?
Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

 Share

×
×
  • Create New...