
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (53)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (4326)
-
Segmenting media files with FFMPEG
2 mai 2012, par Luuk D. JansenIn the newer releases of FFMPEG it is supposed to be possible to segment media files.
I checked out the SVN withsvn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
However, after building and trying to segment with the command below I get the error :
Unrecognized option 'segment_time'
Is there a specific ./configure option needed or a specific branch ?
There is nothing mentioned in FFMPEG manual (neither which version supports it). I would prefer to use a pre-build production version if possible.Command used to test :
ffmpeg -v 9 -loglevel 99 -re -i test.mov -an -c copy -b:v 128k -flags -global_header -map 0 -f segment -segment_time 4 -segment_list test.m3u8 -segment_format mpegts stream%05d.ts
-
Code to combine multiple media files using ffmpeg
21 mars 2013, par user2193172I am new to ffmpeg
I am trying to combine multiple media files using ffmpeg, I know the ffmpeg concatenation protocol allows this through a command line arguement. I want to know if the C code for this function is available anywhere, so that I can include the same in my program. If not, I would really appreciate if someone could post any suggestions on how to do this. Basically, I want to combine multiple files without doing the decoding and encoding of files.
I tried copying the data from one file to another, while I was able to create a new file, i couldn't play it back.
I searched the ffmpeg library but was unable to locate the code on how the concatenation function works.
-
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();
?>