rsny — 2014-02-07T23:36:24-05:00 — #1
Hi, I have searched but not yet come across any real solution...I've got a page on one of my sites where I'd like to sell some of my own music via mp3 download. The download part is just fine and there's no problem with actually selling the files. But since they're music files, I really wanted to have a streaming version available so that people can hear the song before they buy it.
Unfortunately, I can't figure out how to offer a preview without allowing folks to just view the source code, follow the link directly to the file and download it from there. Locking/password protecting the directory doesn't work, since people are then prompted for login info when they click the play button.
It seems like a contradiction so maybe it's just not doable, but is there a way to allow the link to be used on the site (ie. call up the URL to play there on the page) but not allow it to be downloaded if someone tries to access the full path in their own browser? Or is there a way to mask the link being used? I've seen this question around a lot but I haven't seen a useable answer yet. The alternative would be to upload a short clip of the song for preview purposes but that's quite a bit of extra work and I was hoping to allow visitors to hear the whole song online if they wanted to.
Any suggestions? Thanks!
eastcoast — 2014-02-17T18:54:10-05:00 — #2
Most online music download shops I'm familiar with have a preview clip that doesn't include the entire track, and is also encoded at a fairly low bitrate so the quality is compromised to a certain extent. You can automate batch conversion of full quality clips to preview clips using ffmpeg or sox or similar utility.
vectorialpx — 2014-02-20T09:18:40-05:00 — #3
Another solution is to add a "watermark" (as Envato does) so, every [x] seconds add over the original sound a voice like "Copyrighted by rsny".
This will make the sound unusable.
Every resource that you give to the user, can be downloaded.
If it gets into the browser, the user can download it (with tools or from the temp directory).