
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (111)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (6925)
-
error while decoding MB 42 22, bytestream -5
21 novembre 2014, par user1824030I’m bothering in h264 video stream decode, error information is just like "error while decoding MB 42 22, bytestream -5", I found before program assert, three decode thread is waiting for process, so I think when fourth decode thread is established, system kills the program. Beg for the answer, thanks.
-
Mix voiceover and background music with delay and volume
6 août 2019, par oldmanI don’t master ffmpeg but I really need to mix a voiceover with a background song.
The voiceover must start 5 seconds after the song, and must end 5 seconds before the song ends.
The music volume must be loud for the first 5 seconds and the last 5 seconds, but during the voiceover it should remain low.
Searching the internet, the closest I could come to my goal was this :
ffmpeg -i music.mp3 -i voiceover.mp3 -filter_complex "[0]asplit[a][b]; [a]atrim=duration=5,volume='1-max(0.25*(t-13),0)':eval=frame[pre]; [b]atrim=start=5,asetpts=PTS-STARTPTS[song]; [song][1]amix=inputs=2:duration=shortest:dropout_transition=0[post]; [pre][post]concat=n=2:v=0:a=1[mixed]" -map " "[mixed]" output.mp3
Could someone help me complete this script ?
-
Static image and a folder of mp3's ?
28 juin 2013, par ShirohigeI want to create a bunch of videos consisting of an single image which is shown throughout the whole video but each video has a different audio file. I can do it manually with various tools but the problem is that I have a lot of audio files and I can't optimize the frame rate (more on that later) and it takes a lot of time to do it that way but ffmpeg offers everything I need but the problem is that I don't know how to batch process everything.
The basic code :
ffmpeg -i song-name.mp3 -loop 1 -i cover.jpg -r frame-rate -t song-length -acodec copy output.mp4
What I want to achieve :
Let's say that I have a folder which consists of several audio files : song-name-1.mp3, song-name-2.mp3, ..., song-name-n.mp3 and cover.jpg.I need a batch file which takes the name of every mp3 file in a folder (a FOR loop I suppose) and processes it with the same command :
ffmpeg -i song-name.mp3 -loop 1 -i cover.jpg -r frame-rate -t song-length -acodec copy output.mp4
So the image is always the same for every video. The song length can be taken with the tool mp3info and the corresponding command :
mp3info.exe -p %S song-name.mp3
Since I only have one image throughout the whole video, the optimal frame rate would be the inverse of the video length which is 1/length (where length is a variable in seconds which we get from mp3info).
So the final code should look something like this :
ffmpeg -i song-name.mp3 -loop 1 -i cover.jpg -r 1/length -t length -acodec copy song-name.mp4
Where "song-name" is a variable which changes for every iteration of the FOR loop (i.e. for every audio file in the folder) and length is a variable whose value we get with the command :
mp3info.exe -p %S song-name.mp3
I found examples of a FOR loop to fetch all file names of all mp3's in a specific folder but I do not know how to integrate mp3info. I hope that somebody can help me and I have some knowledge of the C programming language if that can be used in any way.