Page 1 of 1

RV1106, USB Cam (YUYV) -> Hardware encoder (264) ->RTSP possible?

Posted: 2025-08-16 17:19
by sstepane
Hi,

I'm digging through documentation/configuration/sdk and yet not figured out the best way to stream from USB connected camera (YUYV space) via Rockchip hardware encoder to rtsp.
ffmpeg does not see hardware encoder (hantro/vpu) or could not use it. Which way should I dig? RK examples are concentrated around CSI modules and I'm not sure if these are capable of working with USB stream...

Please give a clue.
Thanks!

Re: RV1106, USB Cam (YUYV) -> Hardware encoder (264) ->RTSP possible?

Posted: 2025-08-19 11:17
by yangxj121

Re: RV1106, USB Cam (YUYV) -> Hardware encoder (264) ->RTSP possible?

Posted: 2025-08-21 12:21
by sstepane
Hi,

Thank you for the reply.
Could you please tell me, if VENC support YUYV as a source?
Like this:
h264_frame.stVFrame.enPixelFormat = RK_FMT_YUV422_YUYV; // YUV
//h264_frame.stVFrame.enPixelFormat = RK_FMT_RGB888; // RGB
When I feed it with RGB data - it works.
If I try to feed it YUV422 (usb camera produces only YUYV format) - it hangs.
Of course I use different size of buffers for YUUV and RGB...

Re: RV1106, USB Cam (YUYV) -> Hardware encoder (264) ->RTSP possible?

Posted: 2025-08-25 2:02
by a136929371
venc can support YUYV as source. I tried.