last frame duration

YIRAN LI <[email protected]> Thu, 23 Feb 2017 10:26:03 +1100
Newsgroups gmane.comp.multimedia.matroska.devel,gmane.comp.multimedia.matroska.user,gmane.comp.multimedia.matroska.general
Message-ID <CAN16yyMshZf_HuAwxNLmUwdOi2tOrfhVNioanPfVJGYyjXS6PA@mail.gmail.com>
--===============3542735617134470329==
Content-Type: multipart/alternative; boundary=001a113e4eacbd011c054926d338

--001a113e4eacbd011c054926d338
Content-Type: text/plain; charset=UTF-8

Hi guys,

I have an MKV video here
https://dl.dropboxusercontent.com/u/89678527/testsmall_video.mkv

for which the whole movie duration is 4:29 and the last frame position is
3:29

The default duration is set to 0 and block_duration not set, according to
spec, I assume frame duration then will be calculated by next pts - current
pts. But the thing is, when this movie is played in MPC-HOME, total
duration shown is 3:29, when played in MPV, total duration shown 4:29 and
when it reaches 3:29, immediately jumps to the end instead of staying at
last frame for 1 min.

Could anyone help to check if the file is 100% spec-compliant ? If default
duration is 0, do I need to set last frame duration? or should it be
calculated by whole duration - last frame position?

Thanks

--001a113e4eacbd011c054926d338
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default"><font face=3D"georgia, serif"=
>Hi guys,</font></div><div class=3D"gmail_default"><font face=3D"georgia, s=
erif"><br></font></div><div class=3D"gmail_default"><font face=3D"georgia, =
serif">I have an MKV video here <a href=3D"https://dl.dropboxusercontent.co=
m/u/89678527/testsmall_video.mkv">https://dl.dropboxusercontent.com/u/89678=
527/testsmall_video.mkv</a></font><br></div><div class=3D"gmail_default"><f=
ont face=3D"georgia, serif"><br></font></div><div class=3D"gmail_default"><=
font face=3D"georgia, serif">for which the whole movie duration is 4:29 and=
 the last frame position is 3:29</font></div><div class=3D"gmail_default"><=
font face=3D"georgia, serif"><br></font></div><div class=3D"gmail_default">=
<font face=3D"georgia, serif">The default duration is set to 0 and block_du=
ration not set, according to spec, I assume frame duration then will be cal=
culated by next pts - current pts. But the thing is, when this movie is pla=
yed in MPC-HOME, total duration shown is 3:29, when played in MPV, total du=
ration shown 4:29 and when it reaches 3:29, immediately jumps to the end in=
stead of staying at last frame for 1 min.</font></div><div class=3D"gmail_d=
efault"><font face=3D"georgia, serif"><br></font></div><div class=3D"gmail_=
default"><font face=3D"georgia, serif">Could anyone help to check if the fi=
le is 100% spec-compliant=C2=A0? If default duration is 0, do I need to set=
 last frame duration? or should it be calculated by whole duration - last f=
rame position?</font></div><div class=3D"gmail_default"><font face=3D"georg=
ia, serif"><br></font></div><div class=3D"gmail_default"><font face=3D"geor=
gia, serif">Thanks</font></div><div class=3D"gmail_default"><font face=3D"g=
eorgia, serif"><br></font></div><div class=3D"gmail_default"><br></div></di=
v>

--001a113e4eacbd011c054926d338--

--===============3542735617134470329==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Matroska-devel mailing list
[email protected]
https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
--===============3542735617134470329==--