[FFmpeg-devel] [PATCH] qtrleenc autogop

Michael Niedermayer michaelni
Wed Jun 24 22:09:21 CEST 2009


On Wed, Jun 24, 2009 at 11:01:20AM -0700, Baptiste Coudurier wrote:
> Michael Niedermayer wrote:
> > On Tue, Jun 23, 2009 at 10:56:17AM -0700, Baptiste Coudurier wrote:
> >> Reimar D?ffinger wrote:
> >>> On Tue, Jun 23, 2009 at 02:16:24PM +0200, Michael Niedermayer wrote:
> >>>> On Tue, Jun 23, 2009 at 01:01:33PM +0200, Reimar D?ffinger wrote:
> >>>>> On Tue, Jun 23, 2009 at 12:51:44PM +0200, Michael Niedermayer wrote:
> >>>>>> On Mon, Jun 22, 2009 at 12:14:36PM -0700, Baptiste Coudurier wrote:
> >>>>>>> Michael Niedermayer wrote:
> >>>>>>>> On Sat, Jun 20, 2009 at 03:07:02PM -0700, Baptiste Coudurier wrote:
> >>>>>>>>> Hi guys,
> >>>>>>>>>
> >>>>>>>>> $subject. It should be more efficient,
> >>>>>>>> it breaks seeking if iam not misreading the patch, one can only seek to
> >>>>>>>> keyframes and the patch would stop keyframes from being used except for
> >>>>>>>> the very first frame
> >>>>>>> File works perfectly with quicktime player ;)
> >>>>>> quicktime can seek in files that have only a single keyframe by
> >>>>>> decoding all frames after the keyframe?
> >>>>> Yes, and it actually caches a few decoded frames AFAIK, so as long as
> >>>>> you seek only a little bit it seems okay.
> >>>> i guess that would make a nice feature request for ffplay ...
> >>> Well, but there might be some additional codec state, so you can't use
> >>> the frames alone to reset the codec to some earlier state.
> >>> I should probably get myself more informed before I make any statements,
> >>> but I think that caching is mostly to enable frame-stepping backwards.
> >> Yes, even with one keyframe you can seek through the entire movie, it
> >> will read and decode to the frame requested. Like Reimar pointed, it
> >> might take a few minutes, but it should still work.
> >>
> >> I think a gop 0 feature would be nice.
> > 
> > what do you mean by gop 0 ?
> > 
> > gop=0 means intra only (avcodec.h:
> > "the number of pictures in a group of pictures, or 0 for intra_only")
> 
> Well, by history yes, gop 1 would have been easier.
> 
> I'd like a way to specify autogop: ie don't care about gop size, just
> about scenechange/difference.

gop = INT_MAX

(yes i know it would force a keyframe evey ~2 years ....)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090624/456e8747/attachment.pgp>



More information about the ffmpeg-devel mailing list