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.
show training videos just in my program
show training videos just in my program
Sorry for my bad english.
Re: show training videos just in my program
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
It is impossible to protect your content 100%, sorry
Re: show training videos just in my program
yea i know this is not 100%, i just want stop amateur peoples and avoid a simple Copy/Paste.
Sorry for my bad english.
Re: show training videos just in my program
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.
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
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.
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.
Sorry for my bad english.
Re: show training videos just in my program
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. 
Sorry for my bad english.
Re: show training videos just in my program
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?
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
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.
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: show training videos just in my program
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.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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: show training videos just in my program
The GreenForce Player uses a virtual filesystem and plays the movie from it. Maybe you can build your own virtual filesystem.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.
but
+1Julian 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.
Maybe the better way.
PureBASIC v5.41 LTS , Windows v8.1 x64
Forget UNICODE - Keep it BASIC !
Forget UNICODE - Keep it BASIC !

