
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (110)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
Sur d’autres sites (13944)
-
How to convert .fbx to frame images
24 mai 2024, par Ittefaq TechnologiesI wanna to need help that i wanna to convert .fbx to video through script and i found a soluotion to do it through FFmpeg but it not supports .fbx so i need help in to get frame images so i can make video through ffmpeg or if i am goin in wrong direction you can help me


I tried to convert a .fbx file to .obj using three.js and then create a video from the .obj file, but it didn't work.


<code class="echappe-js"><script>&#xA; // Function to load FBX using FBXLoader&#xA; function loadFBX(blob, loader, callback) {&#xA; var url = URL.createObjectURL(blob);&#xA; loader.load(url, function(object) {&#xA; callback(object);&#xA; });&#xA; }&#xA;&#xA; // Function to export THREE.Object3D to OBJ format using OBJExporter&#xA; function exportToOBJ(object, callback) {&#xA; var exporter = new THREE.OBJExporter();&#xA; var result = exporter.parse(object);&#xA; callback(result);&#xA; }&#xA;&#xA; // Function to send OBJ file to PHP script&#xA; function sendToPHP(objBlob, fileName) {&#xA; var formData = new FormData();&#xA; formData.append(&#x27;objFile&#x27;, objBlob, fileName);&#xA;&#xA; var xhr = new XMLHttpRequest();&#xA; xhr.open(&#x27;POST&#x27;, &#x27;convert.php&#x27;, true);&#xA; xhr.onload = function() {&#xA; if (xhr.status === 200) {&#xA; console.log(&#x27;Conversion successful:&#x27;, xhr.responseText);&#xA; } else {&#xA; console.error(&#x27;Conversion failed:&#x27;, xhr.responseText);&#xA; }&#xA; };&#xA; xhr.send(formData);&#xA; }&#xA;&#xA; // Function to convert FBX to OBJ&#xA; function convertToOBJ() {&#xA; var fileInput = document.getElementById(&#x27;fileInput&#x27;);&#xA; var file = fileInput.files[0];&#xA;&#xA; if (file) {&#xA; var reader = new FileReader();&#xA; reader.onload = function(event) {&#xA; var arrayBuffer = event.target.result;&#xA; var blob = new Blob([arrayBuffer]);&#xA; var loader = new THREE.FBXLoader();&#xA; loadFBX(blob, loader, function(object) {&#xA; exportToOBJ(object, function(objText) {&#xA; var objBlob = new Blob([objText], { type: &#x27;text/plain&#x27; });&#xA; sendToPHP(objBlob, file.name.split(&#x27;.&#x27;)[0] &#x2B; &#x27;.obj&#x27;);&#xA; });&#xA; });&#xA; };&#xA; reader.readAsArrayBuffer(file);&#xA; } else {&#xA; alert(&#x27;Please select an FBX file to convert.&#x27;);&#xA; }&#xA; }&#xA; </script>



<?php


// Check if form submitted and file uploaded
if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_FILES["objFile"])) {
 $objFile = $_FILES["objFile"];
 $objFilePath = $objFile["tmp_name"];
 $outputVideo = 'output.mp4';

 // Execute FFmpeg command to convert OBJ to video
 exec("ffmpeg -i \"$objFilePath\" $outputVideo", $output, $returnCode);

 if ($returnCode === 0) {
 echo 'Conversion successful';
 } else {
 echo 'Conversion failed';
 }
} else {
 echo 'No OBJ file uploaded';
}
?>




-
Merge commit '126bc2c33b79c36bc23f43719d20f55b9b6771e9'
31 octobre 2017, par James AlmerMerge commit '126bc2c33b79c36bc23f43719d20f55b9b6771e9'
* commit '126bc2c33b79c36bc23f43719d20f55b9b6771e9' :
vp9_superframe_bsf : convert to the new bitstream readerThis commit is a noop, see
https://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.htmlMerged-by : James Almer <jamrial@gmail.com>
-
Merge commit 'd0ce0634e09403eecaea4283cf82a2c5cea7d1e1'
30 octobre 2017, par James AlmerMerge commit 'd0ce0634e09403eecaea4283cf82a2c5cea7d1e1'
* commit 'd0ce0634e09403eecaea4283cf82a2c5cea7d1e1' :
clearvideo : Convert to the new bitstream readerThis commit is a noop, see
https://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.htmlMerged-by : James Almer <jamrial@gmail.com>