How can I use ffmpeg in Matlab?

72 views (last 30 days)
Ali
Ali on 17 Feb 2016
Answered: 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...

Answers (1)

PeterHaultan
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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!