-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpd generation #154
Comments
@pavan4 have you had any luck with this? |
I have same problem. |
If you have source files called video.mp4 and audio.mp4 then you can try mp4box -dash 5000 -rap -no-frags-default -profile onDemand video.mp4 audio.mp4 if you have 3 video files at different bitrates video1.mp4, video2.mp4 and video3.mp4 and two audio files at different bitrates audio1.m4a and audio2.m4a, then you can try mp4box -dash 5000 -rap -no-frags-default -profile onDemand video1.mp4 video2.mp4 video3.mp4 audio1.m4a audio2.m4a If you have a muxed source called source.mp4 that contains audio and video then you can use mp4box -dash 5000 -rap -no-frags-default -profile onDemand source.mp4#video source.mp4#audio That works for me with v1.1.2 of dash.js and mp4box version 0.5.1-DEV-rev5208. See the --help of mp4box for additional commands to set the output mpd names, output folder etc. Pick a segment duration (5000 in this case) that is an integer multiple of your keyframe interval, assuming it is fixed. Cheers Will |
Thanks Will, regards On Tue, Jun 17, 2014 at 10:06 AM, Will Law notifications@github.com wrote:
|
Can you post the manifest produced by mp4box for videos of different sizes that does not get parsed correctly by dash.js? I have packaged multiple size videos with mp4box previously and they work fine with dash.js. Here is an example with video from 720p up to 2160p http://dash.edgesuite.net/akamai/streamroot/050714/Spring_4Ktest_min.mpd -Will From: mysamimi <notifications@gitpro.ttaallkk.topmailto:notifications@github.com> Thanks Will, regards On Tue, Jun 17, 2014 at 10:06 AM, Will Law <notifications@gitpro.ttaallkk.topmailto:notifications@github.com> wrote:
— |
Dear Will /usr/local/bin/MP4Box -dash 12800 -sync 1280 -bs-switching no -segment-name find mpds in attachment On Thu, Jun 19, 2014 at 11:49 AM, Will Law notifications@github.com wrote:
|
@mysamimi - your attachments did not come through the list server. Please post the mpd and segments on a web server and then provide the URL, or else list the mpd contents in the body of the email. -Will From: mysamimi <notifications@gitpro.ttaallkk.topmailto:notifications@github.com> Dear Will /usr/local/bin/MP4Box -dash 12800 -sync 1280 -bs-switching no -segment-name find mpds in attachment On Thu, Jun 19, 2014 at 11:49 AM, Will Law <notifications@gitpro.ttaallkk.topmailto:notifications@github.com> wrote:
— |
Dear @wilaw
and this is output worked with dash.as correctly by this command
and this is converted version to worked with dash.js
Please note that I want to work with segmented version that seems better performance. |
@mysamimi - the ondemand manifest looks valid. Can you provide more info when you say “that didn't work whit dash.js correctly!”. What exactly failed? Is there a failed network request , or trace statement from the console that explains why it didn’t play? The dash.js player rarely fails silently. With ondemand profile, the browser needs to make range requests via XHR which in turn requires specific CORS support. Are you sure that you have the correct CORS headers in your server to enable XHR to make range requests? The symptom if you don’t would be that the player would load the manifest just fine but then would fail when it tries to load either the init range or the index range.CORS is not required by Flash, which is why it may work in dash.as but not dash.js. -Will From: mysamimi <notifications@gitpro.ttaallkk.topmailto:notifications@github.com> Dear @wilawhttps://github.com/wilaw and this is output worked with dash.as correctly by this command and this is converted version to worked with dash.js <Title>Movie 3</Title>Please note that I want to work with segmented version that seems better performance. — |
@wilaw DASH.JS detect only one Representation. |
Dear @wilaw |
It doesn't seem to respond: sfo-mphdc:up wilaw$ curl http://46.225.242.226/test/web-3.mpd <title>404 Not Found</title>Not FoundThe requested URL /test/web-3.mpd was not found on this server. Apache/2.4.7 (Ubuntu) Server at 46.225.242.226 Port 80 sfo-mphdc:up wilaw$ |
Sorry @wilaw , |
If you run that mpd through the online validation tool at http://dashif.org/conformance.html it returns the following error log shown below. I suggest fixing the mpd before you try to play it in the player. Also, your mpd is a little strange - its has two adaption sets with only one video bitrate in each, then an adaption set with 4 video bitrates and then another with 3 video bitrates. All the video bitrates are different. Normally one would expect a single adaption set containing all the video represenations, assuming they represent the same content at different bitrates. -Will Start Schematron validationlocation="/[local-name()='MPD' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/[local-name()='Period' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='AdaptationSet' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011'][1]"> location="/[local-name()='MPD' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/[local-name()='Period' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='AdaptationSet' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011'][2]"> location="/[local-name()='MPD' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/[local-name()='Period' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='AdaptationSet' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011'][3]"> location="/[local-name()='MPD' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/[local-name()='Period' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='AdaptationSet' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011'][4]"> Schematron validation not successful - DASH is not valid! |
Created a new bug for the 1.4 release #429 that will create a central resource for how to generate good quality DASH content. Closing this issue for now. |
Could someone tell me how to create the mpds for the content. I am able to play the examples but when I create the mpd using MP4Box they don't seem to play in the player.
I tried using this as source
http://sourceforge.net/p/gpac/discussion/287547/thread/bb9a9893/?page=1
Basically I generated the mpd using
I got the y4m from a standard source.
I created the mpd using
I don't have any errors on the console but the video doesn't play. It is just stuck.
I also tried DASHEncoder https://github.com/slederer/DASHEncoder
Nothing worked :(
I have
I also tried the latest version of GPAC.
The text was updated successfully, but these errors were encountered: