Open hellostephanie2022 opened 1 year ago
As this project is merely a wrapper around the FFmpeg API, the official documentation would be the best place to find more information on this topic. That being said, I'd suggest taking a look at the transcoding example to get a general idea on how to transcode a video. The example can be modified to support seeking of the input video, which should achieve what you described.
I see that the
av_seek_frame
method is included in this source code, which is not available in [rust-ffmpeg](https://github.com/zmwangx/rust-ffmpeg), I wonder if it currently supports cutting video ?This looks like this on the command line of
ffmpeg
:ffmpeg -ss 30 -i input.wmv -c copy -t 10 output.wmv
, can you tell me how to do it?