
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (33)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 (...) -
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...)
Sur d’autres sites (7335)
-
Segmenting .flac files with ffmpeg truncates audio but not file length
5 avril 2022, par Yan WhiteI am trying to get Twitter spaces audio (.ts) files into a format I can easily edit, on OSX.


So far I was able to convert the files in bulk to .flac with this :


for i in *.ts;
do name=`echo "$i" | cut -d'.' -f1`
echo "$name"
ffmpeg -i "$i" -sample_fmt s16 -ar 41000 "${name}.flac"
done



That worked, and reduced the file sizes somewhat, but..
Because most of the files are around 7 hours long, my editor of choice cannot process that much audio in one file.


So I looked around and was able to find this command to segment the files into 3hr long sections.


ffmpeg -i space-1OdKrBealBqKX_0.flac -map 0 -f segment -segment_time 10800 -c copy space-1OdKrBealBqKX_0__%03d.flac



This works, but each file contains as much empty / silent space at the end as the orginal file. That's going to be a problem for sharing with a team that will help edit these files, as each file has the original file's length and file size. There are a lot of files.
The audio segments and naming did work though.


How to truncate the actual length of the file to the audio segment ?


Caveat : I am no expert on any of these matters, I just managed to google and get this far, so if someone knows and wants to provide working code that would be very much appreciated !


-
alsdec : check block length
8 décembre 2013, par Reinhard Tartler -
How to extract tiles from ffmpeg thumbnails by cutting them to the length of the video
22 mars 2021, par JeeNiI have searched in many ways to solve this problem. But I can't find an answer, so I leave a question.


ffmpeg -i thumb_test.mp4 -filter_complex "select='isnan(prev_selected_t)+gte(t-prev_selected_t\,5)',scale=120:-1,tile=layout=60x60" -vframes 1 -q:v 2 thumb.jpg



The result of the command I used is as follows.




The remaining space remains black, making the file size larger.
To solve this method, I would like to specify the tile size as much as the video length when extracting thumbnails.
Please let me know if there is a solution.


Thank you.