How to convert video to bitstream with matlab function?
이전 댓글 표시
Hello! Somebody knows how to convert a video to bitstream by using function in matlab?
Thanks
답변 (1개)
Walter Roberson
2015년 10월 30일
vidcontent = fileread('YourVideoFile.avi');
bitstream = reshape(dec2bin(vidcontent,8).', [], 1) - '0';
댓글 수: 2
Dibya Rath
2017년 10월 31일
How to reverse this process? means how to get the video from the bit stream in receiver end?
Walter Roberson
2017년 10월 31일
reconstructed_vid = dec2bin(reshape(char(bitstream + '0'), 8, []).');
카테고리
도움말 센터 및 File Exchange에서 Video Formats and Interfaces에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!