
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (28)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (5515)
-
I have installed FFMPEG and can't find it inside a PHP script
14 novembre 2019, par AntopI have installed FFMPeg in CentOS. It works perfectly.
It’s inside /usr/bin directory. Also, I have PHP 7.2.24 that comes with Plesk 18.0.20.I want to use FFMPeg inside a PHP script, but that script can’t find the executable of FFMpeg. I have tried giving the exact route (/usr/bin/ffmpeg) but doesn’t work.
It’s a production server. The same script, in my development server (macOS) works perfectly.
I tried using :
var_dump(getenv('PATH'));
var_dump(exec('which ffmpeg'));
var_dump(ini_get('open_basedir'));
var_dump(is_file(exec('which ffmpeg')));
var_dump(is_executable(exec('which ffmpeg')));And it returns me :
string(49) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
string(0) ""
string(44) "/var/www/vhosts/name-of-the-domain.com/:/tmp/"
bool(false)
bool(false)
NULL¿What could be happening ?
A very strange thing I’ve noticed is that I can’t access any command via php :
I tried using it with echovar_dump(exec('which echo'));
var_dump(is_file(exec('which echo')));
var_dump(is_executable(exec('which echo')));And it returns me :
string(0) ""
bool(false)
bool(false)
NULLAnd the permissions are right :
[root@vps bin]# ls -lha echo
-rwxr-xr-x 1 root root 33K ago 20 08:25 echo
[root@vps bin]# ls -lha ffmpeg
-rwxr-xr-x 1 root root 217K abr 4 2019 ffmpegBut if I make a
var_dump(exec('echo "HELLO"'))
it returns me
string(5) "HELLO"
-
OpenCV : Cannot open camera with CAP_FFMPEG even though ffmpeg is installed
24 février 2021, par cildiracagimInitializing a camera video capture using CAP_FFMPEG fails even though I have ffmpeg installed :


cv::VideoCapture vcap;
vcap.open(0, cv::CAP_FFMPEG);

// After these, vcap.isOpened() returns false.



However, it works perfectly when I open a file in the same way :


cv::VideoCapture vcap;
vcap.open(argv[1], cv::CAP_FFMPEG);

/* Correctly opens the video file at path argv[1],
vcap.isOpened() returns true. */



The problem occurs in both OpenCV versions installed in my system :
4.5.1
and3.2.0
. Version3.2.0
came installed in my Linux distribution but I have compiled4.5.1
myself. During compilation, I have verified that CMake succesfully recognized the ffmpeg installation in my system. I guess the problem is not related to OpenCV not recognizing ffmpeg since I can open and work on video files without any problems on both OpenCV versions.

Any help is greatly appreciated.


-
Enable Codec on FFmpeg
25 mars 2013, par nmnirI'm tryiing to use g711 alaw with ffmpeg. The call
avcodec_find_encoder(CODEC_ID_PCM_ALAW) ;
returns null.
I'm passing —enable-encoder=pcm_alaw as parameter to ./configure.
What is wrong ?Thanks,
Nahum