Difference between revisions of "Conversion"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
= convert image formats =
+
= Images =
 +
== convert image formats ==
 
Use the command convert like this:
 
Use the command convert like this:
 
  convert ''name''.''format'' ''name''.''jpg''
 
  convert ''name''.''format'' ''name''.''jpg''
  
= k3b cannot convert music files? =
+
= Music files =
 +
== k3b cannot convert music files? ==
 
install "libk3b2-mp3"
 
install "libk3b2-mp3"
  
= convert video to 3gp =
+
= Videos =
 +
== convert video to 3gp ==
 
  mencoder ''INPUTFILE'' -nosound -ovc lavc -lavcopts vcodec=mpeg4 -vop expand=176:144,scale=176:-2 -o movie.avi -ofps 12
 
  mencoder ''INPUTFILE'' -nosound -ovc lavc -lavcopts vcodec=mpeg4 -vop expand=176:144,scale=176:-2 -o movie.avi -ofps 12
  
Line 13: Line 16:
 
  ffmpeg -i movie.avi -i audiodump.wav -b 48 -ac 1 -ab 12 -map 0.0 -map 1.0 ''OUTPUTFILE''
 
  ffmpeg -i movie.avi -i audiodump.wav -b 48 -ac 1 -ab 12 -map 0.0 -map 1.0 ''OUTPUTFILE''
  
= convert 3gp-Video to DivX =
+
== convert 3gp-Video to DivX ==
 
  mencoder -ovc divx4 vid.3gp -o vid.avi
 
  mencoder -ovc divx4 vid.3gp -o vid.avi
  
= convert video for Palm =
+
== convert video for Palm ==
 
  mencoder source.mpg -ofps 15 -srate 24000 -oac mp3lame -lameopts  
 
  mencoder source.mpg -ofps 15 -srate 24000 -oac mp3lame -lameopts  
 
cbr:br=32:vol=5:mode=3 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=96:vhq:
 
cbr:br=32:vol=5:mode=3 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=96:vhq:
Line 25: Line 28:
 
  -fps 30 -ofps 30 -ovc lavc -vop scale=320:240 -o target.avi
 
  -fps 30 -ofps 30 -ovc lavc -vop scale=320:240 -o target.avi
  
= rpms to deb konvertieren =
+
= Software packages =
 +
== rpms to deb konvertieren ==
 
alien --to-deb 123.rpm
 
alien --to-deb 123.rpm

Revision as of 08:58, 4 September 2010

Images

convert image formats

Use the command convert like this:

convert name.format name.jpg

Music files

k3b cannot convert music files?

install "libk3b2-mp3"

Videos

convert video to 3gp

mencoder INPUTFILE -nosound -ovc lavc -lavcopts vcodec=mpeg4 -vop expand=176:144,scale=176:-2 -o movie.avi -ofps 12
mplayer -vo null -ao pcm -af resample=8000,volume=+4db:sc INPUTFILE
ffmpeg -i movie.avi -i audiodump.wav -b 48 -ac 1 -ab 12 -map 0.0 -map 1.0 OUTPUTFILE

convert 3gp-Video to DivX

mencoder -ovc divx4 vid.3gp -o vid.avi

convert video for Palm

mencoder source.mpg -ofps 15 -srate 24000 -oac mp3lame -lameopts 

cbr:br=32:vol=5:mode=3 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=96:vhq: keyint=300 -vop scale=480:320 -o target.avi

or

mencoder source.mpg -srate 24000 -oac mp3lame -lameopts cbr:br=32:vol5:mode=3\
-fps 30 -ofps 30 -ovc lavc -vop scale=320:240 -o target.avi

Software packages

rpms to deb konvertieren

alien --to-deb 123.rpm