Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] Test coverage for libavfilter negotiation
@ 2025-06-04  7:24 Nicolas George
  2025-06-04 13:36 ` Michael Niedermayer
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas George @ 2025-06-04  7:24 UTC (permalink / raw)
  To: ffmpeg-devel

Hi.

As I explained earlier in the “Subtitle Filtering Ramp-Up” thread:

Any non-trivial progress on libavfilter requires touching the format
negotiation code. The format negotiation code is very fragile and has
almost no test coverage at all.

Touching it as is would be suicidal.

Therefore, any non-trivial progress on libavfilter requires first adding
test coverage on the negotiation process.

I started a long time ago:
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2022-August/299593.html
but it is extremely boring work, I got bored and I could not take some
air working on AVWriter. I do not intend to do boring things unless I
can have some freedom doing fun things too.

It is boring, but it is not very hard. Which is why I think it would be
a good candidate to throw money at, if we have money that we can throw
at needs.

It could take the form of bounties: one line of coverage ⇒ one amount of
money. It could work because there is an objective criterion: the test
must pass as is but fail if we artificially remove or alter the line of
code it covers.

I can advise on the technical matter, I can review patches, list parts
of the code that require coverage and explain what they do. But I do not
know how do do the money part.

Regards,

-- 
  Nicolas George
_______________________________________________
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] 2+ messages in thread

* Re: [FFmpeg-devel] Test coverage for libavfilter negotiation
  2025-06-04  7:24 [FFmpeg-devel] Test coverage for libavfilter negotiation Nicolas George
@ 2025-06-04 13:36 ` Michael Niedermayer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Niedermayer @ 2025-06-04 13:36 UTC (permalink / raw)
  To: FFmpeg development discussions and patches


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

Hi Nicolas

On Wed, Jun 04, 2025 at 09:24:23AM +0200, Nicolas George wrote:
> Hi.
> 
> As I explained earlier in the “Subtitle Filtering Ramp-Up” thread:
> 
> Any non-trivial progress on libavfilter requires touching the format
> negotiation code. The format negotiation code is very fragile and has
> almost no test coverage at all.
> 
> Touching it as is would be suicidal.
> 
> Therefore, any non-trivial progress on libavfilter requires first adding
> test coverage on the negotiation process.
> 
> I started a long time ago:
> https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2022-August/299593.html
> but it is extremely boring work, I got bored and I could not take some
> air working on AVWriter. I do not intend to do boring things unless I
> can have some freedom doing fun things too.
> 
> It is boring, but it is not very hard. Which is why I think it would be
> a good candidate to throw money at, if we have money that we can throw
> at needs.
> 
> It could take the form of bounties: one line of coverage ⇒ one amount of
> money. It could work because there is an objective criterion: the test
> must pass as is but fail if we artificially remove or alter the line of
> code it covers.
> 
> I can advise on the technical matter, I can review patches, list parts
> of the code that require coverage and explain what they do. But I do not
> know how do do the money part.

I think this whole idea is good, please make sure it is added to the STF page
and that someone does all the submission and paper stuff (if no objections)

thx

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

Nations do behave wisely once they have exhausted all other alternatives. 
-- Abba Eban

[-- 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] 2+ messages in thread

end of thread, other threads:[~2025-06-04 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-04  7:24 [FFmpeg-devel] Test coverage for libavfilter negotiation Nicolas George
2025-06-04 13:36 ` Michael Niedermayer

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