Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (44)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (6175)

  • Add "prefer_tcp" flag to "rtsp_flags"

    4 mars 2014, par Andrey Utkin
    Add "prefer_tcp" flag to "rtsp_flags"
    

    If set, and if TCP is available as RTSP RTP transport, then TCP will be
    tried first as RTP transport.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/protocols.texi
    • [DH] libavformat/rtsp.c
    • [DH] libavformat/rtsp.h
  • node-fluent-ffmpeg conversion to mp3 does not fire any "end" or "finish" event

    27 février 2024, par 1voy

    I am downloading a video using ytdl-core and converting it to mp3 using node-fluent-ffmpeg. It seems that the code after the ffmpeg conversion gets executed before the conversion finishes as trying to upload the .mp3 file to a Google Cloud Storage bucket throws an error. I am trying to detect 'end' or 'finish' events but none are being triggered.

    &#xA;

    Code :

    &#xA;

    ytdl(url?.toString() as string)&#xA;    .once(&#x27;data&#x27;, (data) => {&#xA;      console.log(&#x27;start&#x27;, data);&#xA;    })&#xA;    .on(&#x27;progress&#x27;, async function (progress, downloaded, total) {&#xA;      console.log(parseInt(((downloaded / total) * 100).toString()) &#x2B; &#x27;%&#x27;);&#xA;      &#xA;    })&#xA;    .on(&#x27;finish&#x27;, async function () {&#xA;      console.log(&#x27;Download finished...&#x27;);&#xA;      &#xA;      console.log(&#x27;using ffmpeg to convert into mp3&#x27;);&#xA;      Ffmpeg({ source: `/Users/user/project/server/output/${videoId}.mp4` })&#xA;        .setFfmpegPath(ffmpeg.path)&#xA;        .toFormat(&#x27;mp3&#x27;)&#xA;        .saveToFile(`/Users/user/project/server/output/${videoId}.mp3`)&#xA;        .on(&#x27;finish&#x27;, () => {&#xA;          console.log(&#x27;finished conversion&#x27;);&#xA;        });&#xA;      console.log(&#x27;after ffmpeg mp3 conversion&#x27;);&#xA;&#xA;      const storage = new Storage({&#xA;        keyFilename: `./key.json`,&#xA;      });&#xA;&#xA;      const bucketName = &#x27;bucketname&#x27;;&#xA;      const bucket = storage.bucket(bucketName);&#xA;      let mp3_url;&#xA;      console.log(&#xA;        fs.existsSync(`/Users/user/project/server/output/${videoId}.mp3`)&#xA;      ); // returns false&#xA;      bucket.upload(&#xA;        `/Users/user/project/server/output/${videoId}.mp3`,&#xA;// Error uploading: Error: ENOENT: no such file or directory, open &#x27;/Users/me/project/server/output/RMvenf7E-Dg.mp3&#x27;&#xA;        {&#xA;          destination: `${userId}/${videoId}.mp3`,&#xA;        },&#xA;        function (err, file) {&#xA;          if (err) {&#xA;            console.error(`Error uploading: ${err}`);&#xA;          } else {&#xA;            console.log(`mp3 uploaded to ${bucketName}.`);&#xA;            console.log(file?.publicUrl());&#xA;          }&#xA;        }&#xA;      );&#xA;&#xA;      &#xA;    .pipe(&#xA;      fs.createWriteStream(`/Users/me/project/server/output/${videoId}.mp4`)&#xA;    );&#xA;&#xA;  console.log(&#x27;after download and conversion&#x27;);&#xA;&#xA;  req.on(&#x27;close&#x27;, async () => {&#xA;    res.end();&#xA;  });&#xA;

    &#xA;

    Error uploading: Error: ENOENT: no such file or directory, open &#x27;/Users/polo/makeklips/server/output/RMvenf7E-Dg.mp3&#x27;&#xA;[1] /Users/me/project/server/node_modules/.pnpm/fluent-ffmpeg@2.1.2/node_modules/fluent-ffmpeg/lib/processor.js:182&#xA;[1]           handleExit(new Error(&#x27;ffmpeg exited with code &#x27; &#x2B; code));&#xA;[1]                      ^&#xA;[1] Error: ffmpeg exited with code 1: Output #0, mp3, to &#x27;/Users/me/project/server/output/RMvenf7E-Dg.mp3&#x27;:&#xA;[1] Output file #0 does not contain any stream&#xA;

    &#xA;

  • doc/fftools-common-opts : document ffmpeg -h bsf=bitstream_filter_name

    8 juin 2019, par Jun Zhao
    doc/fftools-common-opts : document ffmpeg -h bsf=bitstream_filter_name
    

    document ffmpeg -h bsf=bitstream_filter_name

    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] doc/fftools-common-opts.texi