-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
Which version are you using?
v0.21.2
Which operating system are you using?
- Linux amd64 standard
- Linux amd64 Docker
- Linux arm64 standard
- Linux arm64 Docker
- Linux arm7 standard
- Linux arm7 Docker
- Linux arm6 standard
- Linux arm6 Docker
- Windows amd64 standard
- Windows amd64 Docker (WSL backend)
- macOS amd64 standard
- macOS amd64 Docker
- Other (please describe)
Describe the issue
i am unable to play rtmp stream using gstreamer it gives error
gst-launch-1.0 playbin uri=rtmp://127.0.0.1:1935/test
Setting pipeline to PAUSED ...
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: URI lacks stream: rtmp://127.0.0.1:1935/test
Additional debug info:
../gst/playback/gsturidecodebin.c(1472): gen_source_element (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
No element accepted URI 'rtmp://127.0.0.1:1935/test'
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
this stream is playable with ffmpeg but gives this error using gstreamer
same stream is playing good if i use rtsp url with gstreamer
Describe how to replicate the issue
- start the server
- publish with
ffmpeg -stream_loop -1 -r 30 -f lavfi -re -i \"movie=cctv-demo.mp4\" -an -c:v libx264 -profile:v baseline -pix_fmt yuv420p -strict -2 -f flv rtmp://localhost:1935/test - read with
gst-launch-1.0 playbin uri=rtmp://127.0.0.1:1935/test
Did you attach the server logs?
no
Did you attach a network dump?
no
rfwatson and Liamazing