Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (22)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (3938)

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

    


  • Youtube-dl : Download video with maximum FPS and change FPS using OpenCV

    8 mai 2021, par MmBaguette

    I'm trying to download a YouTube video using YouTube-dl and specifying a maximum FPS. I don't want the lowest FPS, but I also don't want an FPS higher than 30. The code below does not work, but it was my best attempt.

    


    ydl_opts = {
    'format': '(bestvideo[fps<30]/bestvideo)+bestaudio/best', # CHANGE FOR VIDEO
    'outtmpl': "youtube_video.%(ext)s",
}
print("Downloading YouTube video.")
                
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
     ydl.download([text])


    


    If not, can I change the FPS of a video using OpenCV ? I tried using cap.set(cv2.CAP_PROP_FPS) but this doesn't work either.

    


    cap = cv2.VideoCapture(file)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # prints 60.0
cap.set(cv2.CAP_PROP_FPS)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # 60.0 again


    


  • How to download videos from m3u8 that has sample-aes encryption [closed]

    8 mai 2021, par Rajat Bisht

    I am trying to download my online lecture from m3u8 link but it shows "ffmpeg do not support sample-aes yet".
Link of lecture : https://pw.pc.cdn.bitgravity.com/b7826d86-612d-4ef2-b17c-cc4f91d9584c/master.m3u8 .
It is sample-aes-ctr encrypted. Also I know python a little bit so it would be better if I could download it using python. Also I have link to mpd file : https://pw.pc.cdn.bitgravity.com/b7826d86-612d-4ef2-b17c-cc4f91d9584c/master.mpd.
Please can anyone tell any module or something which can help in downloading it.....
Thanks in advance.