video into binary stream

조회 수: 3 (최근 30일)
PARTHIBAN RAMKUMAR
PARTHIBAN RAMKUMAR 2012년 3월 17일
how to covert video file to binary format?
  댓글 수: 2
Image Analyst
Image Analyst 2012년 3월 17일
By binary, do you mean pure black and pure white like it had been thresholded, or do you mean binary as opposed to text, like an executable program is binary (not text) and if you open it in wordpad it looks like gibberish?
Walter Roberson
Walter Roberson 2012년 3월 17일
Oh, good question!

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

답변 (1개)

Walter Roberson
Walter Roberson 2012년 3월 17일
mmreader() or VideoReader()
This will not give you a stream, though: it will give you an array of frames. You will have to figure out the order you want to stream the data in, and figure out whether you want to include any header information in the stream that indicates what the ordering is and what the height and width and number of planes are, and what the color encoding is. Oh yes and you have to figure out whether you are going to interleave or not. These are decisions you have to make in conjunction with the program that will receive the stream.

Community Treasure Hunt

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

Start Hunting!

Translated by