Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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 ) (...)

Sur d’autres sites (7271)

  • How to prepare media stream to play using dash.js web player ?

    7 avril 2016, par Paweł Tobiszewski

    I want to stream media from nginx server to Android device and play it using web player embedded into web page. Player I want to use is dash.js.
    I play the same media also using different methods (MediaPlayer and ExoPlayer) and they are working great. But when I try to use dash.js, I faced problem with codecs - they are not supported.
    I prepare my streams using ffmpeg and MP4Box, I also tried different codecs, like libx264, x264, x265 - always with the same effect.
    My based media are video in Y4M format and audio in WAV.
    How to encode it to use it in dash.js player ?

    EDIT :
    I get error "Video Element Error : MEDIA_ERR_DECODE" while trying to decode video stream.

    Here is full log :

    [16] EME detected on this user agent! (ProtectionModel_21Jan2015)
    [19] Playback Initialized
    [28] [dash.js 2.0.0] MediaPlayer has been initialized
    [102] Parsing complete: ( xml2json: 3ms, objectiron: 3ms, total: 0.006s)
    [103] Manifest has been refreshed at Thu Apr 07 2016 22:02:52 GMT+0200 (CEST)[1460059372.696]  
    [107] SegmentTimeline detected using calculated Live Edge Time
    [118] MediaSource is open!
    [118] [object Event]
    [119] Duration successfully set to: 18.58
    [119] Added 0 inline events
    [120] video codec: video/mp4;codecs="avc1.640032"
    [132] Schedule controller stopping for video
    [137] No audio data.
    [137] No text data.
    [137] No fragmentedText data.
    [137] No embeddedText data.
    [138] No muxed data.
    [139] Start Event Controller
    [141] Schedule controller starting for video
    [143] Native video element event: play
    [144] Schedule controller starting for video
    [148] loaded video:InitializationSegment:NaN (200, 0ms, 7ms)
    [149] Initialization finished loading
    [154] Getting the request for video time : 0
    [155] SegmentList: 0 / 18.58
    [164] loaded video:MediaSegment:0 (200, 7ms, 1ms)
    [169] Native video element event: loadedmetadata
    [171] Starting playback at offset: 0
    [175] Got enough buffer to start.
    [175] Buffered Range: 0 - 0.999999
    [179] Requesting seek to time: 0
    [181] Prior to making a request for time, NextFragmentRequestRule is aligning index handler's currentTime with bufferedRange.end. 0  was changed to  0.999999
    [182] Getting the request for video time : 0.999999
    [183] SegmentList: 0 / 18.58
    [183] Getting the next request at index: 1
    [184] SegmentList: 1 / 18.58
    [190] loaded video:MediaSegment:1 (200, 5ms, 0ms)
    [192] Buffered Range: 0 - 0.999999
    [195] Getting the request for video time : 2
    [196] Index for video time 2 is 1
    [197] SegmentList: 1 / 18.58
    [197] Getting the next request at index: 2
    [198] SegmentList: 2 / 18.58
    [205] loaded video:MediaSegment:2 (200, 4ms, 1ms)
    [207] Buffered Range: 0 - 0.999999
    [207] Getting the request for video time : 3
    [208] Index for video time 3 is 2
    [208] SegmentList: 2 / 18.58
    [209] Getting the next request at index: 3
    [209] SegmentList: 3 / 18.58
    [212] Video Element Error: MEDIA_ERR_DECODE
    [212] [object MediaError]
    [215] Schedule controller stopping for video
    [219] Native video element event: pause
  • Encoding from FFMPEG to MPEG-DASH, WebM with Keyframe Clusters to work with MediaSource API

    1er mai 2016, par Chris Nolet

    I’m currently sending a video stream to Chrome, to play via the MediaSource API.

    As I understand it, MediaSource only supports MP4 files encoded with MPEG-DASH, or WebM files that have clusters beginning with keyframes (otherwise it raises the error : Media segment did not begin with keyframe).

    Is there any way to encode in MPEG-DASH or keyframed WebM formats with FFMPEG in real-time ?

    EDIT :

    I just tried it with ffmpeg ... -f webm -vcodec vp8 -g 1 ... so that every frame is a keyframe. Not the ideal solution. It does work with MediaStream now though. Any way to sync up the segments with the keyframes in WebM so not every frame needs to be a keyframe ?


    Reference Questions on WebM / MP4 and MediaSource :

    Media Source Api not working for a custom webm file (Chrome Version 23.0.1271.97 m)

    MediaSource API and mp4

  • DASH playback for encrypted .webm video files in Shaka Player

    7 mars 2017, par Prabhdeep Singh

    I have been trying to play encrypted .WEBM media files in ShakaPlayer without much success and I am here to seek advise from anybody who had been through this. It would be great if somebody in this awesome developer community can guide me here.

    Round 1 - What I tried (Encoded & Dashed) :

    • Encoded .MP4 file to multiple-streams Video .WEBM (VP9) &
      single-stream Audio .WEBM (Vorbis) files using FFMPEG.
    • Created DASH MANIFEST.MPD file with WEBM_TOOLS/WEBM_DASH_MANIFEST

    Outcome : I am able to play this in Shaka Player without any issues.

    Round 2 - What I tried (Encoded, Encrypted & Dashed) :

    • Encoded .MP4 file to multiple-streams Video .WEBM (VP9) & single-stream Audio .WEBM (Vorbis) files using FFMPEG.

    • Encrypted generated .WEBM files with WEBM_TOOLS/WEBM_CRYPT

    • Created DASH MANIFEST.MPD file with WEBM_TOOLS/WEBM_DASH_MANIFEST

    Outcome : I don’t know how should I play this content in Shaka Player. Where and how should I provide the .key file generated in step 2 above to Shaka Player. I would like to use Clearkeys with CENC on browser. I don’t want to encode to multi-stream .MP4, but only .WEBM.

    Thanks so much !