
Advanced search
Medias (91)
-
Corona Radiata
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
Lights in the Sky
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
Head Down
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
Echoplex
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
Discipline
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
Letting You
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
Other articles (105)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 February 2011, byMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
HTML5 audio and video support
13 April 2011, byMediaSPIP 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 March 2010, byLe 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 (...)
On other websites (12894)
-
checkasm/lpc: use fixed length to bench apply_welch_window
31 May 2024, by James Almer -
avfilter/af_stereotools: check s->length size
5 December 2015, by Paul B Mahol -
how to set output video length from ffmpeg
25 April 2022, by 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);
 }
 });