Recherche avancée

Médias (91)

Autres articles (53)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (6575)

  • Revision 5724b7e292 : yv12extend : name variables consistently - s|source -> src - dest -> dst - use v

    23 août 2013, par James Zern

    Changed Paths :
     Modify /vpx_scale/generic/yv12extend.c



    yv12extend : name variables consistently

    - s|source -> src
    - dest -> dst
    - use verbose names in extend_plane dropping the redundant comments

    + light cosmetics :
    - join a few lines / assignments
    - drop some unnecessary comments & includes

    Change-Id : I6d979a85a0223a0a79a22f79a6d9c7512fd04532

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

  • Uploaded video screen capture using ffmpeg [closed]

    27 janvier 2013, par Mudit Dugar

    I need to capture frames of user's uploaded videos. i just came to know that ffmpeg does that.Please provide me detailed installation instruction of ffmpeg on my linux server .i just have info to login into ssh via putty. Also what are the softwares i need to install.does ffmpeg player includes in the installation process.
    Thanks in advance