video.rst
changeset 1307 0bb716f32881
parent 1306 6261322b4ef5
child 1308 879d342c6e37
equal deleted inserted replaced
1306:6261322b4ef5 1307:0bb716f32881
     1 -*- mode: outline; coding: utf-8; -*-
       
     2 
       
     3 * Players for linux?
       
     4 
       
     5   $ sudo apt-get install vlc
       
     6 or
       
     7   $ sudo apt-get install mplayer
       
     8 
       
     9 * How convert .3gp to .avi(mpeg)?
       
    10 
       
    11 First install convertor:
       
    12 
       
    13   $ sudo apt-get install ffmpeg
       
    14 
       
    15 Then do:
       
    16 
       
    17   $ ffmpeg -i test.3gp -f mpegvideo -ar 44100 -ac 1 -acodec mp3 test.mpg
       
    18 
       
    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
       
    20 
       
    21   $ ffmpeg -i video-in.3gp -b 250 -s 160×120 -r 15 -f avi -an video-out.avi
       
    22 or
       
    23   $ mencoder -oac mp3lame -ovc lavc -o video-out.avi -vf pp,2xsai,scale video-in.3gp
       
    24 or
       
    25   $ mencoder -o video-in.avi -vf pp,2xsai,scale -ovc lavc video-out.3gp
       
    26 or
       
    27   $ mencoder -o video-in.avi -vf rotate=2 -oac pcm -ovc divx4 video-out.3gp
       
    28 
       
    29 
       
    30 You need to compile FFmpeg with AMR support (--enable-amr_nb
       
    31 --enable-amr_wb)
       
    32 
       
    33 AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204
       
    34 V5.1.0 from
       
    35 http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
       
    36 and extracted the source to libavcodec/amrwb_float
       
    37 
       
    38 
       
    39 AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104
       
    40 REL-5 V5.1.0 from
       
    41 http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-5??.zip
       
    42 and extracted the source to libavcodec/amr_float
       
    43 and if u try this on an alpha, u may need to change Word32 to int in
       
    44 amr/typedef.h
       
    45 
       
    46 * Video editor.
       
    47 
       
    48 ** Cinelerra.
       
    49 
       
    50 Cinelerra is a prosumer non-linear video editing system. It is designed for the GNU/Linux operating
       
    51 system.
       
    52 
       
    53   http://cinelerra.org
       
    54                 home page
       
    55   http://ru.wikipedia.org/wiki/Cinelerra