-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Hello,
I am trying to use the sample_venc tool on the LicheeRV Nano for real-time video streaming from the GC4653 MIPI camera sensor.
When I run a command such as:
/mnt/system/usr/bin/sample_venc
--testMode=2 --bindmode=1 --sensorEn=1
-c 264
--viWidth=2560 --viHeight=1440
--vpssWidth=2560 --vpssHeight=1440
-w 2560 -h 1440
--srcFramerate=30 --framerate=30 --gop=30
--bitrate=4000
--frame_num=90
-o /tmp/out.264
I see that /tmp/isp_fifo and /tmp/bs.pipe are created, but the output file remains empty (size 0).
I would like to use this output for video streaming over the network (for example, with ffmpeg or another tool).
My questions are:
-
What is the recommended way to capture the encoded H.264 stream from sample_venc? Should I read from /tmp/bs.pipe or another FIFO?
-
How can I properly use this stream for real-time video streaming (e.g., via RTSP or HTTP)?
-
Is there any existing example or reference configuration for using sample_venc with streaming?
Thanks in advance!