How to use sample_venc for video streaming on LicheeRV Nano? #97
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
maxpeterkaya/LicheeRV-Nano-Build#97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!
Hello, I've the same problem, did you get an answer?
Best Regards.
I feel like they broke everything on purpose to make it work. It doesn't work for me with the LicheeRV Nano.
The last message in the terminal when I try to connect RTSP to the VLC:
wdrLEOnly:1
rtsp close
rtsp close
I used different pre-built images, and they all show the same message. Different routers, different systems: Windows 10, Windows 11, Ubuntu 24.04.2. I used a wired connection, WiFi, and USB.
I tried it with MilkV, and everything worked right away, but I need the LicheeRV Nano.
Same problem yet
same problem, did you find a solution?