MATLAB Answers


How can I use ffmpeg in Matlab?

Asked by Ali
on 17 Feb 2016
Latest activity Answered by PeterHaultan on 16 Oct 2018
Hi. I downloaded the ffmpeg. It works on command prompt but I could not make it work into Matlab. I tried some commands but nothing works. Thank you...

1 Answer

Answer by PeterHaultan on 16 Oct 2018

if you are using windows and for example you want to convert *.mp4 to *.avi add this line to your code make sure you have ffmpeg.exe file in the working directory
!ffmpeg -i vid_org.mp4 vid_new.avi


Sign in to comment.