Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (93)

  • 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (8672)

  • Anomalie #3174 (Nouveau) : LDAP - erreur à l’installation

    2 mars 2014, par Sylvain Lesage

    Dans la procédure d’installation de SPIP (branche spip-3-stable), à l’étape 3, au lieu de créer l’utilisateur webmestre, j’ai cliqué sur l’installation de LDAP, avec succès (pour LDAP), puis j’obtiens une erreur d’accès à la base, et dans les logs :

    ERREUR : Le serveur ’mysql’ version 1 n’a pas ’countsel’
    

    L’application du contournement décrit dans le forum suivant : http://forum.spip.net/fr_243674.html#forum256183, permet de terminer correctement l’installation, mais ce n’est surement pas la solution.

    La ligne "fautive" : http://core.spip.org/projects/spip/repository/entry/spip/ecrire/install/etape_3.php#L303

  • FFmpeg.wasm demuxing - Get encodedChunks in Javascript

    16 mars 2023, par Kevin Baving

    I 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 Ranjith

    for 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