[solved] accessing 2 different web cams on the same pc
Posted: 27 Feb 2009 01:28
hi. i have been able to make some good progress on streaming a web cam both via the gui and command line.
so i've added a second web cam to the same pc. when both web cams are in, i can access the local gui and get a picture on each one separately by first using /dev/video0, stopping that capture, then doing a separate capture also via the gui but this time on /dev/video1. that works as expected.
also i can start 2 instances of vlc and access the both webcams at the same time via manual gui use of the capture input option for each on in each of the 2 vlc instances. this also works fine.
but, when i try to stream them both at the same time i never can. each time i get an error. i have tried this both by starting 2 separate instances of vlc. and also by running it via vlm.
can you please help?
here is my vlm config file:
new channel1 broadcast enabled
setup channel1 input v4l2://dev/video0:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video0:audio=0
setup channel1 output #transcode{vcodec=mp4v,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:standard{access=http,mux=ogg,dst=192.168.1.5:1234}
new channel2 broadcast enabled
setup channel2 input v4l2://dev/video1:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video1:audio=0
setup channel2 output #transcode{vcodec=mp4v,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:standard{access=http,mux=ogg,dst=192.168.1.5:1235}
control channel1 play
control channel2 play
usb devices:
glok@glok:~/Documents$ lsusb
Bus 005 Device 004: ID 046d:09a1 Logitech, Inc.
Bus 005 Device 003: ID 046d:09a1 Logitech, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 413c:02b0 Dell Computer Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
and here is the error log:
[00000362] main http server warning: cannot add '/dialogs/vlm' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/dialogs/footer (url=/dialogs/footer)
[00000362] main http server warning: cannot add '/dialogs/footer' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/dialogs/input (url=/dialogs/input)
[00000362] main http server warning: cannot add '/dialogs/input' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/vlm_export.html (url=/vlm_export.html)
[00000362] main http server warning: cannot add '/vlm_export.html' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/favicon.ico (url=/favicon.ico)
[00000362] main http server warning: cannot add '/favicon.ico' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/style.css (url=/style.css)
[00000362] main http server warning: cannot add '/style.css' (url already defined)
[00000384] http interface error: cannot find any file in directory /usr/local/share/vlc/http
[00000367] main http server debug: httpd_HostDelete: host still used
[00000374] [Media: channel1] v4l2 demux debug: Available control: Saturation (980902)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 255 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 28
[00000374] [Media: channel1] v4l2 demux debug: current value: 28
[00000386] [Media: channel2] v4l2 access warning: unknown option norm=secam
[00000386] [Media: channel2] v4l2 access warning: unknown option frequency=543250
[00000386] [Media: channel2] v4l2 access warning: unknown option size=640x480
[00000386] [Media: channel2] v4l2 access warning: unknown option channel=0
[00000386] [Media: channel2] v4l2 access warning: unknown option audio=0
[00000386] [Media: channel2] v4l2 access debug: main device='dev/video1'
[00000386] [Media: channel2] v4l2 access debug: trying device 'dev/video1' as video
[00000386] [Media: channel2] v4l2 access error: cannot open video device (No such file or directory)
[00000386] [Media: channel2] v4l2 access debug: opening '/dev/video0' as video
[00000374] [Media: channel1] v4l2 demux debug: Available control: White Balance Temperature, Auto (98090c)
[00000374] [Media: channel1] v4l2 demux debug: boolean control
[00000374] [Media: channel1] v4l2 demux debug: default value: 1
[00000374] [Media: channel1] v4l2 demux debug: current value: 1
[00000386] [Media: channel2] v4l2 access debug: V4L2 device: UVC Camera (046d:09a1) using driver: uvcvideo (version: 0.1.0) on usb-0000:00:1d.7-1
[00000386] [Media: channel2] v4l2 access debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner
[00000386] [Media: channel2] v4l2 access debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
[00000386] [Media: channel2] v4l2 access debug: video input 0 (Camera 1) has type: External analog input *
[00000386] [Media: channel2] v4l2 access debug: device supports chroma MJPG [MJPEG, MJPG]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma YUYV [YUV 4:2:2 (YUYV), YUYV]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma RV24 [RGB3, RGB3]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma RV24 [BGR3, BGR3]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma I420 [YU12, YU12]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access error: cannot set input (Device or resource busy)
[00000386] [Media: channel2] main access warning: no access module matching "v4l2" could be loaded
[00000386] [Media: channel2] main access debug: TIMER module_Need() : 18.896 ms - Total 18.896 ms / 1 intvls (Avg 18.896 ms)
[00000355] [Media: channel2] main input error: open of `v4l2://dev/video1:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video1:audio=0' failed: could not create access
[00000361] main stream out debug: destroying chain... (name=transcode)
[00000366] main stream out debug: destroying chain... (name=standard)
[00000379] mux_ogg mux: Close
[00000379] main mux debug: removing module "mux_ogg"
[00000373] main http server debug: waitpipe: object killed
[00000373] main http server debug: thread ended
[00000373] main http server debug: thread 2981014416 joined (network/httpd.c:1164)
[00000373] main http server debug: HTTP host removed
[00000370] access_output_http access out debug: Close
[00000370] main access out debug: removing module "access_output_http"
[00000366] main stream out debug: removing module "stream_out_standard"
[00000366] main stream out debug: destroying chain done
[00000374] [Media: channel1] v4l2 demux debug: Available control: Gain (980913)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 255 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 0
[00000374] [Media: channel1] v4l2 demux debug: current value: 0
[00000361] main stream out debug: removing module "stream_out_transcode"
[00000361] main stream out debug: destroying chain done
[00000374] [Media: channel1] v4l2 demux debug: Available control: Power Line Frequency (980918)
[00000374] [Media: channel1] v4l2 demux debug: menu control
[00000374] [Media: channel1] v4l2 demux debug: 0: Disabled
[00000374] [Media: channel1] v4l2 demux debug: 1: 50 Hz
[00000374] [Media: channel1] v4l2 demux debug: 2: 60 Hz
[00000374] [Media: channel1] v4l2 demux debug: default value: 2
[00000374] [Media: channel1] v4l2 demux debug: current value: 2
[00000374] [Media: channel1] v4l2 demux debug: Available control: White Balance Temperature (98091a)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 10000 by steps of 10
[00000374] [Media: channel1] v4l2 demux debug: default value: 4000
[00000374] [Media: channel1] v4l2 demux debug: current value: 2519
[00000374] [Media: channel1] v4l2 demux debug: Available control: Sharpness (98091b)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 255 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 180
[00000374] [Media: channel1] v4l2 demux debug: current value: 180
[00000374] [Media: channel1] v4l2 demux debug: Available control: Backlight Compensation (98091c)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 2 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 1
[00000374] [Media: channel1] v4l2 demux debug: current value: 1
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Exposure, Auto (9a0901)
[00000374] [Media: channel1] v4l2 demux debug: menu control
[00000374] [Media: channel1] v4l2 demux debug: 0: Auto Mode
[00000374] [Media: channel1] v4l2 demux debug: 1: Manual Mode
[00000374] [Media: channel1] v4l2 demux debug: 2: Shutter Priority Mode
[00000374] [Media: channel1] v4l2 demux debug: 3: Aperture Priority Mode
[00000374] [Media: channel1] v4l2 demux debug: default value: 3
[00000374] [Media: channel1] v4l2 demux debug: current value: 3
[00000384] qt4 interface error: Could not connect to X server
[00000384] skins2 interface error: Cannot open display
[00000384] skins2 interface error: cannot initialize OSFactory
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Exposure (Absolute) (9a0902)
Remote control interface initialized. Type `help' for help.
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 1 to 10000 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 166
[00000374] [Media: channel1] v4l2 demux debug: current value: 166
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Exposure, Auto Priority (9a0903)
[00000374] [Media: channel1] v4l2 demux debug: boolean control
[00000374] [Media: channel1] v4l2 demux debug: default value: 0
[00000374] [Media: channel1] v4l2 demux debug: current value: 1
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Privacy (9a0910)
[00000374] [Media: channel1] v4l2 demux debug: boolean control
[00000374] [Media: channel1] v4l2 demux debug: default value: 0
[00000384] main interface debug: using interface module "rc"
[00000384] main interface debug: TIMER module_Need() : 97.763 ms - Total 97.763 ms / 1 intvls (Avg 97.763 ms)
[00000384] main interface debug: thread started
[00000384] main interface debug: thread 2981014416 (interface) created at priority 0 (interface/interface.c:168)
[00000374] [Media: channel1] v4l2 demux debug: current value: 0
[00000355] [Media: channel2] main input debug: thread ended
[00000355] [Media: channel2] main input debug: thread 3027979152 joined (input/vlm.c:776)
[00000355] [Media: channel2] main input debug: TIMER input launching for '(null)' : 217.141 ms - Total 217.141 ms / 1 intvls (Avg 217.141 ms)
[00000374] [Media: channel1] v4l2 demux debug: supported frame intervals for I420, 320x240:
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/30
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/25
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/20
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/15
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/10
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/5
[00000374] [Media: channel1] v4l2 demux debug: added new video es I420 320x240
[00000349] [Media: channel1] main input debug: selecting program id=0
[00000374] [Media: channel1] v4l2 demux debug: opening '/dev/video0' as audio
[00000374] [Media: channel1] main demux debug: using access_demux module "v4l2"
[00000374] [Media: channel1] main demux debug: TIMER module_Need() : 554.651 ms - Total 554.651 ms / 1 intvls (Avg 554.651 ms)
[00000393] [Media: channel1] main packetizer debug: looking for packetizer module: 16 candidates
[00000393] [Media: channel1] main packetizer debug: using packetizer module "rawvideo"
[00000393] [Media: channel1] main packetizer debug: TIMER module_Need() : 4.915 ms - Total 4.915 ms / 1 intvls (Avg 4.915 ms)
[00000393] [Media: channel1] main packetizer debug: thread started
[00000393] [Media: channel1] main packetizer debug: thread 3027979152 (decoder) created at priority 0 (input/decoder.c:217)
[00000349] [Media: channel1] main input debug: starting in async mode
[00000349] [Media: channel1] main input debug: `v4l2://dev/video0:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video0:audio=0' successfully opened
[00000349] [Media: channel1] main input debug: control type=1
[00000350] [Media: channel1] main stream output debug: adding a new sout input (sout_input:0xb6a05070)
[00000351] [Media: channel1] stream_out_transcode stream out debug: creating video transcoding from fcc=`I420' to fcc=`mp4v'
[00000401] [Media: channel1] main decoder debug: looking for decoder module: 22 candidates
[00000401] [Media: channel1] main decoder debug: using decoder module "rawvideo"
[00000401] [Media: channel1] main decoder debug: TIMER module_Need() : 15.178 ms - Total 15.178 ms / 1 intvls (Avg 15.178 ms)
[00000402] [Media: channel1] main encoder debug: looking for encoder module: 5 candidates
[00000402] [Media: channel1] avcodec encoder debug: libavcodec initialized (interface 3352064 )
[00000402] [Media: channel1] avcodec encoder debug: removing common factors from framerate
(mpeg4@0x81724c0)
[00000402] [Media: channel1] avcodec encoder debug: found encoder MPEG-4 Video
[00000402] [Media: channel1] main encoder debug: using encoder module "avcodec"
[00000402] [Media: channel1] main encoder debug: TIMER module_Need() : 13.915 ms - Total 13.915 ms / 1 intvls (Avg 13.915 ms)
[00000402] [Media: channel1] main encoder debug: removing module "avcodec"
[00000351] [Media: channel1] stream_out_transcode stream out debug: decoder aspect is 576000:432000
[00000351] [Media: channel1] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1
[00000351] [Media: channel1] stream_out_transcode stream out debug: scaled pixel aspect is 1.000000:1
[00000351] [Media: channel1] stream_out_transcode stream out debug: source 320x240, destination 320x240
[00000351] [Media: channel1] stream_out_transcode stream out debug: encoder aspect is 576000:432000
[00000351] [Media: channel1] stream_out_transcode stream out debug: destination (after video filters) 320x240
[00000402] [Media: channel1] main encoder debug: looking for encoder module: 5 candidates
[00000402] [Media: channel1] avcodec encoder debug: libavcodec already initialized
[00000402] [Media: channel1] avcodec encoder debug: removing common factors from framerate
(mpeg4@0x818b550)
[00000402] [Media: channel1] avcodec encoder debug: found encoder MPEG-4 Video
[00000402] [Media: channel1] main encoder debug: using encoder module "avcodec"
[00000402] [Media: channel1] main encoder debug: TIMER module_Need() : 5.114 ms - Total 5.114 ms / 1 intvls (Avg 5.114 ms)
[00000368] [Media: channel1] main mux debug: adding a new input
[00000368] [Media: channel1] mux_ogg mux debug: adding input
[00000368] [Media: channel1] mux_ogg mux debug: mp4v stream
[00000393] [Media: channel1] main packetizer debug: switching to sync mode
[00000368] [Media: channel1] mux_ogg mux debug: writing header
[00000368] [Media: channel1] mux_ogg mux debug: creating header for mp4v
[00000368] [Media: channel1] mux_ogg mux debug: writing extra data
so i've added a second web cam to the same pc. when both web cams are in, i can access the local gui and get a picture on each one separately by first using /dev/video0, stopping that capture, then doing a separate capture also via the gui but this time on /dev/video1. that works as expected.
also i can start 2 instances of vlc and access the both webcams at the same time via manual gui use of the capture input option for each on in each of the 2 vlc instances. this also works fine.
but, when i try to stream them both at the same time i never can. each time i get an error. i have tried this both by starting 2 separate instances of vlc. and also by running it via vlm.
can you please help?
here is my vlm config file:
new channel1 broadcast enabled
setup channel1 input v4l2://dev/video0:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video0:audio=0
setup channel1 output #transcode{vcodec=mp4v,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:standard{access=http,mux=ogg,dst=192.168.1.5:1234}
new channel2 broadcast enabled
setup channel2 input v4l2://dev/video1:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video1:audio=0
setup channel2 output #transcode{vcodec=mp4v,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:standard{access=http,mux=ogg,dst=192.168.1.5:1235}
control channel1 play
control channel2 play
usb devices:
glok@glok:~/Documents$ lsusb
Bus 005 Device 004: ID 046d:09a1 Logitech, Inc.
Bus 005 Device 003: ID 046d:09a1 Logitech, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 413c:02b0 Dell Computer Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
and here is the error log:
[00000362] main http server warning: cannot add '/dialogs/vlm' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/dialogs/footer (url=/dialogs/footer)
[00000362] main http server warning: cannot add '/dialogs/footer' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/dialogs/input (url=/dialogs/input)
[00000362] main http server warning: cannot add '/dialogs/input' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/vlm_export.html (url=/vlm_export.html)
[00000362] main http server warning: cannot add '/vlm_export.html' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/favicon.ico (url=/favicon.ico)
[00000362] main http server warning: cannot add '/favicon.ico' (url already defined)
[00000384] http interface debug: file=/usr/local/share/vlc/http/style.css (url=/style.css)
[00000362] main http server warning: cannot add '/style.css' (url already defined)
[00000384] http interface error: cannot find any file in directory /usr/local/share/vlc/http
[00000367] main http server debug: httpd_HostDelete: host still used
[00000374] [Media: channel1] v4l2 demux debug: Available control: Saturation (980902)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 255 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 28
[00000374] [Media: channel1] v4l2 demux debug: current value: 28
[00000386] [Media: channel2] v4l2 access warning: unknown option norm=secam
[00000386] [Media: channel2] v4l2 access warning: unknown option frequency=543250
[00000386] [Media: channel2] v4l2 access warning: unknown option size=640x480
[00000386] [Media: channel2] v4l2 access warning: unknown option channel=0
[00000386] [Media: channel2] v4l2 access warning: unknown option audio=0
[00000386] [Media: channel2] v4l2 access debug: main device='dev/video1'
[00000386] [Media: channel2] v4l2 access debug: trying device 'dev/video1' as video
[00000386] [Media: channel2] v4l2 access error: cannot open video device (No such file or directory)
[00000386] [Media: channel2] v4l2 access debug: opening '/dev/video0' as video
[00000374] [Media: channel1] v4l2 demux debug: Available control: White Balance Temperature, Auto (98090c)
[00000374] [Media: channel1] v4l2 demux debug: boolean control
[00000374] [Media: channel1] v4l2 demux debug: default value: 1
[00000374] [Media: channel1] v4l2 demux debug: current value: 1
[00000386] [Media: channel2] v4l2 access debug: V4L2 device: UVC Camera (046d:09a1) using driver: uvcvideo (version: 0.1.0) on usb-0000:00:1d.7-1
[00000386] [Media: channel2] v4l2 access debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner
[00000386] [Media: channel2] v4l2 access debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
[00000386] [Media: channel2] v4l2 access debug: video input 0 (Camera 1) has type: External analog input *
[00000386] [Media: channel2] v4l2 access debug: device supports chroma MJPG [MJPEG, MJPG]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma YUYV [YUV 4:2:2 (YUYV), YUYV]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma RV24 [RGB3, RGB3]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma RV24 [BGR3, BGR3]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access debug: device supports chroma I420 [YU12, YU12]
[00000386] [Media: channel2] v4l2 access debug: device supports size 160x120
[00000386] [Media: channel2] v4l2 access debug: device supports size 176x144
[00000386] [Media: channel2] v4l2 access debug: device supports size 320x240
[00000386] [Media: channel2] v4l2 access debug: device supports size 352x288
[00000386] [Media: channel2] v4l2 access debug: device supports size 640x480
[00000386] [Media: channel2] v4l2 access debug: device supports size 960x720
[00000386] [Media: channel2] v4l2 access debug: device supports size 1280x960
[00000386] [Media: channel2] v4l2 access error: cannot set input (Device or resource busy)
[00000386] [Media: channel2] main access warning: no access module matching "v4l2" could be loaded
[00000386] [Media: channel2] main access debug: TIMER module_Need() : 18.896 ms - Total 18.896 ms / 1 intvls (Avg 18.896 ms)
[00000355] [Media: channel2] main input error: open of `v4l2://dev/video1:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video1:audio=0' failed: could not create access
[00000361] main stream out debug: destroying chain... (name=transcode)
[00000366] main stream out debug: destroying chain... (name=standard)
[00000379] mux_ogg mux: Close
[00000379] main mux debug: removing module "mux_ogg"
[00000373] main http server debug: waitpipe: object killed
[00000373] main http server debug: thread ended
[00000373] main http server debug: thread 2981014416 joined (network/httpd.c:1164)
[00000373] main http server debug: HTTP host removed
[00000370] access_output_http access out debug: Close
[00000370] main access out debug: removing module "access_output_http"
[00000366] main stream out debug: removing module "stream_out_standard"
[00000366] main stream out debug: destroying chain done
[00000374] [Media: channel1] v4l2 demux debug: Available control: Gain (980913)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 255 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 0
[00000374] [Media: channel1] v4l2 demux debug: current value: 0
[00000361] main stream out debug: removing module "stream_out_transcode"
[00000361] main stream out debug: destroying chain done
[00000374] [Media: channel1] v4l2 demux debug: Available control: Power Line Frequency (980918)
[00000374] [Media: channel1] v4l2 demux debug: menu control
[00000374] [Media: channel1] v4l2 demux debug: 0: Disabled
[00000374] [Media: channel1] v4l2 demux debug: 1: 50 Hz
[00000374] [Media: channel1] v4l2 demux debug: 2: 60 Hz
[00000374] [Media: channel1] v4l2 demux debug: default value: 2
[00000374] [Media: channel1] v4l2 demux debug: current value: 2
[00000374] [Media: channel1] v4l2 demux debug: Available control: White Balance Temperature (98091a)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 10000 by steps of 10
[00000374] [Media: channel1] v4l2 demux debug: default value: 4000
[00000374] [Media: channel1] v4l2 demux debug: current value: 2519
[00000374] [Media: channel1] v4l2 demux debug: Available control: Sharpness (98091b)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 255 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 180
[00000374] [Media: channel1] v4l2 demux debug: current value: 180
[00000374] [Media: channel1] v4l2 demux debug: Available control: Backlight Compensation (98091c)
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 0 to 2 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 1
[00000374] [Media: channel1] v4l2 demux debug: current value: 1
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Exposure, Auto (9a0901)
[00000374] [Media: channel1] v4l2 demux debug: menu control
[00000374] [Media: channel1] v4l2 demux debug: 0: Auto Mode
[00000374] [Media: channel1] v4l2 demux debug: 1: Manual Mode
[00000374] [Media: channel1] v4l2 demux debug: 2: Shutter Priority Mode
[00000374] [Media: channel1] v4l2 demux debug: 3: Aperture Priority Mode
[00000374] [Media: channel1] v4l2 demux debug: default value: 3
[00000374] [Media: channel1] v4l2 demux debug: current value: 3
[00000384] qt4 interface error: Could not connect to X server
[00000384] skins2 interface error: Cannot open display
[00000384] skins2 interface error: cannot initialize OSFactory
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Exposure (Absolute) (9a0902)
Remote control interface initialized. Type `help' for help.
[00000374] [Media: channel1] v4l2 demux debug: integer control
[00000374] [Media: channel1] v4l2 demux debug: valid values: 1 to 10000 by steps of 1
[00000374] [Media: channel1] v4l2 demux debug: default value: 166
[00000374] [Media: channel1] v4l2 demux debug: current value: 166
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Exposure, Auto Priority (9a0903)
[00000374] [Media: channel1] v4l2 demux debug: boolean control
[00000374] [Media: channel1] v4l2 demux debug: default value: 0
[00000374] [Media: channel1] v4l2 demux debug: current value: 1
[00000374] [Media: channel1] v4l2 demux debug: Available private control: Privacy (9a0910)
[00000374] [Media: channel1] v4l2 demux debug: boolean control
[00000374] [Media: channel1] v4l2 demux debug: default value: 0
[00000384] main interface debug: using interface module "rc"
[00000384] main interface debug: TIMER module_Need() : 97.763 ms - Total 97.763 ms / 1 intvls (Avg 97.763 ms)
[00000384] main interface debug: thread started
[00000384] main interface debug: thread 2981014416 (interface) created at priority 0 (interface/interface.c:168)
[00000374] [Media: channel1] v4l2 demux debug: current value: 0
[00000355] [Media: channel2] main input debug: thread ended
[00000355] [Media: channel2] main input debug: thread 3027979152 joined (input/vlm.c:776)
[00000355] [Media: channel2] main input debug: TIMER input launching for '(null)' : 217.141 ms - Total 217.141 ms / 1 intvls (Avg 217.141 ms)
[00000374] [Media: channel1] v4l2 demux debug: supported frame intervals for I420, 320x240:
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/30
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/25
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/20
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/15
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/10
[00000374] [Media: channel1] v4l2 demux debug: supported frame interval: 1/5
[00000374] [Media: channel1] v4l2 demux debug: added new video es I420 320x240
[00000349] [Media: channel1] main input debug: selecting program id=0
[00000374] [Media: channel1] v4l2 demux debug: opening '/dev/video0' as audio
[00000374] [Media: channel1] main demux debug: using access_demux module "v4l2"
[00000374] [Media: channel1] main demux debug: TIMER module_Need() : 554.651 ms - Total 554.651 ms / 1 intvls (Avg 554.651 ms)
[00000393] [Media: channel1] main packetizer debug: looking for packetizer module: 16 candidates
[00000393] [Media: channel1] main packetizer debug: using packetizer module "rawvideo"
[00000393] [Media: channel1] main packetizer debug: TIMER module_Need() : 4.915 ms - Total 4.915 ms / 1 intvls (Avg 4.915 ms)
[00000393] [Media: channel1] main packetizer debug: thread started
[00000393] [Media: channel1] main packetizer debug: thread 3027979152 (decoder) created at priority 0 (input/decoder.c:217)
[00000349] [Media: channel1] main input debug: starting in async mode
[00000349] [Media: channel1] main input debug: `v4l2://dev/video0:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/video0:audio=0' successfully opened
[00000349] [Media: channel1] main input debug: control type=1
[00000350] [Media: channel1] main stream output debug: adding a new sout input (sout_input:0xb6a05070)
[00000351] [Media: channel1] stream_out_transcode stream out debug: creating video transcoding from fcc=`I420' to fcc=`mp4v'
[00000401] [Media: channel1] main decoder debug: looking for decoder module: 22 candidates
[00000401] [Media: channel1] main decoder debug: using decoder module "rawvideo"
[00000401] [Media: channel1] main decoder debug: TIMER module_Need() : 15.178 ms - Total 15.178 ms / 1 intvls (Avg 15.178 ms)
[00000402] [Media: channel1] main encoder debug: looking for encoder module: 5 candidates
[00000402] [Media: channel1] avcodec encoder debug: libavcodec initialized (interface 3352064 )
[00000402] [Media: channel1] avcodec encoder debug: removing common factors from framerate
(mpeg4@0x81724c0)
[00000402] [Media: channel1] avcodec encoder debug: found encoder MPEG-4 Video
[00000402] [Media: channel1] main encoder debug: using encoder module "avcodec"
[00000402] [Media: channel1] main encoder debug: TIMER module_Need() : 13.915 ms - Total 13.915 ms / 1 intvls (Avg 13.915 ms)
[00000402] [Media: channel1] main encoder debug: removing module "avcodec"
[00000351] [Media: channel1] stream_out_transcode stream out debug: decoder aspect is 576000:432000
[00000351] [Media: channel1] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1
[00000351] [Media: channel1] stream_out_transcode stream out debug: scaled pixel aspect is 1.000000:1
[00000351] [Media: channel1] stream_out_transcode stream out debug: source 320x240, destination 320x240
[00000351] [Media: channel1] stream_out_transcode stream out debug: encoder aspect is 576000:432000
[00000351] [Media: channel1] stream_out_transcode stream out debug: destination (after video filters) 320x240
[00000402] [Media: channel1] main encoder debug: looking for encoder module: 5 candidates
[00000402] [Media: channel1] avcodec encoder debug: libavcodec already initialized
[00000402] [Media: channel1] avcodec encoder debug: removing common factors from framerate
(mpeg4@0x818b550)
[00000402] [Media: channel1] avcodec encoder debug: found encoder MPEG-4 Video
[00000402] [Media: channel1] main encoder debug: using encoder module "avcodec"
[00000402] [Media: channel1] main encoder debug: TIMER module_Need() : 5.114 ms - Total 5.114 ms / 1 intvls (Avg 5.114 ms)
[00000368] [Media: channel1] main mux debug: adding a new input
[00000368] [Media: channel1] mux_ogg mux debug: adding input
[00000368] [Media: channel1] mux_ogg mux debug: mp4v stream
[00000393] [Media: channel1] main packetizer debug: switching to sync mode
[00000368] [Media: channel1] mux_ogg mux debug: writing header
[00000368] [Media: channel1] mux_ogg mux debug: creating header for mp4v
[00000368] [Media: channel1] mux_ogg mux debug: writing extra data