Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] avisynth as an internal filter, any objections?
@ 2024-07-17  1:04 Roger Pack
  2024-07-17 11:40 ` Michael Niedermayer
  2024-07-17 15:49 ` Kacper Michajlow
  0 siblings, 2 replies; 9+ messages in thread
From: Roger Pack @ 2024-07-17  1:04 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

Hi all, just wondering, if I were to write a libavfilter that
basically "called out" to avisynth and had it process stuff, would
there be any ideological pushback, or would it possibly be accepted?
Cheers!
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-17  1:04 [FFmpeg-devel] avisynth as an internal filter, any objections? Roger Pack
@ 2024-07-17 11:40 ` Michael Niedermayer
  2024-07-17 15:49 ` Kacper Michajlow
  1 sibling, 0 replies; 9+ messages in thread
From: Michael Niedermayer @ 2024-07-17 11:40 UTC (permalink / raw)
  To: FFmpeg development discussions and patches


[-- Attachment #1.1: Type: text/plain, Size: 663 bytes --]

On Tue, Jul 16, 2024 at 07:04:40PM -0600, Roger Pack wrote:
> Hi all, just wondering, if I were to write a libavfilter that
> basically "called out" to avisynth and had it process stuff, would
> there be any ideological pushback, or would it possibly be accepted?
> Cheers!

If this would allow people to develop filters that users could use
without the need for approval by a 3rd party then i think thats a
good idea.

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"Nothing to hide" only works if the folks in power share the values of
you and everyone you know entirely and always will -- Tom Scott


[-- 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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-17  1:04 [FFmpeg-devel] avisynth as an internal filter, any objections? Roger Pack
  2024-07-17 11:40 ` Michael Niedermayer
@ 2024-07-17 15:49 ` Kacper Michajlow
  2024-07-17 22:30   ` Marth64
  1 sibling, 1 reply; 9+ messages in thread
From: Kacper Michajlow @ 2024-07-17 15:49 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

On Wed, 17 Jul 2024 at 03:21, Roger Pack <rogerdpack2@gmail.com> wrote:
>
> Hi all, just wondering, if I were to write a libavfilter that
> basically "called out" to avisynth and had it process stuff, would
> there be any ideological pushback, or would it possibly be accepted?
> Cheers!

Have you considered VapourSynth instead? AviSynth days of glory are long over.
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-17 15:49 ` Kacper Michajlow
@ 2024-07-17 22:30   ` Marth64
  2024-07-17 22:34     ` Paul B Mahol
  0 siblings, 1 reply; 9+ messages in thread
From: Marth64 @ 2024-07-17 22:30 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

I think this could enable use of the highly regarded,
QTGMC deinterlacer which sounds appealing to me
(+1 for VapourSynth instead).
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-17 22:30   ` Marth64
@ 2024-07-17 22:34     ` Paul B Mahol
  2024-07-17 22:37       ` Marth64
  0 siblings, 1 reply; 9+ messages in thread
From: Paul B Mahol @ 2024-07-17 22:34 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

On Thu, Jul 18, 2024 at 12:30 AM Marth64 <marth64@proxyid.net> wrote:

> I think this could enable use of the highly regarded,
> QTGMC deinterlacer which sounds appealing to me
> (+1 for VapourSynth instead).
>

LOL,
Isn't there demuxer already?
Also as filter it would be less useful.



> _______________________________________________
> 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".
>
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-17 22:34     ` Paul B Mahol
@ 2024-07-17 22:37       ` Marth64
  2024-07-18 10:21         ` Stefan Oltmanns via ffmpeg-devel
  0 siblings, 1 reply; 9+ messages in thread
From: Marth64 @ 2024-07-17 22:37 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

> LOL,
> Isn't there demuxer already?
> Also as filter it would be less useful.

I haven't actually used QTGMC. I have just read of it
but have not had the time to apply it with VapourSynth.
But it could be cool.
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-17 22:37       ` Marth64
@ 2024-07-18 10:21         ` Stefan Oltmanns via ffmpeg-devel
  2024-07-18 14:22           ` Michael Niedermayer
  2024-07-22 18:00           ` Roger Pack
  0 siblings, 2 replies; 9+ messages in thread
From: Stefan Oltmanns via ffmpeg-devel @ 2024-07-18 10:21 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Stefan Oltmanns

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.

Best regards
Stefan



Am 18.07.24 um 00:37 schrieb Marth64:
>> LOL,
>> Isn't there demuxer already?
>> Also as filter it would be less useful.
>
> I haven't actually used QTGMC. I have just read of it
> but have not had the time to apply it with VapourSynth.
> But it could be cool.
> _______________________________________________
> 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".

_______________________________________________
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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-18 10:21         ` Stefan Oltmanns via ffmpeg-devel
@ 2024-07-18 14:22           ` Michael Niedermayer
  2024-07-22 18:00           ` Roger Pack
  1 sibling, 0 replies; 9+ messages in thread
From: Michael Niedermayer @ 2024-07-18 14:22 UTC (permalink / raw)
  To: FFmpeg development discussions and patches


[-- 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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [FFmpeg-devel] avisynth as an internal filter, any objections?
  2024-07-18 10:21         ` Stefan Oltmanns via ffmpeg-devel
  2024-07-18 14:22           ` Michael Niedermayer
@ 2024-07-22 18:00           ` Roger Pack
  1 sibling, 0 replies; 9+ messages in thread
From: Roger Pack @ 2024-07-22 18:00 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

On Thu, Jul 18, 2024 at 6:16 AM Stefan Oltmanns via ffmpeg-devel
<ffmpeg-devel@ffmpeg.org> 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.

Yeah that's a good question, wonder how vsrawsource does it...
related: https://forum.videohelp.com/threads/404486-Ffmpeg-piped-as-source-to-avisynth
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-07-22 18:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-17  1:04 [FFmpeg-devel] avisynth as an internal filter, any objections? 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
2024-07-22 18:00           ` Roger Pack

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