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

No progress and slow detection of 4K 10bit HEVC #2274

Open
mifi opened this issue Dec 21, 2024 · 0 comments
Open

No progress and slow detection of 4K 10bit HEVC #2274

mifi opened this issue Dec 21, 2024 · 0 comments
Labels
ffmpeg Problem resides in ffmpeg or usage of ffmpeg

Comments

@mifi
Copy link
Owner

mifi commented Dec 21, 2024

Detect scene changes on a 23 sec video:

  • minChange 0.3: took 34 sec no progress (stuck at 0%)
  • minChange 0.01: took about the same time, but does show progress from the beginning!

When running filters like scene change detection on 4K HEVC 10-bit footage video from iPhone 15:

ffmpeg -i IMG_7049.MOV -t 1 -filter_complex 'select='\''gt(scene,0.3)'\'',metadata=print:file=-' -f null -

The above command uses about 500% CPU and takes about 34 to complete on a 23 sec video.

Also tested other commands:

# Slow (2fps)
ffmpeg -i IMG_7049.MOV -c:v libx264 out.mov
# Fast (22fps)
ffmpeg -i IMG_7049.MOV -f null -

The biggest issue is that there is no progress being emitted at all from ffmpeg.

@mifi mifi added the ffmpeg Problem resides in ffmpeg or usage of ffmpeg label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ffmpeg Problem resides in ffmpeg or usage of ffmpeg
Projects
None yet
Development

No branches or pull requests

1 participant