Recherche avancée

Médias (91)

Autres articles (82)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (13264)

  • 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!");
    }
    ?>