1308
|
1 |
.. -*- coding: utf-8; -*-
|
|
2 |
|
|
3 |
========
|
|
4 |
Video.
|
|
5 |
========
|
|
6 |
|
|
7 |
Players for linux?
|
|
8 |
==================
|
|
9 |
::
|
|
10 |
|
|
11 |
$ sudo apt-get install vlc
|
|
12 |
$ sudo apt-get install mplayer
|
|
13 |
|
1309
|
14 |
3d film.
|
|
15 |
========
|
|
16 |
::
|
|
17 |
|
|
18 |
$ mplayer -vf stereo3d=side_by_side_left_first:anaglyph_red_cyan_color -vo gl $VIDEO
|
|
19 |
$ mplayer -vf stereo3d=above_below_left_first:anaglyph_red_cyan_color -vo gl $VIDEO
|
|
20 |
|
|
21 |
See ``man 1 mplayer``.
|
|
22 |
|
1308
|
23 |
Web camera.
|
|
24 |
===========
|
|
25 |
|
|
26 |
To view image::
|
|
27 |
|
|
28 |
$ mplayer tv://
|
|
29 |
$ mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=15:device=/dev/video0
|
|
30 |
$ cheese
|
|
31 |
$ camorama
|
|
32 |
|
|
33 |
See:
|
|
34 |
|
|
35 |
http://wiki.debian.org/Webcam
|
|
36 |
Debian wiki.
|
|
37 |
|
|
38 |
How convert .3gp to .avi(mpeg)?
|
|
39 |
===============================
|
|
40 |
::
|
|
41 |
|
|
42 |
$ sudo apt-get install ffmpeg
|
|
43 |
$ ffmpeg -i test.3gp -f mpegvideo -ar 44100 -ac 1 -acodec mp3 test.mpg
|
|
44 |
$ 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
|
|
45 |
$ ffmpeg -i video-in.3gp -b 250 -s 160×120 -r 15 -f avi -an video-out.avi
|
|
46 |
$ mencoder -oac mp3lame -ovc lavc -o video-out.avi -vf pp,2xsai,scale video-in.3gp
|
|
47 |
$ mencoder -o video-in.avi -vf pp,2xsai,scale -ovc lavc video-out.3gp
|
|
48 |
$ mencoder -o video-in.avi -vf rotate=2 -oac pcm -ovc divx4 video-out.3gp
|
|
49 |
|
|
50 |
You need to compile FFmpeg with AMR support (--enable-amr_nb --enable-amr_wb).
|
|
51 |
|
|
52 |
AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204
|
|
53 |
V5.1.0 from
|
|
54 |
http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
|
|
55 |
and extracted the source to libavcodec/amrwb_float
|
|
56 |
|
|
57 |
|
|
58 |
AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104
|
|
59 |
REL-5 V5.1.0 from
|
|
60 |
http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-5??.zip
|
|
61 |
and extracted the source to libavcodec/amr_float
|
|
62 |
and if u try this on an alpha, u may need to change Word32 to int in
|
|
63 |
amr/typedef.h
|
|
64 |
|
|
65 |
Video editor.
|
|
66 |
=============
|
|
67 |
|
|
68 |
Cinelerra.
|
|
69 |
----------
|
|
70 |
|
|
71 |
Cinelerra is a prosumer non-linear video editing system. It is designed for the GNU/Linux operating
|
|
72 |
system.
|
|
73 |
|
|
74 |
http://cinelerra.org
|
|
75 |
Home page.
|
|
76 |
http://ru.wikipedia.org/wiki/Cinelerra
|
|
77 |
Wikipedia page.
|
|
78 |
|