Easily migrate Sickbeard install to another installation

Have a new Sickbeard installation and want to migrate or move your Library and settings across?

Due to the nature of the Sickbeard application – migrating Sickbeard data from one install to another is very easy.

 

  1. On the Sickbeard install you want to use as your source – open the folder where Sickbeard is installed and copy the following files to the same location on your destination Sickbeard install and overwrite the ones that are there.

 

  • sickbeard.db
  • config.ini
  • autoProcessTV/autoProcessTV.cfg (if you use it)

 

 

 

Note: Tested on: Sickbeard Alpha Build 504

Ubuntu – How to do a Distribution Upgrade

  1. Launch a Terminal
  2. Type in: sudo apt-get update
    (this will ping all the upgrade mirrors to determine if they are live and what upgrade packages are available).
  3. Once completed – type in: sudo apt-get dist-upgrade (this will start pooling down the various packages to do a distribution upgrade. Keep in mind – apt-get update will just do an update within the same distribution).

Note: Ubuntu now has an Update Manager that is available by launching the Unity search function and typing in – Update Manager. This is a GUI method of upgrading. I have had failure with this method personally so recommend using the command line for distribution upgrades for more visibility.

Ubuntu – Out of range

 

This issue is commonly caused by the screen resolution settings in Ubuntu becoming too high for the actual monitor. This guide is written with the Ubuntu Live CD and version 12.10 in mind.

  1. During start-up select your language when prompted.
  2. Press F6 (Other Options)
  3. At the end of the command line type: vga=791
  4. Press Enter

Ubuntu should now boot with a resolution of 1024 by 768 (32bit). Click “here” for a Wikipedia link to other Video display choices.

If that doesn’t work:

Start the Live CD process

  1. Unplug the VGA port for the monitor for about 5 minutesallowing Ubuntu to properly start.
  2. Plug the monitor back in and Ubuntu should automatically select the right resolution and display.

Change your hostname in Ubuntu

Note: These instructions are for Ubuntu 12.10. Changing your host name in Ubuntu guide.

  1. Go to System Settings
  2. Click Details
  3. Click: Give a unique name

Ubuntu – Wireless is disabled by hardware switch

This commonly occurs right after an upgrade/update to the operating system.

  1. First thing is first – your laptop will probably have a Wireless On & Off feature which is either on the side of the laptop chassis or front usually in the form of a button or switch. If it’s off, turn it on!
  2. If the wireless is turned on and you are still getting an issue open a Terminal and type: sudo rfkill unblock wifi
  3. Press Enter
  4. You should now be able to access the wireless.

If neither of the above work – then the problem most likely is you’re wireless on & off switch and it might need to be rewired to be permanently on.

Green Line top of Youtube Video

Getting a green line at the top of each Youtube video? It has recently be caused by a recent Adobe Update, follow the guide below to repair:

  1. Right click the Youtube video
  2. Click Flash Player Settings
  3. Make sure you are in the General settings tab (left most tab)
  4. UncheckUse Hardware Acceleration
  5. Restart your browser

You do not have enough permission to read eeepc Xandros Install

“You do not have enough permission” eeePC Xandros

This usually occurs when the /media folder does not exist and usually occurs after the Full Desktop has been enabled.

  1. Open a Terminal
  2. Type: sudo mkdir /media
  3. Press Enter

ffmpeg Linux commands

Getting infos from a video file

ffmpeg -i video.avi

Turn X images to a video sequence

ffmpeg -f image2 -i image%d.jpg video.mpg

This command will transform all the images from the current directory (named
image1.jpg, image2.jpg, etc…) to a video file named video.mpg.

Turn a video to X images

ffmpeg -i video.mpg image%d.jpg

This command will generate the files named image1.jpg, image2.jpg, …

The following image formats are also availables : PGM, PPM, PAM, PGMYUV, JPEG,
GIF, PNG, TIFF, SGI.

Encode a video sequence for the iPod/iPhone

ffmpeg -i source_video.avi input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb
-mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320×180 -title X
final_video.mp4

Explanations:

* Source: source_video.avi
* Audio codec: aac
* Audio bitrate: 128kb/s
* Video codec: mpeg4
* Video bitrate: 1200kb/s
* Video size: 320px by 180px
* Generated video: final_video.mp4

Encode video for the PSP

ffmpeg -i source_video.avi -b 300 -s 320×240 -vcodec xvid -ab 32 -ar 24000
-acodec aac final_video.mp4

Explanations:

* Source: source_video.avi
* Audio codec: aac
* Audio bitrate: 32kb/s
* Video codec: xvid
* Video bitrate: 1200kb/s
* Video size: 320px by 180px
* Generated video: final_video.mp4

Extracting sound from a video, and save it as Mp3

ffmpeg -i source_video.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 sound.mp3

Explanations:

* Source video: source_video.avi
* Audio bitrate: 192kb/s
* Output format: mp3
* Generated sound: sound.mp3

Convert a wav file to Mp3

ffmpeg -i son_origine.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 son_final.mp3

Convert .avi video to .mpg

ffmpeg -i video_origine.avi video_finale.mpg

Convert .mpg to .avi

ffmpeg -i video_origine.mpg video_finale.avi

Convert .avi to animated gif(uncompressed)

ffmpeg -i video_origine.avi gif_anime.gif

Mix a video with a sound file

ffmpeg -i son.wav -i video_origine.avi video_finale.mpg

Convert .avi to .flv

ffmpeg -i video_origine.avi -ab 56 -ar 44100 -b 200 -r 15 -s 320×240 -f flv
video_finale.flv

Convert .avi to dv

ffmpeg -i video_origine.avi -s pal -r pal -aspect 4:3 -ar 48000 -ac 2
video_finale.dv

or

ffmpeg -i video_origine.avi -target pal-dv video_finale.dv

Convert .avi to mpeg for dvd players

ffmpeg -i source_video.avi -target pal-dvd -ps 2000000000 -aspect 16:9
finale_video.mpeg

Explanations:

* target pal-dvd: Output format
* ps 2000000000 maximum size for the output file, in bits (here, 2 Gb)
* aspect 16:9 : Widescreen

Compress .avi to divx

ffmpeg -i video_origine.avi -s 320×240 -vcodec msmpeg4v2 video_finale.avi

Compress Ogg Theora to Mpeg dvd

ffmpeg -i film_sortie_cinelerra.ogm -s 720×576 -vcodec mpeg2video -acodec mp3
film_terminée.mpg

Compress .avi to SVCD mpeg2

NTSC format:

ffmpeg -i video_origine.avi -target ntsc-svcd video_finale.mpg

PAL format:

ffmpeg -i video_origine.avi -target pal-svcd video_finale.mpg

Compress .avi to VCD mpeg2

Convert file to Matroska container without re-encoding

ffmpeg -i input_file.wmv -vcodec copy -sameq -acodec copy -f matroska
output_file.mkv

NTSC format:

ffmpeg -i video_origine.avi -target ntsc-vcd video_finale.mpg

PAL format:

ffmpeg -i video_origine.avi -target pal-vcd video_finale.mpg

 Multi-pass encoding with ffmpeg

ffmpeg -i fichierentree -pass 2 -passlogfile ffmpeg2pass fichiersortie-2