jishnujayakumar / MV-Tractus

A simple tool to extract motion vectors from h264 encoded videos.
108 stars 27 forks source link

Plot Motion Vector #7

Closed sebawsky closed 5 years ago

sebawsky commented 5 years ago

I managed to extract the Motion Vector from a video but I need to graph the information that I extract. You have a method to show the data as the image or if it is possible if you can express the following variables that are in the json files:

dst_x dst_y dx dy height source src_x src_y width

THANKS!!!!

jishnujayakumar commented 5 years ago

If I understand correctly, by graphing you meant to show the MVs properly. For this you can use FFPlay itself. It plots the MVs on to the video itself. ffplay -flags2 +export_mvs input.mp4 -vf codecview=mv=pf+bf+bb