From: Nicolas George via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Nicolas George <george@nsup.org>
Subject: [FFmpeg-devel] Re: [RFC] libavdevice
Date: Thu, 30 Oct 2025 00:30:20 +0100
Message-ID: <aQKjjDBHuz4l-NbH@phare.normalesup.org> (raw)
In-Reply-To: <aQKbNypWUCLmOOkP@neo>
Michael Niedermayer via ffmpeg-devel (HE12025-10-29):
> 1. merge libavdevice and libavformat
Of course we should do that. The split into multiple libraries serves no
purpose, it only makes our work more complicated; the benefits people
think they get from it either are nonexistent or could be obtained more
efficiently with less intrusive solutions.
IIRC, in the case of libavdevice, it was done under the pressure of
people who hated it and wanted to get rid of it, just like they managed
to put pressure on you to get rid of libpostproc.
> 2. make libavdevice actually great again, aka a seperate API designed for devices
That would not make libavdevice great, that would kill it.
The fact that devices can pass as muxers / demuxers is the key to the
usefulness of libavdevice: people write code for plain files, and thanks
to the magic of having the same API, this code can be used as is with
ALSA playback or desktop capture.
If libavdevice gets its own API, then the only code that works with it
is code that was specifically written for it, and who would write code
specifically for a mishmash of devices whose sole common point is that
they used to have the same API.
> (3. maybe a bunch of flags checks version whatever can be used to make it work as is)
We could also consider making libavdevice API evolve towards the one of
libavfilter.
That would require the driving code to work with non-buffersink sinks,
though, and we are not there yet.
Regards,
--
Nicolas George
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
prev parent reply other threads:[~2025-10-29 23:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-29 22:54 [FFmpeg-devel] " Michael Niedermayer via ffmpeg-devel
2025-10-29 23:30 ` Nicolas George via ffmpeg-devel [this message]
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=aQKjjDBHuz4l-NbH@phare.normalesup.org \
--to=ffmpeg-devel@ffmpeg.org \
--cc=george@nsup.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