Ubuntu Multimedia :: 2 Capture Cards Result In Bad /dev/video0 And /dev/video1 Output
Oct 3, 2010
I have 3 old video capture cards which I would like to use for CCTV. Each card supports 1 camera. So I would like to have 3 cameras setup in the end and monitor them with zoneminder. When each card is plugged in on it's own, it works fine. Video comes through clearly with xawtv and zoneminder. However as soon as I plug in a 2nd card (with or without a camera connected) the output in xawtv and zoneminder goes haywire. It looks like the 2nd card takes over the first card, resulting in majority of the picture coming from the 2nd card, and some (if any) from the 1st card. When viewing either of the two cards /dev/video0 or /dev/video1 in xawtv the output is identical. I've tried this on a fresh 10.04 Ubuntu install, and on an older MythTV debian computer, the same results. Here are lspci -vv outputs with 2 combinations of cards (same fuzzy output):
[URL]
My thoughts are because the capture cards are cheap (similar to winmodems), the problem may be in the software kernel modules not allowing room for other similar capture cards to run at the same time. Can anyone suggest me in the right direction? Do I need to setup some sort of memory allocation for each card manually? Something in the BIOS? An extra option when the card modules are loaded?
I have a TV Card and a webcam connected to my computer. I've noticed that after a restart the TV Card capture device is /dev/video1 (while other times it's /dev/video0). When the device changes I have to update my tvtime.xml, which is a hassle.How can I force the capture device to be /dev/video0 and the webcam to /dev/video1?
Seemingly at random when I reboot my PC which I do every now and then, when I get it back up and running it will sometimes have switched my video card from using /dev/video1 to /dev/video0 or vice versa. It's not a huge deal but it is slightly annoying and I would like to understand why it does it and how I can stop it from flip flopping.
Not sure what you need to know in order to answer but I use 9.10, gnome 2.28.1, the video card is a Hauppauge 150 PVR something.
I downloaded camE and camorama in hope of controling my webcam's framerate for skype because right now it's 24-30 which gives me dark video. But if I lower the frame rate to something like 10, the video magically brightens. camE doesn't do anything..like it turns on my webcam and does some ftp..fails..turns of my webcam ..back to normal. Camorama can't connect to my webcame. Cheese, guvideo are successfully able to conect to my webcam and play around with it.What I want to do is edit my /dev/video0 or some file from where I can fix the framerate for skype.
I have a 'Gadget Geek VHS to DVD maker' USB device that takes analogue video in (composite) and plugs into the computer via USB.
Here is the output of lsuss (it's the eMPIA one):
Code:
Now this is essentially as far as I get, DBUS just says the following when I plug it in:
Code:
What I want to be able to do is open the (theoretical) output stream it produces in vlc and record it from there. Then I run into my next issue. There is no video* folder or link or file in my /dev directory and I can't stream video directly from the appropriate 'special file' inside /dev/bus/usb/00*/00*
Although my webcam is identified. I cant get my webcam to work. gstreamer-properties complains - Video for Linux 2 (v4l2): Cannot identify device '/dev/video0' when testing. I have installed packages suggested by sticky.
I have a usb webcam (off brand). When installed, /dev/video0 is properly created and I can access the webcam through cheese as a regular user.
Code: crw-rw----+ 1 root video 81, 0 2010-12-31 16:00 /dev/video0
The regular user is already a member of the video group, and I have checked all permissions under System->Admin->User/Groups->Advanced.
However, when as this regular user, I go to a website that tries to access my webcam via flash (ie, chatroulette or omegle), it does not detect the cam. (Firefox 3.6.13 with Flash 10)
I've already set the LD_PRELOAD as suggested elsewhere.
HOWEVER, if I LD_PRELOAD and run Firefox as root, all works fine and the flash plugin sees the webcam.
I am trying to write a script to access sqlplus and use the output to replace the result in another file. But I am having some issues with it (This script is just a test script and I am just trying to print the updated value.
#!/bin/bash I am not able to post the sqlplus connection, but it works. bb=$a
I am trying to write a script to access sqlplus and use the output to replace the result in another file. But I am having some issues with it (This script is just a test script and I am just trying to print the updated value.
if I'm posting to the wrong forum. Be so kind to tell me where to better ask this question, as I'm really not finding the right words to google for.So, I have a shell application (fdb) which is a Flash debugger. I want to run it using bash script, capture it's output and pass it the commands (it can read from STDIN). The reason I want to do so is that Flash Builder (the IDE for Flash development) is plain stupid when it comes to compilation, and it won't allow me to compile any file in the project... so, I found out that I can make Eclipse to run an external tool. This external tool is my *.sh file whichches the compiler, and then it launches the debugger.The Eclipse console can display the compilation results, or errors. When I run the debugger it can even pass the input from Eclipse console to the debugger, however, the output from the debugger isn't shown.
I have this file:Code:vid-gd-19940626-peggy.rmI would like to extract the audio and copy to a file to burn on a CD.'pitivi' will load the file and show the audio timeline. But I can not find a save or copy button.'vlc' will play the file but I can not find how to seperate/save the audio.I found a 'ffmpeg' that is suppose to read whatever is being sent to your speakers.Code:ffmpeg -f oss -i /dev/dsp -f video4linux2 out.wavThis produce a file that 'mplayer', 'vlc', 'audacity' will load but it is empty of useful data. Black screen only.This is the second week I have worked on this. Either I'm googling for the wrong words or what I'm reading, I don't understand.
In synaptic package manager when I expand "Details" tab (at the time when some software is installed or removed), I can see a terminal. I want to capture the output of terminal into a file. I tried to highlight and right click. But there is no context menu(copy, cut)
I have a script that generates a bunch of output, including the expansions details provided by: set -v -xI am trying to pipe everything that is displayed to a file, in addition to displaying it on the screen. I've managed to get stderr and stdout into the file, but the expansions are only printed to the screen. Here is what I have so far:sudo -u <user> source my_job.sh |tee my_log.txt 2>&1
I recently acquired an HP Pavilion 7845 and have since installed XUbuntu on it. The onboard video, which is shared with the main system memory, is OK. But I am wondering if there are any compatible PCI video cards (possibly with DVI output) so that I can use it with a 32-inch LCD TV I have.
I would really like to capture the output of scp and my file's progress. Scp updates the transfer rate every 1 second, and I will like to save the transfer rate at every update. So for example, if the file transfer takes 30 seconds, I would like 30 reports of the transfer rate.
The output looks like: Code: file.dat 1% 3664KB 938.5KB/s 05:48
Whenever I try a simple redirect like: Code: scp file.dat 192.168.1.100:~/ &> output ... it does not save the rate at every update, it only shows the final rate.
If I try using typescript by starting "script" ... it's the same deal.
I'm trying to record my desktop and tested some solutions. While I was impressed how small .mng files could be, it is a disadvantage that I can't capture audio with it and many users won't be able to open these (browser / Windows). I have been very impressed by the xvidcap instruction videos: 4:30 in only 9MB, which makes 180MB for 90 minutes. This would be suitable. With Camtasia my professor even records 90min in 100MB. The problem is that xvidcap hasn't been updated since 2006 and seems to be dead. RecordMyDesktop needs 6MB for 1 minute or 540MB for 90 minutes, which is too much. Could anybody give me some hints on how to capture very small video files, which are still clear enough to read text in a format most users can open? It would also be cool to be able to show specific PDF or HTML pages synchronised to the video.
Running 10.10 and win 7 on my HP dv6-2150us laptop and I'm having a few issues.
First how do I get HDMI audio output to my TV? I think I have just a integrated Intel graphics card. It works fine in windows but I can't seem to get it to work in Ubuntu. I tried searching but couldn't find anything pertaining to this issue.
I really am a great fan of Songbird, but there's one thing that keeps annoying me: searching my music collection. I have about 12k songs (67GB) in my library, and using the search bar is pretty much a disaster: whatever I type it takes ages to come up with something, and if I delete any of the written to enter something new it hangs for like five minutes. This sort of forced me to look for specific songs myself or just keep it going on shuffle, none of which is a good solution. I believe the problem is that songbird searches after every single typed character instead of waiting until I'm finished, which is a cool feature with smaller amounts of data to look through, but in my case it's just annoying and pointless. How to disable this feature? I am using Songbird 1.2.0, Build 1146.
On both Karmic Koala as well as Lucid Lynx, I am having massive problems getting my nvidia card to register properly. I am on an Acer Aspire 5953 laptop pc with a Gt130m discrete GPU in a hybrid installation with an onboard GPU.Freshly installed, both 9.10 and 10.04 runs smoothly, I can enable desktop effects, I can even see the screensavers that run openGL - although they run laggily in fullscreen, since they're obviously using the onboard, and very weak, GPU.The problem however, appears whenever I install the suggested NVIDIA drivers that Ubuntu finds for me - after doing this, I am asked to reboot the system and on both systems, I am treated to a black screen, instead of a login-screen. The only way to get the system up and running again, I have found, is boot in fail safe mode and edit /etc/X11/xorg.conf, erasing everything. This lets me boot back up in a regular mode.
When I check the logs, both the onboard GPU and the gt130m GPU is located, the onboard as PCI:0:0:2:0 and the nvidia gt130m discrete gpu as PCI:0:1:0:0 - I have tried adding BusID: ("PCI:0:1:0:0") to the xorg.conf, too, to no avail. I am continously treated to the black screen (a flicker at most) and the logs always tells me that no xserver could find no screens.So far, I have only been installing Ubuntu inside windows - I am hesitating to install on a fresh drive, since I am afraid of the nvidia black screen putting me in a position where I can't access the system. Is it possible that the fact that I install ubuntu inside windows might somehow affect Linux's capability of accessing my discrete GPU?
I am sure that this is very simple but I have installed sound juicer and the gstreamer plug ins. The problem is i still cannot select MP3 as an output output option
I have a dns server started with 2 NIC Cards in it. The bios sees both cards but they both dont show in ifconfig. is there a way to activate the second card?
I'm just not getting anywhere here after 12 - 15 hours of googling last 3 days.I'm linked out, and linked back, almost into a do-loop, just like a boomerang, and still no vids...