
Recherche avancée
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...) -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...)
Sur d’autres sites (9238)
-
Getting length of video
9 octobre 2023, par MZimmerman6I am having trouble finding a simple example of how to get the video length of a file programmatically. Many people say, oh use this library/wrapper or whatever, but do not say how. I have downloaded ffmpeg, but have no clue how to actually use it and there does not seem to be any example of how to use it to get the video duration. I see how you can use it to convert videos, but I simply just want to know the duration of a video. All of the other information does not matter.



Is there any way of doing this simply, whether it be in C#, python, java, whatever, that will just return a string that indicates the length of a video file.



Please provide examples if possible. Thanks in advance !



Assume standard file formats, such as wmv, avi, mp4, mpeg. Stuff that has metadata.


-
How to trim/ cut a video file Android
15 avril 2015, par Huy Duong TuMy application is to capture a video and cut it with only 6s length to upload it onto the server. After searching for video handling library in Android, I found the library guardianproject android-ffmpeg-java
But there are no API documentation about it.
Please solve me how to cut a video with this library. Thanks in advance. -
Cutting a video to the last 10 seconds
1er avril 2014, par ShiftedDesignSo I am looking for a way to cut a video file to the last 10 seconds of the file. Normally I would use FFMPEG or mencoder but the situation is that the file to be cut is going to be a different size every time it's cut. So I found some stuff for a general duration using ffmpeg but the problem is I would need the duration to be in seconds instead of 00:00:00 so then I could just use the var-10 for the -ss.
I don't know if I explained that well enough but in short :
Different length video every time it is ran, only need the last 10 seconds in a new file.
Need something light on resources but still fast.Thanks in advance for anyone who answers !