MATLAB: How to obtain the bitstream from decoded video

bitstream

i have a video. i want to obtain decoded bitstream from that video. how can i do that?

Best Answer

You can use the Image Acquisition toolbox, with getsnapshot() (single frame) or getdata() (multiple frame). That will bring the decoded frames into memory. You can then use the usual tricks to convert the arrays into binary, such as dec2bin()
Alternately, there are tools in the Computer Vision Toolbox, which is more oriented towards video stream processing than single frame processing. But using both toolboxes together would be common.
Related Question