<div dir="ltr">After further work, I have found that NVENC returns NAL units and so I will need to write my own FramedSource. I'm very new to all of this and have no idea how to do so, is there specific examples of working with NVENC I could find somewhere?<div><br></div><div>Cheers,</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Philippe</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 26, 2019 at 3:33 PM Philippe Noël <<a href="mailto:philippe_noel@college.harvard.edu">philippe_noel@college.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I am using Nvidia NVENC (all in cpp) from a Windows 10 machine to encode raw video files to H.264 using the GPU for the purpose of doing live-streaming to another device. I would like to use Live555 for my server & client RTSP to send my h.264 stream of frames as UDP packets using RTSP/RTP. </div><div><br></div><div>I've looked at testH264VideoStreamer.cpp and at the FAQ on the wiki and it seems to be the file I should use. The FAQ mentions converting test.264 to read from stdin and pipe my encoder stream to the file. I'm a little lost as to how to proceed, having never done it before, and am seeking some help.</div><div><br></div><div>The NVENC encoder takes a frame, encodes it as H.264 and then keeps it in memory before flushing it and repeating, and so I would need to pipe my stream before the frame is flushed so it sent to RTSP. The code I'm working from used to store the frames in a file, but I would like for openRTSP to directly get the frames from video memory to save the CPU of as much work as possible.</div><div><br></div><div>Please let me know, I would really appreciate some help here.</div><br clear="all"><div><div dir="ltr" class="gmail-m_-1745036922509407414gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Philippe<br></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>