Recherche avancée

Médias (91)

Autres articles (82)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (9436)

  • Batch combining multiple audio files with same picture to create mp4 files

    31 décembre 2017, par Mikael

    I need some help with batch combining hundreds of audio files (mp3s) that I fully own with the same picture to create mp4 files with identical names as the audios. It would be even better if I could do this on a parent directory with the audio files spread out in subdirectories rather than have all the audios in one large folder.

    I’ve tried using ffmpeg but am unable to do this in batch and on files with names that includes spaces. There are also seems to be some discrepancies between different ffmpeg versions but I’m using the latest one (20171229)

  • Combining audio and video streams in ffmpeg in nodejs

    10 juillet 2015, par LouisK

    This is a similar question to Merge WAV audio and WebM video but I’m attempting to deal with two streams instead of static files. It’s kind of a multi-part question.

    It may be as much an ffmpeg question as a Node.js question (or more). I’ve never used ffmpeg before and haven’t done a ton of streaming/piping.

    I’m using Mauz-Khan’s MediaStreamCapture (an expansion on RecordRTC) in conjunction with Socket.io-stream to stream media from the browser to the server. From webkit this delivers independent streams for audio and video which I’d like to combine in a single transcoding pass.

    Looking at FFmpeg’s docs it looks like it’s 100% capable of using and merging these streams simultaneously.

    Looking at these NPM modules :

    https://www.npmjs.com/package/fluent-ffmpeg and https://www.npmjs.com/package/stream-transcoder

    Fluent-ffmpeg’s docs suggest it can take a stream and a bunch of static files as inputs, while stream-transcoder only takes a single stream.

    I see this as a use case that just wasn’t built in (or needed) by the module developers, but wanted to see if anyone had used either (or another module) to accomplish this before I get on with forking and trying to add the functionality ?

    Looking at the source of stream-transcoder it’s clearly setup to only use one input, but may not be that hard to add a second to. From the ffmpeg perspective, is adding a second input as simple as adding an extra source stream and an extra ’-i’ in the command ? (I think yes, but can foresee a lot of time burned trying to figure this out through Node).

    This section of stream-transcoder is where the work is really being done :

    /* Spawns child and sets up piping */
    Transcoder.prototype._exec = function(a) {

       var self = this;

       if ('string' == typeof this.source) a = [ '-i', this.source ].concat(a);
       else a = [ '-i', '-' ].concat(a);

       var child = spawn(FFMPEG_BIN_PATH, a, {
           cwd: os.tmpdir()
       });
       this._parseMetadata(child);

       child.stdin.on('error', function(err) {
           try {
               if ('object' == typeof self.source) self.source.unpipe(this.stdin);
           } catch (e) {
               // Do nothing
           }
       });

       child.on('exit', function(code) {
           if (!code) self.emit('finish');
           else self.emit('error', new Error('FFmpeg error: ' + self.lastErrorLine));
       });

       if ('object' == typeof this.source) this.source.pipe(child.stdin);

       return child;

    };

    I’m not quite experienced enough with piping and child processes to see off the bat where I’d add the second source - could I simply do something along the lines of this.source2.pipe(child.stdin) ? How would I go about getting the 2nd stream into the FFmpeg child process ?

  • Combining multiple mp4s with python-ffmpeg wrapper

    30 août 2020, par Perchful

    So I'm working on a program that downloads multiple mp4s to a folder and then concats them together. I've run into a few problems while using the FFMPEG python wrapper. At first, I was able to combine the videos using the code, but there is no audio for some reason.

    


        filenames = []
        inputs = []



        dlnumber = 1

        #Actual downloading of mp4s

        while dlnumber <= len(user_timeline):
            subprocess.call(r'youtube-dl.exe ' + user_timeline[dlnumber-1]['url'] + ' -o' + str(os.getcwd()) + r'\DLvideo' '\\u' + str(dlnumber) + '.%(ext)s')
            subprocess.call('ffmpeg -i ' + str(os.getcwd()) + r'\DLvideo\u' + str(dlnumber) + '.mp4' + ' -r 60 -vf scale=1920:1080 -ar 44100 ' + str(os.getcwd())+ r'\DLvideo\f' + str(dlnumber) +'.mp4')


            filenames.append(str(os.getcwd())+ r'\DLvideo\f' + str(dlnumber) +'.mp4')
            os.remove(str(os.getcwd()) + r'\DLvideo\u' + str(dlnumber) + '.mp4')

            dlnumber +=1

        for filename in filenames:
            inputs.append(ffmpe.input(filename))

#FFMPEG CONCAT
        (   ffmpeg
            .concat(*inputs)
            .output('TEST.mp4')
            .run()
        )


    


    I've also heard about separating the audio and video, making changes, and then combining them together again, and while I was able to separate the audio and the video, I couldn't exactly figure out how to combine them individually, and then together again. Would love some help. Thanks.