Page 1 of 1
show training videos just in my program
Posted: Mon May 18, 2015 12:46 pm
by Peyman
hi,
I create some training videos and a purebasic program to show them, but i want to just my program can show them not any other players or programs.
this is necessary to stop people from stealing my videos.
anybody have any idea
THX.
Re: show training videos just in my program
Posted: Mon May 18, 2015 1:14 pm
by Julian
No matter how much effort you put into protecting you video's, someone can always screen+audio capture the whole desktop/application and extract your video.
It is impossible to protect your content 100%, sorry
Re: show training videos just in my program
Posted: Mon May 18, 2015 1:21 pm
by Peyman
yea i know this is not 100%, i just want stop amateur peoples and avoid a simple Copy/Paste.
Re: show training videos just in my program
Posted: Mon May 18, 2015 1:40 pm
by Julian
Well the easiest way would be to put a custom header on the front of the file that would stop the file from being opened in any standard media application.
When your program loads the file to play it, remove the header, save it out to a temporary file, load it using PB's media functions, then delete the temporary file when its finished.
Re: show training videos just in my program
Posted: Mon May 18, 2015 1:59 pm
by Peyman
yea this is the first idea that i think about it in these scenario :
1 - Corrupt all of my video like you said
2 - when program want play it fix the corruption and play it
3 - when playing is finished, program corrupt that video again.
but the problem is while video is playing it can be copied, and as like you said this is not logical to copy video to tmp and play it.
Re: show training videos just in my program
Posted: Mon May 18, 2015 2:05 pm
by Peyman
i really like the DRM of GreenForce Player that created in purebasic, with that you can protect videos with password and then play them with the same password without any decryption in harddrive, but @RocketRider didnt post anything about it.

Re: show training videos just in my program
Posted: Mon May 18, 2015 2:19 pm
by Julian
I believe purebasic uses Windows MCI which can only load from file, so you will need to use a 3rd party library for this if you don't want to use a temporary file.
If someone is going to know how to hunt down the temporary file to copy it while playing, they surely will be able to download a trial version of fraps and get it that way?
Re: show training videos just in my program
Posted: Mon May 18, 2015 2:21 pm
by Julian
You would probably be better off just putting a watermark/logo on the video or a roll-in mentioning the software/company than going to lots of effort on security.
Re: show training videos just in my program
Posted: Tue May 19, 2015 12:41 am
by IdeasVacuum
No matter how much effort you put into protecting you video's, someone can always screen+audio capture the whole desktop/application and extract your video.
You could have a simple thread that checks (sniffs) for all running applications - if an application is on your list as being a screen recorder, you could halt the play-back in your app and display a polite message about your video being copyright. Of course that won't prevent a camera from being used but it will stop all but the most determined people.
Re: show training videos just in my program
Posted: Tue May 19, 2015 12:39 pm
by marroh
Peyman wrote:i really like the DRM of GreenForce Player that created in purebasic, with that you can protect videos with password and then play them with the same password without any decryption in harddrive, but @RocketRider didnt post anything about it.

The GreenForce Player uses a virtual filesystem and plays the movie from it. Maybe you can build your own virtual filesystem.
but
Julian wrote:You would probably be better off just putting a watermark/logo on the video or a roll-in mentioning the software/company than going to lots of effort on security.
+1
Maybe the better way.