uawdijnntqw1x1x1
IP : 216.73.216.146
Hostname : webm008.cluster111.gra.hosting.ovh.net
Kernel : Linux webm008.cluster111.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
bourgleram
/
www
/
c4d43
/
.
/
..
/
plugins-dist
/
medias
/
metadata
/
flv.php
/
/
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2016 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * \***************************************************************************/ if (!defined('_ECRIRE_INC_VERSION')) return; function metadata_flv_dist($file, $bigindian = true){ $meta = array(); if ($fd = fopen($file, 'r') AND $raw = fread($fd, 512)){ $keys = array('largeur'=>'width', 'hauteur'=>'height','duree'=>'duration','framerate'=>'framerate'); foreach ($keys as $m=>$k) { if (($i = strpos($raw, $k))>-1){ $bytes = substr($raw, $i+strlen($k)+1, 8); if ($bigindian) $bytes = strrev($bytes); $zz = unpack("dflt", $bytes); // unpack the bytes $meta[$m] = $zz['flt']; // return the number from the associative array } } } return $meta; } ?>
/home/bourgleram/www/c4d43/./../plugins-dist/medias/metadata/flv.php