Hello Hello, I am doing a video stream through a camera connected to a Brooktree Corporation Bt878 card. This card enables the interconnection of 4 cameras that are distinguished through the channel (is only created a video device /dev/video).
However I can only access a camera at a time because the VLC locks the video device /dev/video.
There is a way to make the VLC does not run this lock?
The commands that I use are:
Camara 1:
vlc -vvv --color --noaudio v4l:// :v4l-vdev="/dev/video" :v4l-fps=12 :v4l-channel=0 --sout '#duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8001/CAM}"'
Camara 2:
vlc -vvv --color --noaudio v4l:// :v4l-vdev="/dev/video" :v4l-fps=12 :v4l-channel=1 --sout '#duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8002/CAM}"'
*** ERROR when the second process of VLC is launched ***
[00000343] v4l demuxer warning: I420 refused
[00000343] v4l demuxer error: chroma selection failed
[00000343] v4l demuxer error: cannot open audio device (Device or resource busy)
[00000343] main demuxer warning: no access_demux module matching "v4l" could be loaded
[00000327] main input debug: creating access 'v4l' path=''
[00000345] main access debug: looking for access2 module: 8 candidates
[00000345] vcdx access warning: Can't get file status for /dev/cdrom:
No such file or directory
[00000345] vcdx access warning: could not retrieve file info for `/dev/cdrom': No such file or directory
[00000345] vcdx access warning: can't open nrg image file /dev/cdrom for reading
[00000345] access_file access warning: : No such file or directory
[00000345] access_gnomevfs access warning: cannot parse MRL v4l:// or unsupported protocol
[00000345] main access warning: no access2 module matching "v4l" could be loaded
[00000327] main input error: no suitable access module for `v4l://'
[00000330] main private debug: destroying chain... (name=duplicate)
[00000330] stream_out_duplicate private debug: closing a duplication
[00000332] main private debug: destroying chain... (name=transcode)
[00000335] main private debug: destroying chain... (name=standard)
[00000341] mux_asf private debug: Asf muxer closed
[00000337] access_output_http private warning: HTTP sout access cannot seek
[00000341] main private debug: removing module "mux_asf"
[00000340] main http server debug: thread 3021319056 joined (network/httpd.c:1134)
[00000340] main http server debug: HTTP host removed
[00000339] main http server debug: no host left, stopping httpd
[00000337] access_output_http private debug: Close
[00000337] main private debug: removing module "access_output_http"
[00000335] main private debug: removing module "stream_out_standard"
[00000335] main private debug: destroying chain done
[00000332] main private debug: removing module "stream_out_transcode"
[00000332] main private debug: destroying chain done
[00000330] main private debug: removing module "stream_out_duplicate"
[00000330] main private debug: destroying chain done
[00000327] main input debug: thread 3031808912 joined (input/input.c:412)
[00000317] main playlist: nothing to play
status change: ( stop state: 0 )
*** ERROR when it tries to access the device ***
[root@FBS ~]# cat /dev/video
cat: /dev/video: Device or resource busy