leandromoreira / leandromoreira/ffmpeg-libav-tutorial

Effeciently extract subset of images from video

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Related to this issue: https://github.com/leandromoreira/ffmpeg-libav-tutorial/issues/83

FFmpeg CLI has the ability to perform frame accurate input seeking which is very fast if you want to extract a frame at a time. See: https://trac.ffmpeg.org/wiki/Seeking.

However, I have a very long video (~2-3 hours) and hundreds of timestamps at which I want to extract frames. Is there a way I can leverage the input seeking at the libav level? I don't want to just call the CLI in a loop for each timestamp.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the FFmpeg seeking documentation and the tutorial's libav-level entry points. Determine whether multiple timestamped frames can be extracted efficiently without invoking the CLI repeatedly; done means documenting or demonstrating a viable approach for the stated long-video use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.