Compile FFmpeg with AMR support.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 07 May 2009 23:01:30 +0300
changeset 109 393746c9bb44
parent 101 551a197b656b
child 110 c065527d6332
Compile FFmpeg with AMR support.
video-file.rst
--- a/video-file.rst	Tue May 05 22:59:44 2009 +0300
+++ b/video-file.rst	Thu May 07 23:01:30 2009 +0300
@@ -14,6 +14,10 @@
 
 Then do:
 
+  $ ffmpeg -i test.3gp -f mpegvideo -ar 44100 -ac 1 -acodec mp3 test.mpg
+
+  $  for i in `ls -1 *.3gp | cut -d. -f1`; do ffmpeg -y -i $i.3gp -sameq -f mpegvideo -s cif -r 25 -ar 32000 -ac 1 mpegs/$i.mpg; done
+
   $ ffmpeg -i video-in.3gp -b 250 -s 160×120 -r 15 -f avi -an video-out.avi
 or
   $ mencoder -oac mp3lame -ovc lavc -o video-out.avi -vf pp,2xsai,scale video-in.3gp
@@ -21,3 +25,20 @@
   $ mencoder -o video-in.avi -vf pp,2xsai,scale -ovc lavc video-out.3gp
 or
   $ mencoder -o video-in.avi -vf rotate=2 -oac pcm -ovc divx4 video-out.3gp
+
+
+You need to compile FFmpeg with AMR support (--enable-amr_nb
+--enable-amr_wb)
+
+AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204
+V5.1.0 from
+http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
+and extracted the source to libavcodec/amrwb_float
+
+
+AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104
+REL-5 V5.1.0 from
+http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-5??.zip
+and extracted the source to libavcodec/amr_float
+and if u try this on an alpha, u may need to change Word32 to int in
+amr/typedef.h