Skip to content

How do I cache the packets or load the packet at a specific time without looping? #1169

@cool-dev-guy

Description

@cool-dev-guy

I was trying to make a gui HLS player,for that i need to load an .m3u8 file using av and it will loop through container.demux(video_stream) and get the packets,but i also need seeking facility(forward seek and backward seek), for that i need to store the packets in memmory,is there a way i can cache it to local device or get the packet at a specific time instead of looping? or is there any other way?

Investigation

  • I have tried pickle to store the packets on local device and it didn't work.
  • I have used a circular que(but when the packet gets removed,i cant get it back,so i cant add the seek to time feature).

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