Hi again!
/usr/local/bin/gst-launch-0.10 rtspsrc location=rtsp://192.168.6.146:554 ! decodebin ! autovideosink A H264 video RTP depayloader plugin is required to play this stream, but not installed.
gst-inspect rtph264depay shows there is such an element installed... Trying manually, I'm able to attach to the source and send it raw to a filesink: /usr/local/bin/gst-launch-0.10 -v rtspsrc location=rtsp://192.168.6.146:554 ! filesink ...
As soon as a connect a rtph264depay things go wrong though: /usr/local/bin/gst-launch-0.10 -v rtspsrc location=rtsp://192.168.6.146:554 ! rtph264depay ! filesink ...
.... ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data flow error. ... I've experimented with some caps - but haven't gotten further (something like caps = application/x-rtp, payload=35, clock-rate=90000, encoding-name=H264...) but no luck.
Does anyone have any idea? I want to be able to decode the stream and forward it to an icecast server. I'm able to do it with VLC on command line, but VLC doesn't feel that stable...
/Mathias _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Mathias, As far as I know, the element used to stream to icecast is shout2send. Also, I'm not sure you can stream any video other than Theora over Ogg to an Icecast server. So I suggest something like this: gst-launch-0.10 rtspsrc location=... ! decodebin2 ! theoraenc ! oggmux ! shout2send ip=<icecast-server> port=8000 mount=yourmountpoint.ogg password=<serverpassword> Regards, Andres
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Andrés, and thanks for quick reply!
I was a bit unclear, sorry about that. I'm aware of the fact that I have to reencode to theora and send it via shout2send. I was showing a shorter pipeline, with a filesink, just to show that things go wrong much earlier. When using decodebin2 I'm getting an error message telling me I'm missing a plug-in (as opposed to decodebin, which told me I was missing a h264 rtp depay plugin, which I find with gst-inspect).
/Mathias
New clock: GstSystemClock /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)35, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)42001e, sprop-parameter-sets=(string)\"Z0IAHtoCwJT/wAGAAspAgA\\=\\=\\,aN4Fcg\\=\\=\", npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin2:decodebin20: Your GStreamer installation is missing a plug-in. Additional debug info: gstdecodebin2.c(3135): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin2:decodebin20:
no suitable plugins found Execution ended after 1815946991 ns. 2011/3/24 Andrés González <[hidden email]>
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |