ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.45k stars 10.04k forks source link

YT stuck at "deleting original file" #28244

Closed allendema closed 3 years ago

allendema commented 3 years ago

Checklist

Verbose log

$ youtube-dl -v -x https://www.youtube.com/watch?v=3zXASsQcdUY&list=PLthtXlBpYq53-4e7ps_LX-2es5EZ3KlFA
[3] 3653
allen@Latop:/media/allen/path/Adele/$ [debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-x', u'https://www.youtube.com/watch?v=3zXASsQcdUY']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.02.22
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-65-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8, rtmpdump 2.4
[debug] Proxy map: {'no': 'localhost,127.0.0.0/8,::1'}
[youtube] 3zXASsQcdUY: Downloading webpage
[debug] Invoking downloader on u'https://r12---sn-4g5e6nzy.googlevideo.com/videoplayback?expire=1614047487&ei=nxQ0YP_pJtbn1gKMmoWoCQ&ip=2a01%3Ac23%3A849c%3A5100%3A1978%3Ac9e7%3Ad90b%3Ac128&id=o-AEU7VmmateF5I5g8pyCF6-Tq1CBpy-bfdEkYFc7bSXDU&itag=251&source=youtube&requiressl=yes&mh=fE&mm=31%2C29&mn=sn-4g5e6nzy%2Csn-4g5edne7&ms=au%2Crdu&mv=m&mvi=12&pl=33&initcwndbps=407500&vprv=1&mime=audio%2Fwebm&ns=YdqOJlk7p7sdtjFE59f_WUUF&gir=yes&clen=3865936&dur=221.021&lmt=1569128009000485&mt=1614025483&fvip=1&keepalive=yes&c=WEB&txp=1301222&n=NtuH80ZrddfIhV36&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgQKM2TRWPGzYK8s5gLzuBdqyzRhCPytr28B2fTh5SnZYCIE4JFNp9gy1TT0EManjggZ3sEDe3XDxsDIXNQaefVBhc&sig=AOq0QJ8wRQIgNHx5dDXv1ve3oVvN_A9cT81ZP5gIKoUSxtxCkzvQhWICIQCN6hgCZ9ejqJpsJqjoBlYDOdMBUl2QDOoexq9yR1Japg=='
[download] Destination: Adele - Daydreamer-3zXASsQcdUY.webm
[download] 100% of 3.69MiB in 00:00
[debug] ffmpeg command line: ffprobe -show_streams 'file:Adele - Daydreamer-3zXASsQcdUY.webm'
[ffmpeg] Destination: Adele - Daydreamer-3zXASsQcdUY.opus
[debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:Adele - Daydreamer-3zXASsQcdUY.webm' -vn -acodec copy 'file:Adele - Daydreamer-3zXASsQcdUY.opus'
Deleting original file Adele - Daydreamer-3zXASsQcdUY.webm (pass -k to keep)

Description 1

Looks like it got stuck on the first video from the playlist, by "Deleting original file" to be more precise.

$ youtube-dl -v -x --audio-format best --write-thumbnail --force-ipv4 --download-archive downloaded.txt -o "%(title)s.%(ext)s" https://www.youtube.com/watch?v=3zXASsQcdUY&list=PLthtXlBpYq53-4e7ps_LX-2es5EZ3KlFA
[3] 3782
allen@Latop:/media/allen/path/Adele$ [debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-x', u'--audio-format', u'best', u'--write-thumbnail', u'--force-ipv4', u'--download-archive', u'downloaded.txt', u'-o', u'%(title)s.%(ext)s', u'https://www.youtube.com/watch?v=3zXASsQcdUY']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.02.22
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-65-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8, rtmpdump 2.4
[debug] Proxy map: {'no': 'localhost,127.0.0.0/8,::1'}
[youtube] 3zXASsQcdUY: Downloading webpage
[download] Adele - Daydreamer has already been recorded in archive

Description 2

This also ocurred. Waited for some long time but nothing happend.

dstftw commented 3 years ago

https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command

allendema commented 3 years ago

Thats was indeed the issue, just put the URL in quotes and it worked. Cheers.

deepak41 commented 2 months ago

Thats was indeed the issue, just put the URL in quotes and it worked. Cheers.

I was having this problem with yt-dlp. This worked for me. Thanks.