Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (13)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (1079)

  • Video duration not detected by moviepy

    27 août 2023, par Kyv

    I have downloaded a video online, and wanted to add a background sound to it.
I followed this link :
Combining an audio file with video file in python
But, while reading the file

    


    my_clip = mpe.VideoFileClip('file.mp4')


    


    I get the error [mov,mp4,m4a,3gp,3g2,mj2 @ 00000152769e78c0] moov atom not found : path/to/file.mp4 Invalid data found when processing input from line 320 in the github resource https://github.com/victorcampos7/tensorflow-ffmpeg/blob/master/ffmpeg_reader.py
How to overcome this issue ?
    
The video I am testing on : https://simgool.com/salon/SHY4xAqxVZ

    


  • php shell_exec() command pop out error and permission denied ffmpeg

    3 juin 2023, par user3711175

    This is the main index.php file where I run my code to generate a video thumbnail with ffmpeg but it has no lucks at all I have been searching online for a lot of solution but nothing comes out i will be very appreciate if you guys can help me out. The shell_exec() keep giving me error

    



    &#xA;&#xA;&#xA;&#xA;<form action="index.php" method="POST" enctype="multipart/form-data">&#xA;<input type="file" /><input type="submit" value="upload" />&#xA;&#xA;</form>&#xA;&#xA;&lt;?php&#xA;&#xA;if(isset($_POST[&#x27;submit&#x27;])){&#xA;&#xA;&#xA;$ffmpeg = "/Users/mac/Documents/ffmpeg/3.1.4/bin/ffmpeg";&#xA;$videoFile = $_FILES["file"]["tmp_name"];&#xA;$imageFile = "1.jpg";&#xA;$size = "320x240";&#xA;$getFromSecond = 5;&#xA;$cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile 2>&amp;1";&#xA;&#xA;    echo shell_exec($cmd);&#xA;&#xA;&#xA;echo shell_exec(&#x27;whoami&#x27;);&#xA;if(!shell_exec($cmd)){&#xA;&#xA;&#xA;    echo "thumbnail created";&#xA;}else{&#xA;    echo "error creating thumbnail";&#xA;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;?>&#xA;&#xA;&#xA;&#xA;

    &#xA;

  • php shell_exec() command pop out error and permission denied ffmpeg

    19 octobre 2016, par user3711175

    This is the main index.php file where I run my code to generate a video thumbnail with ffmpeg but it has no lucks at all I have been searching online for a lot of solution but nothing comes out i will be very appreciate if you guys can help me out. The shell_exec() keep giving me error

    <form action="index.php" method="POST" enctype="multipart/form-data">
    <input type="file" /><input type="submit" value="upload" />

    </form>

    &lt;?php

    if(isset($_POST['submit'])){


    $ffmpeg = "/Users/mac/Documents/ffmpeg/3.1.4/bin/ffmpeg";
    $videoFile = $_FILES["file"]["tmp_name"];
    $imageFile = "1.jpg";
    $size = "320x240";
    $getFromSecond = 5;
    $cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile 2>&amp;1";

       echo shell_exec($cmd);


    echo shell_exec('whoami');
    if(!shell_exec($cmd)){


       echo "thumbnail created";
    }else{
       echo "error creating thumbnail";
    }






    }

    ?>