what is the correct element to read I420

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

what is the correct element to read I420

art vanderhoff
Hi All,

Anther quick Q. What is the correct element to read I420 (yuv420p). I have tried filesrc etc with a decodebin2 and a lot of others but no joy. I would really appreciate your help.

Thx
Art
Reply | Threaded
Open this post in threaded view
|

Re: what is the correct element to read I420

Tim-Philipp Müller-2
On Tue, 2012-03-06 at 04:22 -0800, art vanderhoff wrote:

> Anther quick Q. What is the correct element to read I420 (yuv420p). I have
> tried filesrc etc with a decodebin2 and a lot of others but no joy. I would
> really appreciate your help.

check out the videoparse element. However, you shouldn't dump raw pixels
into a file. At least wrap it in a yuv4mpeg container with y4menc or so
(and then use y4mdec to read it).

Cheers
 -Tim

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

Re: what is the correct element to read I420

art vanderhoff
Thx Tim that was a superfast response.  

I am actually trying to take an ffmpeg output and dump it to a fifo for reading, using  -f rawvideo -pix_fmt yuv420p.

can you advise how I would wrap this with y4menc. Ultimately I would like to pass AYUV into videomixer2 so you may have a better idea of how to lower the overall overhead of decode/transcode.

Thx again for the quick reply