Replies: 1 comment
-
I got it myself, I executed the project the wrong way |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
i've been using this library for over a year now and come back occasionally to improve my c# Project. So i got it working for some time already the exact same way i tried it this time.
I'm trying to download the audio of a YouTube Video and convert it to MP3 in one step. It worked before, but when i try it now, i get the following error, and i don't really know, if i accidentally changed something in my project or what else could be the issue.
"Failed to start a process with file path '.\wwwroot\ffmpeg\ffmpeg'. Target file or working directory doesn't exist, or the provided credentials are invalid."
The path ".\wwwroot\ffmpeg\ffmpeg" exists and the file there is also the same as when it was working the last time.
This is how i call the YouTube Downloader:
await youtube.Videos.DownloadAsync(videoUrl, savePath, o => o .SetContainer("mp3") .SetPreset(ConversionPreset.UltraFast) .SetFFmpegPath(Path.Combine(".", "wwwroot", "ffmpeg", "ffmpeg")) );
It would be really nice, if someone could help me, figure out, why i cant Download anything anymore.
Best regards,
Cedric
Beta Was this translation helpful? Give feedback.
All reactions