MATLAB Answers

change- height width and frame rate of video in matlab

42 views (last 30 days)
I have run 1 video with 640 x 480 resolution and frame rate-20, but when I used same kind of operation with another video -1280 x 720 and frame rate 30 result - goes to infinite loop. So my question I can able to change-height,width and frame rate of video in matlab ?

Accepted Answer

Image Analyst
Image Analyst on 3 Mar 2018
You forgot to attach your code. I'm attaching my code that resizes a video.
If you want help with your code, you need to attach your code, otherwise, use my working code.
  1 Comment
JANAK TRIVEDI on 5 Mar 2018
Thank you Very Much. My query in the line -BoardVideo = VideoReader('C:\Users\dell\Desktop\query\output.avi'); If I change .avi file with .mp4 file with change in resolution and frame rate, not working properly.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!