[FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

Michael Niedermayer michaelni at gmx.at
Wed Jul 16 19:52:52 CEST 2014

On Wed, Jul 16, 2014 at 05:31:47PM +0200, Clément Bœsch wrote:
> On Wed, Jul 16, 2014 at 05:06:27PM +0200, Clément Bœsch wrote:
> > Also add an example exporting the MB information as a CSV stream.
> > 
> > ---
> > 
> > A bunch of questions stand:
> > 
> > - Ideally the "source" for a given macroblock should be a specific
> >   reference to a future or paste frame (something like -4 or +2).
> >   Currently it's just ±1 depending on the direction. I don't see how I
> >   can extract that information.
> > 
> > - how the MB "type" should be exported? Like, what "generic" type we
> >   need to expose for the users
> > 
> > - Who is motivated to port -vismv & various other vis_* debug to a video
> >   filter? (The hard part will probably be writing its documentation...)
> > 
> Ah and BTW, can we make the decode step faster somehow in the example
> since we're only interested in the MB and not the final picture? I was
> thinking of lowres, but maybe we can even skip the whole decode step with
> some of the codecs?

mc / idct could be skiped, we have a

also partitioned mpeg4 would allow decoding mb types and mvs without
ac coeffs but i guess its rare enough that supporting that isnt
worth it


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140716/f69d0b4c/attachment.asc>

More information about the ffmpeg-devel mailing list