applied.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
s the first second of
filter/hdcd.flac, with the 16-bit LSB copied into bit 20 of a 24-bit
stream. There isn't an actual non-16-bit HDCD sample available to test.
Signed-off-by: Burt P
---
tests/fate/filter-audio.mak | 84 +++--
1 file changed, 73
On Tue, Dec 20, 2016 at 11:57 AM, Michael Niedermayer
wrote:
> did you post links to any of the files or how can the new files be
> added ?
Yes, in IRC. Thank you for uploading.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmp
On Sun, Dec 18, 2016 at 6:54 PM, Michael Niedermayer
wrote:
> On Sun, Dec 18, 2016 at 12:48:45PM -0600, Burt P wrote:
>> Additional/Modified FATE tests improve code coverage from 63.7% to 98.1%.
>>
>> Changed fate-suite sample files:
>> * filter/hdcd-encoding-errors.fla
tream. There isn't an actual non-16-bit HDCD sample available to test.
Net change -34K. Would be -944K if hdcd.flac could be removed.
Signed-off-by: Burt P
---
tests/fate/filter-audio.mak | 86 ++---
1 file changed, 74 insertions(+), 12 deletions(-)
di
tream. There isn't an actual non-16-bit HDCD sample available to test.
Net change -34K. Would be -944K if hdcd.flac could be removed.
Signed-off-by: Burt P
---
tests/fate/filter-audio.mak | 86 ++---
1 file changed, 74 insertions(+), 12 deletions(-)
di
On Sun, Dec 18, 2016 at 3:30 AM, Hendrik Leppkes wrote:
> On Sun, Dec 18, 2016 at 8:42 AM, Burt P wrote:
>> Additional/Modified FATE tests improve code coverage from 63.7% to 98.1%.
>>
>> Changed fate-suite sample files:
>> * filter/hdcd-encoding-errors.flac (1.3M) r
/hdcd.flac (910K) removed, although it was a nice tune and
the samples that replace it are terrible sounds.
Net change +290K.
Signed-off-by: Burt P
---
tests/fate/filter-audio.mak | 86 ++---
1 file changed, 74 insertions(+), 12 deletions(-)
diff --git a/tests
applied
split into two commits
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
applied
--
Burt
On Sun, Oct 2, 2016 at 2:46 AM, Burt P wrote:
> Signed-off-by: Burt P
> ---
> libavfilter/af_hdcd.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
> index 90b6b64..6f35c09 10064
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
sted by Nicolas George. [1]
[0]
https://github.com/bp0/libhdcd/commit/dc32b383efab5608820af4f641db292f9a776778
[1] http://ffmpeg.org/pipermail/ffmpeg-devel/2016-August/197571.html
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 135 ++
1 file changed
The buffer is already being copied anyway, so interlace the planar
format during the copy and remove one use of auto-convert.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter
According to the Users' Manual, the PM Model Two would encode
HDCD in any CD or DVD-Audio sampler rates, and at 16, 20, or
24-bit output. While HDCD was (afaik) only published on CD, and
therefor 16-bit@44100Hz, audio may exist in any other other formats
supported by the encoding equipment, so I'
New versions of hdcd_scan() and hdcd_integrate() that also do the
work of hdcd_scan_stereo() and hdcd_integrate_stereo().
Some code split into previously separate functions to remove
duplication is now merged back into each function in the single
place where it is used.
Signed-off-by: Burt P
The PM Model Two could output HDCD-encoded audio in CD and all
DVD-Audio sample rates. (44100, 48000, 88200, 96000, 176400, and
192000 Hz)
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/libavfilter/af_hdcd.c b
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 90b6b64..6f35c09 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -1724,6 +1724,9 @@ static int
applied
as is for now.
Thanks for the comment. I will look into a faster way of doing it.
I only needed to change from the float version because it was giving
different results for i686 than for amd64.
I don't know why, exactly, but I do know that this version gives
bit-perfect results everywhere
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
applied
with fix:
uint64_t sustain_reset = (uint64_t)cdt_ms * rate / 1000;
Thank you, Michael.
--
Burt
On Tue, Sep 6, 2016 at 5:00 PM, Michael Niedermayer
wrote:
> On Mon, Sep 05, 2016 at 06:18:43AM -0500, Burt P wrote:
>> Signed-off-by: Burt P
>> ---
>> liba
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
applied
On Mon, Sep 5, 2016 at 6:18 AM, Burt P wrote:
> * use the actual sample rate
> * use a more sensible frequency for the tone
> * update fate test result
>
> Signed-off-by: Burt P
> ---
> libavfilter/af_hdcd.c | 9 ++---
> tests/fate/filter-audio.mak |
On Tue, Sep 6, 2016 at 6:12 AM, Carl Eugen Hoyos wrote:
> 2016-09-06 13:02 GMT+02:00 Burt P. :
>> On Tue, Sep 6, 2016 at 5:22 AM, Carl Eugen Hoyos wrote:
>>> 2016-09-05 13:18 GMT+02:00 Burt P :
>>>> * use the actual sample rate
>>>
>>> Is hdcd supp
On Tue, Sep 6, 2016 at 5:22 AM, Carl Eugen Hoyos wrote:
> 2016-09-05 13:18 GMT+02:00 Burt P :
>> * use the actual sample rate
>
> Is hdcd supposed to work for sample_rates
> different from 44100?
As I understand it, yes. The PM Model 2 supported code insertion at
all CD an
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index cde2340..c8bda82 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -1316,11 +1316,10 @@ static void
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index c8bda82..c249589 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -1004,16 +1004,15
Following a suggestion by Diego Biurrun.
_t is reserved for POSIX, apparently.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 58 +--
1 file changed, 29 insertions(+), 29 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 40 +---
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index c249589..1487a0b 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
* use the actual sample rate
* use a more sensible frequency for the tone
* update fate test result
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 9 ++---
tests/fate/filter-audio.mak | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/libavfilter/af_hdcd.c b
Hi. Patches follow.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Thanks for looking at it.
On Wed, Aug 24, 2016 at 1:06 PM, Carl Eugen Hoyos wrote:
> Hi!
>
> 2016-08-24 16:38 GMT+02:00 Burt P. :
>> On Tue, Aug 23, 2016 at 2:29 PM, Carl Eugen Hoyos wrote:
>>> It seems safer to me to use the actual number of channels than the
>>&
On Tue, Aug 23, 2016 at 2:29 PM, Carl Eugen Hoyos wrote:
> It seems safer to me to use the actual number of channels than the
> channel layout.
Alright, new patch version incoming.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://f
filter_frame() into
hdcd_analyze_prepare(), from libhdcd
* moved some macro definitions to the top so they are all together
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 271 --
1 file changed, 172 insertions(+), 99 deletions(-)
diff --git a
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
applied
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
On Tue, Aug 23, 2016 at 3:04 AM, Paul B Mahol wrote:
> So you basically saying that foo* something will not use this lib, but
> lavfi will?
>
> What is point of lib than?
To use it in things other than ffmpeg. I personally use deadbeef and
quodlibet as music players, I would like to get support i
Hi.
On Mon, Aug 22, 2016 at 7:52 PM, James Almer wrote:
> A couple comments about the library.
>
> -The name hdcd_decode2 is still used in some places after your rename
> commit, like the installed header and main c file.
That is intentional. I want to keep the code there compatible with
foo_hdcd
Signed-off-by: Burt P
---
tests/fate/filter-audio.mak | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index d1d9d59..2066fa9 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -238,6 +238,12 @@ fate
filter_frame() into
hdcd_analyze_prepare(), from libhdcd
* moved some macro definitions to the top so they are all together
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 275 --
1 file changed, 175 insertions(+), 100 deletions(-)
diff --git a
Anton Khirnov:
"[av_frame_copy_props()] potentially contains memory allocation,
so the return value needs to be checked."
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter
I have created a stand-alone library of the HDCD decoder from af_hdcd,
and called it libhdcd. [ https://github.com/bp0/libhdcd ]
I hope to use it in patches/plugins to some media players, and still
be able to easily maintain them both together.
There is some concern that I wanted to remove the na
I've reconsidered and I think this change may not be a good idea at this time.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
On Sat, Aug 13, 2016 at 4:23 AM, Paul B Mahol wrote:
>
> Also, swresample already does what converting code do, but faster.
Doing the conversion in the filter itself instead of using the
auto-inserted conversion filter is that the original data is left
completely untouched.
Using astats, the samp
Thanks, I will use astats instead.
On Sat, Aug 13, 2016 at 4:23 AM, Paul B Mahol wrote:
> On 8/13/16, Nicolas George wrote:
>> Le septidi 27 thermidor, an CCXXIV, Burt P a écrit :
>>> The histogram will still only be shown for s16 and s16p.
>>>
The histogram will still only be shown for s16 and s16p.
Signed-off-by: Burt P
---
libavfilter/af_volumedetect.c | 133 ++
1 file changed, 121 insertions(+), 12 deletions(-)
diff --git a/libavfilter/af_volumedetect.c b/libavfilter/af_volumedetect.c
index
applied
On Wed, Aug 10, 2016 at 4:09 AM, Burt P wrote:
> Restore a check added in 440af105f2306d3c7b3b3f4d7530bab910d49cb9
> but lost sometime after. avfilter_graph_set_auto_convert() will
> have an effect once again.
>
> Signed-off-by: Burt P
> ---
> libavfilte
Now reading to the end of the original message by Nicolas George,
which I should have done before, I can see that it is already known to
be lost.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-dev
Signed-off-by: Burt P
---
libavfilter/avfiltergraph.c | 8
1 file changed, 8 insertions(+)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 4275113..1685b76 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -507,6 +507,14
Restore a check added in 440af105f2306d3c7b3b3f4d7530bab910d49cb9
but lost sometime after. avfilter_graph_set_auto_convert() will
have an effect once again.
Signed-off-by: Burt P
---
libavfilter/avfiltergraph.c | 8
1 file changed, 8 insertions(+)
diff --git a/libavfilter
As suggested by Nicolas George, I've recently tried
avfilter_graph_set_auto_convert(ctx->graph, AVFILTER_AUTO_CONVERT_NONE)
in a filter init() function, but it did not prevent auto-inserted
resampling filters from appearing.
I looked around a bit and could not find a place where the member of
AVFi
ed
and removing the invasive scan.
On Mon, Aug 8, 2016 at 5:16 AM, Nicolas George wrote:
> Le primidi 21 thermidor, an CCXXIV, Burt P. a écrit :
>> Are you now talking about plans of the future or this specific case?
>
> Both.
>
>> As it is, automatic conversion is very helpful
applied
On Sun, Aug 7, 2016 at 2:50 AM, Burt P wrote:
> A new mode, selected by filter option, to aid in analysis of HDCD
> encoded audio. In this mode the audio is replaced by a solid tone and
> the amplitude is adjusted to signal some specified aspect of the process.
> The output
Are you now talking about plans of the future or this specific case?
As it is, automatic conversion is very helpful, for example from
WavePack, which uses s16p.
This filter is only looking at the AVFilterLinks between filters, not
at the filters themselves.
This scan and warn behavior was added to
On Sun, Aug 7, 2016 at 12:20 PM, Nicolas George wrote:
> Sorry if it has been addressed before, but what are these tests? Why is this
> filter invading other filters' privacy?
The HDCD codes are stored in the LSB of consecutive samples, and
anything that would change a sample could cause problems.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index e4e37e2..ebfe0f1 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -1714,7 +1714,9 @@ static int config_input
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index e4e37e2..36da409 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -1714,7 +1714,9 @@ static int config_input
can see where different features or states are present.
Signed-off-by: Burt P
---
doc/filters.texi | 32 ++
libavfilter/af_hdcd.c | 163 +++---
2 files changed, 187 insertions(+), 8 deletions(-)
diff --git a/doc/filters.texi b/doc
can see where different features or states are present.
Signed-off-by: Burt P
---
doc/filters.texi | 32 ++
libavfilter/af_hdcd.c | 163 +++---
2 files changed, 187 insertions(+), 8 deletions(-)
diff --git a/doc/filters.texi b/doc
"The ANMR coder requires -strict -2 and some may be removed in the future"
should have "some" removed.
On Sat, Aug 6, 2016 at 6:51 PM, Rostislav Pehlivanov
wrote:
> This version has had much testing so there's little point in keeping it
> maked as experimental.
>
> Signed-off-by: Rostislav Pehliv
applied
thx :)
On Fri, Aug 5, 2016 at 4:54 PM, Burt P wrote:
> As suggested by Timothy Gu.
>
> Signed-off-by: Burt P
> ---
> libavfilter/af_hdcd.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavfilter/af_hdcd.c b/libavfilter/a
can see where different features or states are present.
Signed-off-by: Burt P
---
doc/filters.texi | 32 ++
libavfilter/af_hdcd.c | 164 +++---
2 files changed, 188 insertions(+), 8 deletions(-)
diff --git a/doc/filters.texi b/doc
can see where different features or states are present.
Signed-off-by: Burt P
---
doc/filters.texi | 32 ++
libavfilter/af_hdcd.c | 164 +++---
2 files changed, 188 insertions(+), 8 deletions(-)
diff --git a/doc/filters.texi b/doc
As suggested by Timothy Gu.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index ef3c369..610dd9e 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -906,9
can see where different features or states are present.
Signed-off-by: Burt P
---
doc/filters.texi | 32 ++
libavfilter/af_hdcd.c | 164 +++---
2 files changed, 188 insertions(+), 8 deletions(-)
diff --git a/doc/filters.texi b/doc
1. Converts a couple AVOptions from INT to BOOL as suggested.
2. Adds a mode that is useful to analyze the HDCD encoding, and
find interesting samples to examine more closely.
Thanks for any comments.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@
Can this small fix be applied to 3.1?
http://ffmpeg.org/pipermail/ffmpeg-devel/2016-July/196268.html
Although, if you can, please fix my typo in the subject, bing -> being. :/
On Thu, Aug 4, 2016 at 5:25 AM, Michael Niedermayer
wrote:
> Hi all
>
> ill soon make FFmpeg 3.1.2
> that is if someone
both channels together.
* target_gain applied will be the last matching target_gain.
* The old single channel functions remain as an option. They can be
used by: -af hdcd=process_stereo=0.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 287 +++---
1
Fix for options not showing up in ffmpeg --help filter=hdcd
Apply after the earlier set of 7 patches where options were
introduced.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 2d7fe8d..7c90861 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -903,11 +903,12 @@ typedef struct
Signed-off-by: Burt P
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 6d4c9f9..932e6fb 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -308,6 +308,7 @@ Filters:
af_chorus.c Paul B Mahol
af_compand.c
HDCD is only encoded in s16@44100Hz. Scan the chain of AVFilterLinks
for any resampling or format conversion/truncation that might cause
problems for the filter and issue warnings.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 62 +++
1 file
* Moves the filter context member out of state and into HDCDContext
* More useful information when an error is detected
* Gives a location near where the error was detected
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 34 +++---
1 file changed, 19 insertions
Used to attempt replication of some results from
http://www.audiomisc.co.uk/HFN/HDCD/Examined.html
May not be generally useful, defaults to off.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 26 ++
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a
The counter is now -1 if the code detect timer was never set,
and 0 if it was set but never expired.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index b860077
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 6f3eb1e..b860077 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -23,12 +23,12 @@
LIABILITY, WHETHER
both channels together.
* target_gain applied will be the last matching target_gain.
* The old single channel functions remain as an option. They can be
used by: -af hdcd=process_stereo=0.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 287 +++---
1
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 86 +++
1 file changed, 60 insertions(+), 26 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index aeb65eb..902827e 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter
Here is a set with the earlier patch split into smaller patches.
Added to the old version is hdcd_control_stereo() that logs
information about the mismatched target_gain so that problem samples
can be found more easily.
Also, a patch for warning about problems in the AVFilterLink chain.
Thanks f
> My suggestion is that you send your public key to
> Michael and commit yourself including adding yourself
> as maintainer of hdcd.
I don't know enough about what that would mean. I'm also not
an expert user of git.
>> One strange case is John Mellencamp - [1994] Mr. Happy Go Lucky
>> 06. Emotio
(), hdcd_sustain_reset().
* This is against master, so it also includes the changes in an earlier
patch set for HDCD detection, PE mode, cdt counter, and code comments.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 463 +-
1 file changed, 386
For review, a fix for #5727. Please test and comment.
I've made new versions of the processing functions that process
stereo channels together so that the rule regarding target_gain can
be implemented. The target_gain used for both channels will now be
the last valid target_gain that matched betwe
Adds a counter for when the "code detect timer" expired without
finding a valid packet.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 72560d
The Peak Extend feature could be enabled permanently or only
when needed. This is now reported.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 30 ++
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index
On Sat, Jul 23, 2016 at 5:41 PM, Michael Niedermayer
wrote:
>
> this looks like 2 unrelated changes
> one is improving documentation the other is changing ths detect code
> can you split these in 2 patches ?
Ok, I've submitted a new set.
___
ffmpeg-deve
Adds a counter for when the code detect timer expired without
finding a valid packet.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 72560db..7c9494d 100644
HDCD is now only considered detected if a valid packet
is active in both channels simultaneously.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 6f0db71..f68a105
Add some comments describing the fields in hdcd_state_t.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 34 +-
1 file changed, 21 insertions(+), 13 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index f68a105..72560db 100644
--- a
I've split an earlier patch as requested, and added a couple more to the set.
--
Burt
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
kets. I am
attempting this.
On Fri, Jul 22, 2016 at 1:49 AM, Carl Eugen Hoyos wrote:
> Burt P gmail.com> writes:
>
>> HDCD is only "detected" if a valid code is active in both
>> channels simultaneously
>
> Does your patch fix ticket #5727?
> You don't men
HDCD is only "detected" if a valid code is active in both
channels simultaneously, as described here:
https://hydrogenaud.io/index.php/topic,79427.msg900371.html#msg900371
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 34 --
1 file changed, 24
Signed-off-by: Burt P
---
tests/fate-run.sh | 3 ++-
tests/fate/filter-audio.mak | 12
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index c898695..5841b0c 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 73a0b93..48f87f6 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -1094,7 +1094,7 @@ static int filter_frame
Only call hdcd_update_info() when the control code changes
instead of every frame, so the counters are more meaningful.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 34 +-
1 file changed, 13 insertions(+), 21 deletions(-)
diff --git a/libavfilter/af_hdcd.c
Count and report when a code is signaled but fails to match a known pattern.
For example try Līve - Secret Samadhi.
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 73 ---
1 file changed, 58 insertions(+), 15 deletions(-)
diff --git a
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 4104935..8acbdda 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -1157,13 +1157,15 @@ static
This is the previous patch split into smaller patches, as requested.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Signed-off-by: Burt P
---
libavfilter/af_hdcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 89012eb..73a0b93 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -883,7 +883,7 @@ static void hdcd_reset
1 - 100 of 107 matches
Mail list logo