-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error while threading using CLI #67
Comments
So I have completely rewritten the CLI since it was very outdated.
And then try it again? Please note that since the rewrite some things changed. Please run If that doesn't fix the issue or it did (no matter what), please tell me the result. If everything is working so far, I will release the new version of PHUB with those changes to PyPi. Thank you a lot for reporting this. Would have probably overlooked it for the next 2 years lol. |
Thanks. It is working perfectly now. |
I noticed that the video output codecs are somehow different. Both are .mp4 (MPEG-4) but using ffprone you get two different results. Also the new CLI version output does not work on iOS default player. Using 3rd party apps plays the video but not as smoothly. |
Hi, the issue with the codecs is, because the video segments are So my solution would be, that I add a function in PHUB (generally, not just the CLI) to convert every video after downloading to mp4. This would be an optional argument for a user when downloading videos. Converting the videos would need ffmpeg, however, because it's not entirely re-encoded it would basically need almost no time. Probably a process of 2-5 seconds. Do you think this would be okay? |
Thank you for your prompt response. Well, I am not an expert nor a hardcore programmer but I believe an argument would be a good option. Would like to have a seperate branch for me to test on iOS environment? |
I tried using the argument -downloader FFmpeg, and the video output works fine on iOS (except for default and threaded). |
Okay perfect. I will start implementing it tomorrow, and tell you when it's done :) |
There is an error when using the CLI command for threaded download. The output is:
Error: threaded() got an unexpected keyword argument 'video'.
Default and FFMPEG options work fine.
The text was updated successfully, but these errors were encountered: