How to convert video to bitstream with matlab function?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello! Somebody knows how to convert a video to bitstream by using function in matlab?
Thanks
0 件のコメント
回答 (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, []).');
参考
カテゴリ
Help Center および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!