Recherche avancée

Médias (91)

Autres articles (106)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (15883)

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