On Wed, Aug 24, 2022 at 6:15 PM Tomas Härdin <tjop...@acc.umu.se> wrote:

> tis 2022-08-23 klockan 14:18 +0200 skrev Andreas Rheinhardt:
> > Paul B Mahol:
> > > Hi,
> > >
> > > patch attached.
> > >
> > >              return ret;
> > >      }
> > >
> > > +    pkt->duration = av_rescale_q(pict->duration, (AVRational){ 1,
> > > 100 },
> > > +                                 avctx->time_base);
> > >      pkt->size   = outbuf_ptr - pkt->data;
> > >      if (s->image || !avctx->frame_number)
> > >          pkt->flags |= AV_PKT_FLAG_KEY;
> >
> > Where does the magic 1/100 timebase come from?
>
> From the spec
>

This patch need frame duration handling in libavfilter that is currently
WIP.


>
> /Tomas
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
>
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to