mp3 - Hide text inside audio file with PHP -


is possible add hidden string audio file (mp3, mid) via php?

i have online music store , of customers resell songs, , want hide e-mail address in audio file identify them.

audio files

for real audio files (not midi, not audio file), best method use audio watermarking. there many algorithms , tools (such awt) can executed php script handle this. work modifying audio data in way cannot perceived can decoded.

most of these algorithms can encode watermark in such way survive re-encoding other codecs. critical difference asking for. if add id3 tag, tool remove that. in fact, it's tag removed tools read , re-write id3 tags. information embedded in actual audio however, survive. if decodes file , re-encodes codec, depending on watermarking algorithm, watermark still survive. if streams within stream, watermark can survive.

and want hide e-mail address in audio file identify them

rather embedding identifying information, should store id or hash of id keep in own database. might better if generate new id each download should need find user re-sold files, can prove when downloaded , ip address, along other information wish keep in database.

midi files

for midi, have embed id in metadata of file. can defeated, , may not worth time @ all.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -