Guest User

Guest User

  • Tech Writer
  • 611
  • 129.3k

Video Conversion in .net core MVC.

Sep 25 2020 12:38 AM
I have use this code for video convert but i have face a issue .
  1. var ffmpeg = new NReco.VideoConverter.FFMpegConverter();  
  2. NReco.VideoConverter.License.SetLicenseKey(  
  3. "************"  
  4. );  
  5. ffmpeg.FFMpegExeName = "ffmpeg.exe"// for Linux/MacOS: "ffmpeg"  
  6. ffmpeg.FFMpegToolPath = webHost.WebRootPath + "//lib//";  
  7. ffmpeg.ConvertMedia(pathToVideoFile,outputFile+".mp4""mp4"); 
FFMpegException: (exit code: 1) --this error face .Please help me.

Answers (3)