- Home /
Question by
Filestech · Feb 28, 2020 at 01:54 PM ·
audiovideoconversion
Video to Audio Conversion
How can I convert a video which is present in my resources folder to an audio file. Please help me out.I have used NReco Video Converter after running the following code:
string GetVideoFilePath string GetAudioFilePath var videoConverter = new NReco.VideoConverter.FFMpegConverter(); videoConverter.ConvertMedia(GetVideoFilePath, GetAudioFilePath, "mp3");
"UnauthorizedAccessException: Access to the path "C:\Program Files\UnityDownloadAssistant-2019.2.12f1\Editor\ffmpeg.exe" is denied." this error occurs.
Anyone who can come up with a solution please?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612224116im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to convert image files into video file 0 Answers
Animated GIF and Audio Instead of Video? 3 Answers
Screenshot Movie with Audio Capture 1 Answer
Why video does't have sound on runtime? 2 Answers
How to add audio to a video file within Unity,How can I add audio to a video from within Unity 0 Answers