[FFmpeg-devel] NUT end timestamp

Michael Niedermayer michael at niedermayer.cc
Fri Dec 14 02:12:05 EET 2018


replying to a comment from IRC here because "durandal_1707 has quit" so it
wouldnt be seen, and might be interresting for others so not mailing private

<durandal_1707> michaelni: nut does not take into consideration duration of last frame to return real duration
<durandal_1707> michaelni: so duration is always smaller by small amount
<durandal_1707> michaelni: looks like design failure

Its a bit ago that i worked on nut but the last frame duration was considered,
i do remember there was discussion about it.

looking at nut.txt, it says this:
    All streams SHOULD end with EOR, where the pts of the EOR indicates the
    end presentation time of the final frame.

That stores and gives the last duration. Our muxer seems to not implement this
so its a implementation issue not a design one

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181214/bda7cc67/attachment.sig>

More information about the ffmpeg-devel mailing list