I would like to reduce the size of a mp4 video from a webjob on Azure. I have a queue trigger in my webjob, each time a new video is added, the VideoCompressor Webjob will reduce the size of the mp4 video file (reduce to 200px width or height depending of the orientation + crop to only 2 min).
From what I read on internet, ffmpeg is the answer. There is nuget package: FFmpeg.stable.GZCR. I would like to use a nugget package to not have to go on the ffmpeg website and verify each time if there a new version.
But I don't find any documentation about it:
- Google search for "FFmpeg.stable.GZCR" documentation
- Google search for How to use "FFmpeg.stable.GZCR"
I found some information about FFmpeg but it's for WinRT, so not usefull in my case:
I found this code, it seems to be what I would like to do. The problem is from the nugget package, I dont know how to access to the ffmpeg.exe", but maybe you have other idea?
Do you have any idea or suggestion?