48 | | {{{ |
49 | | cd /home/sasha/GIS |
50 | | mkdir DEP |
51 | | cd DEP |
52 | | svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg |
53 | | cd ffmpeg |
54 | | ./configure --disable-vhook --disable-mmx --disable-static --enable-shared |
55 | | make |
56 | | cd libswscale |
57 | | make |
58 | | sudo make install |
59 | | cd .. |
60 | | sudo make install |
61 | | |
62 | | # Create simbolink link to put the include files all in a standard place (/usr/iclude/ffmpeg) |
63 | | |
64 | | mkdir '/usr/include/ffmpeg' |
65 | | sudo ln -s '/usr/local/include/libavcodec/avcodec.h' '/usr/local/include/libavcodec/opt.h' '/usr/include/ffmpeg' |
66 | | |
67 | | sudo ln -s '/usr/local/include/libavdevice/avdevice.h' '/usr/include/ffmpeg' |
68 | | |
69 | | sudo ln -s '/usr/local/include/libavformat/avformat.h' '/usr/local/include/libavformat/avio.h' |
70 | | '/usr/local/include/libavformat/rtsp.h' '/usr/local/include/libavformat/rtspcodes.h' '/usr/include/ffmpeg' |
71 | | |
72 | | sudo ln -s '/usr/local/include/libavutil/adler32.h' '/usr/local/include/libavutil/avstring.h' |
73 | | '/usr/local/include/libavutil/avutil.h' '/usr/local/include/libavutil/base64.h' '/usr/local/include/libavutil/common.h' |
74 | | '/usr/local/include/libavutil/crc.h' '/usr/local/include/libavutil/fifo.h' '/usr/local/include/libavutil/intfloat_readwrite.h' |
75 | | '/usr/local/include/libavutil/log.h' '/usr/local/include/libavutil/lzo.h' '/usr/local/include/libavutil/mathematics.h' |
76 | | '/usr/local/include/libavutil/md5.h' '/usr/local/include/libavutil/mem.h' '/usr/local/include/libavutil/random.h' |
77 | | '/usr/local/include/libavutil/rational.h' '/usr/local/include/libavutil/sha1.h' '/usr/include/ffmpeg' |
78 | | |
79 | | sudo ln -s '/usr/local/include/libswscale/swscale.h' '/usr/include/ffmpeg' |
80 | | }}} |
81 | | |