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!
RV1106, USB Cam (YUYV) -> Hardware encoder (264) ->RTSP possible?
Hello, you can refer tohttps://wiki.luckfox.com/zh/Luckfox-Pic ... 6%E9%A2%91
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...
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...
venc can support YUYV as source. I tried.
