Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (75)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9042)

  • How do I receive buffered files or streams from the fluent-ffmpeg module ?

    26 février 2021, par yahoo2344

    Logic was created to replace gif files with mp4 files. However, after saving the gif file to the server, the file is imported and converted to an mp4 file, the mp4 file is saved to the server and the file is read to return the buffer.

    


    Here's a question.

    


      

    1. When I recall files from the fmpeg module, can I receive them in a buffer or stream instead of a path ?

      


    2. 


    3. Is there a way to receive the converted file as a buffer or stream without saving it ?

      


    4. 


    


    return new Promise((resolve, reject) => {
        fs.writeFile(path.join(__dirname, `input.gif`), file, (err) => {
            if (err) {
                reject(null)
            }
            ffmpegg(path.join(__dirname, `input.gif`))
                .size(`500x500`)
                .format('mp4')
                .outputOptions([
                    '-movflags faststart',
                    '-pix_fmt yuv420p',
                    //'-vf scale=trunc(iw/2)*2:trunc(ih/2)*2'
                ]).on('end', () => {
                    fs.readFile(path.join(__dirname, `output.mp4`), (err, mp4Buffer) => {
                        fs.unlink(path.join(__dirname, `input.gif`), (e) => { if (e) console.log('error delete!') })
                        fs.unlink(path.join(__dirname, `output.mp4`), (e) => { if (e) console.log('error delete!') })
                        if (err) {
                            reject(null)
                        }
                        resolve(mp4Buffer)
                    });
                }).save(path.join(__dirname, `output.mp4`))
        });
    })


    


  • Why does this python ffmpeg module output h.264 instead of h.265 when downloading a video ?

    16 mars 2021, par pythondealer

    I'm trying to use this python module to download a video and transcode it to h.265

    


    For some reason whenever I run my script it outputs h.264, no matter which format I specify.

    


    Here is my code :

    


    import ffmpeg_streaming as ffmpeg

video = ffmpeg.input(vid_url)
stream = video.stream2file(ffmpeg.Formats.hevc())
stream.output('test.mp4')


    


    This should output 'test.mp4' encoded using h.265, however it is always h.264

    


    Any ideas how I can fix this ?

    


  • How to handle FFMPEG module missing probe inside docker ?

    2 avril 2021, par DarkFantasy

    I am AWARE of how to solve this problem of missing problem module with spleeter on WINDOWS. Here is the solution
https://github.com/deezer/spleeter/issues/101

    


    How can I achieve the same inside my docker container ? In my docker file, the FFMPEG is being installed but it is missing the probe module. This is a common problem but one that I don't know how to solve inside of Docker.

    


    I tried doing

    


    RUN apt-get install -y ffmpeg
RUN pip uninstall ffmpeg-python
RUN pip install -r requirements.txt


    


    in my docker file but didn't work. The thing is, it was all working until last night. Today morning, I am getting this error when I rebuilt my docker image. Any help is appreciated.