Sourabh Dhiman

Sourabh Dhiman

  • 1.5k
  • 443
  • 18.6k

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.

Brought to you by:

Answers (3)