Skip to content

how to grab frame by timestamp? #1633

@wangxi761

Description

@wangxi761

in ffmpeg ,i can use -re paramter , read input file by native frame rate.
in javacv how can i make it ?
now ,i use Thread.sleep(1000/frameRate) after i record a frame,
but it seems no work , the rtmp stream is lagging

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions