
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (106)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
Sur d’autres sites (10949)
-
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
-
How to merge multiple video files into one video only
1er août 2017, par shamaleyteI have multiple webm video files of a conference call.
However, each participant joined the call at a different time which resulted in the fact that each video file has a different startTimeOffset values.Video Start Time
Video1 : 00:00
Video2 : 00:10
Video3 : 01:40
My purpose is to play back this conference. However, I do not record the conference as 1 video, it is recorded with multiple video files, instead.
Is there any best practice to stitch such videos accordingly ?
Maybe by ffmpeg library ?There is also a paid solution ; https://aws.amazon.com/about-aws/whats-new/2016/11/amazon-elastic-transcoder-adds-support-for-clip-stitching/ ) to merge video fragments to a single clip, this will make the client-side much simpler. But any free practice of doing it ?
The expected outcome is to have 1 video showing 3 videos in a grid.
When ffmpeg stitches the videos, it should consider their start time values properly so that the videos are played accordingly.