Skip to content

Decoding "out of order" video frames (IPPP-frames) #939

Description

@yangfangfang1204

Here is a stream. I input it in the order of IPPPPP, but the output is not in the same order.
the console log
VideoDecoder.js inputData videoInfo.absTimeStamp:0
VideoDecoder.js inputData videoInfo.absTimeStamp:80
VideoDecoder.js output frame.timestamp:0
VideoDecoder.js inputData videoInfo.absTimeStamp:120
VideoDecoder.js inputData videoInfo.absTimeStamp:200
VideoDecoder.js inputData videoInfo.absTimeStamp:240
VideoDecoder.js inputData videoInfo.absTimeStamp:320
VideoDecoder.js inputData videoInfo.absTimeStamp:360
VideoDecoder.js output frame.timestamp:80
VideoDecoder.js inputData videoInfo.absTimeStamp:440
VideoDecoder.js inputData videoInfo.absTimeStamp:520
VideoDecoder.js output frame.timestamp:120
VideoDecoder.js inputData videoInfo.absTimeStamp:560
VideoDecoder.js inputData videoInfo.absTimeStamp:640
VideoDecoder.js output frame.timestamp:360
VideoDecoder.js output frame.timestamp:200
VideoDecoder.js output frame.timestamp:640

The output of the 200-timestamp frames is later than that of the 360-timestamp frames.

the video file is in [(https://github.com/yangfangfang1204/webcodecs-2/blob/main/webcodecs-outputError.flv)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions