General TC > Tiny Core Netbooks

Built-in webcam was not initialized

<< < (2/4) > >>

cute curtis:
how?

cute curtis:

--- Code: ---tc@box:~$ v4l2-ctl -D --info
Driver Info:
        Driver name      : uvcvideo
        Card type        : WebCam SC-0311139N
        Bus info         : usb-0000:00:1d.7-8
        Driver version   : 5.4.3
        Capabilities     : 0x84a00001
                Video Capture
                Metadata Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
tc@box:~$ modprobe uvcvideo
tc@box:~$ ls -l /dev/ | grep video
crw-rw----    1 root     staff      81,   0 Dec 30 13:30 video0
crw-rw----    1 root     staff      81,   1 Dec 30 13:30 video1
tc@box:~$ dmesg | grep uvc
uvcvideo: Found UVC 1.00 device WebCam SC-0311139N (2232:1020)
uvcvideo 1-8:1.0: Entity type for entity Processing 3 was not initialized!
uvcvideo 1-8:1.0: Entity type for entity Extension 2 was not initialized!
uvcvideo 1-8:1.0: Entity type for entity Camera 1 was not initialized!
usbcore: registered new interface driver uvcvideo
tc@box:~$ tce-load -i usbutils.tcz
libusb.tcz: OK
usbutils.tcz: OK
tc@box:~$ modprobe uvcvideo
tc@box:~$ ls -l /dev/ | grep uvc
tc@box:~$ dmesg | grep uvc
uvcvideo: Found UVC 1.00 device WebCam SC-0311139N (2232:1020)
uvcvideo 1-8:1.0: Entity type for entity Processing 3 was not initialized!
uvcvideo 1-8:1.0: Entity type for entity Extension 2 was not initialized!
uvcvideo 1-8:1.0: Entity type for entity Camera 1 was not initialized!
usbcore: registered new interface driver uvcvideo

--- End code ---

Juanito:
You should be able to use ffmpeg, guvcview or cheese to access your webcam.

With ffmpeg, something like:
--- Code: ---$ ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0
--- End code ---

cute curtis:
@juanito

--- Code: ---tc@box:~$ ffmpeg
sh: ffmpeg: not found
tc@box:~$ ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0
sh: ffmpeg: not found
tc@box:~$ tce-load -i usbutils.tcz
libusb.tcz: OK
usbutils.tcz: OK
tc@box:~$ modprobe uvcvideo
tc@box:~$ ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.0 (GCC)
  configuration: --prefix=/usr/local --disable-static --enable-gpl --enable-vers     ion3 --enable-shared --disable-debug --disable-doc --enable-bzlib --enable-fontc     onfig --enable-libass --enable-libfreetype --enable-libpulse --enable-libspeex -     -enable-libtheora --enable-libvorbis --enable-zlib --enable-libmp3lame --enable-     libv4l2 --enable-libvpx --enable-vdpau --enable-libx264 --enable-libwebp --enabl     e-libpulse --enable-libspeex --enable-libbluray --enable-libcdio --enable-libxvi     d --enable-libopus --enable-libx265 --enable-openal --enable-lto --enable-librsv     g --enable-gnutls --enable-avresample
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 466.185941, bitrate: 147456 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 k     b/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
At least one output file must be specified

--- End code ---

I'm trying to get skype before I have already chosen all options

--- Code: ---Please check the serviceability of Internet connection
Otherwise need to tell the maintainer about this issue

Would be offered the last known Skype version 4.0.0.8
Press any key to continue...

Choose Skype version for installation

    1) Current Skype 4.0.0.8
    2) Current Skype 4.0.0.8 (Static)
    3) Old stable Skype 2.2.0.35
    4) Old stable Skype 2.2.0.35 (Static)
    5) Eldest stable Skype 2.0.0.72 (OSS)

    Q) Quit installation

Please make selection (1 - 5 or Quit)

Is selected Skype 2.0 OSS (2.0.0.72-oss)
Press any key to continue...

Downloading skype_static-2.0.0.72-oss.tar.bz2
ERROR: Downloading skype_static-2.0.0.72-oss.tar.bz2 failed
Press any key to exit...

--- End code ---

Juanito:
You could try:
--- Code: ---$ ffmpeg -f video4linux2 -input_format h264 -i /dev/video0 out.h264
$ ffplay out.h264
--- End code ---

Edit: with gtk3 loaded, this shows the webcam directly:
--- Code: ---$ ffplay -f video4linux2 -video_size 640x480 -i /dev/video0
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version