Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (110)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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, par

    Explications 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, par

    Certains 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 Technologies

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

    &#xA;

    &lt;?php&#xA;&#xA;&#xA;// Check if form submitted and file uploaded&#xA;if ($_SERVER["REQUEST_METHOD"] == "POST" &amp;&amp; isset($_FILES["objFile"])) {&#xA;    $objFile = $_FILES["objFile"];&#xA;    $objFilePath = $objFile["tmp_name"];&#xA;    $outputVideo = &#x27;output.mp4&#x27;;&#xA;&#xA;    // Execute FFmpeg command to convert OBJ to video&#xA;    exec("ffmpeg -i \"$objFilePath\" $outputVideo", $output, $returnCode);&#xA;&#xA;    if ($returnCode === 0) {&#xA;        echo &#x27;Conversion successful&#x27;;&#xA;    } else {&#xA;        echo &#x27;Conversion failed&#x27;;&#xA;    }&#xA;} else {&#xA;    echo &#x27;No OBJ file uploaded&#x27;;&#xA;}&#xA;?>&#xA;&#xA;

    &#xA;

  • Merge commit '126bc2c33b79c36bc23f43719d20f55b9b6771e9'

    31 octobre 2017, par James Almer
    Merge commit '126bc2c33b79c36bc23f43719d20f55b9b6771e9'
    

    * commit '126bc2c33b79c36bc23f43719d20f55b9b6771e9' :
    vp9_superframe_bsf : convert to the new bitstream reader

    This commit is a noop, see
    https://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.html

    Merged-by : James Almer <jamrial@gmail.com>

  • Merge commit 'd0ce0634e09403eecaea4283cf82a2c5cea7d1e1'

    30 octobre 2017, par James Almer
    Merge commit 'd0ce0634e09403eecaea4283cf82a2c5cea7d1e1'
    

    * commit 'd0ce0634e09403eecaea4283cf82a2c5cea7d1e1' :
    clearvideo : Convert to the new bitstream reader

    This commit is a noop, see
    https://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.html

    Merged-by : James Almer <jamrial@gmail.com>