Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (103)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (8341)

  • avcodec/dovi_rpuenc : add configuration for compression

    16 juillet 2024, par Niklas Haas
    avcodec/dovi_rpuenc : add configuration for compression
    

    In particular, validate that the chosen compression level is compatible
    with the chosen profile.

    • [DH] libavcodec/dovi_rpu.h
    • [DH] libavcodec/dovi_rpuenc.c
  • avcodec/dovi_rpuenc : implement DM metadata compression

    14 juillet 2024, par Niklas Haas
    avcodec/dovi_rpuenc : implement DM metadata compression
    

    This implements limited metadata compression. To be a bit more lenient,
    we try and re-order the static extension blocks when testing for an
    exact match.

    For sanity, and to avoid producing bitstreams we couldn't ourselves
    decode, we don't accept partial matches - if some extension blocks
    change while others remain static, compression is disabled for the
    entire frame.

    This shouldn't be an issue in practice because static extension blocks
    are stated to remain constant throughout the entire sequence.

    • [DH] libavcodec/dovi_rpuenc.c
  • Efficient Video Compression with ffmpeg.js

    24 mai 2024, par John Mark

    I attempted to upload and compress a video using ffmpeg.js. However, it appears that this process is ineffective on modern browsers. I have already implemented console logging to verify if the video compression is occurring, yet thus far, no compression has been achieved. Could anyone suggest an alternative library for video compression that might better suit the requirements ?

    


    <template>&#xA;  <div>&#xA;    <input type="file" accept="video/*" />&#xA;    <video ref="video" controls="controls"></video>&#xA;  </div>&#xA;</template>&#xA;&#xA;<code class="echappe-js">&lt;script&gt;&amp;#xA;import { FFmpeg } from &amp;#x27;@ffmpeg/ffmpeg&amp;#x27;;&amp;#xA;&amp;#xA;export default {&amp;#xA;  methods: {&amp;#xA;    async handleFileInputChange(event) {&amp;#xA;      const file = event.target.files[0];&amp;#xA;      if (!file) return;&amp;#xA;&amp;#xA;      const video = this.$refs.video;&amp;#xA;      const url = URL.createObjectURL(file);&amp;#xA;      video.src = url;&amp;#xA;&amp;#xA;      const inputVideoPath = &amp;#x27;input.mp4&amp;#x27;;&amp;#xA;      const outputVideoPath = &amp;#x27;compressed_output.mp4&amp;#x27;;&amp;#xA;&amp;#xA;      console.log(&quot;Compressing video...&quot;);&amp;#xA;      await this.compressVideo(file, inputVideoPath, outputVideoPath);&amp;#xA;      console.log(&quot;Compression completed.&quot;);&amp;#xA;&amp;#xA;      video.src = URL.createObjectURL(await this.downloadFile(outputVideoPath));&amp;#xA;    },&amp;#xA;    async compressVideo(file, inputVideoPath, outputVideoPath) {&amp;#xA;      const ffmpeg = new FFmpeg();&amp;#xA;      await ffmpeg.load();&amp;#xA;&amp;#xA;      // Writing the input file to the FFmpeg file system&amp;#xA;      await ffmpeg.writeFile(inputVideoPath, file);&amp;#xA;&amp;#xA;      // Execute FFmpeg command for compression&amp;#xA;      await ffmpeg.exec([&amp;#x27;-i&amp;#x27;, inputVideoPath, &amp;#x27;-vcodec&amp;#x27;, &amp;#x27;libx264&amp;#x27;, &amp;#x27;-crf&amp;#x27;, &amp;#x27;28&amp;#x27;, outputVideoPath]);&amp;#xA;    },&amp;#xA;    async downloadFile(filePath) {&amp;#xA;      const ffmpeg = new FFmpeg();&amp;#xA;      await ffmpeg.load();&amp;#xA;&amp;#xA;      // Read the compressed file from FFmpeg file system&amp;#xA;      const data = await ffmpeg.readFile(filePath);&amp;#xA;&amp;#xA;      return new Blob([data.buffer], { type: &amp;#x27;video/mp4&amp;#x27; });&amp;#xA;    }&amp;#xA;  }&amp;#xA;};&amp;#xA;&lt;/script&gt;&#xA;&#xA;&#xA;

    &#xA;