Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to obtain real-time streaming video of sensor video in real-time (node:/dev/video11) #103

Open
bendanzhu520 opened this issue Aug 23, 2024 · 0 comments

Comments

@bendanzhu520
Copy link

Hi @nyanmisaka
I am currently using the RK3588EVB development board for testing, using the command you provided:/ ffmpeg -f lavfi -i testsrc2=s=3840x2160,format=nv12 -c:v hevc_rkmpp -b:v 15M -minrate 10M -maxrate 20M -profile:v main -level 5.1 -g:v 100 -vframes 5000 -y /tmp/tmp.mp4
Save as MP4 video normal OK
I tried the following command:
./ffmpeg -f v4l2 -input_format nv12 -video_size 3840x2160 -framerate 30 -i /dev/video11 -c:v hevc_rkmpp -b:v 15M -minrate 10M -maxrate 20M -profile:v main -level 5.1 -g:v 100 -vframes 5000 -y /tmp/tmp.mp4
Print information: frame=4 fps=0.1 q=-0.0 Lsize=1552kB time=00:01:30.00 bitrate=141.3kbits/s dup=0 drop=1134 speed=2.37x
Discard many frames
For example, if I want to retrieve the video stream from the sensor and the node is/dev/video11, what is the command to retrieve the real-time video stream normally
thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant