-
Notifications
You must be signed in to change notification settings - Fork 51
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
Can't make v4l2grab_h264 to work properly #27
Comments
Playing a movie in full screen v4l2grab_h264 shows in the log frame sizes more logical, and in VLC you see the screen is updated more frequently although totally garbled, full of artifacts: [DEBUG] src/v4l2grab_h264.cpp:188 |
Hi, |
A lot better now!!. Now it's possible to connect to RTSP stream without hassle and it shows the live desktop with the similar artifacts issues reported when using raspidisp driver #28 . [DEBUG] src/v4l2grab_h264.cpp:183 |
Great!. Your last commit seems to have fixed the streaming issues with the grabber, including displaying movies in full screen.
The only program I tested using the same dispmanx API that manages properly this scenario is dispmanx_vncserver, in particular this fork: https://github.com/patrikolausson/dispmanx_vnc, but taking a look at it, I could understand that a change of resolution could cause an issue with |
Hi...
I'm trying to get v4l2grab_h264 to capture desktop and stream it with v4l2rtspstreamserver (running in Pi3B/osmc/kodi) without luck, maybe I'm not using it correctly. I created a loopback device with:
and stream it with:
I'm trying to reproduce it with VLC (rtsp://ip:8554/unicast) without luck. Most of the times remains there forver without displaying anything and from time to time it displays a static image of the desktop with the bottom of the screem totally distorted.
I tried to do the same using raspidisp driver from uv4l project and v4l2compress_omx with a lot more luck, making easy to connect 90% of the times and when it does it plays smoothly the desktop with some artifacts, but I'll open a different issue about it.
I played with v4l2grab_h264 write API (-w) and v4l2rtspserver (-r and -w) in all combinations possible without success.
Below the logs from v4l2grab_h264 and v4l2rtsp from the initial example, frame sizes are already suspicious:
v4l2grab_h264 output
https://pastebin.com/5LSD4Mi8
v4l2rtspserver -vv /dev/video10
https://pastebin.com/CUP10iVE
Regards,
The text was updated successfully, but these errors were encountered: