Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (21)

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

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (3963)

  • Download a stream via ffmpeg in Node.js

    16 juillet 2018, par loretoparisi

    I’m using ffmpeg to download an audio stream in Node.js. I use child_process for that :

    var downloadStream = function(uri,opath) {
       var self=this;

       // defaults
       var loglevel= self.logger.isDebug() ? 'debug' : 'warning';
       return new Promise((resolve, reject) => {
         const args = [
           '-y',
           '-loglevel', loglevel,
           '-v', 'quiet',
           '-i', uri,
           opath
         ];
         const opts = {
           cwd: self._options.tempDir
         };
         cp.spawn('ffmpeg', args, opts)
           .on('message', msg => self.logger.info(msg))
           .on('error', reject)
           .on('close', resolve)
           .on('exit', function (code, signal) {
             console.log('child process exited with ' +
                         `code ${code} and signal ${signal}`);
                         resolve(code);
           });
       });
     }//downloadStream

    What happens is that the close event is called before the file has been written to the disk. I have also registered the exit that is called with the close. While executing the command in bash I get the stream saved in the opath as expected. Which event listener shall I register for that ?

  • Can't play MP4 after download

    14 août 2018, par joe

    I am using a downloader program in Firefox to download videos playing in Firefox. Most of the time final MP4 is playable. But sometimes I get MP4 file that looks good(shows file size) but shows no length of video in file explorer.

    I get this error log.

    Could not get information from media 'ESPN 2 (HD) Live Stream Channel' from file 'C:\Download\dwHelper\ESPN 2 (HD) Live Stream Channel.mp4'. The file might be corrupted.

    {
       "file": "C:\\Download\\dwHelper\\ESPN 2 (HD) Live Stream Channel.mp4",
       "stat": {
           "dev": 3831878042,
           "mode": 33206,
           "nlink": 1,
           "uid": 0,
           "gid": 0,
           "rdev": 0,
           "ino": 9007199254752056,
           "size": 610722524,
           "atimeMs": 1534241605017.09,
           "mtimeMs": 1534241604156.685,
           "ctimeMs": 1534241604426.08,
           "birthtimeMs": 1534237675494.6475,
           "atime": "2018-08-14T10:13:25.017Z",
           "mtime": "2018-08-14T10:13:24.157Z",
           "ctime": "2018-08-14T10:13:24.426Z",
           "birthtime": "2018-08-14T09:07:55.495Z"
       }
    }
    Exit code: 1
    ffprobe version n4.0-1-gdc49a24-vdhcoapp Copyright (c) 2007-2018 the FFmpeg developers

    built with gcc 5.3.1 (GCC) 20160211

    configuration : —cross-prefix=x86_64-w64-mingw32- —sysroot=/usr/x86_64-w64-mingw32/ —extra-ldflags=-static-libgcc —target-os=mingw32 —arch=x86_64 —prefix=/home/mig/vdhcoapp/converter/src-build/win/64/converter-build —extra-version=vdhcoapp —extra-cflags=-I/home/mig/vdhcoapp/converter/src-build/win/64/deps/include —extra-ldflags=’-static-libgcc -L/home/mig/vdhcoapp/converter/src-build/win/64/deps/lib -L/home/mig/vdhcoapp/converter/src-build/win/64/zlib’ —extra-libs=-lpthread —pkg-config=/usr/bin/x86_64-w64-mingw32-pkg-config —enable-shared —enable-gpl —enable-pthreads —disable-w32threads —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libtheora —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libx265 —enable-libxvid —enable-libx264 —enable-avresample —disable-doc

    libavutil 56. 14.100 / 56. 14.100

    libavcodec 58. 18.100 / 58. 18.100

    libavformat 58. 12.100 / 58. 12.100

    libavdevice 58. 3.100 / 58. 3.100

    libavfilter 7. 16.100 / 7. 16.100

    libavresample 4. 0. 0 / 4. 0. 0

    libswscale 5. 1.100 / 5. 1.100

    libswresample 3. 1.100 / 3. 1.100

    libpostproc 55. 1.100 / 55. 1.100

    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000024c3900] moov atom not found

    C :\Download\dwHelper\ESPN 2 (HD) Live Stream Channel.mp4 : Invalid data found when processing input

    It looks like moov atom is missing thus can’t aggregate PART file into final playable MP4.

    I understand that during download, PART file is created. Then later PART is aggregated into final MP4.

    So question is how can I make this MP4 to play ?
    or is it impossible to play cus moov atom was not properly downloaded ?

    Any thoughts ?
    Thanks

  • download youtube video as audio file, with URL in filename, to a specific output directory

    9 octobre 2018, par thanks_in_advance

    I do this to download a video as an audio file (mp3), with the video’s youtube URL (URI actually) in the audio file’s filename (I like having the URI in the filename because it helps me identify which video I grabbed the audio from) :

    youtube-dl --extract-audio --audio-format mp3 --prefer-ffmpeg --ffmpeg-location "C:\FFMPEG" "https://www.youtube.com/watch?v=k1-TrAvp_xs" --audio-quality 0

    The con with this approach : with this command, the file downloads to the same directory that contains youtube-dl.exe


    I do this to download a youtube video as an audio file (mp3) to a specific output directory :

    youtube-dl -o "C:\Documents\Downloads\%(title)s.%(ext)s" --extract-audio --audio-format mp3 --prefer-ffmpeg --ffmpeg-location "C:\FFMPEG" "https://www.youtube.com/watch?v=k1-TrAvp_xs" --audio-quality 0

    The con with this approach : with this command, the downloaded audio file’s filename doesn’t contain the youtube video’s URI.


    My Question : How can I combine the above 2 commands such that the downloaded audio file doesn’t have either of the cons mentioned above ?