
Recherche avancée
Autres articles (62)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (11418)
-
Evolution #3928 : les emails sont publics dans le privé
30 mars 2017, par nico d_Je suis assez d’accord avec jluc.
Il faudrait donc considérer donc ça comme une évolution, et simplement supprimer l’affichage de l’email dans le privé.
Ou peut être afficher juste la première et dernière lettre du nom et du domaine ?Quant à savoir si ça doit être configurable, je ne pense pas.
Est ce que quelqu’un peut être gêné si cettefonctionnalitéanomalie historique disparait ? -
FFmpeg.wasm demuxing - Get encodedChunks in Javascript
16 mars 2023, par Kevin BavingI am building a video editor whose process looks like this :


Demuxing -> Decoding -> Editing -> Encoding -> Muxing.


The demuxing and muxing process is currently done with mp4box.js. I would like to replace mp4box.js with ffmpeg.wasm. Unfortunately, I can't get along with the process.


What should FFmpeg.wasm do in the demuxing process ?


- 

- load a .mp4 file
- extract the encodedVideoChunks and store them as EncodedVideoChunk objects in an array
- extract the encodedAudioChunks and store them as EncodedAudioChunk objects in an array
- get some metadata like : duration, timescale, fps, track_width, track_height, codec, audio_channel_count, sample_rate ....










public async loadFile(file: File) {
 let data = await fetchFile(file)
 let blob = new Blob();
 await this.ffmpeg.setProgress(({ratio }) => console.log(`Extracting frames: ${Math.round(ratio * 100)}%`));
 this.ffmpeg.FS('writeFile', 'videoTest.mp4', data);
 //Here is where I am struggling
 //Should look like this: 
 //const command = '-i videoTest.mp4 -c:v copy .... '
 //await this.ffmpeg.run(command);
 //....
}



Lets get deeper into my problem :


Because FFmpeg.wasm is still a cli tool, I have no idea what the best way to safe the encodedChunks into a file is (and what kind of filetype I should use). Further I would like to know how to read that file propertly so that i can safe the input of the file into seperate EncodedVideo- and AudioChunks.


-
ffmpeg is not working while uploading file using uploadify
21 janvier 2016, par Ranjithfor a particular video i tried like this, and it worked
exec('/usr/bin/ffmpeg -i /home/xxxxxx/public_html/test/video1.mp4 /home/xxxxxxx/public_html/test/video1.flv');
but for uploadify i write code like this ,
<?php
if (!empty($_FILES)) {
$userId=$_SESSION["user_userid"];
$filename = $_FILES['Filedata']['name'];
$filetmpname = $_FILES['Filedata']['tmp_name'];
$fileType = $_FILES["Filedata"]["type"];
$fileSizeMB = ($_FILES["Filedata"]["size"] / 1024 / 1024);
$folder=$_REQUEST['folder'];
exec("/usr/bin/ffmpeg -i"."/home/xxxxxx/public_html/private/".$folder."/".$filename." "."/home/xxxxxx/public_html/private/".$folder."/".$filename.".flv");
}elseif($_POST['d']){
$filename = $_POST['d'];
$folder=$_REQUEST['folder'];
$dFile = $folder.$filename;
if(file_exists($dFile)){
unlink($dFile);
}
}
?>this code is not converting the uploaded file.
help me please.thanks