Questions tagged [dash.js]

A reference client implementation for the playback of MPEG DASH via JavaScript and compliant browsers.

Dash.js is a reference client implementation for the playback of via JavaScript and compliant browsers.

93 questions
10
votes
2 answers

Why Do I need Dash.js for streaming MPEG DASH videos?

I'm new with html 5 adaptive streaming and information out there is quite conflicting. I want to create an test environment on my windows server cloud streaming a 2hours h264 file and play on my local computer with an html5 player. Question: Why Do…
RollRoll
  • 8,133
  • 20
  • 76
  • 135
9
votes
2 answers

Live streaming: node-media-server + Dash.js configured for real-time low latency

We're working on an app that enables live monitoring of your back yard. Each client has a camera connected to the internet, streaming to our public node.js server. I'm trying to use node-media-server to publish an MPEG-DASH (or HLS) stream to be…
Maor Barazani
  • 680
  • 3
  • 12
  • 31
7
votes
1 answer

Nginx-rtmp module and mpeg-dash(Dash industry dash.js)

Mpeg Dash-Streaming I am working in my thesis about live-streaming . I used ffmpeg,ngix server with rtmp module and dash.js from Dash industry. I start stream to server by ffmpeg, and play by dash, player runned well, but there were some…
huuthang
  • 454
  • 1
  • 4
  • 11
6
votes
1 answer

Load MPEG-DASH Segments Non-Sequentially for Seeking

Building an MPEG-DASH player in JavaScript. However, I'm having an issue implementing seek, and there doesn't appear to be much reference material out there in how to handle it with MSE and the corresponding Source Buffer object. As far as I can…
Chris Calo
  • 346
  • 4
  • 14
6
votes
4 answers

MPEG-DASH video stream with just single mp4 file

I'm researching for a week to find a simple and platform independent method to stream a mp4 file to any browser. In case of browser incompatibility progressive stream(direct download) method will be used. My scenario is like this: single mp4 file…
Behrouz.M
  • 3,445
  • 6
  • 37
  • 64
5
votes
2 answers

Testing DashJS with Jest & Enzyme

I'm trying to write Jest tests for a React component which contains a DashJS media player. I'm using Enzyme's mount method to try and test the component, but it seems that the DashJS media player fails to mount properly. In my componentDidMount…
JP Strydom
  • 248
  • 3
  • 10
3
votes
1 answer

How can I get protected playback of offline content with DOWNstream For Electron?

I'm trying to get protected playback of offline content within Electron. I'm trying to use: https://github.com/castlabs/downstream_electron along with their Widevine-compatible Electron build:…
user773737
3
votes
1 answer

How to generate multi rate mpeg-dash stream by ffmpeg

I want to create dash stream with multi-bitrate and serve it. I also want to use the quality selector of dash.js player. like the picture: what flags and configuration I need for generating .mpd file?
pesehr
  • 787
  • 2
  • 9
  • 23
3
votes
0 answers

FFMPEG: Timestamps are unset in a packet for stream 0.Non-monotonous DTS in output stream 0:0

I'm using FFMPEG to connect an RTSP and create video files on the fly that can be viewed in a mpeg-dash compatible browser using HTML5 video element and dash.js ffmpeg to connect to your ip camera ffmpeg -i rtsp://194.168.26.234:554 -r 64k -an -c:v…
Lily Priya
  • 31
  • 1
  • 1
  • 4
3
votes
2 answers

MPEG-DASH - Multiplexed Representations Issue

I'm trying to learn ffmpeg, MP4Box, and MPEG-DASH, but I'm running into an issue with the .mp4 I'm using. I'm using ffmpeg to demux the mp4 with this command: ffmpeg -i test.mp4 -c:v copy -g 72 -an video.mp4 -c:a copy audio.mp4 Once the two files…
Mike
  • 809
  • 1
  • 10
  • 23
3
votes
0 answers

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

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…
BartMao
  • 651
  • 7
  • 21
3
votes
2 answers

webm dash encoding... What are the correct ffmpeg parameters?

I'm stumped with encoding videos into a dash compliant format. I'm going from .mp4 to .webm Firstly, I am running OS X and ffmpeg 2.5.4. Here's the encoding commands I am using in my test (I got these from here): ffmpeg -i IMG_0113.mp4 -c:v…
Dean
  • 288
  • 2
  • 13
2
votes
0 answers

Is there any way to get the URLs of media files (all representations) from a DASH manifest in dash.js player?

I'm just starting with dash.js and I would like to parse a manifest/ play list (.mpd) in order to get the URLs where the mediafiles of each Representation are located. i.e., BaseUrl/representation1-1.mp4 …
gdavila
  • 141
  • 1
  • 6
2
votes
2 answers

how can I find out what quality the video has and how to change it?

(function(){ var url = "http://dash.edgesuite.net/envivio/Envivio-dash2/manifest.mpd"; var player = dashjs.MediaPlayer().create(); player.initialize(document.querySelector("#videoPlayer"), url, })(); var bitrates =…
Justin Rec
  • 21
  • 1
  • 4
2
votes
1 answer

ffmpeg dash Segment offset

I'm trying to integrate live-transcoding like "plex" or "emby" with my application. I am able to serve dash content over to shaka-player or dash.js but only in 'live-mode'. But I want to enable seeking through the player. I looked at plex and to…
inkubux
  • 236
  • 2
  • 11
1
2 3 4 5 6 7