Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (53)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (8386)

  • Get audio (M4A or MP3) file links directly from YouTube

    10 mars 2018, par Alex

    I am developing a PHP script that obtains video download links from YouTube. The ones I am grabbing are MP4 (720p) and MP4 (360p) (no-DASH format).

    My script is similar to this PHP class : https://github.com/Athlon1600/youtube-downloader

    It allows me to download any YouTube video that I want, no matter if it has copyright or not. It handles everything with signature ciphering and deciphering included.

    However, apart from videos, I would like to obtain audio download links from YouTube videos as well, either in MP3 or M4A.

    (M4A files are provided by YouTube, but they are in DASH format, which means, it’s not a complete file, but a collection of files that need to be merged together)

    Is there a way to obtain MP3 audio download links directly from YouTube ?

    I would like to avoid using FFMPEG library as it requires a lot of resources.

    In the case that using a library like that is the only option, what’s the most optimal way to convert MP4 files to MP3 files ?

    Is there any more efficient alternative than FFMPEG ?

    PLEASE avoid comments regarding YouTube TOS

  • NodeJS fluent-ffmpeg + ytdl-core

    22 décembre 2019, par hydr8

    I’m trying to write a very simple youtube converter/downloader in NodeJS.

    So I wrote a srv.js File with Express to handle the whole Website stuff (Requests etc). In this file I also handle a post request on the url+’/download’ which receives the youtube url via a HTML form from the the main page. Within this POST handling I included a function from my api.js.

    In the api.js in defined some functions I want to use during the whole process. One of them is responsible for converting a downloaded audio file from youtube. Almost everything is working fine except one thing.

    As soon as the user submits the url and is directed to the mentioned ’/download’-site, he will see that the download is in progress and that he will be referred to the download asap. So far so good. The file will be downloaded and converted without any problems.

    But as soon as the file is downloaded and converted the the user will not be redirected to a following site.

    I tried already a lot of stuff with the ffmpeg events (end, saveToFile, save etc) but I can’t establish a working solution, that as soon as the file is completeley downloaded the user will be rteferred to the next website.

    Maybe someone can give me a hint or some suggestion how to proceed.

    srv.js :

    ........
    // This is the Handler which calls the function from the api.js file
    // After the execution of this process I need to load a new page
    app.post('/download', function(req, res){
     res.sendFile(path.join(__dirname + '/views/download.html'));
       api.downloadConverter(req.body.url)
     });
    ........

    api.js :

    ........
     downloadConverter: function(url){

       console.log("Downloading File from: " + url);
       ffmpeg()
         .input(ytdl(url), {
           ... options ....
          })

    ....    some processing ....
         .on('end', () => {
           console.log("Download Done!");
         })
         .save('./files/file.mp4')
     }

    ......

    I tried a lot with the events of the function in api.js. To return vaulues to the srv.js etc but nothings seems to work.

    Edit

    Of course I did already a lot of research on SO and other NodeJS related sites. But without any help. And I can’t provide tests of possible solutions of the last two days because I didn’t save them and I’m too lazy to retry every step I tried and provide codes with non-working solutions.

  • Downloading, transcoding, then streaming on the fly with VLC

    12 avril 2012, par Alexis K

    I need to download a file from a web service the immediatley extract the audio, then transcode it, then stream it out.

    When I use :

    vlc.exe URL :sout=#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8080/audio.mp3}

    it is really choppy when I listen to it on the other computer. What is strange also is that for some YouTube links, the above works well, but for others it dosen't work well. I am not sure why this is.

    However, when I download the audio first, then stream it out, like this
    vlc.exe "song.mp3" :sout=#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8080/audio.mp3}

    it works well. The issue is I can't always download the song before hand (long pod casts or internet radio...).

    Is there a command or VLC optimization that I can use to help remedy this situation ? Or another program that would be good ?