
Recherche avancée
Autres articles (66)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (13363)
-
ffmpeg giving full path as parameter gives error
15 juin 2015, par Taufiq Abdur RahmanThis code works
ffmpeg.exe -i 1.avi -vf "[in] scale=iw:ih, pad=2*iw:ih [left];movie=2.avi, scale=iw:ih, fade=out:300:30:alpha=1 [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k Output1.mp4
I get an error running this.
ffmpeg.exe -i "c:\test 14\1.avi" -vf "[in] scale=iw:ih, pad=2*iw:ih [left]; movie="c:\test 14\2.avi", scale=iw:ih, fade=out:300:30:alpha=1 [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k "C:\test 15\Output.AVI"
[Parsed_movie_2 @ 04183780] Failed to avformat_open_input ’C’
[AVFilterGraph @ 02be04e0] Error initializing filter ’movie’ with args
’c :\test 14\2.avi’ Error opening filters !What am I doing wrong ?
-
Installing full multimedia stack on server (ffmpeg,mp4box,sox,mplayer)
29 avril 2015, par hdezelaI’ve had a trusty text file with all(?) the steps I need to set up a full multimedia stack on a RHEL compatible server (CentOS, AWS Linux, etc.) for a few years now. However, sometimes some things are missing and I need to revise it. I know it is not complete so I’m asking for suggestions/modifications in order to get a good - and public - list of how to install all this stuff easily.
Ideally, I want to be able to run through the file and end up with a system that’ll take any media file and be able to convert/encode/decode/whatever with it.
This is what I have :
yum install mesa-libGL-devel mesa-libGLU-devel libXi-devel libXmu-devel freeglut-devel freeglut ncurses-devel
cd /usr/local/src
mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
wget http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.4.tar.gz
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2
wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz
wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
wget http://webm.googlecode.com/files/libvpx-v1.3.0.zip
wget http://downloads.sourceforge.net/project/yamdi/yamdi/1.9/yamdi-1.9.tar.gz
wget http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz
git clone https://github.com/FFmpeg/FFmpeg.git
wget http://downloads.sourceforge.net/gpac/gpac-0.5.0.tar.gz
wget http://downloads.sourceforge.net/gpac/gpac_extra_libs-0.5.0.tar.gz
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
wget http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.xz
wget https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-fpcalc-1.1-linux-x86_64.tar.gz
wget http://sourceforge.net/projects/mad/files/madplay/0.15.2b/madplay-0.15.2b.tar.gz
wget http://sourceforge.net/projects/mad/files/libmad/0.15.1b/libmad-0.15.1b.tar.gz
wget http://sourceforge.net/projects/mad/files/libid3tag/0.15.1b/libid3tag-0.15.1b.tar.gz
wget http://sourceforge.net/projects/sox/files/sox/14.4.1/sox-14.4.1.tar.gz
wget http://downloads.xiph.org/releases/ao/libao-1.2.0.tar.gz
wget http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz
wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz
wget http://www.wavpack.com/wavpack-4.70.0.tar.bz2
wget http://www.linuxfromscratch.org/patches/blfs/svn/libmad-0.15.1b-fixes-1.patch
tar zxf yasm-1.3.0.tar.gz
tar zxf libogg-1.3.2.tar.gz
tar zxf libvorbis-1.3.4.tar.gz
tar zxf libtheora-1.1.1.tar.gz
tar jxf last_stable_x264.tar.bz2
tar zxf opencore-amr-0.1.3.tar.gz
tar zxf faac-1.28.tar.gz
tar zxf lame-3.99.5.tar.gz
unzip libvpx-v1.3.0.zip
tar xzf yamdi-1.9.tar.gz
tar xzf rtmpdump-2.3.tgz
tar zxvf gpac-0.5.0.tar.gz
tar zxvf gpac_extra_libs-0.5.0.tar.gz
tar jxf all-20110131.tar.bz2
tar jxf MPlayer-1.1.tar.xz
tar xf chromaprint-fpcalc-1.1-linux-x86_64.tar.gz
tar xf madplay-0.15.2b.tar.gz
tar xf libmad-0.15.1b.tar.gz
tar xf libid3tag-0.15.1b.tar.gz
tar xf sox-14.4.1.tar.gz
tar xf libao-1.2.0.tar.gz
tar xf twolame-0.3.13.tar.gz
tar xf libsndfile-1.0.25.tar.gz
tar jxf wavpack-4.70.0.tar.bz2
[YASM]
cd /usr/local/src/yasm-1.3.0
./configure && make && make install
yasm --version
ldconfig
[LIBOGG]
cd /usr/local/src/libogg-1.3.2
./configure && make clean && make && make install
ls /usr/local/lib/libogg*
ldconfig
[LIBVORBIS]
cd /usr/local/src/libvorbis-1.3.4
./configure && make clean && make && make install
ls /usr/local/lib/libvorbis*
ldconfig
[LIBTHEORA]
cd /usr/local/src/libtheora-1.1.1
./configure && make clean && make && make install
ls /usr/local/lib/libtheora*
ldconfig
[x264]
cd /usr/local/src/x264-snapshot-[***]
./configure --enable-shared && make clean && make && make install
ls /usr/local/lib/libx264*
ldconfig
[AMR]
cd /usr/local/src/opencore-amr-0.1.3
./configure && make clean && make && make install
ls /usr/local/lib/libopencore*
ldconfig
[FAAC]
cd /usr/local/src/faac-1.28
vi /usr/local/src/faac-1.28/common/mp4v2/mpeg4ip.h [ELIMINAR]:char *strcasestr(const char *haystack, const char *needle);
./configure && make && make install
ls /usr/local/lib/libfaac*
ldconfig
[LAME]
cd /usr/local/src/lame-3.99.5
./configure && make clean && make && make install
ls /usr/local/lib/libmp3lame*
ldconfig
[GPAC+MP4BOX]
cd /sr/local/src/gpac
cp -r ../gpac_extra_libs/* extra_lib/
chmod +x configure
./configure
make lib
make apps
make install-lib
make install
cp bin/gcc/libgpac.so /usr/lib
ldconfig
[LIBVPX]
cd /usr/local/src/libvpx-v1.3.0
./configure --enable-vp8 --enable-pic --enable-shared && make && make install
ls /usr/local/lib/libvpx*
ldconfig
[LIBRTMP]
cd /usr/local/src/rtmpdump-2.3
make SYS=posix
make install
ls /usr/local/lib/librtm*
ldconfig
[FFMPEG]
cd /usr/local/src/FFmpeg
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig"
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libtheora --enable-librtmp
make clean && make && make install
make tools/qt-faststart
cp tools/qt-faststart /usr/local/bin/
ldconfig
ffmpeg
qt-faststart
[MPLAYER]
mv /usr/local/src/all-20110131 /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
cd MPlayer-1-1
make clean
./configure && make && make install
ldconfig
[YAMDI]
cd /usr/local/src/yamdi-1.9
gcc yamdi.c -o yamdi -O2 -Wall
strip yamdi
cp yamdi /usr/bin/yamdi
yamdi -h
[MEDIAINFO]
rpm -ivh http://downloads.sourceforge.net/zenlib/libzen0-0.4.31-1.x86_64.CentOS_6.rpm
rpm -ivh http://sourceforge.net/projects/mediainfo/files/binary/libmediainfo0/0.7.73/libmediainfo0-0.7.73-1.x86_64.CentOS_6.rpm
rpm -ivh http://sourceforge.net/projects/mediainfo/files/binary/mediainfo/0.7.73/mediainfo-0.7.73-1.x86_64.CentOS_6.rpm
[CHROMAPRINT]
cp /usr/local/src/chromaprint-fpcalc-1.1-linux-x86_64/fpcalc /usr/local/bin/fpcalc
[LIBAO]
cd /usr/local/src/libao-1.2.0
./configure
make
make install
ldconfig
[LIBSND]
cd /usr/local/src/libsndfile-1.0.25
./configure
make
make install
ldconfig
[TWOLAME]
cd /usr/local/src/twolame-0.3.13
./configure
make
make install
ldconfig
[WAVPACK]
cd /usr/local/src/wavpack-4.70.0
./configure
make
make install
ldconfig
[LIBMAD]
cd /usr/local/src/libmad-0.15.1b
patch -Np1 -i ../libmad-0.15.1b-fixes-1.patch
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac
touch NEWS AUTHORS ChangeLog
autoreconf -fi
./configure --enable-shared
make
make install
ldconfig
[ID3]
cd /usr/local/src/libid3tag-0.15.1b
./configure --enable-shared
make
make install
ldconfig
[MADPLAY]
cd /usr/local/src/madplay-0.15.2b
./configure --enable-shared
make
make install
ldconfig
[SOX]
cd /usr/local/src/sox-14.4.1
./configure
make -s
make install
ldconfig -
How can I create a FULL copy of a decoder ?
28 avril 2015, par damicoloI’m writing a video decoder (using FFMPEG/AVCodec) for a custom implementation of an mpeg4 video stream. The peculiarity of this video stream is that it could split into many "son" streams creating many P frames based on the same parent. The video stream I’m trying to decode is actually a sort of "video tree". Something like this :
I <--P <--P <---------------------P <-------------- P <------------ P
\ <--P <--P <--P \ <--P <--P \ <--P <--PI’ve already wrote a basic decoder which works fine when I decide to follow one path, the problem is when I try to follow more than one path in the video tree. At this point I need to "fork" my decoder to follow two different video streams. the split could occur not only after a key frame, but even after a P frame, so I need to duplicate the AVCodecContext (I use
avcodec_copy_context
) but it seems to create new decoder from a clean status.. it seems to ignore the previous video status, so the decoded P frames are "applied" to an empty video frame.
Probably copying the context usingavcodec_copy_context
is not enough... Any suggestion ? How can I duplicate the context and the complete status of the decoder ?
Or, is there any other way to decode my stream using references ?
Thanks !