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

How to fix this error? #20440

Closed
hasnogaems opened this issue Mar 21, 2019 · 3 comments
Closed

How to fix this error? #20440

hasnogaems opened this issue Mar 21, 2019 · 3 comments

Comments

@hasnogaems
Copy link

@hasnogaems hasnogaems commented Mar 21, 2019

F:\>youtube-dl --ffmpeg-location F:\twitch download\ffmpegnew\bin --hls-prefer-n
ative https://www.youtube.com/watch?v=4HNwJR_XfJs
ERROR: 'download\\ffmpegnew\\bin' is not a valid URL. Set --default-search "ytse
arch" (or run  youtube-dl "ytsearch:download\ffmpegnew\bin" ) to search YouTube
@merkle-root
Copy link

@merkle-root merkle-root commented Mar 21, 2019

Put quotes around the ffmpeg path.

Your command line is interpreting F:\twitch and download\ffmpegnew\bin as separate arguments, because of the space.
With command lines, you have to put quotes around paths that contains spaces.

@dstftw dstftw closed this Mar 22, 2019
@hasnogaems
Copy link
Author

@hasnogaems hasnogaems commented Mar 23, 2019

Put quotes around the ffmpeg path.

Your command line is interpreting F:\twitch and download\ffmpegnew\bin as separate arguments, because of the space.
With command lines, you have to put quotes around paths that contains spaces.

I tried ' ' and " " quotes with no sucess.

>youtube-dl --ffmpeg-location "f:\twitch download\ffmpegnew
\bin\" --hls-prefer-native https://www.twitch.tv/videos/398984271
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
@bitraid
Copy link
Contributor

@bitraid bitraid commented Mar 23, 2019

\" escapes the quote. the string should end with bin"

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
4 participants
You can’t perform that action at this time.