Android gst_parse_launch using

Peter Hafner p.hafner75 at gmail.com
Fri Sep 27 07:33:18 PDT 2013


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);//
/
Hmm, it was clear, decoding failure. :-)
On my linux dev machine, I have this line running.
/gst-launch-0.10 --gst-debug-level=3 -v udpsrc port=4000 
caps='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//
/
Maybe I'm totally wrong, but playbin2, can not handle udp-streams? Or?
Is it the correct way, of course for testing only, and coming a little 
bit more closer, to the gstreamer.

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130927/8a659479/attachment.html>


More information about the gstreamer-android mailing list