Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Issue when seeking frames. #556

@sotelo

Description

@sotelo

Describe the bug

I'm getting a RuntimeError: Failed to perform color conversion. when I use the seek functionality of the decoder. I have a file that I encoded also with VPF using gop=100 as a parameter of the encoder. Then, there's this weird behaviour where if I first seek for a frame between 1 and 100 and then seek for a frame > 100, the decoding fails. Interestingly, this just happens within the first 100 frames, so if I seek for frame 105 and then for frame 205, decoding works well.

... initialize decoder
seek(frame=5) # works
seek(frame=101) # fails 
... initialize decoder
seek(frame=5) # works
seek(frame=201) # fails 
... initialize decoder
seek(frame=5) # works
... initialize decoder
seek(frame=101) # works
... initialize decoder
seek(frame=101) # works
seek(frame=5) # works 
... initialize decoder
seek(frame=105) # works
seek(frame=201) # works 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions