How can I use ffmpeg in Matlab?

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...

Réponses (1)

PeterHaultan
PeterHaultan le 16 Oct 2018

3 votes

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

Question posée :

Ali
le 17 Fév 2016

Community Treasure Hunt

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

Start Hunting!

Translated by