Recherche avancée

Médias (91)

Autres articles (101)

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

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

  • what's the recommended CDN or Hosting should I use for online media converter app ? [on hold]

    20 novembre 2017, par Moe D.

    I’m working on web application that will let users download videos from facebook, twitter and vimeo as MP4 or MP3.

    I don’t know what’s the recommended CDN or Hosting plan or product I should use to can host all these big media files ( mp3 and mp4 ) with a lot of download requests per hour and to be affordable in the same time ?

    And will auto deleting files that older than 6 hours on the cloud save some cloud storage costs ?