Skip to main content

Convert To All Format (avi, flv, 3gp, mpeg)

hi... all, i am back to write some thing in my mind.... :D about convert avi, flv or 3gp to another format.

Before the day, i just wrote about streaming video, and now this can be support to streaming.

As i know, the basic to streaming is what you want to stream, and to stream videos maybee you want to convert any video format to same format. for exempla if you want stream a video that can be access via Mobile, you need video in 3gp format or maybee you want to make it became a FLV format. It is up to you.....

like usualy i will use a software that can be apply in multi platform. Yes.... i will use ffmpeg to convert video format. This software can you find in here for detail see this page here

Now lets begin.

- After download finish you can install or extrak. the poin is we can use this tool :D
- B T W in this sample i use in windows version, but for other version is similiar... :D
- Open "console" or "command promt"(then go to directory where ffmpeg is placed) in windows like this

or you can ask uncle google .. :D and this is a view sample command that you can use:
> ffmpeg -i original_file -y destination
that is the basic command.

another command...
- Convert avi to 3gp

ffmpeg -i inputfile.avi -s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y outputfile.3gp
ffmpeg -i input.avi -vcodec mpeg4 -acodec amr_nb -ar 8000 -ac 1 -ab 32 -s qcif -r 10 -y test.3gp

- Convert flv to 3gp
ffmpeg -i exemple.flv -s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -r 25 -ab 32 -y output-file.3gp

- Take some pictures from video
ffmpeg -i exemple.flv -deinterlace -an -ss 00:00:03 -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg demo.jpg

- Convert avi to Flv
ffmpeg -i exemple.avi -ar 22050 -ab 32 -f flv -s 320x240 yourvideo.flv

hope this can help......



  1. tambahan om, buat yang masih terjebak di jendela ada aplikasi gratis berbasis gui yang bisa make interface bahasa indonesia lho (aq translatornya ^^V) ni ink di blogku :
    disitu da donlot linknya.

    Hope useful.


    Quantro a.k.a Royyan

  2. Thanks.
    I often convert AVI to FLV flash videos in order to sharing videos on blog.


Post a Comment

comment please ...

Popular posts from this blog

Webalizer - Statistik trafik/kunjungan web (ubuntu)

make subdomain trafik statistik

run this command :
sudo apt-get install webalizeredit "/etc/apache2/apache2.conf" , set
HostnameLookups Off into :
HostnameLookups On
All we need is already prepared, now set log of vhost in "/etc/apache2/sites-enabled" to spesifict folder.
exp. $sudo vi /etc/apache2/sites-enabled/monitor CustomLog ${APACHE_LOG_DIR}/access.log into: CustomLog ${APACHE_LOG_DIR}/vhost/monitor/access.logrestart service
$sudo /etc/init.d/apache2 restart
create another file config of webalizer in /etc/webalizer
exp. vi /etc/webalier/monitor.conf
set the LogFile to apache2 logfile:
LogFile /var/log/apache2/vhost/monitor/access.log # apache log OutputDir /var/webalizer/monitor/ #webalizer report Incremental yes ReportTitle Usage statistics for HostName
create script to run webalizer via crontab
exp. vi /etc/webalizer/cron_job
#!/bin/bash echo "di jalankan pada: `date +"%d-%B-%Y %r"…

pgpoolAdmin, web interface for pgpool

next capter of pgpool from my last post ( here), now i wanna post about a tool that can manage pgpool from web interface called pgpoolAdmin. next... enjoy the post... ^_^

first we need to download pgpooladmin from here, extrak and copy or move to http directory( for exp : /var/www) 
$wget $tar zxvf pgpoolAdmin-3.0.3.tar.gz $sudo cp -Rf pgpoolAdmin-3.0.3 /var/www/test
install pgpooladmin via web on: http://localhost/test/install

make sure owner of that file is "www-data"(of course have write akses) and check again

login with user that you create on /etc/pcp.conf (for more detail see my last post

and done.ya.. tooo.......!!!

send oracle 11g audit log to syslog server ( on other PC)

well...... this time i will write about syslog, and for this experiment what we need is :
- kiwi syslog server get from here and install it on your PC( i use xp for this server syslog)
- oracle db
- and of course, a cup of coffee is a must and other thing that make you relax and comfortable ( :p )

first thing to do is redirect oracle audit log to syslog, and than from syslog send to syslog server( kiwi syslog)

 edit initSID.ora and add this folowing config :
create "/var/log/oracle/" firs
audit_file_dest='/var/log/oracle/' audit_trail='OS' AUDIT_SYSLOG_LEVEL=local1.warning after that edit /etc/syslog.conf, and add this folowing config :
#Save oracle rdbms audit trail to oracle_audit.log local1.warning /var/log/oracle/oracle_audit.log #Send oracle rdbms audit trail to remote syslog server local1.warning @ #<= ip your syslog server--2--
restart syslog service with command :
/sbin/service syslog restart …