=?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A_?=can not get decoded data from appsink in GStreamer v1.0.9

jojo rjiejie at gmail.com
Sat Aug 24 04:18:13 PDT 2013


Hi,  
i use the simplest pipe line again as bellow:

pipe = gst_parse_launch("appsrc is-live=1 do-timestamp=1 caps=\"image/jpeg, width=1920, height=1080\" name=\"appsrc\" ! appsink name=\"appsink\"");

it can get the first 1 "sample" just only.  

Thanks,

- Jojo


在 2013年8月24日星期六,下午5:17,jojo 写道:

> Hi,  
> My pipeline is :
>  
> pipe = gst_parse_launch("appsrc is-live=1 do-timestamp=1 caps=image/jpeg, width=1920, height=1080 name=\"appsrc\" ! decodebin ! queue !  videoconvert ! appsink caps=\"%s\" name=\"appsink\", GST_VIDEO_CAPS_MAKE("BGRx")).
>  
> g_signal_connect (appsink, "new-sample", G_CALLBACK (cb_new_buffer), data);
>  
> in the gstreamer v0.10, the callback is triggered if there are new buffer, but i can not get new data from this callback in the version 1.0.9,
>  
> some of my parameters of "gst_parse_launch" are wrong ?
>  
> Any hins will be helpful.  
>  
> Thanks,
>  
> - Jojo
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130824/c5e35ca5/attachment-0001.html>


More information about the gstreamer-devel mailing list