From: Michael Niedermayer <michael@niedermayer.cc> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH] avformat: add DAT (Digital Audio Tape) demuxer Date: Sat, 25 Jan 2025 01:46:45 +0100 Message-ID: <20250125004645.GF4991@pb2> (raw) In-Reply-To: <a037bdda-d118-4003-8959-6a6df19da248@mediaarea.net> [-- Attachment #1.1: Type: text/plain, Size: 1773 bytes --] On Wed, Jan 22, 2025 at 12:26:17PM +0100, Jerome Martinez wrote: > Le 17/01/2025 à 21:43, Michael Niedermayer a écrit : > > On Fri, Jan 17, 2025 at 12:38:02PM +0100, Jerome Martinez wrote: > > > [...] > > > Subject: [PATCH] avformat: add DAT demuxer > > breaks fate-cdxl-pal8-small > > > > I guess the probe function is not working as expected > > cdxl parser provides a read_probe value of 1, difficult to compete there... > I added checks on extra metadata (not needed for decoding) for having a DAT > parser read_probe value of 0 for the cdxl-pal8-small file, it works with all > the DAT files I found while not changing the fate tests behavior. > Attached is an 2/2 patch to be added to the first one, I separate the fix > patch from the initial patch in order to keep author name of each patch. > dat.c | 41 ++++++++++++++++++++++++++++++++++------- > 1 file changed, 34 insertions(+), 7 deletions(-) > 9dbe3c927caa58e9dd3b9b78fb2ca478380b5f98 0002-avformat-improve-DAT-demuxer-read_probe.patch > From 17e4ae0189fc60e4c69357b5324fd84b111a0ac3 Mon Sep 17 00:00:00 2001 > From: Jerome Martinez <jerome@mediaarea.net> > Date: Tue, 21 Jan 2025 22:31:31 +0100 > Subject: [PATCH 2/2] avformat: improve DAT demuxer read_probe" this passes tests. but if you want, you could instead of testing "extra metadata (not needed for decoding)" test more than 1 packet having a best case score of 1 seems to be something that will likely fail sooner or later by not detecting a dat file thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The difference between a dictatorship and a democracy is that every 4 years the population together is allowed to provide 1 bit of input to the government. [-- 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".
next prev parent reply other threads:[~2025-01-25 0:46 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <a2f813dd-06db-43dc-b64a-22c8038ce1fa@mediaarea.net> [not found] ` <20250117204315.GO4991@pb2> 2025-01-22 11:26 ` Jerome Martinez 2025-01-25 0:46 ` Michael Niedermayer [this message] 2025-01-29 17:02 ` Jerome Martinez 2025-02-01 2:13 ` Michael Niedermayer
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=20250125004645.GF4991@pb2 \ --to=michael@niedermayer.cc \ --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