Recherche avancée

Médias (91)

Autres articles (27)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (5720)

  • fate/matroska : Add test for zero-length Block

    25 avril 2020, par Andreas Rheinhardt
    fate/matroska : Add test for zero-length Block
    

    It furthermore tests the demuxer's handling of chained SeekHeads,
    level 1-elements after the Clusters and the muxer's capability of
    writing huge TrackNumbers as well as expanding the Cues' length field
    by one byte if necessary to fill the reserved space. It also tests
    propagation of metadata.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] tests/fate/matroska.mak
    • [DH] tests/ref/fate/matroska-zero-length-block
  • avcodec/mpeg12dec : fix range for cc_format option

    24 décembre 2024, par Marth64
    avcodec/mpeg12dec : fix range for cc_format option
    

    After support was added for DVB 0502 Closed Caption coding,
    the cc_format option's range was never updated so user
    cannot select this coding as a forced formatting choice.

    Fix the range of the option by ending it with the new coding type.

    Signed-off-by : Marth64 <marth64@proxyid.net>

    • [DH] libavcodec/mpeg12dec.c
  • How to get video length using ffmpeg

    21 janvier 2019, par Kevin

    I am getting the duration of video using following code,

    if (substr(php_uname(), 0, 7) == "Windows"){            
       $time = exec("{$ffmpeg} -i $path 2>&amp;1 | findstr Duration");

       echo $time;
       exit;

       $duration = explode(":", $time);                
       $seconds = ($duration[0] * 3600) + ($duration[1] * 60) + round($duration[2]);  
       $minutes = $seconds/60;
       $real_minutes = floor($minutes);
       $real_seconds = round(($minutes-$real_minutes)*60);
       $length = $real_minutes.':'.$real_seconds;
    }

    $time shows the output like Duration: 00:00:06.52, start: 0.000000, bitrate: 350 kb/s but $duration shows only like Array ans $length shows 0:0 only for all videos. So how can i get video length please help me.