Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
"Press [q] to stop, [?] for help" does not work in command line, and the prompt should not show up in the first place with the parameters I used! #18615
Comments
|
|
Thank you for telling me its ffmpeg, and since it already behaves a little bit bad, I tried just adding --hls-prefer-native to my Config (which does work right now), because a logged fail state, that I can look at later, is better than a freeze state with a corrupted download. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.12.17. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):So here is the issue:
First of all, the press q or ? prompt doesn't work whatsoever for me, I can spam q or ? and it does nothing even after pressing Enter just to make sure. Also there is no "?"-Key on my Keyboard, I have to do "Shift+ß" to do that, unsure if that is the Issue, maybe change that letter to "h" or something for help and have legacy support for "?" ofcourse, but "q" should have worked regardless yet it didn't!
Note: Neither gnome-terminal (Ubuntu) nor Konsole (KDE) were able to have the q or ? key be used to stop or help with the Script.
Second I used -q for quiet, and ofcourse I did not get any prompt from that, but it did freeze the Script for a while so I ran the same command with -v instead of -q to get the Logs above. I would classify that as bad command line behavior, as it can screw over scripts by either prompting to a non-existent user or not prompting at all to an unsuspecting user.
Third, this "was" a Livestream, and I did use --match-filter '!is_live' and it still hung up on this, with my suspicion being that the Extractor itself still thinks its a Livestream, because Youtube did not process the Stream into a proper Video yet (meaning it might not be reproducible with the Link anymore), and I looked through the possible Filters I could use as parameter and there was nothing that looked like it could prevent this specific broken extractor from being used without me having to know all the internals of youtube-dl.
Fourth: The Extractor does not download anything, when I open the File with VLC Media Player its just 0:00 length black screen, simply because the Livestream ended already, meaning the Extractor is broken for me between the phases of "Stream Ending" and "Finishing Video Processing on Youtubes End".
I would love a way or parameter for youtube-dl to not hang up on an automated script like that. Everything else works nicely, and this is the only missing piece to make it work properly for me. (until I find a new thing to try out that somehow breaks ofcourse, like with all Programs)