How to convert video to bitstream with matlab function?

답변 (1개)

Walter Roberson
Walter Roberson 2015년 10월 30일
vidcontent = fileread('YourVideoFile.avi');
bitstream = reshape(dec2bin(vidcontent,8).', [], 1) - '0';

댓글 수: 2

How to reverse this process? means how to get the video from the bit stream in receiver end?
reconstructed_vid = dec2bin(reshape(char(bitstream + '0'), 8, []).');

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

질문:

2015년 10월 30일

댓글:

2017년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by