
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (53)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Les notifications de la ferme
1er décembre 2010, parAfin 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, parMediaSPIP 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 ZernChanged Paths :
Modify /vpx_scale/generic/yv12extend.c
yv12extend : name variables consistentlys|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 MarkI 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>
 <div>
 <input type="file" accept="video/*" />
 <video ref="video" controls="controls"></video>
 </div>
</template>

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





-
Uploaded video screen capture using ffmpeg [closed]
27 janvier 2013, par Mudit DugarI 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