image processing - How to read pixel values of a video? -
i wrote c programs image processing of bmp images, had read pixel values , process them, simple followed bmp header contents , of information of bmp image.
now challenge process videos (frame frame), how can it? how able read headers of continuous streams of image frames in video clip? or else, like, example, mpeg format have universal header, upon reading can information entire video , after header, data pixels.
i hope convey.
has got experience processing videos?
any books or links tutorials helpful.
a video stream, mpeg, composed number of frames dependent (obviously) duration , frame-rate. read pixel must start called intra frame, not dependent previous frame stream. successive frame frame temporally dependent previous frame, obtain pixel, have decode stream intra frame want.
note that, tipically, intra frame inserted periodically give decoder way synchronize stream. useful in context errors can occur.
want isn't easy work. have use mpeg decoder , modify frame before diplaying it, if want post processing, filter or other.
suggest study video coding, , can find lot of material on that, starting standard mpeg.
Comments
Post a Comment