Very interesting video about how Linux is built.
ffmpeg app helps us to convert videos through terminal in Ubuntu. It contains multimedia player, streaming server and audio&video converter. But in this post we are interested just about video converting.
Installing ffmpeg is ordinary:
sudo apt-get install ffmpeg
So, let’s write simple example: You have some big-sized mpg video, and we must convert it to flv. Open terminal and type this:
ffmpeg -i video.mpg -ab 56 -ar 22050 -s 320×240 video.flv
After it we get video.flv. Resized and in flv type.
Let’s describe what command parameters mean:
-ab: bit rate of audio;
-s – result file dimension;
That’s all. Good luck.
Few days ago Skype stopped working normally in my laptop. Each time after starting the window opened, then signing in… then crash. It was not solven even after remove-install. I investigated the problem and quickly found a simple solution. And this simple solution is also available for other OS-es. So if your Skype craches during signing process, you can solve it easily with removing shared.xml file. Location of shared.xml: Ubuntu: ~/.Skype folder. Windows XP: C:\Documents and Settings\_username_\Application Data\Skype folder Mac OS: ~/Library/Application\ Support/Skype/ folder Windows 7: C:\Users\_username_\AppData\Roaming\Skype folder
That’s all. Good luck.
Some new installed Apache servers ignore .htaccess files from any folder. You write into .htaccess some rewrites, but it doesn’t give effect.
Or may be you have installed wordpress, you have changed permalinks from standart to custom one, htaccess is created, but all page and post urls give 404 error. So possibly the solution is like the following:
Edit apache’s conf file:
sudo gedit /etc/apache2/sites-available/default (1. Apache conf address may be different in your server. It depends on server OS, apache configuration. 2. If you are in remote connection and are using SSH, so use vi or nano, not gedit)
In editor you will see such block:<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>
Change AllowOverride None line to AllowOverride All. And then save and close editor. Then type in terminal the following:
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart That’s all. The problem must be solved.
First posted: e-haci.net