Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (62)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (10148)

  • lavu/opt : extend AVOptionRange by extra values

    30 mars 2014, par Lukasz Marek
    lavu/opt : extend AVOptionRange by extra values
    

    AVOptionRange is not flexible enough to store AV_OPT_TYPE_IMAGE_SIZE
    ranges. Current implementation can only store pixel count.
    This patch aims to keep backward compatibility and extend
    AVOptionRange with possibility to store width/height ranges.

    Signed-off-by : Lukasz Marek <lukasz.m.luki@gmail.com>

    • [DH] doc/APIchanges
    • [DH] libavutil/opt.c
    • [DH] libavutil/opt.h
    • [DH] libavutil/version.h
  • ffmpeg on mac to get thumbnail using php

    5 janvier 2017, par freelixa

    i download the ffmpeg for mac and store it into the web folder.

    and in the upload.php i store this line of code. the upload part is successfull but the it failed to create a thumbnail from the video that i upload. please help

    if(isset($_POST['submit'])){
       $ffmpeg = "ffmpeg/ffmpeg";
       $name = $_FILES['file']['name'];
       $temp = $_FILES['file']['tmp_name'];
       $imagefile = "1.jpg";
       $size = "120x90";
       $getfromsecond = 5;
       $cmd = "$ffmpeg -i $temp -an -ss $getfromsecond -s $size $imagefile";
       if(shell_exec($cmd)){
           echo "thumbnail created";
       }else{
           echo "error in making thumbnail";
       }
       // hide .mp4 from video title in mysql, but extension still attached in file
       //$name = preg_replace("/\b.mp4\b/i","",$name);
       //$name = preg_replace("/\b.flv\b/i","",$name);
       // moving the files from temporary name to the actual database and change the name to the actual name
       move_uploaded_file($temp,"video/".$name);
       $url = "video/$name";
       $query = "INSERT INTO `videolist` (`videoname`,`videourl`) VALUES ('$name','$url')";
       mysqli_query($connection,$query);

       echo "<br /> Congratulations ".$name." has been uploaded";
    }
  • FFmpeg- waveform from audio with transparent background

    7 décembre 2020, par Lluis Semper

    If I use this command

    &#xA;

    ffmpeg -y -i <mp3> -filter_complex "[0:a]aformat=channel_layouts=mono,showwavespic=s=375x244:colors=#ffffff" -vframes 1 test.png 2>&amp;1&#xA;</mp3>

    &#xA;

    I get the output that I wanted. My only problem is that I do not want to store to disk and want to get a buffer to store as an image in S3.

    &#xA;

    To do that I use this command :

    &#xA;

    ffmpeg -y -i <mp3> -filter_complex "[0:a]aformat=channel_layouts=mono,showwavespic=s=375x244:colors=#ffffff" -vframes 1 -f mjpeg -&#xA;</mp3>

    &#xA;

    In which a get a buffer of the waveform on

    &#xA;

    runner.stdout.on("data", (data) => console.log(data));&#xA;

    &#xA;

    The only problem is that from that image the Background is black.

    &#xA;

    My question is, how can achieve a transparent waveform without saving it to disk ?

    &#xA;

    I do not want to use any library.

    &#xA;