
Recherche avancée
Autres articles (16)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (4688)
-
Split large amount of wav files to small parts
3 juillet 2017, par Tadeáš PešekI have large amount of wav files (over 50 000) and I need to split every wav file to 10 second long parts. It’s nearly impossible to do it one by one, so my question is : is there any way to do it in ffmpeg or for example in sox ? I’m an amateur, so I need exact instructions. Please, if you can, write it like you would for a dummy :)... (I’m a Windows 7 user)
Thank you !
-
Split large amount of wav files to small parts
23 janvier 2017, par Tadeáš PešekI have large amount of wav files (over 50 000) and I need to split every wav file to 10 second long parts. It’s nearly impossible to do it one by one, so my question is : is there any way to do it in ffmpeg or for example in sox ? I’m an amateur, so I need exact instructions. Please, if you can, write it like you would for a dummy :)... (I’m a Windows 7 user)
Thank you !
-
How to efficiently split a large video into multiple parts using Python ?
7 décembre 2023, par OleksandrI have large video files ( 1.5 GB) and a list of time intervals in seconds, represented as [(1.3, 2.6), ..., (433.1, 455.2)].


The objective is to split the video into segments based on the specified time intervals. Currently, I am using the
ffmpeg-python
library for this task, as shown below :

import ffmpeg

parts = [(1.3, 2.6), ..., (433.1, 455.2)]

for index, part in enumerate(parts):
 file_name = f"video{index}.mp4"
 start_time, end_time = part
 
 input_file = ffmpeg.input(movie_path, ss=start_time, to=end_time)
 input_file.output(file_name).run()



That works, but it is relatively slow, processing only 1-2 segments per second.


What is a more efficient way or library that can potentially load the entire video into memory and perform the cutting operation with multiple outputs or something like that ?