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

cli.py videos freeze #83

Open
archandha opened this issue Oct 14, 2023 · 3 comments
Open

cli.py videos freeze #83

archandha opened this issue Oct 14, 2023 · 3 comments

Comments

@archandha
Copy link

I tried to batch convert multiple videos with the cli. This run through and unfortunately, most of the cleaned videos freeze within seconds after first blur. Working on the same videos one by one with the gui does work with the same set of parameters.

Currently, I use the main branch with latest commit from Jul 26th. The software runs on Anaconda / Windows 10 and utulizes CUDA. If needed, I can give this a try on a Ubuntu laptop but without GPU of course. Maybe I find some time to investigate in this myself, but I cannot promise too much.

FFMPEG is ffmpeg version N-112250-g6f7bf64dbc-20231001 Copyright (c) 2000-2023 the FFmpeg developers (latest)
If you need the other lib versions, I can provide a full list.

@joshinils
Copy link
Contributor

what quality did you use? when i mux with the best quality and try to play with VLC the video freezes too, because there is just too much data.

@RegularTom91
Copy link

I had the same issues before. Either try MPCHC Player (EOL) or reduce the quality to 7 which is more than enough for almost lossless.

@tfaehse
Copy link
Owner

tfaehse commented Dec 2, 2023

The quality hint is most likely the culprit - the setting directly translates to image--fmpeg's mapping, which sets quality in ffmpeg via -crf: https://github.com/imageio/imageio-ffmpeg/blob/9ab981a8d09138fb1b3b814cb4287b705f258ec5/imageio_ffmpeg/_io.py#L536

Quality 10 results in -crf 0, which is lossless. Lots of players will struggle with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants