Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (19)

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

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (4260)

  • Is it possible to download files (MP4) from external server and convert it to MP3 in NodeJS

    19 mai 2021, par GrayGalaxy

    I am currently working on a chrome extension to download songs from JioSaavn.com. In my implementation I use an Vercel instance as a prox. This is a workaround for CORS error in the extension. The server code is shown as below.

    


    const axios = require('axios')
module.exports = (req, res) => {
    res.setHeader('Access-Control-Allow-Origin', '*')
    res.setHeader('Cache-Control', 's-maxage=300, stale-while-revalidate')
    const URL = req.url // requested url
    // get array buffer
    if (url === '/') return res.redirect('https://github.com/GrayGalaxy/jiosaavn-downloader')

    let server_url = `https://snoidcdnems02.cdnsrv.jio.com/c.saavncdn.com/${URL}`
    axios.get(src_url, { responseType: 'arraybuffer' })
        .then(r => r.data)
        .then(result => res.send(result))
        .catch(() => {
            res.status(400).send('Cannot access the requested URL')
        })
    }
}



    


    This outputs a MP4 file (just with audio). As for example if you put /983/01100b84f61ca8b3a0432f12c564be8e_96.mp4 as the URL parameter it will output as MP4.

    


    Now I want to convert that response MP4 to a MP3 file. I tried ffmpeg, fluent-ffmpef and many other implementation. Most of them dose not support ArrayBuffer as an input (I think) it doesn't provide any output as expected. Or it might possible Vercel does not allow file-browser.

    


    Please give a solution to that.

    


  • avcodec/aaccoder : Mark function pointer arrays as const

    22 octobre 2022, par Andreas Rheinhardt
    avcodec/aaccoder : Mark function pointer arrays as const
    

    Forgotten in 57d305207a30131172e1c07c99e2cba833c1add1.

    Reviewed-by : Lynne <dev@lynne.ee>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/aaccoder.c
  • dca : Mark syncword constants unsigned ; they do not fit in 32-bit signed int

    13 mars 2015, par Diego Biurrun
    dca : Mark syncword constants unsigned ; they do not fit in 32-bit signed int
    
    • [DBH] libavcodec/dca_syncwords.h