나는 MP4Box와 Dash를 배우려고 노력해 왔지만 나는 약간의 진전을 이루고 있지만 비디오를 작동시킬 수는 없다. 간단한 html 페이지에 플레이어를 추가하는 방법을 따라했고 Dash의 테스트 페이지에서 알려진 MPD를 테스트했으며 모든 것이 플레이어와 완벽하게 작동하므로 MPD 파일을 좁혔습니다.MPEG-DASH - 대시가 유효하지 않습니다! 오류
대쉬 유효성 검사기를 통해 MPD 파일을 실행했는데 실패합니다. 다음과 같은 오류 메시지가 나타납니다.
Start XLink resolving
=====================
XLink resolving successful
Start MPD validation
====================
Line:Col[5:20]:cvc-elt.1: Cannot find the declaration of element 'MPD'.
MPD validation not successful - DASH is not valid!
BUILD FAILED
/var/www/html/conformance/current/webfe/mpdvalidator/build.xml:65: Java
returned: 4
Total time: 53 seconds
MP4를 MP4로 분할하여 잘못된 명령이 나올 수 있습니다. 내가 사용하고 있는데 이것은 내가 사용 명령입니다 : 나는 내가 MPD 파일을 볼 때 무엇을 찾고 있어요 확실하지 않다
MP4Box -dash 4000 -frag 1000 -rap -segment-name segment_ rogue_one.mp4
하지만이 있는지 확인하기 위해 노력을 통해 내가 볼 않았다 나는 눈에 띄는 오류를 발견 할 수 있지만 그것은 나에게 좋을 것 같습니다. 내 MPD 파일은 다음과 같습니다.
<MPD type="static" xmlns="urn:mpeg:DASH:schema:MPD:2011" profiles="urn:mpeg:dash:profile:full:2011" minBufferTime="PT1.5S" mediaPresentationDuration="PT0H2M28.34S">
<ProgramInformation moreInformationURL="http://gpac.sourceforge.net">
<Title>Media Presentation Description for file rogue_one.mp4 generated with GPAC </Title>
</ProgramInformation>
<Period start="PT0S" duration="PT0H2M28.34S">
<AdaptationSet>
<ContentComponent id="1" contentType="video"/>
<ContentComponent id="2" contentType="audio" lang="eng"/>
<Representation id="1" mimeType="video/mp4" codecs="avc1.640029,mp4a.40.02" width="1920" height="816" sampleRate="44100" numChannels="2" lang="eng" startWithSAP="1" bandwidth="7969270">
<SegmentList timescale="1000" duration="10050">
<Initialization sourceURL="rogue_one_dash.mp4"/>
<SegmentURL media="segment_1.m4s"/>
...
<SegmentURL media="segment_43.m4s"/>
</SegmentList>
</Representation>
</AdaptationSet>
</Period>
</MPD>