Recherche avancée

Médias (91)

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang 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 avril 2011, par

    MediaSPIP 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 (9218)

  • Merge Multiple Videos using node fluent ffmpeg

    5 août 2024, par shyamshyre

    requirement is to read all the files in the directory and merge them.
 I am using node fluent-ffmpeg to achieve this.
 First of all reading all the files in the directory appending concatenating the string by adding .input.

    



    var finalresult="E:/ETV/videos/finalresult.mp4"
outputresult : It consists of all the files read in the directory.

/*Javascript*/
MergeVideo(outputresult);
function MergeVideo(outputresult){
console.log("in merge video");
var videostring = "";

for(i=1;i<5;i++)
    {
videostring = videostring+".input("+"'"+outputresult[i]+"'"+")";
}
console.log("Video String"+videostring);
    var proc = ffmpeg()+videostring
    .on('end', function() {
      console.log('files have  succesfully Merged');
        })
    .on('error', function(err) {
      console.log('an error happened: ' + err.message);
    })
    .mergeToFile(finalresult);
}


    



    It gives the following error :

    



    TypeError: Object .input(&#x27;ETV 22-02-2015 1-02-25 AM.mp4&#x27;).input(&#x27;ETV 22-02-2015&#xA;9-33-15 PM.mp4&#x27;).input(&#x27;ETV 22-02-2015 9-32-46 AM.mp4&#x27;).input(&#x27;ETV 22-02-2015 8-&#xA;32-44 AM.mp4&#x27;) has no method &#x27;on&#x27;&#xA;    at MergeVideo (D:\Development\Node\node-fluent-ffmpeg-master\node-fluent-ffm&#xA;peg-master\examples\demo.js:140:6)&#xA;    at Object.<anonymous> (D:\Development\Node\node-fluent-ffmpeg-master\node-fl&#xA;uent-ffmpeg-master\examples\demo.js:129:1)&#xA;    at Module._compile (module.js:456:26)&#xA;</anonymous>

    &#xA;&#xA;

    Any help is appreciated.

    &#xA;

  • how to get a mp4 file with g711 audio format [duplicate]

    21 décembre 2017, par xiaoxu

    I have a mp4 file with Video: mpeg4 and Audio: aac, now I want to convert it with G711 audio format. I use command line ffmpeg -i output.mp4 -vcodec h264  -acodec pcm_alaw output-G711.mp4, but an error happened like this, so what happend with my ffmpeg. Thanks for any help.

  • Fluent-ffmpeg, node. Merge images and Background audio

    12 décembre 2017, par 0sserc

    I’ve been trying to create a video out of images and then add a background sound to the resulting video.

    First of all, and I might be doing this wrong on the first place.
    I create a video for each of the images and then I merge the 3 different videos into the final one.

     let proc = ffmpeg()
       .addInput(image.original)
       .loop(2)
       .fps(1)
       .noAudio()
       .on('start', function (command) {
         console.log('ffmpeg process started:', command)
       })
       .on('error', function(err) {
         console.log('an error happened: ' + err.message);
       })
       .on('end', function() {
         count ++;
         if(count == images.length){
           videosUrl.forEach(function(videoName){
             command = command.addInput(videoName);
           });
           command.addInput('audio.wav')
           command.inputFormat('wav')
           command.mergeToFile('merged.mp4')
           command.on('start', function (command) {
             console.log('ffmpeg process started:', command)
           })
           command.on('error', function(err) {
             console.log('Error ' + err.message);
           })
           command.on('end', function() {
             console.log('Finished!');
             future.return(count);
           });
         }
       })
       .save(url);

    If I comment out the audio thing I got the merged video correctly, but if I try to add the audio I get the following error.

    Error ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0

    Any help would be appreciated !