[FFmpeg-devel] [PATCH] lavf: Add an XMV demuxer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Aug 18 20:00:49 CEST 2011


On Thu, Aug 18, 2011 at 07:26:41AM -0400, compn wrote:
> On Tue, 16 Aug 2011 21:26:40 +0200, Sven Hesse wrote:
> >New version.
> >
> >The wmv2dec hack was removed; the demuxer now manually converts the
> >extradata into the standard WMV2 format. This has the added benefit
> >that remuxing works now. Additionally, the keyframe flag is also
> >passed to video packets containing key frames, this is apparently
> >necessary for remuxing to work correctly.
> 
> does seeking work yet? i was going to suggest a demuxer to copy the
> seeking from, but i dont remember which one is best to use as an
> example.

Assuming you mean via a generic, runtime-built index:
I guess simpler than ivfdec.c probably isn't possible.
For a correctly coded demuxer with no state just setting
AVFMT_GENERIC_INDEX is enough.
If there is state it gets a bit trickier.


More information about the ffmpeg-devel mailing list