
Recherche avancée
Autres articles (104)
-
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (14303)
-
avfilter/avf_abitscope : Correct range for framerate
23 mars 2017, par Gyan Doshi -
how to set output video length from ffmpeg
25 avril 2022, par naval HurpadeI'm Creating youtube video downloader using
ytdl-core
andffmpeg
, I'm able to combine video and audio files using ffmpeg, and files are working fine, but

When I play that video video length (duration) is set to some random number like 212309854
I Already tryied ading
-t
flag to set time it works but I still video duration as this random number.

See screenshot bellow.
And in video properties I see no length is set.


module.exports = function (audio, video, selectedAudioFormat, selectedVideoFormat,res) {
 
 const ffmpegProcess = spawn(
 ffmpegInstallation.path,
 [
 '-i',
 `pipe:3`,
 '-i',
 `pipe:4`,
 '-map',
 '0:v',
 '-map',
 '1:a',
 '-c:v',
 'copy',
 '-c:a',
 'copy',
 '-crf',
 '27',
 '-preset',
 '6',
 '-movflags',
 'frag_keyframe+empty_moov',
 '-f',
 selectedVideoFormat.container,
 '-t',
 '30',
 '-loglevel',
 'info',
 '-',
 ],
 {
 stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe']
 }
 );
 
 
 video.pipe(ffmpegProcess.stdio[3]);
 audio.pipe(ffmpegProcess.stdio[4]);
 ffmpegProcess.stdio[1]
 .pipe(res);
 
 let ffmpegLogs = '';
 
 ffmpegProcess.stdio[2].on('data', (chunk) => {
 ffmpegLogs += chunk.toString();
 });
 
 ffmpegProcess.on('exit', (exitCode) => {
 if (exitCode === 1) {
 console.error('ERROR IN CHILD ::', ffmpegLogs);
 }
 });





-
How can I make a slideshow of images into a video with each image having a specific length of frames to be shown ?
24 novembre 2013, par jettRight now I am using something like this to create a video from a selection of images :
avconv -i input%05d.png -r 24 -vsync cfr -c:v libx264 output.mp4
But I want each picture to have a separate amount of time spent on it, so if I have 5 images I might want :
[10frames, 40frames, 5frames, 80frames, 10frames]
To be specified. The only thing I could find that may be a solution is to create five separate videos- set the length then merge them together, is this my only choice here ?