Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (57)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5181)

  • 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