Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Progressive download on byte-range segmented webm file #19

Open
zerefel opened this issue Jul 1, 2017 · 5 comments
Open

Progressive download on byte-range segmented webm file #19

zerefel opened this issue Jul 1, 2017 · 5 comments

Comments

@zerefel
Copy link

zerefel commented Jul 1, 2017

Hey, it's me again.

I ran into a problem where the entire webm file is downloaded before playback can begin. I am using this DASH playlist for testing purposes: https://s3.eu-central-1.amazonaws.com/overpro.zencoder.eu/B1615JjGZ/dash/B1615JjGZ.mpd

Flowplayer version: Commercial 7.0.2
Flowplayer DASH.js version: latest commit in GitHub
Relevant part of Flowplayer config:

            dash: {
                dashQualities: true,
                qualitiesForSafari: true,
                dashType: 'video/webm',
                initialVideoQuality: 3
            },
            clip: {
                sources: [
                    {type: 'application/dash+xml', src: 'https://s3.eu-central-1.amazonaws.com/overpro.zencoder.eu/B1615JjGZ/dash/B1615JjGZ.mpd'}
                ],
                title: this.videoTitle
            }

I also tried to remove the initialVideoQuality: 3 setting but that did not help, it just made the player download (again - progressively) another video quality setting, for instance 480p.

I expect the stream to work similarly as in this demo (same manifest used):

http://dash-mse-test.appspot.com/dash-player.html?url=https%3A%2F%2Fs3.eu-central-1.amazonaws.com%2Foverpro.zencoder.eu%2FB1615JjGZ%2Fdash%2FB1615JjGZ.mpd&autoplay=on&adapt=auto&flavor=

@phloxic
Copy link
Contributor

phloxic commented Jul 2, 2017

@zerefel - as mentioned previously:
#18 (comment)
https://github.com/flowplayer/flowplayer-mpegdash#stream-compatibility

See also: Dash-Industry-Forum/dash.js#2044

dash-mse-test.appspot.com uses a different library (and has different issues).

You would/should also set `dashCodecs: "vp9", but as you noticed it doesn't work properly.
If you don't enforce WebM, it works with the mpeg sources.

@zerefel
Copy link
Author

zerefel commented Jul 2, 2017

@blacktrash
True. It seems like Dash.js does not like WebM very much. I did some research on my end and it seems like there are very few players that support WebM-DASH. Not only that but they're also very barebone. Bummer.

JWPlayer's implementation seems to be able to switch the underlying provider to Shaka, which enables WebM-DASH to be played back properly.

Given that this is a problem in the Dash.js plugin, you can close this ticket if you feel like nothing could be done. I will wait for the plugin to mature before switching my platform to WebM-DASH as the main video format.
Thanks for the snappy support once again.

@arpu
Copy link

arpu commented Jul 3, 2017

no problem with webm-dash vp9 video codec and opus audio with dash.js 2.5.1 (using videojs)

@zerefel
Copy link
Author

zerefel commented Jul 3, 2017

@arpu How have you segmented your files? Can you link a sample mpd that you use?

@phloxic
Copy link
Contributor

phloxic commented Jul 3, 2017

@arpu - will try that; however for mpegdash and VOD there's currently a showstopper with dash.js 2.5.x: Dash-Industry-Forum/dash.js#1901

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants