video into binary stream
3 次查看(过去 30 天)
显示 更早的评论
how to covert video file to binary format?
2 个评论
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?
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!