Ubuntu :: Script To Capture The Output?

Jun 13, 2011

I got a program that i run and get an output from it -> ./prog -i file-name

However I want to write a script to capture its output and write it in the output-file.txt.

How I can write the script (the-script) such that the 'file-name' treated a a variable?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Capture And Redirect The Output Using Bash?

Jun 3, 2010

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.

View 1 Replies View Related

Ubuntu :: Capture Audio Output To Speakers?

Nov 16, 2010

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.

View 4 Replies View Related

Ubuntu :: Capture Output From Synaptic Terminal?

Dec 9, 2010

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)

View 4 Replies View Related

Ubuntu Installation :: Capture The Output With A Script?

Jun 13, 2011

I got a program that i run and get an output from it -> ./prog -i file-name

However I want to write a script to capture its output and write it in the output-file.txt.

How I can write the script (the-script) such that the 'file-name' treated a a variable?

View 1 Replies View Related

Programming :: Bash: Capture All Output To A Log?

Jun 10, 2010

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

View 2 Replies View Related

General :: Capture The FTP Session Output From Net?

Apr 21, 2011

how to capture the FTP session output from Net::FTP module to a text file or in a variable ?

View 1 Replies View Related

Programming :: Cannot Capture SCP Progress Bar In Output Redirect

Oct 31, 2010

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.

View 7 Replies View Related

Fedora :: Desktop Video Capture With Very Small Output?

Jul 14, 2010

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.

View 3 Replies View Related

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?

View 1 Replies View Related

Ubuntu Multimedia :: Analogue Capture Program To Capture Austar?

Aug 13, 2010

What is the best analogue capture program please to capture Austar.

View 1 Replies View Related

Ubuntu Multimedia :: When Click On Perference Then Sounds And Go To The Output Selection It Has Only Dummy Output As A Option?

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

Ubuntu Multimedia :: KMplayer - No Video Output But Can Get Only The Audio Output

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

Ubuntu Multimedia :: Sound Output - Get HDMI Audio Output To My TV

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

Ubuntu Multimedia :: Cannot Select MP3 As An Output Output Option?

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

Ubuntu :: Audio Output Will Not Output Sound To Speakers?

Jul 19, 2011

I don't know anything about ubuntu. Could you guys help me out. I'm pretty knowledgeable with windows if you guys need a printout of something let me know. My friends getting really frustrated about this. Help!!i

So here's the situation. He plugs his audio jack into his computer and then into the speakers but it still plays from the computer speakers.

View 7 Replies View Related

Software :: Audio Output Device Changes To 'dummy Output'?

Mar 27, 2010

I finally got audio working on my ubuntu 9.10 desktop... now I am having sound issues watching movies from a network share.The sound device continually randomly changes to "dummy output device" and then there is no sound output. The sound icon dissapears on the toolbar. To get it back and audio to start working I have to $sudo alsa force-reloadIt seems to happen everytime there is a network delay, the movie will stop for a second and then when it plays the sound is gone

View 1 Replies View Related

Software :: Cloning An Audio Output To Another Output?

Mar 4, 2011

Is possible to have two identical sound card outputs? For example, is I want to use two headphones at the same time.

View 6 Replies View Related

Ubuntu :: NX (nomachine) From Mac - Capture Alt-tab?

Jun 11, 2010

I'm logging into a remote Ubuntu box from my Mac via NX, and almost everything works great. However, I can't find any way to capture the alt-tab keyboard combination (or, command-tab) for app switching. All the individual keys register with ubuntu, but when pressed together, Mac OS captures it first. Is there any way to fix this?

View 2 Replies View Related

Ubuntu Multimedia :: No Hauppauge Capture Through VLC (WAH)

Apr 28, 2010

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...

View 2 Replies View Related

Ubuntu :: How To Configure Capture Card

May 4, 2010

