root bin

Friday, 22 October 2010

Split video file using ffmpeg and mencoder

›
Example: ffmpeg -i input.flv -ss hh:mm:ss -t hh:mm:ss output.flv Where: -ss :  Buration -t : Start time hh: hours mm: minutes ss:...
Wednesday, 20 October 2010

script to set drupal permissions

›
#! /bin/bash cd /var/www/drupal chown -R drupmin:www-data . find . -type d -exec chmod u=rwx,g=rx,o= {} \; find . -type f -exec chmod u=...
Saturday, 16 October 2010

Compress/Decompress commands: Zip, TAR, TAR.GZ, TAR.BZ2

›
ZIP To compress a directory with zip do the following: # zip -r archive_name.zip directory_to_compress Here’s how you extract a zip ar...

create or delete mysql databases

›
- To backup mysql database mysqldump -u username -p databasename > /path/to/dbfile.sql - To restore a backed up mysql databas mysql -u...

Convert avi files to mp4 using ffmpeg

›
ffmpeg -i input.avi -f mp4 -strict experimental -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 ...
‹
Home
View web version
Powered by Blogger.