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

FileNotFoundError #22750

Closed
ExodusHour opened this issue Oct 17, 2019 · 0 comments
Closed

FileNotFoundError #22750

ExodusHour opened this issue Oct 17, 2019 · 0 comments
Labels

Comments

@ExodusHour
Copy link

@ExodusHour ExodusHour commented Oct 17, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.10.16
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2019.10.16
[debug] Python version 3.7.4 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg N-95171-g6ca3d34ff8, ffprobe N-95171-g6ca3d34ff8
[debug] Proxy map: {}

Description

When downloading this channel https://www.youtube.com/channel/UCCRb6nYKaT8tzLA8CwDdUtw from a batch file one of the videos has an error.

ERROR: [WinError 2] The system cannot find the file specified: 'D:\Kpop\Twice\Twice Youtube\Twice Japan Youtube Channel\20190110 - TWICE「LIKEY -Japanese ver.-」Music Video.zh-Hant.vtt'

FileNotFoundError: [WinError 2] The system cannot find the file specified: 'D:\Kpop\Twice\Twice Youtube\Twice Japan Youtube Channel\20190110 - TWICE「LIKEY -Japanese ver.-」Music Video.zh-Hant.vtt'

This is my config file

-i
-o "D:\Kpop\Twice\Twice Youtube\Twice Japan Youtube Channel/%(upload_date)s - %(title)s"

--download-archive youtube-dl-archive.txt
-a youtube-dl-channels.txt

-f 272+140/315+140/313+140/308+14/271+140/299+140/137+140/298+140/136+140/135+140/134+140/133+140/bestvideo+bestaudio --merge-output-format mp4

--write-thumbnail
--embed-thumbnail

--add-metadata
--write-description

--write-sub
--all-subs
--embed-subs

-v

When downloading the whole channel all the other subs embed fine and are deleted after they are embedded. When it gets to this video the subtitle are downloaded but when attempting to embed the subs the files aren't found but I can see them in the folder.

When downloading the video by itself with "youtube-dl -f 137+140 --merge-output-format mp4 --write-thumbnail --embed-thumbnail --add-metadata --write-description --write-sub --all-subs --embed-subs https://www.youtube.com/watch?v=N7MKlhS2ysU" the sub files are found and are embedded.

Out of the 48 videos on the channel this is the only video I'm having problems with.
Sorry If this is a mess I've never written one of these before.

@dstftw dstftw closed this Oct 17, 2019
@dstftw dstftw added the incomplete label Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.