change- height width and frame rate of video in matlab

조회 수: 3 (최근 30일)
Dr. JANAK TRIVEDI
Dr. JANAK TRIVEDI 2018년 3월 3일
댓글: Dr. JANAK TRIVEDI 2018년 3월 5일
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 ?

채택된 답변

Image Analyst
Image Analyst 2018년 3월 3일
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
Dr. JANAK TRIVEDI
Dr. JANAK TRIVEDI 2018년 3월 5일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by