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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
Aug 13, 2010
What is the best analogue capture program please to capture Austar.
View 1 Replies
View Related
Jan 4, 2011
Trying to install the drivers for my blackmagic intensity pro capture device and I cannot get the driver to install I get an error in the ubuntu software center saying:
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks. Please report this error at [URL] and retry.
Details:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
return self._simulate_helper(trans, status_path)
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 851, in _simulate_helper
size = int(deb["Installed-Size"]) * 1024
ValueError: invalid literal for int() with base 10: ''
I have the latest ubuntu fully up-to-date.
View 1 Replies
View Related
Mar 22, 2010
I just upgrade to F12 from F10 and having problem with Skype mic audio. it was working well with F10 before.
I have try to plug in a mic for internal sound card and using external USB headse, both sources could not capture my mic audio. I try to use Gnome Volume preference to select the source and it makes no different. I also noticed the output volume is low on USB headset too
Just get it working on playing with Gnome Volume preference. I find that on headset input and output audio, I have to crank it up to 100% range to get it working. Volume control seems to be useful from 80-100% Problem solved, hope pulseaudio would improve the volume control
View 14 Replies
View Related
Apr 24, 2009
I was just wondering if there is a way to capture current state on a machine and create live cd from it?
If not - what is the best way to create Live CD with optimazied system updates and configuration packages.
View 1 Replies
View Related
Apr 3, 2011
I've been experiencing a problem when I try to install Ubuntu 10.10 and 11.04 on my girlfriend's notebook. In the middle of the installation process a window pops-up saying "[Errno 5] input/output error". This has happened with both versions and I can't get through it, no matter what.
View 5 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
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
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
Feb 13, 2010
I have upgraded from Ubuntu Upgraded 9.04 to 9.10 . Now there is no sound output. But it was working fine with Ubuntu 9.04
View 1 Replies
View Related
Jan 3, 2011
I am trying to install Ubuntu Server on a tower with no graphic output (no graphic card, no graphic on the motherboard). Then, I�ve solved two ways:
1. (What I wanna try): Take a graphic card "rent", just for the installation. And remove it after.
2. Take the Server HD and install it on another computer, then replace.
View 6 Replies
View Related
Feb 28, 2011
I just bought a powerful Sapphire nettop HD Mini-pc as shown here : [URL]
Installed a 32 bits version of ubuntu 10.10. Everything is working smoothly. So basically :
- installed 10.10 with usb key on HDD
- launch all update of the OS
- installed Nvidia closed driver
- update alsamixer to 1.0.23
So for now, I have in alsamixer 4 SPDIF out but no sound output from hdmi. HDMI output is well configured in the sound settings of ubuntu. I think this is linked to the ION 2 chipset and D510 proc.
dmesg|grep -i nvidia return :
[11.653064] nvidia: module license 'NVIDIA' taints kernel.
[11.909936] hda_intel: Disable MSI for Nvidia chipset
[15.119287] nvidia 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[15.119304] nvidia 0000:04:00.0: setting latency timer to 64
[15.119847] NVRM: loading NVIDIA UNIX x86 Kernel Module 270.29
View 5 Replies
View Related
Feb 3, 2010
I am beginner in ubuntu. I wish to run the programs that will display a picture which use the ffmpeg, sdl and lame. When I type gcc -o exercise exercise1.c 'sdl-config --cflags --libs' to compile the program it give this such of error :gcc: sdl-config --cflags --libs: No such file or directory. I have installed the gcc packages, SDL, FFMPEG, LAME but still cannot display the output. What should I do with the gcc packages?
View 1 Replies
View Related
May 23, 2010
I'm trying to install ubuntu 10.04 on my desktop. I would like to erase my old xp completely and have only ubuntu as my OS. I boot from cd but when I install it stops at 15% and keeps giving me this error:
Input/output error during write on /dev/sda.
It won't let me retry or ignore and when I cancel the installation continues until I get another error.
View 2 Replies
View Related
Sep 10, 2010
error: No output seen in over 300 sec... (Is the CD-ROM/DVD source repository enabled? It shouldn't be!) error: Package install command failed with error code 255 Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ?
I've tried this [URL] but it didn't work for me. My sources.list already had the #. By the way I'm a new user to ubuntu and I'm having a pretty good time. Almost starting to feel at home in this OS. edit: I'm sorry. I realized I posted in the wrong section.
View 2 Replies
View Related
Sep 29, 2010
I have searched a lot for solutions of this problem, but there seems to be no solution that works for me. It was time to update my installation... AS I have NEVER updated it. So I ran the update manager and launched updates. Many packages completed, but linux-image-2.6.32-25-generic (2.6.32-25.44) gave me a lot of errors. I don't ave the terminal output from the update manager, but I have info from apt-get install -f. I am using root account.
Code:
root@ubuntu:~# apt-get upgrade vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
[Code]...
View 3 Replies
View Related
Oct 2, 2010
I got interested in it when trying to play Windows games on my Mac. I've tried WINE and didn't get anywhere fast, but thats another thread for a different forum.
For now I'd like to try Ubuntu. I downloaded the ISO and burned it to a DVD and a CD.
When booting up my computer I get this message:
I have no idea what this means. I've tried to find answers on this forum with no luck.
The computer in question:
iMac8,1
Intel Core 2 Duo
3.06 GHz
4GB Memory
NVIDIA GeForce 8800 GS (512 MB)
MacOS 10.5.8
View 3 Replies
View Related
May 1, 2011
Asus EEEPC 1215P
Intel Atom N550 1.5 GHz
2 GB DDR3
Ubuntu 10.10
Maverick Meerkat
Desktop Edition
Tried changing BIOS setting...
SATA Run Mode configuration
Enhanced AHCI
Enhanced IDE
Compatibility
Disabled
non of them worked
View 1 Replies
View Related