Recherche avancée

Médias (91)

Autres articles (103)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)

    31 mai 2013, par

    Lorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
    Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
    Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
    Description des scripts
    Trois scripts Munin ont été développés :
    1. mediaspip_medias
    Un script de (...)

Sur d’autres sites (9477)

  • ffmpeg random images from video but in order

    28 novembre 2011, par RussellHarrower

    Ok, so I am using linux, and I have ffmpeg working, coding videos and making the image

    But what I would like is to make ffmpeg make up to 10 images from the video.

    I was wondering how I would do this. currently I use the following for images.

    //execute ffmepg to get picture
       exec("/usr/bin/ffmpeg -vframes 1 -ss ".$time_in_seconds." -i converted_vids/".$name.".".$type." video_images/".$name."_%02d.jpg -y 2> log/image_".$name.".txt");
  • how to play a avi/mpeg video on webpage ?

    27 novembre 2011, par Prashant

    I wanna play a video avi/mpeg video on php webpage. How can I do this ?

    I also want to generate the thumbnails for every video as well. Could anyone suggest some tools ?

    Thanks.

  • FFMpeg doesn't convert the video, just creates a thumb... It was working now not ?

    20 septembre 2011, par Matt Reid

    Theres a site im making for someone where it uses FFMpeg to convert the files to MP4's... I set it up and got the converter working... but now a week or so later ive came to use it and it doesn't convert the video, it runs the create thumbnail exec() but the video exec() doesn't run. It returns a 1 status like its gone through but there is no converted file and the browser quickly processes the convert file rather than lagging for a few seconds like it did when it was working...

    Any ideas ?

    <?php

    //Thumbnail VARS
    $tn_size = '480x360';
    $tn_interval = 3;
    $tn_type = 'mjpeg';

    //Video VARS
    $vi_size = '480x360';
    $vi_fileto = 'mp4';

    //Default Setup
    $id = $_GET['ListingID'];
    $ext = $_GET['Ext'];
    $temp_url = '/var/www/files/videos-tmp/'.$id.".".$ext;
    $new_url = '/var/www/files/videos/'.$id.".mp4";
    $new_url_thumb = '/var/www/files/videos-thumb/'.$id.".jpg";

    //echo $new_url."<br />".$id." ".$ext. " " .$temp_url;

    //Do
    if(file_exists($temp_url)) {
    @unlink($new_url);
    //echo "/usr/local/bin/ffmpeg -i {$temp_url} -f {$vi_fileto} -r 25 -ar 22050 -ab 48000      -ac 1 -s {$vi_size} {$new_url}";
    exec("/usr/local/bin/ffmpeg -i {$temp_url} -deinterlace -an -ss $tn_interval -f {$tn_type} -t 1 -r 1 -y -s $tn_size &#39;{$new_url_thumb}&#39;"); //make thumbnai
    exec("/usr/local/bin/ffmpeg -i {$temp_url} -f {$vi_fileto} -r 25 -ar 22050 -ab 48000 -ac 1 -s {$vi_size} {$new_url}",$output,$status); //convert video

    //@unlink($temp_url);
    if(isset($_GET[&#39;UsrOvr&#39;])) { } else {
    echo "<b>Convert Complete</b>";
    echo "<br /><br />Return to listings <a href="http://stackoverflow.com/feeds/tag/&#39;admin_listings.php&#39;">page</a>.";
    exit;
    }
    } else {
    die("The video selected does not exist!");
    }
    ?>