
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (96)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (16774)
-
Use ActionScript and Lib Flash to Record h.264 Webcam In Browser w/o Media Server ?
10 octobre 2013, par Jake SteeleWas wondering if its possible to use ActionScript and maybe wrap libx264 to record and encode a video inside the browser in h.264 format for playback.
If anyone has any examples of something close to this please hook me up !
-
Revision 24fbfa42f1 : Require armv6/media when building armv7 When building with runtime cpu detect a
29 juillet 2014, par JohannChanged Paths :
Modify /build/make/rtcd.pl
Require armv6/media when building armv7When building with runtime cpu detect assume that armv7 targets can be
relied upon to have at least armv6 support. This may allow dead code
detectors to remove some _c functions.Change-Id : Iaec4414011fcbbdf6f4ed0d90ef4a8fe8af540b5
-
PHP - FFMPEG - Unable to apply multiple regular expressions on media output
9 avril 2012, par Parth GI am writing a php script (I have to use php) to cycle through a dir of media files and displaying media information in a chart.
Right now, I'm trying to do it on 1 file.
I can successfully do so. I currently can parse the output (using regular expressions) to obtain information such as file name, duration, resolution, etc
I was told that I can combine the regular expressions to make it more efficient.
When I do however, I am unable to parse the ffmpeg output correctly.
Consequently, I've tried copying the output to a string and parsing that using multiple expressions and it works just fine.
Any help is appreciated.
Thanks.
Working code
$media_info = "'test.mkv': Metadata: creation_time : 2011-03-12 09:04:18 Duration: 00:21:44.10, start: 0.000000, bitrate: 500 kb/s Chapter #0.0: start 0.097000, end 1304.107000 Metadata: title : 00:00:00.097 Stream #0:0: Video: h264 (High), yuv420p, 720x400 [SAR 80:81 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1: Audio: aac, 48000 Hz, stereo, s16 (default) At least one output file must be specified";
$file = array();
$file_test = preg_match_all("/'([a-zA-Z0-9\._]*\.[a-zA-Z0-9]*)'.* Duration: ([0-9]{2,}:[0-9]{2}:[0-9]{2}\.[0-9]*)/", $media_info, $file);;
var_dump($file)Not Working Code
ob_start();
passthru("C:\\wamp\\www\\ffmpeg\\bin\\ffmpeg.exe -i \"{$videofile}\" 2>&1");
$raw_data = ob_get_contents();
ob_end_clean();
$ffmpeg_info = explode("from", $raw_data);
$media_info = $ffmpeg_info[1];
$file = array();
$file_test = preg_match_all("/'([a-zA-Z0-9\._]*\.[a-zA-Z0-9]*)'.* Duration: ([0-9]{2,}:[0-9]{2}:[0-9]{2}\.[0-9]*)/", $media_info, $file);;
var_dump($file)New Code
I tried using the ffmpeg-php extension and the following works (except for printing the bit rate)
$movie = new ffmpeg_movie($video_file);
echo $movie->getFilename();
echo "<br />" ;
echo $movie->getDuration();
echo "<br />" ;
echo $movie->getFrameWidth();
echo "x";
echo $movie->getFrameHeight();
echo "<br />" ;
echo $movie->getBitRate();
echo "<br />" ;
echo $movie->getVideoBitRate();
echo "<br />" ;
echo $movie->getAudioBitRate();
echo "<br />" ;
echo $movie->getVideoCodec();
echo "<br />" ;
echo $movie->getAudioCodec();
?>