PDA

View Full Version : MV detection


hnm
20th June 2006, 19:41
Hi all

I want to parse xvid bitstream to achieve Motion Vectors of Macro Blocks. Is it possible & how?

Thanks & BR

hnm

Manao
20th June 2006, 21:20
Yes.

If you want to visualize them, you can use FFDShow's "visualize" mode ( you can do that with any mpeg4 video ). If you want to do something more complicated, you'll have to code things on your own.

hnm
21st June 2006, 00:10
Hi Manao

Thanks for your reply.
Really I want to use MVs information (bits), as watermark. So I exactly want to know that is it possible to extract MV (as an array) from bitstream or not & if it is possible, how?
Also please take a note for your attached files, I couldn't understand how should I work with them.

Thanks alot
hnm

sysKin
21st June 2006, 06:24
It is possible to decode MVs but you need to hook up some functions in an mpeg-4 decoder - either you need to write your own decoder, or use one of existing.

Perhaps you don't need 100% of a decoder (video output not needed) but no less than ~90% of it, unfortunately.