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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...