From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
Date: Thu, 18 Jul 2024 16:22:28 +0200
Message-ID: <20240718142228.GA4991@pb2> (raw)
In-Reply-To: <fb47f4ab-d9e5-4705-8248-716a4a9de8fa@gmx.net>
[-- Attachment #1.1: Type: text/plain, Size: 2208 bytes --]
On Thu, Jul 18, 2024 at 12:21:11PM +0200, Stefan Oltmanns via ffmpeg-devel wrote:
> AviSynth (or better VapourSynth) as filter sounds great, but is it possible?
> The reason why input plugins (like FFmpegSource2) in
> AviSynth/VapourSynth create an index file in a first pass is to allow
> frame-accurate random access to the video. Also the exact number of
> frames of a clip has to be known, because I could access that property
> in VapourSynth.
>
> There is a reverse filter in ffmpeg, but there is a warning to not use
> it on long clips, because every frame needs to be buffered, so I don't
> think the ffmpeg filter API has the ability to randomly access frames
> (that for example wouldn't work with stdin).
>
> But maybe porting some specific filters like QTGMC (which is probably
> the best deinterlacer) that don't need that random-access functionality
> would be possible.
Maybe but i think that solves the wrong problem.
Porting everything into libavfilter while few of the authors/creators/innovators
want to work or maintain the code inside libavfilter doesnt scale.
What does scale is giving the final power about each module to
the authors/creators/innovators that created that module.
This can be inside libavfilter as it is now with a system closer to the linux kernel
This can be with a plugin system where the code is outside our control
This can be in another filter API/ABI that we support
The fundamental problem i see is whoever wants to make the decissions will
have to also do the work maintaining the code or pay someone to do it.
So the cheapest and easiest is to give up the power and let the individuals
who wrote and care about the individual filters, decoders, ... maintain them
as they see fit.
Thats not going to magically make everyone maintain their filter in libavfilter
but it would attract more filters and developers. I certainly would be more
interrested in writing more filters if i _know_ i wont have to argue with
anyone about anything.
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2024-07-18 14:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-17 1:04 Roger Pack
2024-07-17 11:40 ` Michael Niedermayer
2024-07-17 15:49 ` Kacper Michajlow
2024-07-17 22:30 ` Marth64
2024-07-17 22:34 ` Paul B Mahol
2024-07-17 22:37 ` Marth64
2024-07-18 10:21 ` Stefan Oltmanns via ffmpeg-devel
2024-07-18 14:22 ` Michael Niedermayer [this message]
2024-07-22 18:00 ` Roger Pack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240718142228.GA4991@pb2 \
--to=michael@niedermayer.cc \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git