
Recherche avancée
Autres articles (12)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5848)
-
error while install FFMPEG-PHP
30 juillet 2016, par Box LyricsI’m trying to install FFmpeg and FFMPEG-PHP .
The installation of FFmpeg is success but when i try to install FFMPEG-PHP i get this error# make
/bin/sh /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/libtool --mode=compile cc -I. -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/include -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/main -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c -o ffmpeg_movie.lo
libtool: compile: cc -I. -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/include -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/main -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c -fPIC -DPIC -o .libs/ffmpeg_movie.o
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:42:32: error: libavcodec/version.h: No such file or directory
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:76:1: warning: "MAX_STREAMS" redefined
In file included from /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:43:
/usr/include/libavformat/avformat.h:569:1: warning: this is the location of the previous definition
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘php_get_dict_value’:
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: ‘AVDictionaryEntry’ undeclared (first use in this function)
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: (Each undeclared identifier is reported only once
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: for each function it appears in.)
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: ‘m_entry’ undeclared (first use in this function)
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getPixelFormat’:
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:828: warning: assignment makes pointer from integer without a cast
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘_php_get_codec_name’:
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:918: error: ‘AV_CODEC_ID_MPEG2TS’ undeclared (first use in this function)
make: *** [ffmpeg_movie.lo] Error 1this is what i have execute
# git clone https://github.com/tony2001/ffmpeg-php.git
# cd ffmpeg-php
# make clean
# phpize
# ./configure
# makewhen i search for a solution i found this :
If you get an error message like make : *** [ffmpeg_movie.lo] Error 1 open the ffmpeg_movie.c file and make the following changes :user@myVPS:~# vim ffmpeg_movie.c
Change list_entry *le ; to zend_rsrc_list_entry *le ;
Change list_entry new_le ; to zend_rsrc_list_entry new_le ;
Change hashkey_length+1, (void *)&new_le, sizeof(list_entry), to hashkey_length+1, (void *)&new_le,sizeof(zend_rsrc_list_entry),but when i check the ffmpeg_movie.c i found that is already fixed with this changes.
I can’t find the probleme -
Is there a set of working P/Invoke declarations for FFMpeg, libavutil, libavformat and libavcodec in .NET ?
11 février 2014, par casperOneI'm currently looking to access libavutil, libavformat and libavcodec (all part of FFMpeg) from .NET.
Currently, I'm getting the libraries from the automated builds of the shared FFMpeg package performed every night for Windows 32-bit.
I am also using the code from the ffmpeg-sharp project. In that project, I have removed a number of classes that were not compiling (they are wrapper classes not the P/Invoke declarations).
The code compiles fine, but I am running into a few issues.
First, it appears that the build of av*.dll uses the cdecl calling convention, as I was receiving a number of
PInvokeStackImbalanceException
when trying to callav_open_input_file
. This was easy enough to change to get it to work right. TheAVFormatContext
structure is populated.After that, I want to call
av_find_stream_info
to get information about the streams in the file. However, when calling that with theAVFormatContext
retrieved from the call toav_open_input_file
, anAccessViolationException
is thrown indicating that I am trying to read or write from protected memory.Has anyone used P/Invoke to access the libavutil, libavformat and libavcodec dll libraries through P/Invoke and have gotten it to work ?
I should mention that working with the command-line version of FFMpeg, while a solution, is not a viable solution in this case, access needs to occur through the libraries. The reason for this is that I'd have to thrash the disk way too much to do what I need to do (I have to do a frame-by-frame analysis of some very high definition video) and I want to avoid the disk as much as possible.
-
Is there a set of working P/Invoke declarations for FFMpeg, libavutil, libavformat and libavcodec in .NET ?
30 août 2011, par casperOneI'm currently looking to access libavutil, libavformat and libavcodec (all part of FFMpeg) from .NET.
Currently, I'm getting the libraries from the automated builds of the shared FFMpeg package performed every night for Windows 32-bit.
I am also using the code from the ffmpeg-sharp project. In that project, I have removed a number of classes that were not compiling (they are wrapper classes not the P/Invoke declarations).
The code compiles fine, but I am running into a few issues.
First, it appears that the build of av*.dll uses the cdecl calling convention, as I was receiving a number of
PInvokeStackImbalanceException
when trying to callav_open_input_file
. This was easy enough to change to get it to work right. TheAVFormatContext
structure is populated.After that, I want to call
av_find_stream_info
to get information about the streams in the file. However, when calling that with theAVFormatContext
retrieved from the call toav_open_input_file
, anAccessViolationException
is thrown indicating that I am trying to read or write from protected memory.Has anyone used P/Invoke to access the libavutil, libavformat and libavcodec dll libraries through P/Invoke and have gotten it to work ?
I should mention that working with the command-line version of FFMpeg, while a solution, is not a viable solution in this case, access needs to occur through the libraries. The reason for this is that I'd have to thrash the disk way too much to do what I need to do (I have to do a frame-by-frame analysis of some very high definition video) and I want to avoid the disk as much as possible.