How to convert video to bitstream with matlab function?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello! Somebody knows how to convert a video to bitstream by using function in matlab?
Thanks
0 Commenti
Risposte (1)
Walter Roberson
il 30 Ott 2015
vidcontent = fileread('YourVideoFile.avi');
bitstream = reshape(dec2bin(vidcontent,8).', [], 1) - '0';
2 Commenti
Dibya Rath
il 31 Ott 2017
How to reverse this process? means how to get the video from the bit stream in receiver end?
Walter Roberson
il 31 Ott 2017
reconstructed_vid = dec2bin(reshape(char(bitstream + '0'), 8, []).');
Vedere anche
Categorie
Scopri di più su Import, Export, and Conversion in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!