
Recherche avancée
Autres articles (25)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (3684)
-
Unable to run a program in PATH from Java code
17 novembre 2012, par user1831004I am developing a Red5 media server application on a Mac (Dynamic Web Project in Eclipse). The app has to invoke FFMPEG to convert the video to a different format.
I added "/Applications/FFMPEG" to PATH variable by running the following command in Terminal :
echo 'export PATH=/Applications/FFMPEG:$PATH' >> ~/.profile
When I invoke FFMPEG from terminal, it works fine. However, every time I run it from Java code with :
Process p = Runtime.getRuntime().exec("ffmpeg");
p.waitFor();I get the following error :
Cannot run program "ffmpeg": error=2, No such file or directory
I thought this might be a security limitation specific to the type of project, but even a simple Java program produces the same result. What am I missing ?
Changing "ffmpeg" to full path of the application works, but I don't want to upload FFMPEG into the same directory as Red5 on a production server.
-
what is the exact path to specify in php for ffmpeg for windows
17 janvier 2014, par user3196597i'm new to ffmpeg..and i've been trying to figure out the exact path to specify while running it in a php exec() function the code below runs fine in terminal but not in php :
1)c:/ffmpeg/bin/ffmpeg -y -i c:/xampp/htdocs/video/media/original.mp4 -f avi c:/xampp/htdocs/video/media/new.avi 2<&1
2)c:/xampp/htdocs/video/ffmpeg/bin/ffmpeg.exe -y -i c:/xampp/htdocs/video/media/original.mp4 -f avi c:/xampp/htdocs/video/media/new.avi 2<&1that works fine in terminal but not in php, i think the problem is with the path specification..can anyone tell the exact path to use while working in windows,please ??
thanks in advance friends :D
-
ffmpeg permission denied though the user has permission
12 octobre 2014, par codename_subhoI have installed ffmpeg in my server running ubuntu 14. my flask app project root is at /var/www/project/
i am able to upload files and my python scripts are able to write new files, but when i run ffmpeg in my script it gives permission denied.
Also running the below line in terminalffmpeg -i path/to/inputfile /path/to/outputfile & ps aux | grep ffmpeg
gives the user running the process is "ubuntu" which has write access to the project folder and its subfolders. As i told you other python script run by user "ubuntu" is able to create file.permission denied error happens in both cases(python script and directly in terminal)
update :
also looking at the confusion with the permissions, is there a way i can run the app from /home/ubuntu/project instead of /var/www/project. i am using mod_wsgi with apache for my flask-app.