Recherche avancée

Médias (91)

Autres articles (110)

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

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

Sur d’autres sites (13865)

  • 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