
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (96)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (10341)
-
Error in FFMPEG/LIBAV audio_decode example for aac decoding
23 mai 2017, par Prashant RaviI am trying to do aac decoding using the examples provided by FFMPEG/LIBAV. I modified the example as follows :-
int main(int argc, char **argv)
{
.......
/* find the MPEG audio decoder */
codec = avcodec_find_decoder(AV_CODEC_ID_AAC);
if (!codec) {
fprintf(stderr, "codec not found\n");
exit(1);
}
.......
return 0;
}I changed the decoder type to "AV_CODEC_ID_AAC" and recompiled the examples.
Once I ran the example for decode audio with an example aac audio file but I am getting the following
prashantravi@mini:/media/sf_Shared/libav/doc/examples$ ./decode_audio ../../../example.aac ../../../out.wav
Error submitting the packet to the decoder
err code :-1052488119I tried looking up the error code but it dosent match with any of the existing error codes at all.
-
Playing large AVI files online with subtitles
3 mai 2012, par TareqI need a way to play a relatively large avi files (1+ GB) on the web with their subtitles, I have searched a lot for this, the only thing that I came up with was a normal embed without controls and it requires specific browser or application to show controls or even play.
I have a large number of files (12 TB) so converting these files to mp4 would take ages not to mention having to miss with quality of audio or video.
Is there a way that allows me to play these online along with their subtitls or should I convert these to MP4 ? I have tried to convert a file to MP4 and it didn't play either apparently it hits the browser limits or something (I tried playing it using flowplayer).
I was considering a solution like red5, but as I found out it doesn't support avi either.
I used this command to convert the mp4
ffmpeg -y -i $file.avi -vcodec copy -acodec copy -copyts -f mp4 $file.mp4
It toke relatively long time to get converted, if you have a better command or a solution that will work for playing the avis without converting, Please be my guest.
-
PHP ffmpeg not found
17 décembre 2020, par heisenbergso I already browse all the forum but I still get error "sh : 1 : /usr/bin/ffmpeg : not found".
If I run ffmpeg from terminal it works just fine and can do convert video without problem, but if I use PHP exec or shell_exec, the return always ffmpeg not found.


this is my code :


$cmd = "/usr/bin/ffmpeg";

$run = exec($cmd." -i 'linkvideo.m3u8' -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 /test_stream/newfile.mp4 2>&1");

var_dump($run);



if I run which ffmpeg or whereis ffmpeg from terminal it will return /usr/bin/ffmpeg, but if I exec('which ffmpeg') from my code it will return ffmpeg not found. I already chown and chmod the ffmpeg to grant rwx, i tried move ffmpeg to /usr/local/bin still same result. If i run whoami from terminal it will show root but if from my code using exec('whoami') it will show www-data so maybe I miss something about the user but I also already tried to chown ffmpeg from root to www-data still the result is ffmpeg not found, maybe anyone can help, I'm using codeigniter and already install ffmpeg in server using sudo apt-get ffmpeg, thanks before !