Kirjoittaja Aihe: webcam vlc v4l  (Luettu 3835 kertaa)

0 jäsentä ja 1 Vieras katselee tätä aihetta.

Poissa jkaija

  • Jäsen
  • Viestejä: 551
  • Sukupuoli: Mies
    • OtaNetti
webcam vlc v4l
« : 15.11.2009 - klo:21:27 »
Moro,
Nyt kun olen muutaman päivän käyttänyt tätä 11.2:sta, niin alkaa löytymään näitä toimimattomia juttuja.

Eli 'vlc':ssä kun yrittää avata /dev/video0':n (webcam) tulee virheilmoitus...
Lainaus
Syötettä ei voi avata:
VLC ei kyennyt avaamaan MRL-sijaintia "v4l2:///dev/video0". Katso lokista lisätietoja.
Skypessä kamera toimii ihan ok.

mistäs tuo vlc:n logi löytyy?
Koodia: [Valitse]
jkaija@linux-acer:~> vlc
VLC media player 1.0.3 Goldeneye
[0x608338] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x86e618] v4l2 demux error: invalid tuner 0.
[0x86e618] v4l2 demux error: invalid tuner 0.
[0x996578] v4l2 access error: invalid tuner 0.
[0x996578] v4l2 access error: invalid tuner 0.
[0x9612c8] main input error: open of `v4l2:///dev/video0' failed: (null)
^C[0x727f88] signals interface error: Caught Keskeytys signal, exiting...

webkam:sta tulee seuraavanlainen
Koodia: [Valitse]
jkaija@linux-acer:~> webkam
./webkam_app.rb:2:in `require': no such file to load -- gst (LoadError)
        from ./webkam_app.rb:2
        from main.rb:1:in `require'
        from main.rb:1
olisko tuohon jelppiä?
HP Pavilion15-p076no, Tumbleweed 64bit Plasma
Asus Prime X570P, AMD Ryzen 5 3600, 32GT, GeForce RTX2080, Tumbleweed 64bit Plasma

Poissa harmie

  • Valvoja
  • *
  • Viestejä: 2768
  • Sukupuoli: Mies
Vs: webcam vlc v4l
« Vastaus #1 : 15.11.2009 - klo:21:39 »

mistäs tuo vlc:n logi löytyy?
Paina ctrl + m silloin kun vlc on auki. Sieltä vasemmasta alakulmasta voi säätää lokituksen tasoa 0,1 tai 2.


Mikä kamera sulla on?

Poissa jkaija

  • Jäsen
  • Viestejä: 551
  • Sukupuoli: Mies
    • OtaNetti
Vs: webcam vlc v4l
« Vastaus #2 : 15.11.2009 - klo:22:45 »
Mikä kamera sulla on?
Se on läppärin sisäänrakennettu kamera,dmesg ->
Koodia: [Valitse]
[    1.689012] usb 2-8: new high speed USB device using ehci_hcd and address 4                                                
[    1.842615] usb 2-8: New USB device found, idVendor=064e, idProduct=a103                                                  
[    1.842618] usb 2-8: New USB device strings: Mfr=2, Product=1, SerialNumber=3                                              
[    1.842620] usb 2-8: Product: Video WebCam                                                                                
[    1.842622] usb 2-8: Manufacturer: SuYin                                                                                  
[    1.842624] usb 2-8: SerialNumber: CN0314-SN30-OV035-VA-R05.00.00                                                          
[    1.842702] usb 2-8: configuration #1 chosen from 1 choice
lsusb ->
Koodia: [Valitse]
Bus 002 Device 004: ID 064e:a103 Suyin Corp.

Ei tossa muuten mitää, mutta kun se toimi 11.1:ssä ihan ok ja nyt ainoastaan skypessä.

Muokkaus unohtu toi logi ->
Koodia: [Valitse]
main debug: processing request item v4l2:///dev/video0 node Soittolista skip 0
main debug: resyncing on v4l2:///dev/video0
main debug: v4l2:///dev/video0 is at 2
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'v4l2:///dev/video0'
main debug: thread started
main debug: selected subtitle language[0] fi
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path '/tmp'
main debug: thread (input) created at priority 10 (input/input.c:230)
qt4 debug: IM: Setting an input
qt4 debug: Updating the geometry
qt4 debug: size: 111 - 357
qt4 debug: sizeHint: 111 - 349
qt4 debug: Updating the geometry
qt4 debug: size: 111 - 357
qt4 debug: sizeHint: 111 - 349
main debug: `v4l2:///dev/video0' gives access `v4l2' demux `' path `/dev/video0'
main debug: creating demux: access='v4l2' demux='' path='/dev/video0'
main debug: looking for access_demux module: 1 candidate
v4l2 debug: Trying direct kernel v4l2
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: Video WebCam using driver: uvcvideo (version: 0.1.0) on usb-0000:00:1d.7-8
v4l2 debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: ( ) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma YUYV [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: '/dev/video0' is a video device
v4l2 error: invalid tuner 0.
v4l2 debug: Trying libv4l2 wrapper
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: Video WebCam using driver: uvcvideo (version: 0.1.0) on usb-0000:00:1d.7-8
v4l2 debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma YUYV [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma RV24 [RGB3, RGB3]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma RV24 [BGR3, BGR3]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma I420 [YU12, YU12]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma YV12 [YV12, YV12]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: '/dev/video0' is a video device
v4l2 error: invalid tuner 0.
main warning: no access_demux module matching "v4l2" could be loaded
main debug: TIMER module_need() : 10,649 ms - Total 10,649 ms / 1 intvls (Avg 10,649 ms)
main debug: creating access 'v4l2' path='/dev/video0'
main debug: looking for access module: 1 candidate
v4l2 debug: Trying direct kernel v4l2
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: Video WebCam using driver: uvcvideo (version: 0.1.0) on usb-0000:00:1d.7-8
v4l2 debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: ( ) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma YUYV [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: '/dev/video0' is a video device
v4l2 error: invalid tuner 0.
v4l2 debug: Trying libv4l2 wrapper
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: Video WebCam using driver: uvcvideo (version: 0.1.0) on usb-0000:00:1d.7-8
v4l2 debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma YUYV [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma RV24 [RGB3, RGB3]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma RV24 [BGR3, BGR3]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma I420 [YU12, YU12]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: device supports chroma YV12 [YV12, YV12]
v4l2 debug:     device supports size 640x480
v4l2 debug:     device supports size 352x288
v4l2 debug:     device supports size 320x240
v4l2 debug:     device supports size 176x144
v4l2 debug:     device supports size 160x120
v4l2 debug: '/dev/video0' is a video device
v4l2 error: invalid tuner 0.
main warning: no access module matching "v4l2" could be loaded
main debug: TIMER module_need() : 8,793 ms - Total 8,793 ms / 1 intvls (Avg 8,793 ms)
main error: open of `v4l2:///dev/video0' failed: (null)
main debug: thread ended
main debug: dead input
main debug: changing item without a request (current 2/3)
main debug: nothing to play
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: size: 111 - 357
qt4 debug: sizeHint: 111 - 349
qt4 debug: Updating the geometry
qt4 debug: size: 111 - 357
qt4 debug: sizeHint: 111 - 349
main debug: Destroying the input for 'v4l2:///dev/video0'
main debug: TIMER input launching for 'v4l2:///dev/video0' : 81,742 ms - Total 81,742 ms / 1 intvls (Avg 81,742 ms)
HP Pavilion15-p076no, Tumbleweed 64bit Plasma
Asus Prime X570P, AMD Ryzen 5 3600, 32GT, GeForce RTX2080, Tumbleweed 64bit Plasma

Poissa jkaija

  • Jäsen
  • Viestejä: 551
  • Sukupuoli: Mies
    • OtaNetti
Vs: webcam vlc v4l
« Vastaus #3 : 15.11.2009 - klo:22:52 »
Hmmmm.. motv toimii myös ???
HP Pavilion15-p076no, Tumbleweed 64bit Plasma
Asus Prime X570P, AMD Ryzen 5 3600, 32GT, GeForce RTX2080, Tumbleweed 64bit Plasma

Poissa harmie

  • Valvoja
  • *
  • Viestejä: 2768
  • Sukupuoli: Mies
Vs: webcam vlc v4l
« Vastaus #4 : 16.11.2009 - klo:10:29 »
Minun kamera tarvitsee libv4l paketin toimiakseen.
Pelkkä paketin asennus tosin ei riitä vaan pitää ladata polkuun myös nuo kirjastot.

MUOKATTU: olin laittanut väärän polun.

Kokeile tätä. Asenna paketti jos ei ole asennettu.
Koodia: [Valitse]
export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so
vlc
« Viimeksi muokattu: 17.11.2009 - klo:09:00 kirjoittanut harmie »