
Recherche avancée
Autres articles (36)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (4254)
-
How to make video using ffmpeg with multiple photos and audio node.js
2 juin 2020, par Jechankaim trying to make a video using ffmpeg (videoshow.js), at this moment i can make video with many photos but only one audio, i can't use each audio to each image, is it possible ?




var videoshow = require('videoshow')
const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath(ffmpegPath);
var images = [
 '1.jpg',
 '2.jpg',
]

var videoOptions = {
 fps: 25,
 loop: 5, // seconds
 transition: true,
 transitionDuration: 1, // seconds
 videoBitrate: 1024,
 videoCodec: 'libx264',
 size: '2000x?',
 audioBitrate: '128k',
 audioChannels: 11,
 format: 'mp4',
 pixelFormat: 'yuv720p'
}

videoshow([{
 path: '1.jpg',
 audio: 'fck-corona', // NOT WORKING
 caption: 'Hello world as video subtitleHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitlHello world as video subtitl'
 }, {
 path: '2.jpg',
 audio: 'audio.mp3', // NOT WORKING
 caption: 'This is a sample subtitle',
 loop: 10 // long caption
 }])
 .audio('audio.mp3') // WOrking but i can use only one audio
 .save('video.mp4')
 .on('error', function () {})
 .on('end', function () {})





-
Convert streaming MPEG-4 raw data to H.264
16 août 2012, par Jonathan HawkesI've got a Sony network camera (SNC-RZ25N) that I am trying desperately to get data from in some meaningful format. The documentation says it sends MPEG-4 raw data, but is not more specific than than. I can capture a segment of the stream using curl ( http://techhead.biz/media/tsv.m4v ) and it will play using VLC and ffplay (though it plays too fast in ffplay).
After a day and a half of tinkering, I just discovered that I cannot use ffmpeg to convert this stream directly. For one, the only way ffmpeg accepts piped data as input (that I'm aware of) is in the 'yuv4mpegpipe' format.
I tried piping to ffmpeg using 'm4v' as the specified format, but it seems to want to read the entire stream before it begins processing.
Anyone know how I can do this ? Using commandline tools ? Open source libraries in ANY programming language ? Simpler solutions are preferred, but any working solution would be great.
-
Record audio data to an existing media file using FFMPEG API
3 février 2021, par bbddMy task is to record the received audio data in a media file. I have no problem with this, everything works fine. But, when closing the audio file, I will no longer be able to re-open it and write the audio data to the end of the audio file. How do I solve this problem ? And in general, is it possible to write new data to the end of an existing media file ?


This is a piece of code where I record the trailer and close the media file :


// Writing the stream trailer to an output
// media file and free the file private data.
av_write_trailer(p_oFrmCtx);
avformat_close_input(&p_oFrmCtx);