appsrc not functioning

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

appsrc not functioning

O'neill, Gerry

Hi,

I am trying to test transmission of a video test stream using appsink and appsrc without success.

I have used a tee in the appsink pipeline for debugging. Because the appsink pipeline displays

the videotestsrc by using the tee, I presume that the appsrc pipeline is the problem.

 

Appsink pipeline:

gst-launch -v videotestsrc ! video/x-raw-yuv, format =\(fourcc\)I420, framerate=\(fraction\)25/1, width=640, height=480 ! ffmpegcolorspace ! tee name=myT ! queue ! appsink name=video_test \

myT. ! queue ! xvimagesink

 

Appsrc pipeline:

gst-launch -v appsrc name=video_test ! video/x-raw-yuv,format =\(fourcc\)I420, framerate=\(fraction\)25/1, width=640, height=480 ! ffmpegcolorspace ! queue ! xvimagesink

 

I have tried in vain to get this to work.

Any help or advise in this will be greatly appreciated.

 

Ger.

 

--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: appsrc not functioning

Jan Spurný
Hi,

I'm not really sure what you're trying to accomplish - It seems to me that you expect some kind of link between the "appsrc" and "appsink" elements - if not, my apology. Otherwise - those are just "helper" elements which you use in your program (i.e. they don't make sense when used with gst-launch) to read from / write to  gstreamer pipeline.

sincerely,
Jan Spurny

> ------------ Původní zpráva ------------
> Od: O'neill, Gerry <gerry.o'[hidden email]>
> Předmět: appsrc not functioning
> Datum: 05.3.2012 14:24:40
> ----------------------------------------
> Hi,
> I am trying to test transmission of a video test stream using appsink and appsrc
> without success.
> I have used a tee in the appsink pipeline for debugging. Because the appsink
> pipeline displays
> the videotestsrc by using the tee, I presume that the appsrc pipeline is the
> problem.
>
> Appsink pipeline:
> gst-launch -v videotestsrc ! video/x-raw-yuv, format =\(fourcc\)I420,
> framerate=\(fraction\)25/1, width=640, height=480 ! ffmpegcolorspace ! tee
> name=myT ! queue ! appsink name=video_test \
> myT. ! queue ! xvimagesink
>
> Appsrc pipeline:
> gst-launch -v appsrc name=video_test ! video/x-raw-yuv,format =\(fourcc\)I420,
> framerate=\(fraction\)25/1, width=640, height=480 ! ffmpegcolorspace ! queue !
> xvimagesink
>
> I have tried in vain to get this to work.
> Any help or advise in this will be greatly appreciated.
>
> Ger.
>
> --------------------------------------------------------------
> Intel Shannon Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
> Business address: Dromore House, East Park, Shannon, Co. Clare
>
> This e-mail and any attachments may contain confidential material for the sole
> use of the intended recipient(s). Any review or distribution by others is
> strictly prohibited. If you are not the intended recipient, please contact the
> sender and delete all copies.
>
>
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: appsrc not functioning

gerry6
Hi Jan,


You’re right, I am trying to get appsrc and appsink to work together. The idea is to get appsink to export to some kind of shared memory some data (for instance the YUV frames generated by vdeotestsrc) And then in a client application to be able to recover the frames and use them for something else. In the present case my server is just a frame generator.

For the time being, the client would simply read these frames and display them, but in the future, I’d like to be able to access to the YUV pixel data and use them for my own app,

Thanks for help with this.
Ger.