I recently working on webApplication where i need to play the videos capture by the
security camera,so tha i need to convert mkv file mp4 for supporting all browser. I decided to install FFMPEG to convert a MKV(Source file:- https://www.appsloveworld.com/2018/10/sample-mkv-video.html) to MP4 which people say has almost no loss in quality, etc. However, when I try to convert a ~900MB MKV file it returns a 0kb MP4 file.Image
The line of code I use is "ffmpeg -i set.mkv -codec copy set.mp4"
but i'm getting error, you can find below

Maen BadwanPosted Apr 18, 2019, 8:02 AM
https://askubuntu.com/questions/396883/how-to-simply-convert-video-files-i-e-mkv-to-mp4
https://gist.github.com/jamesmacwhite/58aebfe4a82bb8d645a797a1ba975132
Note that since you are developing a web-application, you can host the result MP4 media files (after the conversion process) into a server, and then playback them using HTML5 Video Tag as shown here:
https://www.w3schools.com/html/html5_video.asp
If you are still facing issues when converting MKV media files into MP4 format (container), you can try using LEADTOOLS Multimedia .NET convert control that supports converting this type of media files.
https://www.leadtools.com/help/leadtools/v20/dh/multimedia/mm/convertctrl-startconvert.html
Amit GuptaPosted Apr 17, 2019, 3:35 PM
Mario ScheerenPosted Apr 17, 2019, 2:06 PM
MPEG-4: H.264 und AAC
WebM: VP8 und Vorbis
Ogg: Theora und Vorbis