castlabs / dashas

MPEG-DASH player written in ActionScript
http://castlabs.github.io/dashas
Other
102 stars 30 forks source link

Support multi track initialisation segment #10

Closed tomasz-oponowicz closed 10 years ago

tomasz-oponowicz commented 10 years ago

Some customers have a single MP4 file with all the audio/video tracks. Player should support this use case.

pokey909 commented 10 years ago

Can you provide the url to a test vector? Am 25.03.2014 10:54 schrieb "Tomasz Oponowicz" notifications@github.com:

Some customers have a single MP4 file with all the audio/video tracks. Player should support this use case.

Reply to this email directly or view it on GitHubhttps://github.com/castlabs/dashas/issues/10 .

tomasz-oponowicz commented 10 years ago

By default MP4Box generates (at least version 0.5.1r5152) such a stream.

Please check README.md file for more information. Remove "-bs-switching no" option to generate initialisation segment with multiple tracks.

[...]

I will publish such a stream before I will start working on it. However I can't promise it will be today ;)

Have fun!

pokey909 commented 10 years ago

No problem. I'm still at the dash meeting anyway. No hurry Am 25.03.2014 13:05 schrieb "Tomasz Oponowicz" notifications@github.com:

By default MP4Box generates (at least version 0.5.1r5152) such a stream.

Please check README.md file for more information. Remove "-bs-switching no" option to generate initialisation segment with multiple tracks.

[...]

I will publish such a stream before I will start working on it. However I can't promise it will be today ;)

Have fun!

Reply to this email directly or view it on GitHubhttps://github.com/castlabs/dashas/issues/10#issuecomment-38556229 .

arjen4157 commented 10 years ago

Hi,

I've uploaded a test stream at: http://test.unified-streaming.com/mp42iso6/alvin-800k.mpd

It has audio+video in a single file, a BaseUrl for both Representations and a shared Initialization Segment.

tomasz-oponowicz commented 10 years ago

I scheduled this for tomorrow (i.e. 27.04.2014).

tomasz-oponowicz commented 10 years ago

@arjen4157

Please find your example working. You can test it with our new demonstration page:

http://dashas.castlabs.com/demo/try.html

However this version supports only 2 tracks combined (audio and video) in initialisation segment. I will extend this into "the player would use the track_id from the fragment header, then all combinations are possible" later.

Btw. There are some "shudder" between segments when playing your stream [1]. I think it's packager issue or maybe I'm wrong. Please let me know.

[1] http://test.unified-streaming.com/mp42iso6/alvin-800k.mpd