Ubuntu Multimedia :: Capturing Output With Luvcview?
Jan 7, 2010
According to 'man luvcview', if I do this:
Code:
luvcview -o testvid.avi
then luvcview should capture the video to the .avi file. However, when I try it, no output file is created. Grabbing a raw stream or raw frames works fine, but not the creation of AVI files. Am I missing something?
View 6 Replies
ADVERTISEMENT
Jul 20, 2011
I've made a simple php wrapper around scp. It works fine, but unlike when I run the scp command straight from the console, there is no output returned. I've tried using passthru(), exec(), system() and shell_exec(), all to no avail. I'm redirecting stderr to stdout already.
For example:
PHP Code:
<?php
$command = "scp -C -r $files $target 2>&1";
exec($command, $result);
print_r($result);
?>
Will scp the files correctly to the server, but doesn't print any output - $result is just an empty array. I'd like to see the output so I can visually confirm that the files have been transferred correctly.
View 1 Replies
View Related
Apr 17, 2010
I would like to capture all output spewed to a terminal session including processes that are terminated that were invoked from a script running in a terminal window. this is beyond capturing just stderr and stdout . for example
{
./script
} 2> stderr.cap 1>stdout.cap
if script is terminated (including because of memory violations) I get spewed output to the terminal I would like to capture that spewing to a file automatically or to a bit bucket /dev/null Is there another filehandle which can be redirected to do this? If so how or is there another way???
View 3 Replies
View Related
Aug 5, 2011
I run a 3rd party command line utility and it works fine, but sometimes it says "Error blah blah blah... Connection timed out"
I want to script this utility, but I need to not execute the commands in the script if it gives me that connection timeout error.
bash code to capture that response from the utility? Something along the lines of:
Quote:
#!/bin/bash
3rdpartyutil > /tmp/temp.txt
if [ ! -f /tmp/temp.txt]; then
echo no error, run whatever you need to man
fi
rm /tmp/temp.txt
Unfortunately, that doesn't work because the utility outputs non-error information to the screen even when it is successful, so it always outputs something, I never need to see it, but I do need to be able to act upon if some of that text says "error" or "connection timed out"
View 3 Replies
View Related
Sep 28, 2010
I have a file which contains a table
row1 ✔ no ✔ no
row2 no ✔ ✔ no
... so on
I want to prefix the number of ✔ to corresponding row If I use the command :.s/✔//gn I get output written like '2 matches on 1 line' How can I extract the '2 matches' in above case ?
View 11 Replies
View Related
Jun 2, 2011
I want local programmatic access to ssh output in Mac Terminal. First, I tried redirecting the output of each command to a file. The file was perfect, but of course it was on the remote server, and an sftp for each command output seemed a little.. Next, I tried to Applescript Terminal, but it only gives access to the currently visible text in a tab (i.e. if half the output has already scrolled out of sight, it doesn't get returned - useless).
Last, I tried piping ssh to tee (e.g. ssh user@host | tee output.txt). This almost worked. I have the output in a local file, but there are a lot of unwanted characters mixed in. For example, every time I hit backspace, there's a ^H in the file. There's also text like "[0m[K" which is harder to get rid of.
View 2 Replies
View Related
Feb 17, 2010
I've tried to look up different programs for this but can't find anything. I'd like to be able to open my recorder on Myspace for instance and capture any sound playing through my speakers. I used to have a little program for this, but its windows based and won't seem to install correctly in Wine.
View 5 Replies
View Related
Apr 8, 2011
I want to capture DV-video through IEE1394 (FireWire) with Kino and Ubuntu 10.10. Seems I can't capture... When I plug in the camera there is no hot plug message (if there should be one? I've read it should...). The DV-out on the camera is enabled There is no option to enable/disable the port in my BIOS.
Some information:
Code:
a~# lspci | grep 1394
07:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
Hope there are some command to check?
View 1 Replies
View Related
Sep 2, 2010
I've been trying for a while now to capture videos with my webcam of my samsung n110 netbook, I am running ubuntu 10.4 and cheese 2.30.1. I can take pictures fine, with effects and everything but when I press "start recording" the webcam seems to turn off or all I see is a black image, then when I press stop recording the camera picture comes back on and then the program freezes. I've tried turning down the resolution, I've tried all the possibilities in gstreamer-properties but nothing helped so far running from terminal didn't give me a clue on what the problem might be either. I would like cheese to work to have photo and video in one program but if someone has a good program to capture video I am willing to try it out.
View 8 Replies
View Related
Mar 1, 2011
I have a unlisted remote which I can't find a lircd.conf for. Have tried irrecord with a mceusb receiver and have had no success. I am running maverick on a fresh install. LIRC is install and functions correctly for MCE remote and sending dishnetwork ir codes. I have found the hex codes for it but have no idea what to do with them even if there is anything to do with them. My question is this, is there any other way to capture the remote codes other than irrecord? Is there a way to manually build the codes?
View 1 Replies
View Related
Jul 24, 2011
I am having problems with ffmpeg. My goal is to capture a video stream from my webcam and feed that into a webcam-capturing program. But to get that to work, I will need ffmpeg to work. I need the following command to work, but I get an error:
Code:
$ ffmpeg -b 100K -an -f video4linux2 -s 320x240 -r 10 -i $device -b 100K -f image2pipe -vcodec mjpeg - | perl -pi -e 's/\xFF\xD8/KIRSLESEP\xFF\xD8/ig'
ffmpeg: relocation error: /usr/lib/libavfilter.so.2: symbol avformat_find_stream_info, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference
View 1 Replies
View Related
Apr 29, 2010
I cant seem to get the sound working and when I click on perference then sounds and go to the output selection it has only dummy output as a option.
View 3 Replies
View Related
Mar 7, 2010
I installed KMplayer but I cant play video files...No video output but can get only the audio output...So how to make this work for videos?
View 2 Replies
View Related
Jan 25, 2011
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.
View 3 Replies
View Related
Jan 6, 2011
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
View 3 Replies
View Related
Jan 22, 2011
I'm still trying to find out if my coby mp3 player will actually play mtv video files as is advertised.
ffmpeg -formats does list mtv but the only command I really ever used was one to convert a vid to an mp3 so I tried Code: ffmpeg -i test.mp4 -acodec copy output.mtv it returns Code: Unable to find a suitable output format for 'output.mtv' I can't find any mtv files online for purchase or free for that matter, so I know this is all pretty obscure but shouldn't there be a way to convert them since ffmpeg lists mtv format?
View 6 Replies
View Related
May 4, 2010
Since I upgraded to 10.04 my Webcam (a logitech Quickcam Pro 4000) won't capture video.Ubuntu see it is there, but aMSN, Google Talk, Skype, and Cheese all give me nothing.
View 2 Replies
View Related
May 6, 2010
I have four primary partitions currently. I need to keep all of them. I need to make a fifth that is also a primary partition. Is there a way to somehow make a partition into a partition that's in an extended partition without losing any data? Maybe you know of another solution to my problem, but this is the only one I can conjure up. The second problem is much less severe. I can't find any screen capturing software for Ubuntu that will record my desktop and simultaneously record sound from a microphone.
View 9 Replies
View Related
May 14, 2010
So I've noticed that some applications block keystrokes and input from reaching Ubuntu. Most recently I got the Linux version of Unreal Tournament 2004 running. Problem is that when I'm playing Unreal it captures all input, so when I decide the game is too loud or too quiet, rolling my volume wheel doesn't adjust the volume. I either have to pause the game so it releases my mouse(only in windowed mode), or exit altogether, adjust the volume, and restart the game. Is there a way to change this?
View 1 Replies
View Related
Jan 23, 2011
Was trying to use wireshark to pen test my network and I can't get it to work properly.When capturing on my main wireless card wlan0 atheros ath9k the program freezes after a short while and I can't even access the web anymore. Not to mention it stops capturing. I have to disconnect and reconnect to get back on the web. Not sure what is going on here. I get the following output in terminal:
(wireshark:2240): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:3081: signal name `depressed' is invalid for instance `0x2142cb68'
[code]....
View 1 Replies
View Related
Jan 20, 2011
I can't seem to figure out the secret to send ctrl-alt-del to a remote Windows box using KRDC 4.4.4. Tried in windowed and full screen mode - no difference. Tried enabling "Grab All Possible Keys" in KRDC tool bar - nope. In all cases, ctrl-alt-del and alt-tab are sent to localhost. There are some mentions of a "config special keys dialog" for KDRC in a few places, though I don't actually find this anywhere in KRDC itself. Documentation for KRDC at the KDE site is very minimalistic. This should be super simple, but I can't quit seem to get it.
View 5 Replies
View Related
Apr 23, 2011
On my first card of ALSA (alsamixer -c 0) I would need to record the Line only.
View 1 Replies
View Related
Oct 9, 2010
I want to capture PID of a program and kill it using the PID if the program is been executing beyond 5 seconds.The problem I'm facing is I have another copy of the same program running under different shell script, and the above code is killing both the process. How do I specifically kill the program which has started under the current running shell script.
View 2 Replies
View Related
Aug 6, 2010
I am capturing the response of three URLs which are in file named urls.txt using following command and write response in output.txt file.
####Code############
wget -i urls.txt -q -O - | tee output.txt
###########End of code
Now i am finding the case where url is not responding and that output is not available to me in the file and on console i am getting "Could not connect to host".
Now I want to modify my urls.txt to have two fields:
Name and URL
Example:
URL1 | http://10.0.0.2/xsc/abc
URL2 | http://10.0.0.1/lkj/csv
URL3 | http://10.0.0.5/sdf/plk
I want to execute each url and print there response against each name
Example:
URL1 : CONNECTED
URL2 : NOT CONNECTED
URL3 : NOT CONNECTED
View 2 Replies
View Related
Jul 17, 2010
Is there any way to capture the "[OK]" or "[FAILED]" messages? I would like to know which daemons starts successfully and which ones fails. Any way to tell the system to save those messages in /var/log? I could do CTRL-Print Screen but I would rather not.
View 1 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
Aug 9, 2009
I never upgrade from one release to the other but rather do a completely new install. How can I keep my Gnome settings from the current release and somehow impose them after a new install. I am not sure which files/hidden files I should carry, save, possibly to a USB stick or whatever and a reasonable procedure to copy/impose them after the new install is stable.
View 5 Replies
View Related
May 19, 2010
How can I configure, the packet capturing mechanism to allow non - privileged users to use it...
View 2 Replies
View Related
Jan 6, 2010
I just upgraded from Ubuntu 9.04 to 9.10 today, and went to watch a movie on my hard drive. I typically do this with an S-Video cord on my TV. In Ubuntu 9.04 I did so simply by plugging in the S-Video cord, then pressing FN+F4 on my keyboard. Worked like a charm.
After the upgrade the same key combination just changes my resolution setting.
View 2 Replies
View Related
Aug 22, 2010
As title suggest I can't output 5.1 sound with Ubuntu 10.4 which I nevere faced in earlier version like any 9.04 or 8.10,8.04 etc etc.I came from 9.04 to 10.4 and noticed that sound preference has changed which earlier have Windows XP Like long sound panel.My Board is Intel 945GTP which have 3 jack
Green=>Sound Output =>Front 2 channel
Pink=>Mic In =>Center Sub
Blue=>Line In =>Rear Channel
[code]....
View 2 Replies
View Related