go-media icon indicating copy to clipboard operation
go-media copied to clipboard

Extracting frames from a specific offset using go-media API

Open itallix opened this issue 1 year ago • 3 comments

Hi,

I need to extract frames from a video starting at a specific offset. In the command line, this is typically done using the ss parameter in ffmpeg, e. g.: ffmpeg -ss 333300ms ... I am wondering if there is an easy way to achieve this using the go-media API available in pkg, or if this functionality is only accessible using the bindings from the sys package?

If possible, could you provide any sample code or guidance on how to implement this using go-media?

Thank you for your assistance!

itallix avatar Aug 02 '24 08:08 itallix