Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (60)

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

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

  • 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

Sur d’autres sites (13733)

  • Generating random thumbnails with PHP+FFMPEG

    30 décembre 2014, par MrGhost

    I’m trying to generate thumbnails from random points in a movie using FFMPEG and FFMPEG-PHP extension.

    My script works OK.. however takes 20 minutes just to generate 5-10 thumbnails !!

    The script works by generating random numbers which are used as frame numbers later. All numbers generated are within the movies frame count.

    Can you work out why this script is taking 20 mins to finish ?
    If not, a better solution ?

    <?php

    //Dont' timeout
    set_time_limit(0);

    //Load the file (This can be any file - still takes ages)
    $mov = new ffmpeg_movie('1486460.mp4');

    //Get the total frames within the movie
    $total_frames = $mov->getFrameCount();

    //Loop 5-10 times to generate random frames 5-10 times
    for ($i = 1; $i <= 5; ) {
       // Generate a number within 200 and the total number of frames.
    $frame = mt_rand(200,$total_frames);
    $getframe = $mov->getFrame($frame);
    // Check if the frame exists within the movie
    // If it does, place the frame number inside an array and break the current loop
    if($getframe){
     $frames[$frame] = $getframe ;
     $i++;
    }
    }

    //For each frame found generate a thumbnail
    foreach ($frames as $key => $getframe) {
    $gd_image = $getframe->toGDImage();
    imagejpeg($gd_image, "images/shot_".$key.'.jpeg');
    imagedestroy($gd_image);
    echo $key.'<br />';
    }

    ?>

    The script SHOULD be generating frame numbers which are valid ? Anything within START - END should be valid frame numbers ? Yet the loop takes ages !

  • timeshift Jumps in Live Streaming HLS Playback

    8 avril 2024, par matin

    some times in live streaming with hls (h264) client show a jump back in time shift&#xA;but index.m3u8 and playlist.m3u8 is ok and segments are correctly generated&#xA;I see this problem in our player and hls demo too&#xA;is there any thing related too transcoding and ffmpeg cause or prevent this problem

    &#xA;

  • Merge commit ’16a645adeb758207346a4bbf66766f02734c461e’

    17 mai 2013, par Michael Niedermayer
    Merge commit ’16a645adeb758207346a4bbf66766f02734c461e’
    

    * commit ’16a645adeb758207346a4bbf66766f02734c461e’ :
    vf_pixdesctest : make config_props work properly when called multiple times.
    vf_hqdn3d : make config_props work properly when called multiple times.

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/vf_hqdn3d.c
    • [DH] libavfilter/vf_pixdesctest.c