how to convert flv file to avi or mpg using ffmpeg in Ubuntu ?

Posted September 22, 2010 by babeyudi
Categories: LINUX, Uncategorized

It’s a simple way to get  video file from YouTube. Just write down the file that you want to watch on browser.

after the video finished, look at directory “/tmp” so you can find out the video.

but the file is still in flash file format.

if you want to play this video in your handpone. but It’s not supported flash format. You must convert the video to avi or mpeg. In Ubuntu, you can use ffmpeg to convert the video into other format  eg. avi, mpeg.

First Step:  installed ffmpeg into you computer

#sudo apt-get install ffmpeg

next step : You can use ffmpeg command to convert your file into another format.

format : ffmpeg -i <sourcefile> <targetfile>

examples :

1. if you want to convert flv file to avi file :

# ffpmeg -i cinta-satu-malam.flv cinta-satu-malam.avi

2. if you want to convert flv file to mpeg file :

# ffpmeg -i cinta-satu-malam.flv cinta-satu-malam.mpg

3. if you want to convert avi file to flv file :

# ffpmeg -i cinta-satu-malam.avi cinta-satu-malam.flv

4. if you want to convert mpeg file to flv file :

# ffpmeg -i cinta-satu-malam.mpg cinta-satu-malam.flv

that’s all folk. enjoy it.

resource : http://www.ubuntugeek.com/convert-flv-google-videos-to-mpg-using-ffmpeg.html

how split and join file with lxsplit in ubuntu ?

Posted September 7, 2010 by babeyudi
Categories: LINUX, Uncategorized

I already explain to you how to join some files in my article before. now I have to describe how to join and split some files using lxsplit.

first, we have to install lxsplit by using command :

#sudo apt-get install lxsplit

then, we ready to use lxsplit.

if we want to split file in chunks of some size, we can use command :

#lxsplit -s file.rar  50M

Splitting file.rar into 2 pieces.
file.rar.001 52428800 bytes
file.rar.002 18390810 bytes
Done!

it’s mean, I will split the file into 2 pieces with 50 MB per pieces.

if we want to join some files, we can use command :

#lxsplit -j file.rar.001

Creating merged file `file.rar’.

Complete size: 70819610 in 2 files.

Processing file `file.rar.001′ …

Processing file `file.rar.002′ …

Done!

it’s mean, I will join the 2 files into 1 file.

resource : split and join files in ubuntu with lxsplit

How to join file without HJSplit or lxsplit ?

Posted September 5, 2010 by babeyudi
Categories: LINUX, Uncategorized

I was downloaded file with format xx.001, xx .002. I don’t have any tools to join these files. Usually, when I was used Windows, I used HJSplit to solved my problem. right now I am using ubuntu. We can use lxsplit to join these files.

in window we also can use command “copy”  to concat these files if we don’t have HJSplit. in ubuntu we can use command “cat” to concat these files if we don’t have lxsplit.

with this TIPS, I only explain to you how to concat files without any tools.

in window :

Step1: Start > Run > Type CMD to run Command Prompt
Step2: Use CD to connect to the folder that contain your .001, .002, … files.
Step3: Type this command to join files :
COPY /B file1.rar.001+file1.rar.002 file1.rar

in linux :

Step1:  Application > Accessories > Terminal
Step2: Use cd to connect to the folder that contain your .001, .002, … files.
step3: Type this command to join files :
#cat file1.rar.001>> file.rar
#cat file1.rar.002>> file.rar

that’s all. I hope this can helps you

how to install php-java in ubuntu 10.04

Posted September 2, 2010 by babeyudi
Categories: LINUX

Berikut ini akan dijelaskan lagkah-langkah install php/java di ubuntu :

1. Persiapkan paket-paket yang dibutuhkan untuk install php/java seperti php5-dev untuk compile php/java, java sun dan automake untuk proses kompilasi

# apt-get install build-essential php5-dev automake

2. unduh php/java bridge  :

# cd /usr/src

# wget http://ftp.heanet.ie/disk1/sourceforge/p/project/ph/php-java-bridge/OldFiles/php-java-bridge_5.2.0.tar.gz

# tar xzfv php-java-bridge_5.2.0.tar.gz

3. Proses instalasi. Read the rest of this post »

convert wma to mp3

Posted September 2, 2010 by babeyudi
Categories: LINUX

I have to convert file wma to mp3. because my handpone is not  compatible with wma format. So I try to find application that can convert wma format to mp3. in ubuntu apparently, I found two applications that can  convert wma to mp3.  They are ffmpeg and lame. ffmpeg used to convert wma to wav and lame to convert wav to mp3.This post will mainly cover just the commands I used to install ffmpeg and lame  on ubuntu 10.04 and the way how to used ffmpeg and lame to convert wma to mp3.

install ffmpeg :

#sudo apt-get install ffmpeg

install lame :

#sudo apt-get install lame

then we  already convert wma to mp3. I’ll show you the steps.

Read the rest of this post »

my windows has been change. I did it.

Posted August 27, 2010 by babeyudi
Categories: LINUX

At last, I made it. my window has already been change. you can see its below.

before

After

Upgrade to ubuntu 10.04 LTS

Posted May 27, 2010 by babeyudi
Categories: Uncategorized

Operating System “Ubuntu” was upgraded from 9.10  into 10.04 LTS. I already done upgrade my operating system. Look cool. but I found some wierd on the windows. you can look at the picture below.

I can’t fix this problem. Anybody can help me ???.

I will fix this problem. if I were found solve of the problem

Join MP3 tracks into a single MP3 in Ubuntu

Posted June 19, 2009 by babeyudi
Categories: LINUX

The program “mp3wrap” is program that you can use to merge two or more mp3 files. You can install it by typing:

sudo apt-get install mp3wrap

Now you can merge three mp3 files (let’s say 1.mp3, 2.mp3 and 3.mp3 ) by typing:

format :

mp3wrap merge-result.mp3  source-1.mp3 source-2.mp3 souce-n.mp3

example:

mp3swrap gabungan.mp3 3.mp3 2.mp3 1.mp3

note that the gabungan.mp3 will start with 3.mp3 and finish with 1.mp3

Compress MP3 into lower bitrate in ubuntu

Posted June 19, 2009 by babeyudi
Categories: LINUX

First, you must have “lame” program. If the programe “lame”is currently not installed. you can install it by typing in consule : sudo apt-get install lame

second, after the program “lame” is currently installed. you can use it for decrease mp3 bitrate.

format :

lame -b [bitrate] input.mp3 output.mp3

examples :

#lame -b 32 input.mp3  output.mp3
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE, SSE2
Resampling:  input 24 kHz  output 16 kHz
Using polyphase lowpass filter, transition band:  5484 Hz -  5677 Hz
Encoding input.mp3 to output.mp3
Encoding as 16 kHz  32 kbps j-stereo MPEG-2 Layer III (16x) qval=3
Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
4613/4613  (100%)|    0:08/    0:08|    0:09/    0:09|   20.604x|    0:00
——————————————————————————-
kbps        MS  %     long switch short %
32.0      100.0        92.6   4.5   2.9

compare both file input.mp3 and output.mp3. size of file output.mp3 is lower then input.mp3

sound problem in HP 6530S with ubuntu 8.10 and 9.40

Posted June 1, 2009 by babeyudi
Categories: LINUX

how to Fixed this problem.

step 1 :

in terminal, type :

sudo gedit /etc/modrobe.d/alsa-base

step 2:

adding the text below  in the  last line :

options snd-hda-intel model=laptop

step 3:

restart ubuntu system then you will solve the problem


Follow

Get every new post delivered to your Inbox.