Always get suspended when run youtube-dl in background
See original GitHub issueI found that I have no way to run youtube-dl
in background.
I tried all possible options to make it running in silence. But I still get ‘suspended’ job:
% stty -tostop && youtube-dl -q -i --no-warnings -o '%(id)s.%(ext)s' $video_url >/dev/null 2>&1 &
[1] 53435
%
[1] + 53435 suspended (tty output) youtube-dl -q -i --no-warnings -o '%(id)s.%(ext)s' > /dev/null 2>&1
Local env
[debug] youtube-dl version 2016.08.10
[debug] Python version 2.7.12 - Darwin-15.6.0-x86_64-i386-64bit
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
Youtube-dl refuses to run in background - Ask Ubuntu
youtube-dl is running in the background, but it is still sending output to your terminal, and producing quite a lot of it to...
Read more >That time that youtube-dl was BANNED
In a previous video I talked a little bit about youtube-dl, the tool I use to download YouTubeCheck out my main channel!
Read more >Add site support for banned.video · Issue #22718 - GitHub
I've verified that I'm running youtube-dl version 2019.09.28 ... have a special video link, they're inserted into the banned.video channel ...
Read more >youtube-dl "best" option doesn't do anything - Stack Overflow
The documentation states that using nothing should download the best quality possible, but I always get the default quality of 720p. This tends ......
Read more >The RIAA is trying to kill youtube-dl. : r/youtubedl - Reddit
However, we do already ban a list of links/URLs here, so if you are aware of anything specific that should be banned, I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A workaround:
~/ffmpeg_wrapper.sh
with the following contents:chmod +x ~/ffmpeg_wrapper.sh
youtube-dl -o '%(id)s.%(ext)s' --ffmpeg-location ~/ffmpeg_wrapper.sh $video_url
See https://github.com/FFmpeg/FFmpeg/blob/ae1dd0c/ffmpeg.c#L384 for what’s broken and why
-d
works.UPDATE: Fix commands in the workaround.
Thanks to @johnhawkinson (#10996), this will be fixed in the next version.