Simple RTSP Pipeline Works with gst-launch But Not with API
Sebastian Dröge
sebastian at centricular.com
Fri Jun 17 11:37:42 UTC 2016
On Do, 2016-06-16 at 18:45 -0700, Zheng wrote:
> *Thang you in advance!*
>
> *This is the working gst-launch-1.0 pipeline.*
>
> gst-launch-1.0 rtspsrc port-range=5000-5100
> location=rtsp://192.168.1.10:8555/right latency=0 ! decodebin !
> videoconvert
> ! video/x-raw,width=640,height=480,format=YUY2 ! autovideosink
>
> *The following is the NOT working C function.*
> [...]
You don't check any return values. If you do, you will probably notice
that one or more of the links are actually failing, which seems to be
the underlying problem here.
The pipeline fails because a pad is producing data but it is not linked
downstream.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160617/a28a7f88/attachment.sig>
More information about the gstreamer-devel
mailing list