
Recherche avancée
Autres articles (56)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (6089)
-
Split video with ffmpeg with specific conditions
15 juin 2023, par MahdiI have some videos and I want to split them into 15 min each with FFmpeg with the following conditions :


- 

- Final videos should be less than 15 min
- Script should cut the video somewhere that speaker is not talking. For example, script should cut video on the following point :








And it should not cut videos like the following :



This article could working for the first condition, but the second option is missed.


python ffmpeg-split.py -f big_video_file.mp4 -s 10



-
Is there an elegant way to split a file by chapter using ffmpeg ?
18 janvier, par KatternIn this page, Albert Armea share a code to split videos by chapter using
ffmpeg
. The code is straight forward, but not quite good-looking.

ffmpeg -i "$SOURCE.$EXT" 2>&1 |
grep Chapter |
sed -E "s/ *Chapter #([0-9]+\.[0-9]+): start ([0-9]+\.[0-9]+), end ([0-9]+\.[0-9]+)/-i \"$SOURCE.$EXT\" -vcodec copy -acodec copy -ss \2 -to \3 \"$SOURCE-\1.$EXT\"/" |
xargs -n 11 ffmpeg



Is there an elegant way to do this job ?


-
FFMPEG split audio files accurately
5 mai 2015, par Jakob Hougaard AndersenI am trying to use ffmpeg to split uncompressed audio files. I would like to split them very precisely at certain points.
My experiments so far have led me to this procedure :ffmpeg -ss 1.126 -i someInputFile.wav -acodec copy -t 0.634 someOutputFile.wav
So I am seeking (-ss) to a certain point in the input file and then I am outputting to a file with a defined length (-t).
The -ss parameter seems to locate the starting point very accurately, but the length of the file doesn’t seem to match my defined length exactly.
It seems that the file size jumps in steps of 4096 bytes (and the length with it) so that I can not define a file length in between two steps.I know that 4096 bytes is not a lot, but for a mono wave file (44.1kHz, 16 bit) it equals a step size of approximately 45 ms. I would really like to be able to define the length as precisely as the starting point.
So my question is : is it possible to avoid this 4096 byte quatization on the output file length ?
I have tried to use the ’chomp’ bitstream filter, and it seems to make the length exactly what it should be, but it also causes the output audio file to have strange regions with pure noise...
Best regards, Jakob