News for hackers. Stuff that matters.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by ozim on Saturday May 01, 2021 @07:31AM (#27005389)
There are disputes over "white noise" videos so it is already as bad as it gets.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by teachingassist on Saturday May 01, 2021 @07:39AM (#27005436)
Given that white noise is random, a recorded copy of white noise is its own perfect watermark.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by pierrec on Saturday May 01, 2021 @10:56AM (#27006818)
If you're comparing sample-for-sample, maybe. But that's not what is performed by music identification algorithms - it would be both slow (to the point of being unusable) and inaccurate (because of re-encoding, etc). Instead they rely on different kinds of dimensionality reduction that match the way we perceive music, so they only compare smaller amounts of data to get more perceptually relevant matches. The Shazam fingerprinting algorithm is the best known but there are others.

So if you submit white noise to a copyright database, it could match different white noise recordings.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by ageitgey on Saturday May 01, 2021 @12:16PM (#27007470)
Even if they were the case, this further shows how limited and dumb (i.e. not 'smart') YouTube's copyright voilation detection system is.

You (probably) can't copyright white noise because US copyright requires authorship. So in the same way that you can't copyright a phonebook's alphabetical list of numbers, you can't copyright random numbers rendered as sound, unless you did something else unique to it to exert authorship. It's just not something protected by copyright law. So even copying someone else's exact white noise sample is probably just fine.

The problem is that YouTube's system can only apply simple content matching rules and it counts any sufficiently long content match as a violation with no consideration of the work or context of use. Thats not how copyright law works. Copyright is a complicated system with all sorts of issues like fair use, derivative works, public domain, and works that don't qualify for protection. It's not a database query.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by dredmorbius on Saturday May 01, 2021 @09:12AM (#27006031)
Depends on how lossy the compression is. Your watermark becomes compression artefacts instead.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by cma on Saturday May 01, 2021 @10:22AM (#27006530)
Most audio codecs by now use perceptual noise substitution, which potentially substitutes in identical noise (I think it just EQs it?).
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by DreamScatter on Saturday May 01, 2021 @10:44AM (#27006730)
no, the mp3 codec actually deletes humanly inaudible portions of the frequency spectrum to reduce storage, this data isn't recoverd or replaced or referred when played back again, it's lost information. what is removed is based on human perception limits for audio
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by IshKebab on Saturday May 01, 2021 @12:07PM (#27007383)
He is referring to modern codecs, not MP3. MP3 isn't widely used anymore.

Modern codecs don't encode noise - they remove it during decoding and then add back artificial "comfort noise" when decoding, e.g. for film grain or background noise in voice calls.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by DreamScatter on Saturday May 01, 2021 @05:37PM (#27010093)
You haven't named any lossy stream codecs that do restore white noise, so i will not consider you a reliable source of info.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by cma on Saturday May 01, 2021 @10:25PM (#27011851)
> Another notable addition in this version of the AAC standard is Perceptual Noise Substitution (PNS). In that regard, the AAC profiles (AAC-LC, AAC Main and AAC-SSR profiles) are combined with perceptual noise substitution and are defined in the MPEG-4 audio standard as Audio Object Types.

https://en.wikipedia.org/wiki/Advanced_Audio_Coding

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by orestarod on Saturday May 01, 2021 @12:10PM (#27007422)
Got a source for the current usage of MP3?
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by chrisseaton on Saturday May 01, 2021 @03:24PM (#27009050)
What services do you know of that use MP3?
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by dredmorbius on Saturday May 01, 2021 @06:56PM (#27010650)
Virtually every podcast ever.

YouTube itself seems to rely more on webm for audio. That seems to be a container for Opus or Vorbis formats.

Vorbis and Opus themselves are lossy encoders (Ogg Vorbis).

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by IshKebab on Monday May 03, 2021 @03:58AM (#27022653)
Podcasts are pretty niche. Almost all codec use these days is from streaming services or video/phone calls - YouTube, Spotify, WhatsApp, etc. None of those use MP3.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by dredmorbius on Monday May 03, 2021 @08:20PM (#27032621)
What codecs do those applications use?

How do they preserve or modify white noise?

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by chrisseaton on Saturday May 01, 2021 @07:14PM (#27010808)
> Virtually every podcast ever.

Apple Podcasts are AAC. Spotify are Ogg Vorbis. That probably covers 90% of the market right there.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by dredmorbius on Sunday May 02, 2021 @01:02AM (#27012493)
The original question was whether or not audio could be fingerprinted from white noise, or if compression would obscure that fingerprint. The original context was YouTube videos specifically.

Sufficient to support the latter assertion was that lossy compression is frequently used.

YouTube's webm does in fact use lossy compression as noted. MP3 is, I assert, still significantly used in multiple contexts, including many podcast sites. I haven't specifically surveyed those, and don't use Apple Podcasts myself (never bought into the ecosystem, though as it happens, this specific response is coming from a MacOS system). I do make heavy use of tools such as youtube-dl and mpv, and find that those do in fact frequently find and extract mp3 audio from various sources, including podcasts and IIRC Soundcloud.

Verification is as simple as:

    youtube-dl -F <URL>
The '-F' flag will list available downloadable formats.

E.g.:

   $ youtube-dl -F 'https://soundcloud.com/danyork/tdyr-362-thoughts-on-wordpress'
   [soundcloud] danyork/tdyr-362-thoughts-on-wordpress: Downloading info JSON
   [soundcloud] None: Downloading webpage
   [soundcloud] None: Downloading webpage
   [soundcloud] danyork/tdyr-362-thoughts-on-wordpress: Downloading info JSON
   [soundcloud] 637919466: Downloading JSON metadata
   [soundcloud] 637919466: Downloading JSON metadata
   [soundcloud] 637919466: Downloading JSON metadata
   [info] Available formats for 637919466:
   format code   extension  resolution note
   hls_opus_64   opus       audio only audio@ 64k
   hls_mp3_128   mp3        audio only audio@128k
   http_mp3_128  mp3        audio only audio@128k (best)

Pedants are my fourth favourite people, but only during Lent on leap years, prior to Vespers, during a blue moon.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by cma on Sunday May 02, 2021 @04:59PM (#27018952)
Re: opus

'Opus (audio format) - Wikipediahttps://en.wikipedia.org › wiki › Opus_(audio_format) CELT includes both spectral replication and noise generation, similar to AAC's SBR and PNS'

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by dredmorbius on Sunday May 02, 2021 @06:11PM (#27019536)
Which would mean that at least some of the white noise signature of an opus-encoded audio track would be ... a compression or encoding artefact.

Does opus have a notion of bitrates similar to mp3 or ogg vorbis? If so, the white noise would vary among bitrates.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by ozim on Saturday May 01, 2021 @09:48AM (#27006283)
If you take 30 seconds of white noise and look for it in 2h long generated output I expect that you can find similar 30 seconds in whole 2h.

Copyright algos are not looking at the whole video, they are searching for pieces of songs.

Because if you use 30sec of someones song you have to pay up and youtube is enforcing that.

Now if you will take another 2h video cut it into pieces and start searching for similar patterns in other 2h video I expect you will find some matching ones.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by Guest42 on Saturday May 01, 2021 @08:57AM (#27005928)
Does it depend on seeding that would eventually have tendencies for replication? Or could that be pushed out until practically forever?
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by someguyorother on Saturday May 01, 2021 @09:18AM (#27006065)
If the white noise is based on a random number generator, the pattern would restart after a full cycle.

If the random number generator's period is 2^32 and you use one integer per sample, then at 44 kHz, you would have about a million seconds, or twelve days, before the RNG has gone through a full period.

Most RNGs have periods much higher than this. xorshift128 has a period of 2^128-1 and the Mersenne Twister's period is 2^19937-1.

So you could push it out until practically forever.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by nitrogen on Saturday May 01, 2021 @01:43PM (#27008193)
So you could push it out until practically forever.

But, there will still be repeated sections.

Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by aranchelk on Saturday May 01, 2021 @04:26PM (#27009524)
Knowing nothing of the YouTube algorithm, I’d still wager it’ll take you longer than the lifetime of the copyright to produce conflicting noise works.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by Someone on Saturday May 01, 2021 @03:00PM (#27008846)
What would be worse: whoever holding the rights to John Cage’s “4’33” filing complaints against movies without background music, claiming that they have copyrighted background music.
Re:Piano teacher gets copyright claim for Beethoven’s Moonli... by banana_giraffe on Saturday May 01, 2021 @12:52PM (#27007757)
I don't think it's hit YouTube, but there are people and/or bots enforcing a copyright on silence:

https://www.youredm.com/2015/11/28/soundcloud-finally-goes-t...