[FFmpeg-devel] [PATCH 11/31] fftools/ffmpeg_filter: stop accessing encoder AVCodecContext

Anton Khirnov anton at khirnov.net
Fri Apr 5 20:09:53 EEST 2024


Quoting Dennis Mungai (2024-04-05 19:07:19)
> On Fri, 5 Apr 2024 at 19:54, Gyan Doshi <ffmpeg at gyani.pro> wrote:
> 
> >
> >
> > On 2024-04-05 10:20 pm, Dennis Mungai wrote:
> > >
> > > Does this imply that down the line, with this and additional patchsets,
> > > that FFmpeg can handle tasks such as stream copy and filtering in the
> > same
> > > invocation?
> >
> > What do you mean? If you map a stream twice, you already can do that now.
> >
> > Regards,
> > Gyan
> >
> 
> What of doing the same *without* mapping the stream twice?

What's the issue with mapping a stream twice?

> A complex filtergraph could have a stream mapped, split and then passed to
> a copy codec operation, for example, without needing the double re-map
> implied above.

Filtergraphs process decoded frames, streamcopy bypasses them entirely.
None of this affects streamcopy.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list