Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (102)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (16220)

  • Working example on live streaming using FFMPEG+MP4Box+Dash.js

    27 février 2017, par BartMao

    I’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.ts

    Step 2.

    mp4box -add Dash\audio_%d.ts Output\audio_%d.ts.mp4
    mp4box -add Dash\video_%d.ts Output\video_%d.ts.mp4

    Step 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=video

    I 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 R

    I’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 Cesur

    I 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&amp;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&amp;sig=...
    ...