Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (58)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (8612)

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