-
Notifications
You must be signed in to change notification settings - Fork 50
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 does v4l2display_h264 work? #31
Comments
v4l2grab_h264 : v4l2display_h264 : I need to display the video1 raw h264 on my display I've run a v4l2rtspserver that shares video0 and clone to video1 (v4l2loopback) |
Hi, v4l2display_h264 read H264 frames from a V4L2 device and display using OMX. In order to works, it is important that the V4L2 device repeat the SPS/PPS. Best Regards, |
i'm broadcasting the video from raspberry cam (video0) to rtsp and want the direct video on my 3,5" spi tft which reads framebuffer modprobe v4l2loopback devices=5 and now i want to display but this dont work v4l2-ctl --all -d /dev/video1 User Controls
|
The OMX will not be display on the framebuffer, in order to copy screen to framebuffer you could look at https://github.com/tasanakorn/rpi-fbcp or get the decoded frame and write to the framebuffer. Best Regards, Michel. |
If it is a chinese SPI display clone, neither v4l2display_h264 or rpi-fbcp will work? For my setup, I streamed rtsp to the PI browser. |
@mpromonet i need to view video1 directly edit: i dont know much about that |
i've found a solution by @mpromonet after some google maybe someone knows the parameter to disable buffering? |
Hi @WiredLife Yes in my first answer it is pointed out that SPS/PPS should be present, otherwise v4l2display_h264 or vlc cannot decode the H264 stream. There is no buffering in v4l2display_h264 and a very small in v4l2rtspserver that is control by the parameter Best Regards, |
Great its working with nearly no delay! v4l2rtspserver -O /dev/video1 -Q 1 -H 1232 -W 1640 -F 15 -P 8555 /dev/video0 150ms is the lowest value, under that its missing frames and becomes delayed too |
Hi, I think below vlc seems an heavy solution to decode the stream and copy it to framebuffer, using OMX to decode the stream and writing to the framebuffer may be not so complex ? Best Regards, |
vlc is yet the only solution that works |
are there any news on get this working without pixelated image? |
Hi @WiredLife Did you check your H264 source, it may be also pixelated ? (For example using v4l2display_h264 /dev/video0, without rtsp stremaner) Best Regards, |
i tried v4l2display_h264 -vv -W 480 -H 320 -F 15 /dev/video1
hoping that shows me the video on framebuffer and display, but it dont
it only says waiting
The text was updated successfully, but these errors were encountered: