Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supported dynamic resolution change by DV timings & timeout
input_uvc had two problems: 1) It hangs if you disconnect the camera cable (or HDMI cable from capture board) while mjpg-streamer was running on ioctl(VIDIOC_DQBUF). I added select() befure this syscall and now mjpg streamer closes after timeout (5 sec. by default). It can be changed by option -timeout. 2) When using video capture devices, it is possible to change the resolution spontaneously when changing the source. I added support of DV timings events and now mjpg-streamer don't hang on changing source disconnecting/connecting cable - it changes resolution automatically and and continues streaming. Both these changes are necessary for work Auvidea B101 board: https://auvidea.com/b101-hdmi-to-csi-2-bridge-15-pin-fpc/ This is a very promising device for video processing. It's officially supports by Raspberry Pi team: https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=120702
- Loading branch information
Showing
3 changed files
with
269 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.