OpenCV Error when using VideoWriter_GPU

I need use opencv in tx1 but error happend ( OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platfom ) in throw_nogpu) when using “VideoWriter_GPU”. Does tx1 support GPU encode? what should I do to make it work?

Thank you!

Hi wuyindong,

OpenCV4Tegra is based on opencv 2.4.13 and you can take a loot at this page to see if it is supported.

http://docs.opencv.org/2.4/modules/gpu/doc/video.html#gpu-videowriter-gpu

If you are looking for HW accelerated encoder, we have video API for it. Please refer to “API” of http://developer.nvidia.com/embedded/dlc/l4t-documentation-24-2-1.

/home/ubuntu/tegra_multimedia_api/samples/01_video_encode/video_encode_main.cpp is the sample code on DevKit.