Create a video stream from sample demos


i would like to create a video stream, preferably in .h264 format using the laneNet demo result. I need the result video with the “lane lines” drawn. How do i go about doing this? I checked through the samples with no concrete example on how to do this. The closest i found is with regards to capturing .raw video from a gmsl camera. Please help, thank you.

I am dealing with pretty much the same thing here except that I want to publish the lanenet images in ROS. The driveworks lanenet sample draws lane lines on a dwImageGL texture, so the solution I am trying to implement here is to use dwImageStreamer to convert the GL image into NvMedia image and read the image buffer into a cvMat. I don’t know if this would work because I am still trying. Please let me know if you have found any other solutions.