Ubuntu Multimedia :: How To Save A Web Image From Command Line
Jun 9, 2010
How do I save it as a jpg somewhere on my puter using a script? I can wget, but it gets saved as a .evif, which is totally useless. I can right-click on the image in a browser and use the context menu to save it as a jpg, but I want this process automated. How can I DL this image and save it as a jpg? GIMP's CL options don't include the capacity to save/convert this image, though it's possible from teh GUI. ImageMagick won't read this dynamic URL. What do I do?
View 3 Replies
ADVERTISEMENT
Apr 28, 2011
Can save an image from clipboard into file using command line?
may be image magic?
View 3 Replies
View Related
Feb 17, 2011
install imagemagick python, and pygtk.
Code:
sudo apt-get install imagemagick python pygtk
Now save the following script somewhere as imgclip.py. This is a simple python script which takes an image file and puts it in the gnome-clipboard.
Code:
#! /usr/bin/python
import pygtk
pygtk.require('2.0')
[code]...
View 1 Replies
View Related
Mar 10, 2011
I wish to append a text at the start of every line and save it to another file without changing the original file.know the command
For example:
Orignal.txt
a.txt
[code]...
View 5 Replies
View Related
Feb 7, 2010
I am implementing a strategy to organize my data among the several machines I work with and thought that getting some ISO images out of it could be a good idea because that way data would be 'read only' thus allowing for easier synchronization.
At first I thought of using the "dd" command to create the ISO out of a directory, but it fails code...
So, I have two questions:
Is the ISO 'format' capable of storing complex directory structures with long filenames (pretty much as any Linux filesystem does), or are there some inherent limitations?
Supposing the ISO format is not constrained, which command would allow me to create an ISO file out of a directory?
View 5 Replies
View Related
Feb 25, 2010
I do computer forensics here in Afghanistan and I am trying to keep a clean image of a dual bootable hard drive. Here is what I try to do...
1. Boot into UbuntuLiveCD
2. I run "sudo dd if=/dev/zero of=/dev/sda conv=sync,notrunc bs=64K" to wipe the drive with all zeros.
3. I then install Windows by creating a new partician about 50GB.
4. I then install Linux by creating a partician in ext4 mounting it at '/' in addition I create a swap partician.
5. Next configure everything just the way I want it. I install all the drivers and software I need for my windows partician and build out the remaining part of the disc as a "data drive."
6. Then I use "dd" again to try to image my "clean slate" of a system. Remember I am dual booting. I dd the /dev/sda and gzip it.
7. When I go to restore it, I boot from the live CD again and unzip ig and "dd" it back onto /dev/sda.
8. I run fdisk -l and I get:/dev/sda1 * 1 6375 5120000000 7 HPFS/NTFS/dev/sda2 6376 11724 42965842+ 83 Linux/dev/sda3 11725 12453 ...... 82 Linux swap / Solaris.This means to me that it can "understand the file system"
9. But then when I take out the Live boot CD and try to get my "clean slate" machine back, the system goes into Grub Rescue mode with a grub command line "grub rescue>"
10. I tried using the tutorial on Grub2, but...
a. It would not understand the command "linux"
b. When I try to do insmod, it says it doesn't recognize the file system.
View 4 Replies
View Related
May 1, 2010
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?
View 6 Replies
View Related
Sep 28, 2010
I use webcam with the streamer application. So, to record a video I have to put in terminal something like this:
Code:
streamer -q -c /dev/video0 -f rgb24 -r 24 -t 00:30:00 -o /home/shark/untitled.avi
I know I can use other applications but I have got problems with all except with this. This is really annoying because it is a delay job. So, I am wondering how can I make a script that the terminal will ask me to name the file or even better to ask where to put my file.
View 9 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Jan 3, 2010
Everything is plain and simple. I want to know what's the least painful way to control vlc from local command line while having GUI as well?
I would like to e.g. use something like "vlc --pause" in one of my bash scripts to pause music if something hapens. So rc interface is useless, is it not?
not making a thorough search on this as the irrelevance of results is beneath me... Well actually I have made it but it was a while ago and to no avail since the new vlc shipped with karmic got rid of the old http interface which allowed to do this just by using wget on an url....
View 3 Replies
View Related
Apr 23, 2010
Ubuntu 9.10 (Karmic Koala) 64 bitlaptop Asus f5n vidio: GeForce 7000MI try to remove piton2.6, but system freeze, after these ubuntu show massage (after reboot)"Ubuntu is running in low-grahics mode our screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself"I press "ok"and give me next list of options"run ubuntu in low-graphics mode for just one session" -- system freeze "regonfigure graphics" -- no resultI try to reinstall graphic driver "nvidia-glx-185" -- no result
View 3 Replies
View Related
Jul 29, 2010
you longed to listen to your favorite sirius XM satellite radio without the annoying popup every 90ish minutes. And if you were like me, you missed sipie, an application that allowed you to stream sirius via a command line. Since sipie has been flakey, some people have decided to start a new project on GITHUB, called pyxis, and I have to say, after installing (which is a breeze), it is working perfectly. I am excited to have my sirius back up and running strong from the command line.
[Code]...
note, I have no affiliation with the development team, I just thought that this very handy application deserved to be recognized.
View 9 Replies
View Related
Apr 26, 2010
Here is a command line tool to view Banshee's status. It isn't much, but I thought it might be useful to someone. Example output:
Code:
Now playing:
01:33 | |
NightOwl
by Maxis from Sim City 4
Ratings: **** ( 100 )
It refreshes every 5 seconds.
View 2 Replies
View Related
Jun 19, 2010
I installed Phatch today hoping to use it to reduce the file size of some picturesI took for work.I originally took the pics with 12 MP camera and now want to email them to a few peopleas smaller files.I found Phatch, but the docs under man phatch suck...Would anyone mind sharing an example of how to make the above changes to adirectory of pics. My guess is it starts: phatch -vkc --desktop [action] [path]
View 3 Replies
View Related
Jan 23, 2011
I wanted to share this nifty technique I came across for capturing video using the command line. The problem: I have a bunch of old VHS tapes (remember those...?) and need to get them digitized. I have a VCR, and a Dazzle Hollywood DV Bridge which captures video to DV over Firewire (IEEE1394). I first tried using Final Cut Pro, but it wouldn't capture, perhaps because it expects a controllable DV camera, and the Dazzle isn't a DVC device. I then tried my other favorite video editing app, Kdenlive, but it seemed to have the same problem.
I took a quick stab at the other common editors in the repositories (Kino, Openshot, etc.), but no luck with any of them. Then I remembered the dvgrab command, and gave that a shot and it worked, giving me a nice .dv file. However, DV makes pretty big files, which I wanted to compress down to something more manageable. Since I was going to be digitizing hours and hours of tapes, it would be great if I could compress while capturing. A little more googling and I had the answer - you can pipe dvgrab directly into ffmpeg! Here's the command:
Code:
dvgrab -format dv1 - | ffmpeg -f dv -i - -b 2000k -ab 512k -y output.mov
the first part starts the capture, in DV1 format, and outputs it to a pipe file. usually you give dvgrab a filename, like
Code:
dvgrab -format dv1 capture.dv
the second part does the encoding:
-f dv: use DV format
-i -: input from the pipe
-b 2000k: video encoding bitrate of 2000k/sec, high quality
-ab 512k: audio encoding bitrate
-y: overwrite file if it exists
I didn't set the codec explicitly, for Quicktime it defaults to MPEG4. This worked great, capturing a 2-hour tape into a high-quality quicktime around 2GB. But I also wanted to be able to view the capture while it was going. Since I left the field monitors and audio splitters at the office, I had to figure out how to do this in software. Turns out that the "tee" command does exactly what I needed - the shell never ceases to amaze! Here's the full command:
Code:
dvgrab -format dv1 - | tee >(ffmpeg -f dv -i - -b 2000k -ab 512k output.mov) >(playdv --disable-audio --no-mmap)
tee uses the
Code:
>(command)
syntax to pipe simultaneously to multiple processes. The only thing that didn't work was audio playback, which was choppy and introduced errors in the capture file. I think a little tweaking with the capture rates could fix that.
View 2 Replies
View Related
Apr 2, 2011
how to split wav files from the command line?
View 4 Replies
View Related
Jan 6, 2010
I am looking for a command line command to convert ~2500 .flac files to .ogg files. All of the .flac files are in one folder and I would like to have the .ogg files put in a folder labled OGG - I would like to retain song information etc if possible.
View 3 Replies
View Related
Jan 13, 2010
How to get info (length, etc.) about music files in command line? Nautilus can show it on the file's Properties > Audio tab.
View 2 Replies
View Related
Jan 15, 2010
(1) I'm wondering if there is a way to have abcde play the songs while it is encoding? I understand that this would be a lot slower.
(2) Is it possible to have abcde start playing right after it finishes ripping the first track and then have it add on the other tracks to the playlist as it rips them.
Is there anyway to do one or both of these from the command line or with abcde's built-in options?
View 4 Replies
View Related
Jan 26, 2010
How do i turn it back on, I found a new login sound i want and i need to turn it back on.
View 4 Replies
View Related
Mar 11, 2010
I want to take consecutive screenshots of a video using command line operations but I can't seem to find accurate documentation on different websites.Does anyone know how to do this using vlc, totem or another program?I've used ffmpeg as well, but then reencodes and splits the video file. I just want to take consecutive screenshots.
View 7 Replies
View Related
May 4, 2010
Is there a way to control the gnome sound preferences widget via the command line? I use optical digital out (IEC95. It works fine. but everytime I reboot there is no sound, I have to go to sound preferences, hardware tab, select my internal audio device, change it from digital stereo duplex to analog surround 5.1, then back to digital stereo duplex, and then the sound works again. I would like to be able to do this via command line so I can write a little startup script and not have to do that every time i reboot.
View 4 Replies
View Related
Nov 15, 2010
Does anyone know of any good command line audio editing tools? I would like one that can take an mp3 file and crop everything but the first 30 seconds or so (possibly decompressing those 30 seconds as well).
View 2 Replies
View Related
Mar 3, 2011
i have a bunch of shorten files i want to play from the command line and ffplay will play them one at a time but i want to play them one after the other (the whole album)does not work i must have forgotten something as it plays one track then stops.
View 1 Replies
View Related
May 28, 2011
with the current Musicbrainz fiasco with Rythmbox and Sound Juicer I am now using RipperX. I like RipperX, but I would like to know if there are any command line parameters or some way of selecting the CD/DVD drive. It appears that RipperX can multi-task which would save me some time.
View 1 Replies
View Related
Jun 17, 2011
I'm using recordmydesktop for screencasts and currently use pavucontrol to select the monitor as the input source, as shown in many guides across the Internet, but I can't find anything on how to do it from the command line. How can I select a monitor as the audio input source for recordmydesktop from the command line?
View 1 Replies
View Related
Feb 20, 2010
Env: Lenny LXDE
[Question]
By (first step) doing: pcmanfm --set-wallpaper /point-to-new-wallpaper, it change the configuration to the new wallpaper, then, my question is: What is the most correct way to "refresh the desktop screen" (by command line) so that the new wallpaper is then displayed.
And by (second step) doing: lxsession-logout, and choosing 'Logout', the new wallpaper is displayed after the new login. No problem here. Is there a (most correct) way to completely change the picture and activate it by command line (without user intervention)?
View 2 Replies
View Related
Jan 30, 2010
my computer is connected to my TV through HDMI using ATI HDMI output. I have written a small script to switch display from monitor to TV when a want to watch a DVD, but I didn't find how to switch sound from speakers to HDMI in command line. For the moment I have to open KDE system settings -> Multimedia and move sound devices by hand.
View 3 Replies
View Related
Nov 12, 2015
debian 8 64bit
gnome classical gui
user is dd
psswd is word
adm psswd is adword
unlock crypt psswd is crypto
This is how I start debian. I can choose between debian gnulinux and advanced options. I select debian.
Then 'please unlock crypt' shoIws. I enter 'crypto'.
Then debian gui login screen shows. I enter 'dd' and 'word'.
Debian 8 gnome classical starts.
Can I login to debian 8 gnome classical by entering 'dd' and 'word' in a command line?
I do not want to login by debian gui login screen. But by command line.
If I select advanced options. Then recovery mode, I can get a command line. If I can login there, then I do not know how to.
View 1 Replies
View Related
Jun 8, 2010
I am looking for a good RSS program that can run on the desktop command line style.
View 3 Replies
View Related