
Recherche avancée
Autres articles (100)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9343)
-
when i build ffmpeg there is an error in command port. How can I solve this ?
26 janvier 2020, par Pradeep Simba -
libavcodec/avcodec.h file not found on macos-14 arm m1
27 juillet 2024, par mikeProgrammerI am writing a program that links to the ffmpeg dev libs and everything works correctly on ubuntu-22-x86-64 ubuntu-24-x86-64 macos-13-x86-64 but not on macos-14-arm-m1.


I install ffmpeg with
brew install ffmpeg
and then I run this command :

cc -fPIC -I/opt/homebrew/Cellar/erlang/26.2.5/lib/erlang/erts-14.2.5/include -Ic_src/xav -shared -undefined dynamic_lookup c_src/xav/xav_nif.c c_src/xav/reader.c c_src/xav/decoder.c c_src/xav/utils.c -o /Users/runner/work/xav/xav/_build/test/lib/xav/priv/libxav.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample



which results in


In file included from c_src/xav/xav_nif.c:1:
c_src/xav/decoder.h:1:10: fatal error: 'libavcodec/avcodec.h' file not found
#include <libavcodec></libavcodec>avcodec.h>
 ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from c_src/xav/reader.c:1:
c_src/xav/reader.h:1:10: fatal error: 'libavcodec/avcodec.h' file not found
#include <libavcodec></libavcodec>avcodec.h>
 ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from c_src/xav/decoder.c:1:
c_src/xav/decoder.h:1:10: fatal error: 'libavcodec/avcodec.h' file not found
#include <libavcodec></libavcodec>avcodec.h>
 ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from c_src/xav/utils.c:1:
c_src/xav/utils.h:2:10: fatal error: 'libavcodec/avcodec.h' file not found
#include <libavcodec></libavcodec>avcodec.h>
 ^~~~~~~~~~~~~~~~~~~~~~



When I locate header files and dynamic libs and set C_INCLUDE_PATH, LD_LIBRARY_PATH etc., the compilation works but I assume that this shouldn't be needed, should it ?


My understanding is that, if I install ffmpeg using some package manager, ffmpeg header files and .dylib or .so should be automatically searchable (as long as there is no bug in package manager's install script). Is that correct ?


The same commands work on macos-13-intel-x86-64


-
Windows 7 add user path variable for ffmpeg
17 janvier 2015, par user2601430I am trying to add a user path varible for ffmpeg. It is located in D :\AppRun\FFmpeg\bin on my disk. In the Environment Variables dialog I clicked new and I entered ffmpeg for the varible name and D :\AppRun\FFmpeg\bin for the varible value. Clicked OK. Opened cmd prompt. Typed ffmpeg, and it says its not recognized as an internal or external command. What am I doing wrong ??
I logged off and on but that did not help