appsink is slow
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Oct 11 14:06:44 UTC 2017
Le mardi 10 octobre 2017 à 05:04 -0700, aircheese a écrit :
> Hi all. I'm newbie here.
>
> I'm using fallowing pipelines. (with TX1 and IMX274 Camera)
>
> Pipeline 1) 3840x2160, YUV, No Converting, 60 FPS(can get images)
> nvcamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)3840,
> height=(int)2160, format=(string)I420, framerate=(fraction)60/1 ! nvtee !
> nvvidconv flip-method=0 ! video/x-raw, format=(string)I420 ! appsink
>
> Pipeline 2) 3840x2160, RGB, Converting, 18 FPS (can get images)
> nvcamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)3840,
> height=(int)2160,format=(string)I420, framerate=(fraction)60/1 ! nvtee !
> nvvidconv flip-method=2 ! video/x-raw, format=(string)BGRx ! videoconvert !
> video/x-raw, format=(string)BGR ! appsink
>
> Pipeline 3) 3840x2160, RGB, Converting, 60 FPS (Just Displaying, can't get
> images)
> nvcamerasrc fpsRange=\"60.0 60.0\" sensor-id=0 ! video/x-raw(memory:NVMM),
> width=(int)3840, height=(int)2160, format=(string)I420,
> framerate=(fraction)60/1 ! nvtee ! nvvidconv flip-method=0 !
> video/x-raw(memory:NVMM), format=(string)I420 ! nvoverlaysink sync=false
> name=mysink
>
> I need to get camera images with 3840x2160, RGB, 60FPS. But, I can't get
> images with 60 fps.
> When I use "Pipeline 3", I can see camera images with 60fps, however, it's
> not possible to get raw data. just possible to display. I think the problem
> is sink.(appsink, nvoverlaysink)
nvvidconv (which I believe is still proprietary) has a very slow
download path. The only way forward, is to get your hand on the NVMM
memory interface, and use the NVMM mmap interface to read/write the
data. Note that this path is not portable across NV supported
platforms.
Your other option is to try and do you work in Cuda. Again, all this is
downstream, and support should come from NVidia really.
>
> Could you please anybody help me?
>
> thank you for reading.
> Have a nice day everyone.
>
> Regards,
> Claude
>
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171011/f6608314/attachment.sig>
More information about the gstreamer-devel
mailing list