Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Gyan Doshi <ffmpeg@gyani.pro>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/s302m: enable non-PCM decoding
Date: Tue, 23 Jan 2024 16:48:06 +0530
Message-ID: <0009fb2e-6544-4db4-a787-38367919e632@gyani.pro> (raw)
In-Reply-To: <MR1P264MB24832ECDEFDA93429A6FCBA19B742@MR1P264MB2483.FRAP264.PROD.OUTLOOK.COM>



On 2024-01-23 03:58 pm, Nicolas Gaullier wrote:
>> +#define IS_NONPCMSYNC_16(state)   ((state & 0xFFFF0FFFF0)     == NONPCMSYNC_16MARKER)
> Is this single 32 bits marker enough to avoid a fake detection ?

It will have to do. The modal number of payload packets expected in a 
single s302m packet is one, so there's no redundancy.
And since the AES3 sync (time slots 0-3) is stripped off (in all samples 
I have), we can't identify byte 0 of the channel status word for a 
double-check.

However, unlike s337m probe, which is dealing with data of unknown 
provenance, the context here is a PES packet emitted of a stream 
identified as s302m by the demuxer so the odds are low of a false positive.

Regards,
Gyan

_______________________________________________
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".

  reply	other threads:[~2024-01-23 11:18 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-23  6:49 Gyan Doshi
2024-01-23  6:49 ` [FFmpeg-devel] [PATCH 2/2] fate: add tests for dolby_e decoding in s302m Gyan Doshi
2024-01-23  7:56 ` [FFmpeg-devel] [PATCH 1/2] avcodec/s302m: enable non-PCM decoding Kieran Kunhya
2024-01-23  8:32   ` Gyan Doshi
2024-01-23  9:05     ` Kieran Kunhya
2024-01-23 14:50       ` Devin Heitmueller
2024-01-23 14:53         ` Kieran Kunhya
2024-01-23 15:04           ` Devin Heitmueller
2024-01-23 10:28 ` Nicolas Gaullier
2024-01-23 11:18   ` Gyan Doshi [this message]
2024-01-25  4:59 ` Andreas Rheinhardt
2024-01-25  7:11   ` Gyan Doshi
2024-01-25 13:17     ` Andreas Rheinhardt
2024-01-26  4:23       ` Gyan Doshi
2024-01-26  6:42         ` Andreas Rheinhardt
2024-01-28 10:54         ` Anton Khirnov
2024-01-28 21:29           ` Kieran Kunhya
2024-01-29  4:00           ` Gyan Doshi via ffmpeg-devel
2024-01-29  9:27             ` Nicolas Gaullier
2024-01-29 10:17               ` Gyan Doshi
2024-01-29 10:18                 ` Kieran Kunhya
2024-02-15 10:47             ` Anton Khirnov
2024-02-15 12:31               ` Gyan Doshi
2024-02-15 16:10                 ` Anton Khirnov
2024-02-15 16:47                   ` Gyan Doshi
2024-02-15 20:26                     ` Kieran Kunhya
2024-02-16  4:12                       ` Gyan Doshi
2024-02-16  9:03                     ` Anton Khirnov
2024-02-17 11:46                       ` Gyan Doshi
2024-02-17 12:22                         ` Anton Khirnov
2024-02-17 12:37                           ` Gyan Doshi
2024-02-17 19:55                             ` Anton Khirnov
2024-02-18  0:43                               ` Michael Niedermayer
2024-02-18 18:20                                 ` Anton Khirnov
2024-02-18 22:34                                   ` Michael Niedermayer
2024-02-18 22:47                                     ` Vittorio Giovara
2024-02-19  8:45                                       ` Nicolas George
2024-02-19 14:15                                         ` Vittorio Giovara
2024-02-19 14:28                                           ` Nicolas George
2024-02-19 14:37                                             ` Vittorio Giovara
2024-02-19 14:41                                               ` Nicolas George
2024-02-18 22:48                                     ` Hendrik Leppkes
2024-02-19  1:17                                       ` Michael Niedermayer
2024-02-19  2:26                                         ` Vittorio Giovara
2024-02-19  2:07                                     ` Ronald S. Bultje
2024-02-19 21:37                                     ` Anton Khirnov
2024-02-19 21:54                                       ` Nicolas George
2024-02-20 21:39                                       ` Michael Niedermayer
2024-02-20 21:56                                         ` Kieran Kunhya
2024-02-20 22:07                                           ` Nicolas George
2024-02-18 18:50                                 ` Rémi Denis-Courmont
2024-02-18 18:55                                   ` Nicolas George
2024-02-18  4:06                               ` Gyan Doshi
2024-02-18 18:03                                 ` Anton Khirnov
2024-02-18 18:40                                   ` Nicolas George
2024-02-18 19:03                                     ` Rémi Denis-Courmont
2024-02-18 19:11                                       ` Nicolas George
2024-02-18 21:06                                     ` Vittorio Giovara
2024-02-18 21:25                                       ` Nicolas George
2024-02-18 21:55                                         ` Vittorio Giovara
2024-02-19  8:54                                           ` Nicolas George
2024-02-19 14:21                                             ` Vittorio Giovara
2024-02-19 14:30                                               ` Nicolas George
2024-02-19 14:33                                                 ` Vittorio Giovara
2024-02-19 14:34                                                   ` Nicolas George
2024-02-18 19:02                                   ` Gyan Doshi
2024-02-18 21:46                                     ` Vittorio Giovara
2024-02-19  5:10                                       ` Gyan Doshi
2024-02-19 14:30                                         ` Vittorio Giovara
2024-02-19 15:39                                           ` Gyan Doshi
2024-02-20  3:02                                             ` Vittorio Giovara
2024-02-17 12:31                         ` Rémi Denis-Courmont
2024-02-19  2:16                           ` epirat07
2024-02-16 13:55                 ` Andreas Rheinhardt
2024-02-17 11:44                   ` Gyan Doshi

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=0009fb2e-6544-4db4-a787-38367919e632@gyani.pro \
    --to=ffmpeg@gyani.pro \
    --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