
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (29)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (6259)
-
Mix more then 1000 mp3's sounds bad / Can I use FFmpeg to merge 1000 mp3s ?
7 avril 2022, par maesbnI am working on a project where everybody has to activate a part of a song. I have about 7000 mp3's, each with the same length of the final mix but with only a small part of audio. So for example you can hear a drum hit at the 15th second and the rest of the mp3 (about 4 min.) is silence.



I use the mix filter to add all the mp3's. I add them 32 mp3s at a time. 
The first test I've run results in the first mixed mp3s to be silenced ? (I set the Volume on the mix to the number of tracks) Also the sound is of poor quality after the mix. Can I fix this ?



Or do you think this can not be done by ffmpeg ? Do you know an alternative program to do this ?



Thanks !
B.


-
FFMPEG Increment filename past 1000 and reset from 1
15 avril 2019, par Eric GaoFrom the documentation :
ffmpeg -i video.webm image-%03d.png
This will extract 25 images per second from the file video.webm and save them as image-000.png, image-001.png, image-002.png up to image-999.png. If there are more than 1000 frames then the last image will be overwritten with the remaining frames leaving only the last frame.
Is there any way to increment this number past 1000, and can I also have this restart from 1 so that we’re not just overwriting the last frame ?
I have a script that analyzes these images as they come in so I use locally stored images as a buffer/queue. It’s also useful for me to have more images stored so I can go back and debug anything, so being able to do the above would be quite helpful for me.
-
Split a movie into 1000+ shots using PyAV in a single pass ?
3 mai 2019, par Andrew KlaassenI need to split a 44 minute MP4 into 1000 shots (i.e. separate MP4s) with ffmpeg. I want to do it quickly (i.e. in a single pass rather than 1000 passes), I need perfect frame accuracy, and I need to do it in Windows.
The Windows command-line length limit is stopping me from doing this, and I’m wondering if someone could show me an example of how to do this using a library like PyAV or Avpy. (Libraries like ffmpeg-python and ffmpy won’t help, since they simply construct an ffmpeg command line and run it, leading to the same Windows command-line length issue that I already have.)
After much testing and gnashing of teeth, I’ve learned that the only way to get perfect frame accuracy from ffmpeg, 100% of the time, is to use the "select" filter. ("-ss" in the newest versions of ffmpeg is frame accurate 99% of the time ; unfortunately, that’s not good enough for this application.)
There are two ways to use "select" for this. There’s the slow way, which I’m doing now, and which requires having ffmpeg open the file 1000 times :
for (start, end, name) in shots:
audio_start = start / frame_rate
audio_end = end + 1 / frame_rate
cmd = [
path_to_ffmpeg,
'-y',
'-i', input_movie,
'-vf', r'select=between(n\,%s\,%s),setpts=PTS-STARTPTS' % (start, end),
'-af', 'atrim=%s:%s,asetpts=PTS-STARTPTS' % (audio_start, audio_end),
'-c:v', 'libx264',
'-c:a', 'aac',
'-write_tmcd', '0',
'-g', '1',
'-r', str(frame_rate),
name + '.mp4',
'-af', 'atrim=%s:%s' % (audio_start, audio_end),
name + '.wav',
]
subprocess.call(cmd)And there’s the fast way, which causes the Windows command line to explode when there are too many shots. The long command line leads to a failure to run :
cmd = [
path_to_ffmpeg,
'-y',
'-i',
input_movie,
]
for (start, end, name) in shots:
audio_start = start / frame_rate
audio_end = end + 1 / frame_rate
cmd.extend([
'-vf', r'select=between(n\,%s\,%s),setpts=PTS-STARTPTS' % (start, end),
'-af', 'atrim=%s:%s,asetpts=PTS-STARTPTS' % (audio_start, audio_end),
'-c:v', 'libx264',
'-c:a', 'aac',
'-write_tmcd', '0',
'-g', '1',
'-r', str(frame_rate),
name + '.mp4',
'-af', 'atrim=%s:%s' % (audio_start, audio_end),
name + '.wav',
]
subprocess.call(cmd)I’ve looked through the documentation of PyAV and Avpy, but I haven’t been able to figure out whether the second form of my function is something I could do there, or how I’d go about doing it. If it is possible, would someone be able to write a function equivalent to my second function, using either library ?