author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 17 Mar 2010 15:24:36 +0200 | |
changeset 347 | 8ae88e9dd05d |
parent 109 | 393746c9bb44 |
permissions | -rw-r--r-- |
55
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
-*- outline -*- |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
* Players for linux? |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
|
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
$ sudo apt-get install vlc |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
or |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
$ sudo apt-get install mplayer |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
|
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
* How convert .3gp to .avi(mpeg)? |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
|
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
11 |
First install convertor: |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
12 |
|
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
13 |
$ sudo apt-get install ffmpeg |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
|
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
Then do: |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
|
109
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
17 |
$ ffmpeg -i test.3gp -f mpegvideo -ar 44100 -ac 1 -acodec mp3 test.mpg |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
18 |
|
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
19 |
$ 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 |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
20 |
|
55
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
$ ffmpeg -i video-in.3gp -b 250 -s 160×120 -r 15 -f avi -an video-out.avi |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
or |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
23 |
$ mencoder -oac mp3lame -ovc lavc -o video-out.avi -vf pp,2xsai,scale video-in.3gp |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
or |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
$ mencoder -o video-in.avi -vf pp,2xsai,scale -ovc lavc video-out.3gp |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
or |
4e65a262e821
How convert .3gp to .avi(mpeg)?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
$ mencoder -o video-in.avi -vf rotate=2 -oac pcm -ovc divx4 video-out.3gp |
109
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
28 |
|
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
29 |
|
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
30 |
You need to compile FFmpeg with AMR support (--enable-amr_nb |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
31 |
--enable-amr_wb) |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
32 |
|
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
33 |
AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204 |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
34 |
V5.1.0 from |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
35 |
http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
36 |
and extracted the source to libavcodec/amrwb_float |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
37 |
|
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
38 |
|
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
39 |
AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104 |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
40 |
REL-5 V5.1.0 from |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
41 |
http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-5??.zip |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
42 |
and extracted the source to libavcodec/amr_float |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
43 |
and if u try this on an alpha, u may need to change Word32 to int in |
393746c9bb44
Compile FFmpeg with AMR support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
55
diff
changeset
|
44 |
amr/typedef.h |