Encoding from OpenCV application

Hi,

I’m trying to find a way to create a video from my own opencv application, so far I’ve tried the OpenCV VideoWriter and it’s gpu version and both are not working. The gpu version is not supported on the jetson and the cpu version only writes a video header to file and no frames.

Has anyone had success creating a video from their image stream in their own application?

Thanks

No one encoded video from within their app on the TK1 yet?

The supported video API on Jetson is GStreamer. So you need to create an encoding pipeline with it. You can use appsrc plugin to feed your raw image data to the GStreamer pipeline, then encode it and write to file or stream to somewhere.

Thanks! Do you have any references on howto do this? The e-linux wiki is extremely short on this.

This page looks to have some good information on this: https://charlab.github.io/jetson/2014/10/13/settting-up-jetson-tk1-with-cuda-opencv-and-more/

The plugin link on that page is broken, use this link instead: http://labs.divx.com/DivXLinuxCodec