Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9052)

  • FFMPEG code not generating thumbnail, but it was working before [closed]

    25 mars 2020, par Shijil

    I want to save thumbnails in my website using this simple FFMPEG code.
    I tried to run it, but it shows error

       <?php


    $file="Videos/bloodshot.mp4";
    $vname="bloodshot";

    $W = intval($_GET['file']);
    $H = intval($_GET['file']);

    if(substr($file,0,1) != '.'){

    $mov = new ffmpeg_movie($file);
    $wn = $mov->GetFrameWidth();
    $hn = $mov->GetFrameHeight();

    $frame = $mov->getFrame(32);

    $gd = $frame->toGDImage();

    if(!$W and !$H)
    {

    $W = $neww; // width of the image
    $H = $newh; // height image
    }


    $new = imageCreateTrueColor($W, $H);
    imageCopyResized($new, $gd, 0, 0, 0, 0, $neww, $newh, $wn, $hn);
    $black = imagecolorallocate($new, 255, 255, 255);
    imagegif($new);
    imagegif ($new, './thumb/success.gif', 100);
    }
    ?>

    error log is

    [25-Mar-2020 14:52:31 UTC] PHP Fatal error:  Uncaught Error: Class 'ffmpeg_movie' not found in /home/xxxxxxx/public_html/Videos/ffmpeg.php:12
    Stack trace:
    #0 {main}
     thrown in /home/xxxxxxx/public_html/Videos/ffmpeg.php on line 12

    I was able to run it without error in a mobile site few years ago. But it seems to be not working now.
    Server has FFMPEG support.
    I am not an expert in php, please fix this code for me.

  • what is ffmpeg exit code 2 ? and also output error array is empty and not working in php

    14 juin 2019, par Mehdi Zamani

    I use ffmpeg to convert bitrate to 128 but not working in php

    exec("ffmpeg -i input.mp3 -codec:a libmp3lame -b:a 128k output().mp3 2>&1",
    $output, $exit_code);
    if ($exit_code!= 0) {
       $data['message'][] = "Error";
    }

    print_r($output);
    print_r($exit_code);
    exit;

    After running this code show error code 2.
    The output is an empty array and also exit_code is 2 and not create output.mp3 file.

    I already study How can I find out what this ffmpeg error code means ? but this isn’t my problem and don’t explain error code 2 or error code 2 is not defined. My problem is dont show any error and error message is empty just exit_code show 2 that means is some error happened.

  • ffmpeg creating MPEG Video slice code 01e0

    6 avril 2014, par dinatis

    I have been using ffmpeg to encode some MPEG files (-vcodec mpeg1video), but at the end of the first slice, I see the code 01e0. The decoder implementation I am using is expecting a code in the range 0101 - 01af. So when 01e0 is encountered, the decoder thinks there are no more slices, pictures or GOP's.

    Does anyone what the 01e0 code signifies and what ffmpeg options I should use to get the slice codes (if that is what they are) appearing in the expected range ?