Recent Changes - Search:

This wiki

Other pages

PmWiki

edit SideBar

shell commands

Often visited

Linux

Edit this menu

If you would like to contribute to this wiki, please contact Dan Roggenkamp at dan(at)site25.net.

Getting yum and other shell commands to work behind a proxy

The following looks like the first solution I'll try. Found at first link above:

Create the following files in /etc/profile.d, and then this will work in *any* shell for *any* user of the system

Combine multiple video files into one file: see http://ubuntuforums.org/showthread.php?t=450303

  • Step 1: cat file1.mpg file2.mpg file3.mpg... > filename.mpg
  • Step 2: mencoder -forceidx -oac copy -ovc copy infile.avi -o outfile.avi
    • OPTION: mencoder -oav copy -ovc copy -o output.avi 1.avi 2.avi

NOTES: You need to have mplayer installed to do this. I tried it with 4 avi files. It combined the files but the audio and video remained out of sync after running the second command. It would be nice to get this to work. NOTE2: None of the above has worked. Now trying:
mencoder -oac copy -ovc copy part1.avi part2.avi part3.avi -o WHOLE-THING.avi ... Yes this one worked the best so far..

More options found at http://ubuntuforums.org/archive/index.php/t-85718.html (better than the above link)

  • If you have transcode installed you can use avimerge to merge multiple avi files together: avimerge -o big.avi -i file1.avi file2.avi file3.avi

See below for converting video formats.

disk space usage = du -s -h /home/* ; s=summary or something like that, h=output in megs not bytes

To get your printer up and running on FC11: From a root account, run the system-config-printer. If that doesn't work, run system-config-printer from user account and enter root pw when prompted.

Extracting:

For tar
tar -xvf filename.tar

For tar.gz or .tgz
tar -zxvf nameof.tar.gz

For tar.bz2
tar -xvjf nameof.tar.bz2

For zip
unzip nameof.zip

Determine kernel version
uname -r

Converting movie formats

convert .flv to .mpg using ffmpeg

The following is from this page

First you need to download your .flv file to a folder and you need to Open a terminal window and go in to the .flv file folder and type the following command

ffmpeg -i jokes.flv -ab 56 -ar 22050 -b 500 -s 320x240 jokes.mpg

jokes.flv is the file you want to convert, so the name must be the same as the source file.You can name jokes.mpg whatever you want as long as it has the .mpg extension.

-b bitrate: set the video bitrate in kbit/s (default = 200 kb/s)

-ab bitrate: set the audio bitrate in kbit/s (default = 64)

-ar sample rate: set the audio samplerate in Hz (default = 44100 Hz)

-s size: set frame size. The format is WxH (default 160x128 )

convert mpg to flv using ffmpeg

ffmpeg -i mymovie.mpg -ar 44100 mymovie.flv

This works. It can also work to convert mp4 to avi:

ffmpeg -i mymovie.mp4 -ar 44100 mymovie.avi

...and apparently for converting between many more formats.

I found the above at this link.

Edit - Attr - History - Print - Recent Changes - Search
Page last modified on February 16, 2010, at 03:47 AM