From: James Almer <jamrial@gmail.com> To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_showinfo: use av_frame_side_data_name() to print side data names Date: Fri, 13 Jan 2023 18:33:33 -0300 Message-ID: <7f0c0b55-aa59-8af8-702f-8ffa7cd47b60@gmail.com> (raw) In-Reply-To: <CAEu79SZ3EE9LKy9D6eHtB8kkHoL-gKHXBP7EBvZ4_OgWP__0Gg@mail.gmail.com> On 1/13/2023 11:38 AM, Jan Ekström wrote: > On Wed, Jan 11, 2023 at 9:31 PM James Almer <jamrial@gmail.com> wrote: >> >> This ensures all defined types are supported, even if only to report >> their presence and print their size if a custom implementation is >> not added. >> >> Signed-off-by: James Almer <jamrial@gmail.com> >> --- >> This patch supersedes: >> [PATCH 1/2] avfilter/vf_showinfo: remove superfluous line break >> [PATCH 2/2] avfilter/vf_showinfo: add support for raw Dolby Vision RPU side data >> >> By achieving the same effect in a future proof, generic way. >> > > I quite like this approach, and agree with the idea. It did feel weird > that we have a single location which sets human readable names for > side data types, yet it was not utilized. > > I think the only drawback is that I'm pretty sure there would be some > side data types printed out now with a different name, and I do know > that some people parse the output of this filter instead of utilizing > ffprobe. Granted, we generally don't promise that log lines are a > machine readable interface. Thus this is not a blocker, but something > to keep in mind. ffprobe is what we provide for parseable output. Also muxers like framehash, which are versioned and such. So yeah, av_log() output is not something we promise will be unchanged. > > I wonder if at some point (at the latest when we'll start wanting to > make a generic string/dict based side data setting interface) we'll > want to have separately a "long name" (more human readable) as well as > a shorter identifier similar to AVCodecs' "name". > > Jan Pushed. _______________________________________________ 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".
prev parent reply other threads:[~2023-01-13 21:33 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-11 19:31 James Almer 2023-01-13 13:09 ` James Almer 2023-01-13 14:38 ` Jan Ekström 2023-01-13 21:33 ` James Almer [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=7f0c0b55-aa59-8af8-702f-8ffa7cd47b60@gmail.com \ --to=jamrial@gmail.com \ --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