
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (110)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (14112)
-
avformat/gifdec : switch to using gif parser
20 mai 2023, par Paul B Mahol -
ffmpeg moving text but only within Y limits
28 décembre 2022, par Yoav MorI need to add text to a video that will scroll from bottom to top ; I managed to do it with something similar to this :


ffmpeg -i vid.mp4 -vf "drawtext=fontfile=tahoma.ttf:fontsize=20:fontcolor=green:x=(w-text_w)/2+20:y=if(lt(t\,2)\,480\,(h-400-(40*t))):textfile=scroll.txt:bordercolor=white:borderw=1" -c:v libx264 -y -preset ultrafast scrolling.mp4


The original video is 960x540, so the text starts at position y=480 and, after 2 seconds, starts moving up.
That bit works fine, and the text "vanishes" at the top of the frame as it scrolls up.
What I need to achieve is for the text to scroll only within certain Y limits, imagine a virtual box around the text, so it scrolls up only from a certain Y position in the bottom (but not the very bottom) and disappears into a line on the top that isn't the top part of the frame.
Can that be achieved with ffmpeg ?


EDIT : Maybe the trick here should be to put the text on top of a transparent video that's smaller in height, and then within the same command somehow merge this new video that has the text with the original video. Not sure how achieve that though.


-
Combining multiple pcm files with different starting times
18 juillet 2021, par BelMatHow do I combine multiples pcm files, with different starting times and compress it into wav with ffpmeg.js.


I know I can :


Transform pcm to wav


ffmpeg -f s16le -ac 2 -ar 44.1k -i file.pcm file.wav



Merge files with different starting times :


ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 -i 4.mp3
 -filter_complex "[2]adelay=10000|10000[s2];[3:a][1:a][s2]amix=3[a]"
 -map 0:v -map "[a]" -c:v copy result.mp4



but how would I combine all of this inside JS, plus getting the files with FS (Node) and the starting time from the file name ?


This is a small snippet where I tried to do all of this :


function MakeAudioFile(){
 const audios = fs.readdirSync('./sound/').filter(file => file.endsWith(".pcm"));
 let result = ffmpeg({
 MEMFS: [],
 arguments: ["-f", "s16le", "-ac", "2", "--ar", "44.1k"],
 });
 audios.forEach(file =>{
 result.arguments.push('-i')
 result.arguments.push(file)
 result.MEMFS.push(fs.readFileSync(`./sound/${file}.pcm`))
 })
}



But didn't get the expected result and had no idea on how to also add the starting time