From: Derek Buitenhuis <derek.buitenhuis-at-gmail.com@ffmpeg.org> To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [RFC] Moving edit list handling out of demuxers Date: Fri, 13 Jun 2025 15:41:48 +0100 Message-ID: <11b62e0a-2ded-41a2-a1eb-4263d9753e24@gmail.com> (raw) In-Reply-To: <e8d181769cf2af13f7e1c1fe67419374148136f6.camel@haerdin.se> On 6/13/2025 3:34 PM, Tomas Härdin wrote: > Interesting. I didn't think to use side data for it. Putting the edit > lists in AVStream seems wrong. They belong to AVFormatContext. Else we > can't support ganged or alternate packages in MXF (OP1b, OP1c, OP2b, > OP2c, OP3b, OP3c), nor could we support IMF. Yes, I know imfdec.c > exists. It too is cursed. I don't know what any of that means, but I definitely wasn't aware of any MXF stuff back then, so probably didn't design for it. > Here's what I came up with so far for reference. The idea is to just > stick a pointer to AVEditLists in AVFormatContext. This was written > before I saw the ABI point and the indirection solution to it. My main concern here is that it is extremely complex from API perspective, and approximately zero users will end up using it correctly (or at all), outside of ffmpeg.c. (From what I can tell this complexity solely comes from IMF/MXF.) Probably part of such an RFC needs to contain how it is intended to be used (integration with existing APIs, functions, etc.). If it is just these structs, it's essentially unusably complex as far as I am concerned. (This was an issue with my old RFC too, but this is even more complex, and hindsight is 20/20). Some amount of "just works", or a higher level API needs to exist, I think. - Derek _______________________________________________ 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:[~2025-06-13 14:42 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-06-13 10:55 Tomas Härdin 2025-06-13 12:51 ` Kieran Kunhya via ffmpeg-devel 2025-06-13 13:28 ` Derek Buitenhuis 2025-06-13 14:34 ` Tomas Härdin 2025-06-13 14:41 ` Derek Buitenhuis [this message] 2025-06-13 14:21 ` Michael Niedermayer 2025-06-13 14:53 ` Tomas Härdin 2025-06-13 14:57 ` Gyan Doshi 2025-06-17 20:42 ` Tomas Härdin 2025-06-13 16:19 ` Michael Niedermayer 2025-06-17 21:15 ` Tomas Härdin 2025-06-18 3:55 ` Michael Niedermayer 2025-06-18 10:02 ` Michael Niedermayer 2025-06-18 10:09 ` Nicolas George 2025-06-18 15:50 ` Tomas Härdin 2025-06-13 16:22 ` Michael Niedermayer 2025-06-13 14:37 ` Gyan Doshi 2025-06-17 21:33 ` Tomas Härdin 2025-06-18 4:15 ` Gyan Doshi 2025-06-18 7:17 ` Nicolas George 2025-06-13 16:57 ` Nicolas George
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=11b62e0a-2ded-41a2-a1eb-4263d9753e24@gmail.com \ --to=derek.buitenhuis-at-gmail.com@ffmpeg.org \ --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