[gst-devel] Getting a camera frame

Stefan Kost ensonic at hora-obscura.de
Fri Jun 11 17:27:35 CEST 2010


On 11.06.2010 15:14, nss_327 wrote:
> Hello again!!
>
> Thanks for all your replies!
>
> I also thought about capturing the frame directly from the device with V4L2.
> However, as far as I know, in the Nokia n900 it is not possible to access
> the device. You are forced to use the Gstreamer.
>   
Sorry, but thats non-sense. The N900 is one of the most open devices
out-there. You can happlity use v4l2 ioctls directly if you feel like.
> I managed to create a pipeline like:
>
> camera ! csp_filter ! appsink.
>
> Now, I'm thinking to convert the data from yuv to rgb in the pipeline (now,
> I'm doing it manually afterwards). Do you think it is faster doing it myself
> than doing it in the pipeline?
>   
v4l2src ! ffmpegcolorspace ! video/x-raw-rgb ! appsink

some conversion path are optimized with neon code, that is hard to beat
manually.

Stefan
> Thanks!
>   





More information about the gstreamer-devel mailing list