-
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
how to generate dashif compatible mpd files using mp4box #127
Comments
I am having the same issue. |
Try this:
Then it should play with dash.js. (source: Cyril Concolato answer in http://goo.gl/C5NsXr) |
However when specifying a segment size lower than 10s, it will result in a Is there any restriction related to the segment size? |
I am having problems too. I used FFMPEG to transcode the data:
and removed the audio(it's not important)
and then I used MP4Box to generate an on-demand dash profile
This resulted in a
However, when I load it via dashjs, it plays for a second or two, and then gives the error
Here is the log
Using the |
@dacox Try specifying
Not sure if that solves all of your issues, but it's hopefully a start. |
I'm currently struggling to get the dash.js player to play MPDs generated using the <?xml version="1.0"?>
<!-- MPD file Generated with GPAC version 0.5.2-DEV-rev80-g29b60b6-master on 2015-02-24T08:19:12Z-->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500000S" type="static" mediaPresentationDuration="PT0H41M21.49S" profiles="urn:mpeg:dash:profile:isoff-live:2011">
<ProgramInformation moreInformationURL="http://gpac.sourceforge.net">
<Title>myvideo.mpd generated by GPAC</Title>
</ProgramInformation>
<Period duration="PT0H41M21.49S">
<AdaptationSet segmentAlignment="true" lang="eng">
<SegmentTemplate timescale="44100" media="myvideo_segment_$Number$.m4s" startNumber="1" duration="439466" initialization="myvideo_segment_init.mp4"/>
<Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="44100" startWithSAP="1" bandwidth="97516">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
</Representation>
</AdaptationSet>
<AdaptationSet segmentAlignment="true" maxWidth="640" maxHeight="360" maxFrameRate="25" par="16:9" lang="eng">
<SegmentTemplate timescale="12800" media="myvideo_segment_$Number$.m4s" startNumber="1" duration="87741" initialization="myvideo_segment_init.mp4"/>
<Representation id="2" mimeType="video/mp4" codecs="avc1.42c00d" width="640" height="360" frameRate="25" sar="1:1" startWithSAP="1" bandwidth="645072">
</Representation>
</AdaptationSet>
</Period>
</MPD> This was generated using the following MP4Box command:
My JavaScript console (Chrome 40.0.2214.111 on OSX Yosemite) looks as follows:
I've been trying all the various options and examples that I've found around the internet, and I just can't seem to get this to work. Any help would be greatly appreciated? |
Closing bug see #429 |
you have to use keyframes with ffmpeg, for example like this
after that you can dashify it with mp4box |
Hi,
I am able to load and play the examples on the Stream but when I try to play mpd files I created using mp4box, it doesn't play. The mp4 video i am using is a h264 baseline encoded. Do I have to use any specific options along with mp4box for generating dash if player compatible mpd files. the file plays fine on mp4client though.
thanks
phani
The text was updated successfully, but these errors were encountered: