General :: Piping Video Device Over SSH Or Tcptunnel ?
Aug 11, 2011
I want to attach an analog camera to an old linux computer and directly pipe the /dev/video0 to another computer, where I can use it as a device again (so /dev/video0 should go to /dev/remote0, for example)
(Reason for doing this is that the computer does not have enough power to encode the video)
Is that possible? I've seen people can pipe the data directly from the device over ssh into mplayer, but I need to have some sort of reference point for Zoneminder.
View 2 Replies
ADVERTISEMENT
Aug 21, 2010
I am setting up rsyncrypto to create a backup of my user directory. I read that to exclude directories I need to exclude with find and pipe to rsyncrypto.
I am trying to exclude all .svn directories from getting encrypted and synced.
Here is the find command I'm using. I don't see any .svn directories in the output:
find ~/Documents -type d ( -name .svn ) -prune -o -print
But when I pipe the output to rsyncrypto I see lots of .svn directories getting encrypted.
find ~/Documents -type d ( -name .svn ) -prune -o -print | rsyncrypto -vc --trim=3 --filelist - /tmp/Documents/ Documents.keys backup.crt
rewrite the command to exclude from rsyncrypto any files/folders that have .svn in their path?
View 1 Replies
View Related
May 16, 2011
I have the following code
Code:
ls ~/ | grep ^[[:lower:]]
and would like to take the result of this output and use this as the basis for a cp command to move these files to another folder.
View 3 Replies
View Related
Oct 31, 2010
kernel 2.6, slackware 12.0mkisofs 2.01If I do 'ls --help|more' all's well. 'mkisofs --help' outputs its help screen, and I can use Shift+PgUp/PgDn to scroll through it. But I can neither pipe it to more or to less, nor redirect it to some file. more is simply ignored. Less, gets into less but only the last screenful is seen. Redirection, i.e. 'mkisofs --help>john.txt' produces an empty file (size= 0).
View 2 Replies
View Related
Feb 11, 2011
Let's say I have a bash script called log.sh. In this script, I want to read in input from a pipe, but I also want to know the command used to pipe input into me. Example:
tail -f /var/log/httpd/error | log.sh
In the shell script, I want to know the command tail -f /var/log/httpd/error.
View 2 Replies
View Related
Feb 15, 2011
I am sure this has been covered before, however I do not know which terms to sue for searching for this, so I will try and explain it.
I have a program that I run at startup to connect me to my work VPN, specifically the Cisco VPN client. When running the program, it prompts me for my username and password. I would like to be able to automate the login process by piping the username and password into the program everytime it starts up (username and password cannot be passed as arguments to the program)
Something like echo username | echo password | vpn_script
View 2 Replies
View Related
Mar 29, 2011
I remember there was a command that would allow me to pipe data to an app and the use the | operator to pipe it into yet another app.
foo fooArg | Iforget app1 | app2
I forget what this command is but it pipes the data from foo into app1 and app2.
View 3 Replies
View Related
Mar 20, 2010
Is there any way to pipe video from the screen to a video device that can be used as if it came from a webcam? I assume it uses udev somehow...
View 4 Replies
View Related
Aug 6, 2010
I have my .procmailrc file set up to pipe mail to a simple php script I've written. The only thing the script does at this point is echo back a "hello" message. However, procmail does not execute the script properly.
View 1 Replies
View Related
Dec 16, 2010
I have a bash script that I want to import in to Python, mainly just to see if I can or not. However in the script I do use some piping of commands into sed to trim it down to what I need. When I tried doing it with the os.system() call, it didn't work. The exact error is
sed: -e expression #1, char 16: unterminated `s' command
However the command that was run can be run in bash without an error. Is there a better/another way to do this? For reference the command is:
Code:
locate -n 1 wp-config.php | sed 's/wp-config.php/
/g' | sed '/wp-config.php/ d' | sed '/^$/ d'
View 3 Replies
View Related
Jan 10, 2010
New to ubuntu and shell scripting in general... currently I stored some data into a text file. Right now, I would like to output the data from the text file and store it into a variable. Here's what I have so far:
READ_FILE=$(cat $FILE_NAME)
This definitely works and READ_FILE has the necessary data. However, this command will trigger an output to std output and I will see data on the screen, which is not what I want. I tried:
cat $FILE_NAME | $READ_FILE
and various other variants of this. It does not output to std output but neither does anything gets stored into $READ_FILE. I tried:
cat $FILE_NAME >> $READ_FILE
and it arrived at an error of "ambiguous redirect".
View 12 Replies
View Related
May 8, 2010
some days ago I upgraded to Ubuntu 10.04 and now I have a problem with my webcam. I like to use chatroulette and mebeam, therefore I have to use programs like webcamstudio/flashcam... (Flash does not accept the normal cam device v4l2 and webcamstudio puts it to v4l loopback). The problem is that Ubuntu is detecting only v4l2 and not v4l, so that I don't have an output device in webcamstudio.
When I type:
ls -l /dev/video*
the answer is only:
crw-rw----+ 1 root video 81, 0 2010-05-08 17:59 /dev/video0
and nothing more
how I can create a second video device for flash.
View 7 Replies
View Related
Apr 30, 2010
how would you go about piping the output of the shell to notify-osd?
View 5 Replies
View Related
Jan 7, 2011
I'm trying to pipe from a textfile to sendmail.The command I'm using on teh sendmail server is:[root@sendmail-server test]# sendmail to-email-address@relay_server-address < test2.txt.I'm doing this because I was doing this from an aliases file just fine until about three weeks ago. The aliases file suddenly stopped working after the relay server received an inordinate amount of email from the From: address and for the To: address.
View 7 Replies
View Related
May 12, 2010
I am looking for an alternative to cat for streaming the output (ATSC) of a dvb card to a file. cat works fine for a bit but there is some internal variable that reaches a size limit and stops it. As evident by the c error "variable has reached size limit" (sorry for the paraphrase I do not have the error in front of me.) That is ok, a co worker who knows c told me the best thing to do is to find some other utility to do this. cat /dev/dvb/adapter0 > test.mpg is what I am looking to replace. how to pipe this into some sort of compression utility.
View 4 Replies
View Related
Aug 6, 2010
I have my .procmailrc file set up to pipe mail to a simple php script I've written. The only thing the script does at this point is echo back a "hello" message. However, procmail does not execute the script properly.
Here's my script (/home/webs/site.com/scripts/echo.php):
#!/usr/local/bin/php
<?php
echo "hi.";
?>
View 3 Replies
View Related
Jul 29, 2010
I am trying to install the video driver for my hp a1010n. The video device is a 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics. I have seen a few sites that have referenced this but they were not written for new users and I could not figure out how to install it. I am fairly adept at usage of computers (mostly Windows OS) but am not yet familiar with Ubuntu so I am aware of the absolute basics... I am just not sure what commands to use in the terminal and etc.. I am running Ubuntu 10.04 LTS
View 2 Replies
View Related
Sep 3, 2010
I am trying desperately to create a virtual video device (v4l2), meaning something like /dev/video0 that when accessing it (say, with xawtv or whatever) I get a certain video file played.
I am trying to do this with vloopback. After doing modprobe vloopback, the vloopback input device declared is /dev/video0 and the output device is /dev/video1.
I am trying to do this:
Code:
mencoder vid.avi -nosound -vf scale=320:240 -ovc raw -of rawvideo -o /dev/video0
and then to view the movie with this:
Code:
xawtv -c /dev/video1
[Code].....
View 1 Replies
View Related
Aug 11, 2011
i have this problem i install android sdk, and i install libreries: libstdc++5, lib32stdc++6, lib32ncurses5 and libstdl1.2-dev,
now if i use ldd comand don't have problem, but when i use eclipse and i compile a simple example (hello word example), i have this
error: [Emulator] SDL init failure, reason is: No available video device i have a notebook toshiba satellite A300-1RI whit ATI Radeon 3650, i install the amd driver and all work well.
View 1 Replies
View Related
Jan 10, 2010
So my Microsoft Lifecam NX-3000 used to work with 9.04, but I can't seem to get anything from it now (Xubuntu 9.10). It still shows up fine when i enter lsusb, but it won't show up as a video device anywhere else. I have faith that this bug is a simple fix for someone who knows what they're doing, but unfortunately I don't. If it's relevant this is on my aging Toshiba Satellite.
View 4 Replies
View Related
Jun 22, 2010
Iam on Lucid Lynx using gpodder 2.2 from the ubuntu repo
When I attempt to sync my Ipod video, I get cannot open device.
Gpodder shows in the additional components everything is available.
View 4 Replies
View Related
Dec 18, 2010
I've made a lot of progress getting my easycap 2.0 usb capture device to work with ubuntu 10.10. I've got the picture up any everything works great. But about a minute into the stream it just freezes, I need to go into "playback" and either pause then play, or click "next", it then refreshes and works again for another minute or so. I'd believe it if someone says faulty hardware because the easycap is cheap, but I don't think that's the case. Additionally, is there any way to set VLC so that when I open it, it automatically opens with my video capture device (/dev/video0) so that I don't have to go into the options and change it every time?
View 1 Replies
View Related
Feb 24, 2011
I'm getting some jitter when capturing via RCA or S-Video from an em28xx device. Input type is PAL, other than that I haven't fiddled with mplayer or vlc's options (vlc only sees the RCA input, mplayer sees both)
View 1 Replies
View Related
Nov 11, 2010
I want to pipe the output of a command into grep as the search TERM, rather than the text to be searched, like this for example
Code:
cat /var/log/auth.log | grep date "&b &d"
so that I only see the lines in auth.log for the current day...but obviously that line doesn't work.... is there a way to do this with grep, or even another command?
View 4 Replies
View Related
Jun 22, 2011
I have a GPS device which sends in data on port number 5000, i am able to capture the data into a pcap file using tcpdump. Now my problem is, i need to pipe the data into a text file as and when data arrives into the pcap file continuously.I did extensive search, but to no avail. been trying to solve this for the past 3 days. I use the following commands to capture and pipe the data, but that happens only once when i issue the command. I want this to happen continuously as and when the data arrives.
View 1 Replies
View Related
Feb 4, 2010
Has anyone ever built a dvr type video recording device for security purposes? With multiple cameras recording?
View 1 Replies
View Related
Sep 25, 2010
In Ubuntu 9.10, I was successfully able to use my Pinnacle Dazzle DVC 100 (a cheap USB analog video capture device). I use it for backing up old video that is stored on tapes, and it isn't working with my current install of Ubuntu 10.04. When I plug the device in, it should be detected and the em28xx module should be loaded. This fails and /var/log/messages has the following:
Code:
Sep 25 16:13:18 kernel: [1196215.111898] usb 2-2: new high speed USB device using ehci_hcd and address 20
Sep 25 16:13:18 kernel: [1196215.266097] usb 2-2: configuration #1 chosen from 1 choice
[code]....
View 3 Replies
View Related
Sep 5, 2010
i'm building a dictionary with a bash script. it works perfect except i'd prefer something faster. btw i'm just piping the output to a file.
[Code]...
View 1 Replies
View Related
Aug 23, 2011
I've bought an X10 Home Automation USB interface: the CM15.
This is the information lsusb gives:
skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
But this tells me nothing about where the device file is! How can I find that, or create one myself?
View 1 Replies
View Related
Jan 24, 2010
I'm making an attempt to install drivers for my easycap dc60 USB video capture device. Someone was good enough to make a driver project on sourceforge. Problem is I cannot get it compiled.
Code:
Building
make[1]: Entering directory `/home/jan-bart/Download/easycap_dc60.0.4/src'
make -C /usr/src/linux-headers-`uname -r` M=/home/jan-bart/Download/easycap_dc60.0.4/src modules
make: Entering an unknown directory
make: *** /usr/src/linux-headers-2.6.31.8-0.1-desktop: No such file or directory. Stop.
make: Leaving an unknown directory
[Code]...
View 5 Replies
View Related