Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test position of first video frame #5

Open
ghost opened this issue Jun 7, 2021 · 0 comments
Open

Test position of first video frame #5

ghost opened this issue Jun 7, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented Jun 7, 2021

If a webm is trimmed or stream copied, it is possible that a video frame will not be defined until the first keyframe is reached and the resulting playback displays the first keyframe until its position is reached in playback.

Example: https://files.catbox.moe/j6q0g1.webm

ffprobe command used in initial scan:

ffprobe -show_frames -select_streams v -read_intervals %+#1 -print_format json input.webm > frames.json

False positives are a possibility here for sequences with black frames at the start of the cut. We should pick a best estimate reference position and warn the user if the first position is past this post.

Suggestion: 0.250s.

@ghost ghost added enhancement New feature or request help wanted Extra attention is needed labels Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

0 participants