Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (60)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (5669)

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

  • Audio along video processing together by opencv

    25 février 2015, par user3397178

    I am going to do some video processing so that I need my audio signal as well. I wanna develop a framework which extracts the frames of an input video file, processes (like tracking an object, etc) and then combines all frames together to have a new video. As I did it by means of Opencv, it is so straightforward. But as I know, OpenCV does not handle the audio signal along with video. The important point which I really have to do is to have a processed video along with sound. I would like to have the original sounds after processing in the new created video.

    I have heard that, I can do Audio processing with ffmpeg and video processing by Opencv, but I don’t have any opinions regarding that. It would be really appreciated if you give me a hint, a general overview or any possibilities for this task. Is is possible to integrate these two libraries (OpenCv, ffmpeg) together and do the mentioned task ? If so, how can I do that ? (any help, hint or suggestion is appreciated)

    thanks in advance
    Bests,

  • how to add text to the video in android ?

    4 octobre 2024, par Sajad Norouzi

    In my app I record a video and I wanna overlay the url of my company on the right bottom of that video. I record video with MediaRecorder and there is no problem with the recording, but for adding text to the video I haven't been successful. I searched and found some library like FFmpeg and JavaCV which let user overlay a text on the video but I don't know if there is any way for using them in Android. after that found OnPreviewFrame which returns each frame of the camerapreivew. I want to get all frames after user touch record button and draw text using canvas to each frame and then save all those frame together until recording video stops, and videos duration are fix and 15 seconds. Is it a good solution ? if it is, how should I implement OnPreviewFrame function ? I know how to draw canvas but I don't know how to convert data[] to the bitmap.

    &#xA;