Android gst_parse_launch using

Sebastian Dröge slomo at circular-chaos.org
Fri Sep 27 12:17:50 PDT 2013


On Fr, 2013-09-27 at 16:33 +0200, Peter Hafner wrote:
> Hi,
> really a newbie on gstreamer.
> I have on a host the gst-launch application running.
> Here the line.
> gst-launch  --gst-debug-level=3 -v videotestsrc !
> video/x-raw-yuv,width=640,height=480 ! TIVidenc1 codecName=h264enc
> engineName=codecServer ! rtph264pay pt=96 ! udpsink host=192.168.1.132
> port=4000
> 
> Now I want to use for the first test's the Tutorial5.
> My idea was, to change the original
> data->pipeline = gst_parse_launch("playbin2", &error);
> with 
> data->pipeline = gst_parse_launch("\'\"application/x-rtp,
> media=(string)video, clock-rate=(int)90000,
> encoding-name=(string)H264, sprop-parameter-sets=(string)\\
> \"Z0KAHukBQHpCAAAH0AAB1MAI\\\\=\\\\=\\\\,aM48gA\\\\=\\\"' !
> rtph264depay ! ffdec_h264 ! xvimagesink sync=false\"\'", &error);

You are missing the actual source element in that pipeline. Also the
escaping of the caps is not exactly trivial and there might be a mistake
there...

It will be easier if you don't put it in a single pipeline string but
build the pipeline manually... or just use RTSP for the stream
configuration.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130927/7b10796a/attachment.pgp>


More information about the gstreamer-android mailing list