
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (52)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (9936)
-
Working example on live streaming using FFMPEG+MP4Box+Dash.js
27 février 2017, par BartMaoI’m stucked on this issue for a couple of days, couldn’t find a perfect working example.
Here’s my current method :
Step 1.
ffmpeg -re -i sample.mp4 -threads 0 -y \
-map 0:1 -vn -acodec aac -strict -2 -ar 48000 -ac 2 \
-f segment -segment_time 4 -segment_format mpegts Dash\audio_%d.ts \
-map 0:0 -vcodec libx264 -vprofile baseline -preset veryfast \
-s 640x360 -vb 512k -bufsize 1024k -maxrate 512k -level 31 -keyint_min 25 -g 25 \
-sc_threshold 0 -an -bsf h264_mp4toannexb -flags -global_header \
-f segment -segment_time 4 -segment_format mpegts Dash\video_%d.tsStep 2.
mp4box -add Dash\audio_%d.ts Output\audio_%d.ts.mp4
mp4box -add Dash\video_%d.ts Output\video_%d.ts.mp4Step 3.
mp4box -dash-ctx Output\dash-live.txt -dash 4000 \
-rap -ast-offset 12 -no-frags-default -bs-switching no \
-min-buffer 4000 -url-template -time-shift 1800 \
-segment-name live_$RepresentationID$_ -out Output\live \
-dynamic -mpd-refresh 2 -subsegs-per-sidx -1 Output\audio_%d.ts.mp4:id=audio Output\video_%d.ts.mp4:id=videoI played the live.mpd generated using Dash.js, the player paused a long time before actually playing, and freeze every time getting a new m4s file.
Are there any wrong on my commands ? Or it would be great if can provide any other good examples.
-
PHP Ajax XMLHttpRequest popen live progress
21 février 2016, par John RI’m trying to output live : the ffmpeg progress
It works great when I execute the php file alone : many lines with text appearing one after an other...
••• But when it’s a XMLHttpRequest context, the output is 1 line empty
PHP working when not in AJAX situation :
ini_set("output_buffering", "0");
ob_implicit_flush(true);
$call_mp4 = ' __FFMPEG Command HERE__ ';
$proc = popen($call_mp4, 'r');
while (!feof($proc)) {
echo '['.date("i:s")."] ".fread($proc, 4096).'<br />';ob_flush();flush();
}Does someone know why in AJAX it’s blank and only 1 line ?
how can this be fixed ?Regards
-
Downloading earlier segments from a live m3u8 playlist
25 juillet 2016, par Zafer CesurI have an
.m3u8
URI from an online live-stream. As far as I know, live playlists use a sliding window instead of containing all the segments. My questions are,
1) Is it possible to find out what the length of the window is (time or frame-wise) ? My intention is to use the playlist I have to download a live-stream starting from an earlier time.
2) If yes, how do I get the earlier segments, i.e., how do I specify where I want to start downloading from ? I tried something like
ffmpeg -ss -00:00:10 -i "in.m3u8" out.mp4
, but it did not work.I do not have much experience in video-encoding or live-streaming, and I would appreciate any direction ! The file that I am dealing with is printed below.
#EXTM3U
#EXT-X-TWITCH-INFO:NODE="video-edge-913b2c.jfk03",MANIFEST-NODE="video-edge-913b2c.jfk03",SERVER-TIME="1469462316.46",USER-IP="...",SERVING-ID="...",CLUSTER="jfk03",ABS="false",BROADCAST-ID="22500458080",STREAM-TIME="17374.4599299",MANIFEST-CLUSTER="jfk03"
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="chunked",NAME="Source",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3566000,RESOLUTION=1920x1080,CODECS="avc1.4D402A,mp4a.40.2",VIDEO="chunked"
http://video-edge-913b2c.jfk03.hls.ttvnw.net/hls-7e8a7c/imaqtpie_22500458080_490173831/chunked/index-live.m3u8?token=id=...,bid=...,exp=1469548716,node=video-edge-913b2c.jfk03,nname=video-edge-913b2c.jfk03,fmt=chunked&sig=...
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="high",NAME="High",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1760000,RESOLUTION=1280x720,CODECS="avc1.66.31,mp4a.40.2",VIDEO="high"
http://video-edge-913b2c.jfk03.hls.ttvnw.net/hls-7e8a7c/imaqtpie_22500458080_490173831/high/index-live.m3u8?token=id=...,bid=...,exp=1469548716,node=video-edge-913b2c.jfk03,nname=video-edge-913b2c.jfk03,fmt=high&sig=...
...