
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (82)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (14062)
-
ffmpeg extract audio corresponding to a certain number of frames
17 octobre 2022, par Mauro GentileWe know that :

ffmpeg -ss 10 -t 30 -i file.mp3 file.wav

extracts 30 sec of audio starting from 10th second

How can we extract a portion of audio whose duration is expressed as number of frames rather than in seconds ?
For instance, how do I extract the portion of audio corresponding to 120 frames starting from the 10th second ?


-
Ffmpeg mixing audio only for n number of videos using offset with an altered duration
26 août 2022, par TurgutI want to mix audio stream of n amount of video files with ffmpeg, with certain parameters such as :


- 

- Duration : I want to specify how long each audio is going to play for each output. For example if I specify
ffmpeg -i -d:5 first.mp4 -i second.mp4
it should play the audio fromfirst.mp4
for 5 seconds (I don't know if-d:5
is a real tag it's just an example I've made ). - Starting point : I want to specify when a given file is going start on the output, I probably need to use
-itsoffset 5
but I don't know if it's the right one in terms of interacting with other commands, in on itself it works fine. For example :ffmpeg -i -isoffset 5 first.mp -i second.mp4
causes thesecond.mp4
to start immediately, and first.mp4 to start after 5 seconds. - Segmentation : This is the tricky one, I want to specify at which point the input's audio should start. It's like the
-ss
flag but the problem is it's not working together with-itsoffset
. For example when I sayffmpeg -i -ss 5 first.mp4 -i second.mp4
both files should start immediately on the output, butfirst.mp4
should start on it's 5 seconds. So the 5th second offirst.mp4
is heard at the 1st second of the output.








This is what I'm trying to achieve, my problem is that I don't know how to implement 'duration' and
-ss
is not working together with-itsoffset
.

At the end I should have something similar to this :


ffmpeg -y -d 5 -itsoffset 3.5 -i first.mp4 -d 10 -ss 10 -itsoffset 5.3 -i 3 -vn -copyts -async 1 -filter_complex amix=inputs=2 out.mp



Which should result in an audio that sounds like this : The first 3.5 seconds are empty, no audio is heard. Then
first.mp4
is heard from it's beginning for 5 seconds. When the outputs timestamp reaches 5.3, the 10th seconds ofsecond.mp4
is heard (whilefirst.mp4
is still playing, it's supposed to play until 8.5, so I should hear both files at the same time.) for 10 seconds.

I can't find an example of this and some sources are out-of date.


- Duration : I want to specify how long each audio is going to play for each output. For example if I specify
-
Ffmpeg mixing audio only for n number of videos using offset and altered duraion
26 août 2022, par TurgutI want to mix audio stream of n amount of video files with ffmpeg, with certain parameters such as :


- 

- Duration : I want to specify how long each audio is going to play for each output. For example if I specify
ffmpeg -i -d:5 first.mp4 -i second.mp4
it should play the audio fromfirst.mp4
for 5 seconds (I don't know if-d:5
is a real tag it's just an example I've made ). - Starting point : I want to specify when a given file is going start on the output, I probably need to use
-itsoffset 5
but I don't know if it's the right one in terms of interacting with other commands, in on itself it works fine. For example :ffmpeg -i -isoffset 5 first.mp -i second.mp4
causes thesecond.mp4
to start immediately, and first.mp4 to start after 5 seconds. - Segmentation : This is the tricky one, I want to specify at which point the input's audio should start. It's like the
-ss
flag but the problem is it's not working together with-itsoffset
. For example when I sayffmpeg -i -ss 5 first.mp4 -i second.mp4
both files should start immediately on the output, butfirst.mp4
should start on it's 5 seconds. So the 5th second offirst.mp4
is heard at the 1st second of the output.








This is what I'm trying to achieve, my problem is that I don't know how to implement 'duration' and
-ss
is not working together with-itsoffset
.

At the end I should have something similar to this :


ffmpeg -y -d 5 -itsoffset 3.5 -i first.mp4 -d 10 -ss 10 -itsoffset 5.3 -i 3 -vn -copyts -async 1 -filter_complex amix=inputs=2 out.mp



Which should result in an audio that sounds like this : The first 3.5 seconds are empty, no audio is heard. Then
first.mp4
is heard from it's beginning for 5 seconds. When the outputs timestamp reaches 5.3, the 10th seconds ofsecond.mp4
is heard (whilefirst.mp4
is still playing, it's supposed to play until 8.5, so I should hear both files at the same time.) for 10 seconds.

I can't find an example of this and some sources are out-of date.


- Duration : I want to specify how long each audio is going to play for each output. For example if I specify