Borrar filtros
Borrar filtros

How to convert video to bitstream with matlab function?

1 visualización (últimos 30 días)
tiburce sotohou
tiburce sotohou el 30 de Oct. de 2015
Comentada: Walter Roberson el 31 de Oct. de 2017
Hello! Somebody knows how to convert a video to bitstream by using function in matlab?
Thanks

Respuestas (1)

Walter Roberson
Walter Roberson el 30 de Oct. de 2015
vidcontent = fileread('YourVideoFile.avi');
bitstream = reshape(dec2bin(vidcontent,8).', [], 1) - '0';
  2 comentarios
Dibya Rath
Dibya Rath el 31 de Oct. de 2017
How to reverse this process? means how to get the video from the bit stream in receiver end?
Walter Roberson
Walter Roberson el 31 de Oct. de 2017
reconstructed_vid = dec2bin(reshape(char(bitstream + '0'), 8, []).');

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by