Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam kamerę analogową. Jak na linuxe przegrać z niej film na komputer. Na Windows XP wystarczyło zainstalować sterowniki z strony prodcenta i była wykrywana przez komputer jako urządzenie USB i można było normalnie przechwycić obraz i dźwięk np. w WMP.
Offline
Podłącz kamerę i pokaż
lsusb
Offline
adao1003@debian:~$ lsusb Bus 004 Device 002: ID 062a:4101 Creative Labs Bus 005 Device 002: ID 054c:00c0 Sony Corp. Handycam DCR-30 Bus 006 Device 003: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
ta kamera to sony dcr-trv255e
Ostatnio edytowany przez adao1003 (2013-07-12 11:31:29)
Offline
Bus 005 Device 002: ID 054c:00c0 Sony Corp. Handycam DCR-30
Chyba to.
Pokaż
lsmod
oraz
ls /dev | grep video
Offline
adao1003@debian:~$ lsmod Module Size Used by snd_usb_audio 105996 1 snd_usbmidi_lib 23337 1 snd_usb_audio snd_seq_midi 12848 0 snd_seq_midi_event 13316 1 snd_seq_midi snd_rawmidi 23034 2 snd_usbmidi_lib,snd_seq_midi parport_pc 22409 0 ppdev 12763 0 lp 13064 0 parport 31901 3 lp,ppdev,parport_pc bnep 17574 2 rfcomm 33696 0 pci_stub 12429 1 vboxpci 19094 0 vboxnetadp 25443 0 vboxnetflt 23648 0 vboxdrv 217306 3 vboxnetadp,vboxnetflt,vboxpci binfmt_misc 12957 1 uinput 17478 1 nfsd 192109 2 auth_rpcgss 29398 1 nfsd nfs_acl 12511 1 nfsd nfs 110092 0 lockd 59673 2 nfs,nfsd dns_resolver 12641 1 nfs fscache 37519 1 nfs sunrpc 164563 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl loop 22908 0 fuse 67160 1 uvcvideo 66788 0 videobuf2_vmalloc 12860 1 uvcvideo videobuf2_memops 12519 1 videobuf2_vmalloc videobuf2_core 31098 1 uvcvideo videodev 92442 2 uvcvideo,videobuf2_core media 18184 2 uvcvideo,videodev btusb 17553 0 bluetooth 164803 11 bnep,btusb,rfcomm joydev 17317 0 snd_hda_codec_realtek 32006 1 arc4 12543 2 iwl3945 50942 0 radeon 638890 2 ttm 54446 1 radeon drm_kms_helper 31837 1 radeon drm 208239 4 ttm,drm_kms_helper,radeon acer_wmi 30231 0 sparse_keymap 12760 1 acer_wmi i2c_algo_bit 12841 1 radeon iwlegacy 47403 1 iwl3945 mac80211 386825 2 iwl3945,iwlegacy cfg80211 366201 3 iwl3945,iwlegacy,mac80211 r852 17805 0 sm_common 16493 1 r852 nand 48468 2 r852,sm_common nand_ecc 12487 1 nand iTCO_wdt 12831 0 iTCO_vendor_support 12704 1 iTCO_wdt coretemp 12854 0 acpi_cpufreq 13317 0 mperf 12453 1 acpi_cpufreq nand_ids 12313 1 nand r592 17830 0 mtd 25124 2 nand,sm_common memstick 13740 1 r592 ir_lirc_codec 12717 0 i2c_i801 17045 0 snd_hda_intel 35753 5 snd_hda_codec 118600 2 snd_hda_codec_realtek,snd_hda_intel rfkill 19159 5 cfg80211,acer_wmi,bluetooth psmouse 70596 0 i2c_core 24040 6 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon,videodev pcspkr 12632 0 ir_rc5_decoder 12433 0 ir_nec_decoder 12433 0 ir_mce_kbd_decoder 12615 0 ir_jvc_decoder 12433 0 lirc_dev 12939 1 ir_lirc_codec ir_sony_decoder 12435 0 ir_sanyo_decoder 12437 0 ir_rc6_decoder 12466 0 serio_raw 12940 0 snd_hwdep 13189 2 snd_usb_audio,snd_hda_codec snd_pcm 68523 4 snd_usb_audio,snd_hda_codec,snd_hda_intel rc_rc6_mce 12396 0 snd_page_alloc 13018 2 snd_pcm,snd_hda_intel ene_ir 17759 0 lpc_ich 16757 0 rc_core 18344 11 ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,ene_ir,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder,rc_rc6_mce snd_seq 45225 2 snd_seq_midi_event,snd_seq_midi snd_seq_device 13176 3 snd_seq,snd_rawmidi,snd_seq_midi ac 12624 0 processor 28422 3 acpi_cpufreq battery 13146 0 video 17686 1 acer_wmi mfd_core 12601 1 lpc_ich snd_timer 22812 2 snd_pcm,snd_seq wmi 13243 1 acer_wmi snd 53077 22 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device microcode 30413 0 button 12944 0 evdev 17650 27 soundcore 13026 1 snd hid_generic 12393 0 usbhid 40792 0 hid 81763 2 hid_generic,usbhid ext4 410146 2 crc16 12343 2 ext4,bluetooth jbd2 76715 1 ext4 mbcache 13082 1 ext4 sg 26095 0 sr_mod 21988 0 cdrom 35212 1 sr_mod sd_mod 40549 4 crc_t10dif 12348 1 sd_mod ata_generic 12490 0 fan 12681 0 thermal 17468 0 thermal_sys 22879 4 fan,video,thermal,processor sdhci_pci 17847 0 sdhci 27242 1 sdhci_pci mmc_core 77725 2 sdhci,sdhci_pci firewire_ohci 31931 0 tg3 128907 0 ptp 13403 1 tg3 pps_core 13271 1 ptp ahci 25148 3 libahci 23136 1 ahci ata_piix 29671 0 uhci_hcd 26976 0 ehci_pci 12472 0 ehci_hcd 40464 1 ehci_pci firewire_core 49206 1 firewire_ohci crc_itu_t 12347 1 firewire_core libphy 23687 1 tg3 libata 141721 4 ahci,libahci,ata_generic,ata_piix usbcore 134791 8 btusb,uhci_hcd,snd_usb_audio,uvcvideo,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid usb_common 12354 1 usbcore scsi_mod 158517 4 sg,libata,sd_mod,sr_mod
adao1003@debian:~$ ls /dev | grep video video0
to video0 to kamerka internetowa. A kamerę wykrywa jako mikrofon.
Offline
Pokaż jeszcze
lsusb -t
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00129 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.142.196.0' WHERE u.id=1 |
0.00066 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.142.196.0', 1734062243) |
0.00038 | SELECT * FROM punbb_online WHERE logged<1734061943 |
0.00069 | DELETE FROM punbb_online WHERE ident='85.208.96.202' |
0.00024 | SELECT topic_id FROM punbb_posts WHERE id=236893 |
0.00027 | SELECT id FROM punbb_posts WHERE topic_id=23913 ORDER BY posted |
0.00030 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=23913 AND t.moved_to IS NULL |
0.00022 | SELECT search_for, replace_with FROM punbb_censoring |
0.00049 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=23913 ORDER BY p.id LIMIT 0,25 |
0.00104 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=23913 |
Total query time: 0.00572 s |