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

[Feature] Support class that do not have fileno as input_file in FFMpeg for sync method #37

Open
I-love-study opened this issue Feb 21, 2025 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@I-love-study
Copy link
Owner

subprocess.Popen 对 stdin, stdout, stderr 要求必须有 fileno(),但是很多类(例如BytesIO或其他网络库)并不支持。而对于 Windows 系统的同步方法来说,在不再开一个线程的情况下,实现有点困难。(Unix 因为 select.select 支持文件描述符所以可以设置 timeout 等)
考虑到这个需求太过小众,所以暂时不实现 FFMpeg 中对 not HasFileNo 同步方法的支持(包括 Unix,因为懒)。

@I-love-study I-love-study added the help wanted Extra attention is needed label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant