Android gst_parse_launch using

Peter Hafner p.hafner75 at gmail.com
Sat Sep 28 00:36:55 PDT 2013


Ok, I try that.
To be sure I can get the pipline working.
data->pipeline = gst_parse_launch("udpsrc port=4000 
caps=\"application/x-rtp, media=(string)video, clock-rate=(int)90000, 
encoding-name=(string)H264\" ! rtph264depay ! ffdec_h264 ! xvimagesink 
sync=false", &error);

But error message is "no element ffdec_h264" is this element not 
available on android?
And also for xvimagesink, but I think, that's not the right sink for 
using in Android.
What could be her the right output?

Sebastian,
you said, or just use the rtsp stream to config?
Yes, that would be nice, but I didn't know how.
Can you point me in the right direction, or give me a hint ?

Thanks
peter


Am 27.09.2013 21:17, schrieb Sebastian Dröge:
> 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.
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130928/2f7d6bf7/attachment.html>


More information about the gstreamer-android mailing list