Convert Video to lower quality file

7 Ansichten (letzte 30 Tage)
LabRat
LabRat am 15 Aug. 2022
Beantwortet: Image Analyst am 15 Aug. 2022
I would like to convert a videofile to a lower quality format. Would VideoWriter() work? Would I use VideoReader() first to point to the correct file, then use VideoReader() to write it in a different quality?

Antworten (2)

Benjamin Thompson
Benjamin Thompson am 15 Aug. 2022
You use VideoWriter to write out to an output video, like in this example:
https://www.mathworks.com/help/matlab/import_export/convert-between-image-sequences-and-video.html
VideoWriter accepts parameters to change the output file type and other qualify parameters.

Image Analyst
Image Analyst am 15 Aug. 2022
See attached demo where I change the pixel resolution of the displayed video and save it as a new, lower resolution video.

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by