[FFmpeg-devel] Gaining access to a encoder context in avformat?

Michael Niedermayer michaelni at gmx.at
Fri Feb 20 18:51:44 CET 2015


On Fri, Feb 20, 2015 at 02:48:31PM +0000, Kevin Wheatley wrote:
> On Fri, Feb 20, 2015 at 2:14 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Fri, Feb 20, 2015 at 01:48:55PM +0000, Kevin Wheatley wrote:
> >> Here is the kind of thing that this looks like... This is definitely
> >> NOT a patch :-)
> >
> > i dont understand this patch
> 
> there are at least two of us.
> 
> > please explain why you use vos_data
> > it can be the first packet and you seem to implement that case
> > but it is not always the first packet and you seem to add alot of
> > code to handle this. But if the data is in the dnxhd packets
> > using that always and not vos_data seems much easier
> > what am i missing ?
> 
> probably nothing, I've only tried to find a small change to the code,
> and to localise the effect to the function so as to minimise the
> effect of the change - I really don't have a full enough grasp of the
> code base to do otherwise.

theres some code that memcpies extradata into vos_data and that is
skiped if TAG_IS_AVCI(trk->tag), try to also skip this for DNxHD


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20150220/6e2a0745/attachment.asc>


More information about the ffmpeg-devel mailing list