wseemann / FFmpegMediaMetadataRetriever

FFmpegMediaMetadataRetriever provides a unified interface for retrieving frame and meta data from an input media file.
1.72k stars 387 forks source link

about frame retriever #135

Closed Harryuan closed 7 years ago

Harryuan commented 7 years ago

Hi man, does it support to get frame from the RTSP live stream? like the rtsp://192.168.42.1/live Many Thanks

Harryuan commented 7 years ago

one parameter of getFrameAtTime function is a timeUs, but live stream seems to have no time length information

wseemann commented 7 years ago

The library supports RTSP, use [getFrameAtTime()](http://wseemann.github.io/FFmpegMediaMetadataRetriever/apidocs/wseemann/media/FFmpegMediaMetadataRetriever.html#getFrameAtTime()).