
Recherche avancée
Autres articles (97)
-
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (11083)
-
zoompan filter creates shaky image ?
26 avril 2016, par user2126005I try to perform a basic zoompan with FFmpeg. I have an input list image (.jpg 400x300) and i create slice image video (.mp4 400*300) from it, with a zoom each image. This is my command :
ffmpeg -y -loop 1 -i image01.jpg -loop 1 -i image02.jpg -loop 1 -i image03.jpg -filter_complex "
[0:v]zoompan=z='min(zoom+0.0015,1.5)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=400 ,trim=duration=5,fade=t=in:st=0:d=0.5,fade=t=out:st=4.5:d=0.5,scale=400*300,setpts=PTS-STARTPTS[v0];
[1:v]zoompan=z='min(zoom+0.0015,1.5)':d=125,trim=duration=5,fade=t=in:st=0:d=0.5,fade=t=out:st=4.5:d=0.5,scale=400*300,setpts=PTS-STARTPTS[v1];
[2:v]zoompan=z='min(zoom+0.0015,1.5)':d=125,trim=duration=5,fade=t=in:st=0:d=0.5,fade=t=out:st=4.5:d=0.5,scale=400*300,setpts=PTS-STARTPTS[v2];
[v0][v1][v2] concat=n=3:v=1:a=0, format=yuv420p[v]" -c:v libx264 -map "[v]" output_no_audio.mp4Everything works...but the zoom is not looking okay. It is going zig-zag (the first image scale from center, remaining part is scale default)
i’ve already consulted this link. But it inapplicable to this situation.
Does anyone know how to make it zoom smooth and explain how to calculate ?
thank in advance !
-
ffmpeg get the audio stream from mp4 and send it to speech recognition
12 juillet 2013, par user1896859I have few .mp4 video files in which at the start of each video file there is a word, I want to load these files get the audio check what is the spoken word and rename the file accordingly.
Currently what i am doing is, converting all the mp4 files to wav and then sending the to speech recognition and then doing the renaming stuff.
Is there a way to cut short the "converting to wav" part out and directly send the mp4 audio stream to speech recognition ??
Thanks,
-
How to use FFmpeg.wasm ? in nodejs
29 novembre 2023, par JamesHow to use FFmpeg.wasm to add audio to a video in Nodejs. Like adding some background audio to a video in Nodejs ? Can anyone here please help me with this ? https://github.com/FFmpeg-wasm/FFmpeg.wasm


Reel3.mp4 is a video and wolf-howl-6310.mp3 is the audio that i want to merge.
What i tried ?


import { readFile, writeFile } from "fs/promises";
import { FFmpeg } from "@ffmpeg.wasm/main";
import path from "path"; 

const currentDirectory = process.cwd();

const inputFilePath = path.join(currentDirectory, "Reel3.mp4"); 
const outputFilePath = path.join(currentDirectory, "Reel3.mp4"); 

const ffmpeg = await FFmpeg.create({ core: "@ffmpeg.wasm/core-mt" });

try {
 await ffmpeg.fs.writeFile("Reel3", await readFile(inputFilePath));
 await ffmpeg.run("-i", "wolf-howl-6310", "wolf-howl-6310.mp3");
 await writeFile(outputFilePath, ffmpeg.fs.readFile("Reel3.mp4"));
 console.log("Conversion successful!");
} catch (error) {
 console.error("Error:", error);
} finally {
 process.exit(0);
}