I have a capture tv card in my pc, but i can't configure it. It's a TV Tuner PRO ENLTV-FM Encore Electronics. I have all the System Requeriments and I've downloaded a program called MeTv to use it, but it's not working. The message that i have of this program is:

Code:
There are no DVB Tuner Devices
I've read on the net that I have to alter something in the kernel called bttv with the

[code]....

View 9 Replies View Related

Ubuntu Multimedia :: Use Skype - 10.04 Mic And Capture

May 4, 2010

I need to use Skype to contact my kids in South Africa. I live in the UK. This is very important for me. Surely there must be a fix by now on 64bit 10.04 to use mic capture or a workaround.

View 7 Replies View Related

Ubuntu :: Compatible HD Capture Devices?

Jun 11, 2010

I currently own an easyCAP, standard definition capture device. I'm looking into purchasing a HD capture device, but the only one which says it supports Linux in the spec is the Blackmagic Intensity Pro (PCi Card). Here is a list of the ones which I'm looking into possibly getting, but I'd like to know if I can use it to record (my Xbox 360) on Ubuntu (Studio) 10.04 Lucid Lynx, and how hard it would be to set it up.
Blackmagic Intensity Pro

Hauppauge HD PVR
AVerTV HD DVR
Blitzbox HD

Also, if you know of any other decent HD capture devices, comment and let me know

View 1 Replies View Related

Ubuntu :: Shutter's Web Capture Is Not Working?

Jun 2, 2011

I have been trying to use the web capture feature by Shutter. But, it always throws the same error message.

Code:
Error while taking the screenshot.
Unable to capture website
Usage: gnome-web-photo [--mode=photo|thumbnail|print]
[...]

[Code]....

View 2 Replies View Related

Ubuntu Multimedia :: Ffmpeg / Mtv Format - Error "Unable To Find A Suitable Output Format For Output.mtv"

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

Ubuntu :: Mouse Won't Capture In Virtual Machine

Jan 7, 2010

I think the title says it all. im installing windows on a virtual system, and I cant capture the mouse into the VM. default is right CTRL.

View 4 Replies View Related

Ubuntu :: My TV Capture Card Wont Even Get Recognized?

Jan 18, 2010

my TV capture card wont even get recognizedit my Windows machine it works finebut here in Ubuntu 9.10 it does nothingit i an older WinTv 150 non-PVRit has the 878 chipset

View 4 Replies View Related

Ubuntu Multimedia :: Softwoare For Capture Video From DVD?

Mar 27, 2010

I have created several DVDs from my camcorder (sony handycam DCR-HC21 NTSC); however, the recordings are too long. I would like to capture smaller segments of these and load them online to share with family and friends.I would like to know what is the most recommended software for this task. I am running Ubuntu 9.10.I would have done this by using a firewire cable directly attached from the camcorder to my laptop, but my laptop has only USB ports. So I ended up creating DVDs using an stand alone Video Recordable DVD Drive.

View 1 Replies View Related

Ubuntu Multimedia :: Tv Capture Card Not Recognized ?

Apr 9, 2010

I've no idea what the heck is going on with my TV capture card, i went to the other posts about my Hauppauge Inc. HDPVR-1250 model 1196 but it all didn't work i have the ubuntu-restricted extras installed but mythtv is not picking up the card. i'm running ubuntu karmic.

View 9 Replies View Related

Ubuntu :: 10.4 RC - Your Audio Capture Settings Are Invalid

Apr 24, 2010

Running 10.4 Luci RC 64-bit desktop and when attempting to run Applications > Sound & video > Sound recorder, I receive the following error message:

Quote:

Your audio capture settings are invalid. Please correct them with the "Sound Preferences" under the System-Preferences menu. When I do go to System > Preferences > Input, there is only 1 device - "Internal Audio Analog Stereo" with no options for modification.My laptop does have an internal microphone but it apparently isn't working as nothing was recorded when I ran a Skype test call. This is the reason why I attempted to record something to check the mic.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved