Recherche avancée

Médias (91)

Autres articles (55)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7443)

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

  • avcodec/dvdsub_parser : Fix length check for short packets

    30 septembre 2022, par Aidan MacDonald
    avcodec/dvdsub_parser : Fix length check for short packets
    

    The DVD subtitle parser handles two types of packets : "normal"
    packets with a 16-bit length, and HD-DVD packets that set the
    16-bit length to 0 and encode a 32-bit length in the next four
    bytes. This implies that HD-DVD packets are at least six bytes
    long, but the code didn't actually verify this.

    The faulty length check results in an out of bounds read for
    zero-length "normal" packets that occur in the input, which are
    only 2 bytes long, but get misinterpreted as an HD-DVD packet.
    When this happens the parser reads packet_len from beyond the
    end of the input buffer. The subtitle stream is not correctly
    decoded after this point due to the garbage packet_len.

    Fixing this is pretty simple : fix the length check so packets
    less than 6 bytes long will not be mistakenly parsed as HD-DVD
    packets.

    Signed-off-by : Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] libavcodec/dvdsub_parser.c