
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (106)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (7517)
-
how to convert video file via ffmpeg in php ?
4 janvier 2015, par ali rahaIn SSH centos terminal, I run it via this command :
$HOME/bin/ffmpeg -i test.mp4 test.webm
I tried this
$ffmpegPath = "/home/bin/ffmpeg";
//or $ffmpegPath = "/bin/ffmpeg";
$outPath=$outPath."/".$newname.$format;
shell_exec("$ffmpegPath -i $inputPath $outPath"); -
How to compile ffmpeg via Alchemy gcc ?
3 juillet 2014, par RellaSo I created ffmpeg configuration file that makes it pure C (platform independent, but only theoretically)
So my config is simple (0.6.1,0.6.3 tested) :
./configure --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-pthreads --disable-everything --enable-muxer=flv --enable-encoder=flv --enable-encoder=h263 --disable-mmx --disable-shared --prefix=bin/ --disable-protocols --disable-network --disable-optimizations --disable-debug --disable-asm --disable-stripping
Compiling this on Linux will resolve in 4 libs with totall size of 1 mb.
But I need to compile ffmpeg with custom compiler (opensource gcc analog called Adobe Alchemy, lets us compile C/c++ into Flash)
It gives me errors on nearly each and every file during standart Make :
Array @ARGV missing the @ in argument 1 of shift() at /home/rupert/Downloads/alchemy-ubuntu-v0.5a/achacks/gcc line 218.
cc1: error: unrecognized command line option "-Wtype-limits"
cc1: error: unrecognized command line option "-fno-signed-zeros"So what shall I do - how to compile ffmpeg (at least smallest part of it) via alchemy ?
Update
If we would fix that errors manually (2 in configure.mak and one in alchemy gcc) we would get a really messy and long output like :> $ make -w install
make: Entering directory `/home/rupert/Downloads/ffmpeg-0.6.1'
AR libavformat/libavformat.a
llvm-ld: error opening 'avformat/libavformat.l.bc' for writing!
llvm-ranlib: Archive file does not exist
INSTALL libavformat/libavformat.a
install: cannot stat `libavformat/libavformat.a': No such file or directory
llvm-ranlib: Archive file does not exist
AR libavcodec/libavcodec.a
llvm-ld: error opening 'avcodec/libavcodec.l.bc' for writing!
llvm-ranlib: Archive file does not exist
INSTALL libavcodec/libavcodec.a
install: cannot stat `libavcodec/libavcodec.a': No such file or directory
llvm-ranlib: Archive file does not exist
AR libswscale/libswscale.a
llvm-ld: error opening 'swscale/libswscale.l.bc' for writing!
llvm-ranlib: Archive file does not exist
INSTALL libswscale/libswscale.a
install: cannot stat `libswscale/libswscale.a': No such file or directory
llvm-ranlib: Archive file does not exist
AR libavutil/libavutil.a
llvm-ld: error opening 'avutil/libavutil.l.bc' for writing!
llvm-ranlib: Archive file does not exist
INSTALL libavutil/libavutil.a
install: cannot stat `libavutil/libavutil.a': No such file or directory
llvm-ranlib: Archive file does not exist
INSTALL libavformat/avformat.h
INSTALL libavformat/avio.h
INSTALL libavformat/libavformat.pc
INSTALL libavcodec/avcodec.h
INSTALL libavcodec/avfft.h
INSTALL libavcodec/dxva2.h
INSTALL libavcodec/opt.h
INSTALL libavcodec/vaapi.h
INSTALL libavcodec/vdpau.h
INSTALL libavcodec/xvmc.h
INSTALL libavcodec/libavcodec.pc
INSTALL libswscale/swscale.h
INSTALL libswscale/libswscale.pc
INSTALL libavutil/adler32.h
INSTALL libavutil/attributes.h
INSTALL libavutil/avstring.h
INSTALL libavutil/avutil.h
INSTALL libavutil/base64.h
INSTALL libavutil/common.h
INSTALL libavutil/crc.h
INSTALL libavutil/error.h
INSTALL libavutil/fifo.h
INSTALL libavutil/intfloat_readwrite.h
INSTALL libavutil/log.h
INSTALL libavutil/lzo.h
INSTALL libavutil/mathematics.h
INSTALL libavutil/md5.h
INSTALL libavutil/mem.h
INSTALL libavutil/pixdesc.h
INSTALL libavutil/pixfmt.h
INSTALL libavutil/rational.h
INSTALL libavutil/sha1.h
INSTALL libavutil/avconfig.h
INSTALL libavutil/libavutil.pc
LD ffmpeg_g
WARNING: While resolving call to function 'main' arguments were dropped!
Cannot yet select: 0x8e707e8: i32 = ConstantPool < i64 6881500230622117888> 0
llc[0x86c7dec]
make: *** [ffmpeg_g] Error 6
make: Leaving directory `/home/rupert/Downloads/ffmpeg-0.6.1' -
linphone-3.5.2 install on centOS error
26 novembre 2012, par plancysI have a problem with installation of Linhone.
I follow this page
When I install mediastreamer2 I got this error.[root@IPv6B mediastreamer2]# make
make all-recursive
(...)
videoenc.c: In function ‘ms_ffmpeg_check_init’:
videoenc.c:56: warning: implicit declaration of function ‘avcodec_init’
videoenc.c: In function ‘prepare’:
videoenc.c:239: warning: ‘avcodec_get_context_defaults’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3437)
videoenc.c: In function ‘prepare_h263’:
videoenc.c:303: error: ‘CODEC_FLAG_H263P_UMV’ undeclared (first use in this function)
videoenc.c:303: error: (Each undeclared identifier is reported only once
videoenc.c:303: error: for each function it appears in.)
videoenc.c:305: error: ‘CODEC_FLAG_H263P_SLICE_STRUCT’ undeclared (first use in this function)
videoenc.c: In function ‘enc_preprocess’:
videoenc.c:345: warning: ‘avcodec_open’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3569)
videoenc.c: In function ‘add_rfc2190_header’:
videoenc.c:375: error: ‘FF_I_TYPE’ undeclared (first use in this function)
videoenc.c: In function ‘process_frame’:
videoenc.c:782: error: ‘FF_I_TYPE’ undeclared (first use in this function)
videoenc.c:794: warning: ‘avcodec_encode_video’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4272)
make[3]: *** [videoenc.lo] Error 1
make[3]: Leaving directory `/home/TEST/Desktop/APPS/linphone-3.5.2/mediastreamer2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/TEST/Desktop/APPS/linphone-3.5.2/mediastreamer2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/TEST/Desktop/APPS/linphone-3.5.2/mediastreamer2'
make: *** [all] Error 2