
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (56)
-
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 (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...)
Sur d’autres sites (5504)
-
FFMPEG add audio to a video but clip it to the video length
5 novembre 2011, par Daniel Lloyd-WoodI'm trying to create a video from an image sequence and add audio with FFMPEG
The frame sequence is only 25 frames long but the audio is several minutes. I want FFMPEG to clip the audio to the length of the frame sequence.
This is the command I have tried :
ffmpeg -i input_images%04d.jpg -pix_fmt yuv420p -vcodec mjpeg -qmin 1 -qmax 1 -r 25 -i audio_file.mp3 -ar 22050 -ab 192k -aframes 25 output.mov
This results in a video with the first image sequence but the full length audio. -aframes is ignored. Any ideas ?
-
FFMPEG : How to combine video and image (video template)
22 février 2024, par clo5ureGoal


I have a video and an image (a template for the video) that I'm trying to combine into one output video (1080w x 1920h - 9:16 aspect ratio).


- 

- Input video - 1920x1080
- Input image - 1080x1920
- Output video - 1080x1920








This image shows what I'm trying to accomplish. The two orange sections are the input image - it's a single
.png
with a transparent section in the middle for the video.

As mentioned in the title, I'm trying to accomplish this using
FFMPEG
. More specifically, I'm using the fluent-ffmpeg npm package.

Current Status


I can read in both inputs just fine but I have issues getting the two to play nicely with one another.


If I get the overlay working then my output video is 1920x1080 instead of 1080x1920.


If I get the output video dimensions right, then the video is either stretched or I get errors adding my overlay.


Code


Here's what I have at the moment. I'm happy to answer any questions. Thank you in advance for taking a look :)


var ffmpeg = require('fluent-ffmpeg');
var command = ffmpeg();
var timemark = null;

command
 .on('end', onEnd )
 .on('progress', onProgress)
 .on('error', onError)
 .input('./input-video.mp4')
 .input('./template.png')
 .complexFilter([
 {
 filter: 'scale',
 options: { width: 1080, height: 1920 }
 },
 // {
 // filter: 'overlay',
 // options: { x: 100, y: 100 }
 // },
 ])
 .outputFps(30)
 .output('./output-video.mp4')
 .run();

/* Misc */

function onProgress(progress){
 if (progress.timemark != timemark) {
 timemark = progress.timemark;
 console.log('Time mark: ' + timemark + "...");
 }
}

function onError(err, stdout, stderr) {
 console.log('Cannot process video: ' + err.message);
}

function onEnd() {
 console.log('Finished processing');
}



-
Converting video by ffmpeg php but getting 0kb video file
8 octobre 2014, par Vikas GautamI am useing the
ffmpeg
command and able to convert video successfully on my local server and that working fine . now i am trying to convert the video in my live server my hosting provider installed the ffmpeg extension on sever and provide me the path for directoryi am using the command on server
echo exec("/usr/local/bin/ffmpeg -i /home/t4carenc/public_html/mycutekid/wp-content/themes/mycutekid/video/small.mp4 /home/t4carenc/public_html/mycutekid/wp-content/themes/mycutekid/video/outpu.flv");
i am getting the converted file on my folder but
the issue is that its with 0kb size means blank file .
I tried some codes from searching but not help.
Any help greatly appreciated