Recherche avancée

Médias (91)

Autres articles (73)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (11250)

  • Duration of an uploaded video in PHP

    14 juillet 2015, par 121kk

    I need to know the duration of a video that I have uploaded to a page. I have written a PHP script for doing this :

    <?php

    $command = "ffmpeg -i video.mp4 2>&1 | grep Duration | awk '{print $2}' | tr -d ,; ";
    $cm = shell_exec($command) ;
    echo "$cm";

    ?>

    When I execute this program via terminal it shows duration, but on calling it in a PHP page it does not give an output.
    Please provide me a solution....

    Thanks in advance.

  • How to scale watermark with FFMPEG ?

    25 avril 2022, par Eduardo

    I am using ffmpeg to change the resolution and type(mp4) of my videos but I also want to add a watermark on them, but the problem is that the size of the watermark is different in every video I upload (on some videos the watermark becomes small and on other videos become bigger).

    


    Is there a way to add a watermark with a proportional scale to the videos so I don't have different sizes of the watermark ?

    


    Here's my code :

    


    ffmpeg -i input_video.avi -i watermark.png -s 1280x720 -filter_complex overlay=x=(main_w-overlay_w):y=(main_h-overlay_h) output_video.mp4

    


    Thanks in advance :)

    


  • FFmpeg/X264 : Split video mid-GOP without reencoding entire stream

    10 juillet 2012, par yoda_alex

    I've got an H264 video (Stored in an MP4 file). Each GOP is approx 10s long. I want to trim the first couple of seconds off the video, which means I need to split the first GOP. Is there a way to do this without re-encoding the entire video ?

    I've got FFmpeg and x264 available. I'm happy to use either the FFmpeg command line, or my own program linked against ffmpeg of x264 libraries.

    Thanks in advance !