Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > General > Audio encoding

Thread Tools Search this Thread Display Modes
Old 7th April 2016, 18:31   #1  |  Link
Registered User
Join Date: Jun 2015
Posts: 1
how to implent watermark into mp3?

Hi there,

im looking for a way to implent watermarks into audio(mp3) files.

I thought of just generating a voice speaking some code and mix it into the audio file.
it shall not disturb the audio, so i thought about stretching and/or phase-shifting it to some frequency humans cannot hear.

Would that work and wich (commandline)tools can be used to do this scriptable?
i would prefer to run the script on a LAMP-Server...

Or maybe there is another way?

greetings :-)
yasuo is offline   Reply With Quote
Old 7th April 2016, 23:22   #2  |  Link
Formerly davidh*****
wonkey_monkey's Avatar
Join Date: Jan 2004
Posts: 2,467
it shall not disturb the audio, so i thought about stretching and/or phase-shifting it to some frequency humans cannot hear.
Well, the whole idea behind mp3 is to remove things humans can't hear, so just that may not work so well. Data can be embedded in such a way that it will survive all but the harshest of re-encodings, but from what little I know of it, it's pretty complicated stuff.
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 8th April 2016, 03:47   #3  |  Link
Retried Guesser
raffriff42's Avatar
Join Date: Jun 2012
Posts: 1,373
You can manipulate the least-significant bits to insert a hidden watermark, but this is easily defeated by ANY audio processing. https://www.google.com/search?q=HIDI...+STEGANOGRAPHY
raffriff42 is offline   Reply With Quote
Old 9th April 2016, 12:01   #4  |  Link
Software Developer
LoRd_MuldeR's Avatar
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,245
If you want a "real" watermark, not just some additional "meta data" that is easily removed, then that's not trivial to do, indeed. You can't simply "mix" your watermark into the original signal. Instead, you have to manipulate certain "properties" of the audio signal, so that you will be able to distinguish "marked" from "unmarked" audio. And you need (at least) two distinct "marked" states, if you want to embed an actual (binary) message, instead of just being able to recognize whether a signal is "marked" or not. And, of course, this all needs to be done in a way that (A) doesn't impact audio quality too much, (B) survives the common attacks like MP3/AAC compression or analogue re-recording and (C) depends on a secret key.

There are commercial solutions available, but nothing Freeware or OpenSource that I'm aware of
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 9th April 2016 at 12:04.
LoRd_MuldeR is offline   Reply With Quote

mp3, phase, shift, watermark

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 00:43.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.