
Recherche avancée
Autres articles (99)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
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.
Sur d’autres sites (6997)
-
FFMpeg Commands definition in library source code
25 janvier 2013, par SKCI tried running the
ffmpeg
commands from Android activity using an emulator in Windows OS, but i get errors.
I tried keeping both my resource files in/mnt/sdcard
as well the application package within/data/data
, but none of the options worked out for running the ffmpeg commands.These are the following approach i had taken while running the command through an android activity.
(Command to convert a series if images into a video)
Approach 1 :String[] cmd =new String[4];
cmd[0]="/data/data/com.example.commandlineffmpeg/files/ffmpeg";
cmd[1]="-i";
cmd[2]="/data/data/com.example.commandlineffmpeg/images/bpc_%03d.png";
cmd[3]="/data/data/com.example.commandlineffmpeg/out/out.avi";
Process p = Runtime.getRuntime().exec(cmd, null, new File("/data/data/com.example.ffmpegnew/out"));I have solved this, basically there was system permission issues and hence we were not allowed to access the system properties required to run the FFMpeg commands.
Thus we need to sign the apps with the system certificates and hence we can use FFMpeg commands directly from any android activity. -
Error in video upload to NGINX server using ffmpeg
26 novembre 2014, par SREEIam using NGINX server for sending video to my server.
I could able to play the file from the NGINX server using the following command which i have given in the browser
rtmp :///foldername/whereas when i try to send video file from client to server from terminal (Linux) using the following command
ffmpeg -re -i "sample.mp4" -c:v copy -c:a copy -f flv rtmp :///mytv/
got the following error
Failed to update header with correct duration.
Failed to update header with correct file size. -
C# and FFmpeg preferably without shell commands ?
14 août 2018, par Dominic Bou-SamraI’d like to be able to use FFmpeg to convert a video file from within my C# program. I know I can just call a shell command, but is there a better way ?
The issue with invoking a command via the shell, is I’m not sure you could do things like a progress bar, etc... or could you ?
If there isn’t a way, can anyone suggest the best way to layout some framework for executing shell commands. Passing one big long string is very cumbersome atm.