can i add code (C++, vb.net, C# or any other language) to a video so that if you play the video in pc it will execute that code? if it is doable, any link on how to do this? what to google, drm?
i'm just exploring for a programming project for educational purposes (nothing malicious like malware or virus).
+ Reply to Thread
Results 1 to 23 of 23
-
hacking the Net using typewriter :D
-
In theory I can't see why not.
I often add extra files to the root of DVDs with contact info and the like as well as cover art.
This I would expect you can add a folder for your software and autorun.inf (in root) and it should work.
HOWEVER I would avoid any of the .NET languages as you cannot be sure the target machine has the framework installed (bitter experience f trying to deploy software). If possible compile to native code or use something like VB6 where the runtime is small and can be included in the software folder.
Your problem is that not everyone runs insert notification so your code may not be run and it will certainly not run a non windows machine. It will (or should) also kill the autoplay of the DVD so you'll need to add that to your code if you don't want the user to be aware of your code being run.
M -
can i not embed any code or script in the video itself? like in a wmv?
hacking the Net using typewriter :D -
I believe d_unbeliever is referring to actual, executable program code that would run whenever you played a video file, like an .AVI. The answer is no, although there are some things with certain video containers that come close (but still not running executable program code). Besides, if such a thing was possible, the malware writers would already have exploited it left and right, rather than trying to get people to install their trojaned codecs.
Edit: Oh, you can probably embed code in the video, but you're generally not going to be able to get anything to act on it, just by playing it.If cameras add ten pounds, why would people want to eat them? -
i've been reading warnings from other forums that if you download a wmv or an avi your pc will get infected with a virus. is there any truth in this?
hacking the Net using typewriter :D -
what does Tools-> Options-> Security-> Content->" Run scripts command when present" in Windows Media Player do?
hacking the Net using typewriter :D -
It's possible, with an ASF/WMV. They can make a call to your default browser, to open a webpage, if I remember correctly. There could be malware on that page. Of course, that's not a guarantee it'll get past your browser and/or security software/antivirus/malware scanners.
If cameras add ten pounds, why would people want to eat them? -
Originally Posted by d_unbeliever
http://www.microsoft.com/windows/windowsmedia/player/9series/security.aspxIf cameras add ten pounds, why would people want to eat them? -
Originally Posted by Ai Haibarahacking the Net using typewriter :D
-
Are you sure you're not intending to do something bad, with this?
If cameras add ten pounds, why would people want to eat them? -
Simpler method is to use a shell program which contains the video internally.
-
It is executed by Windows Media Player, and would be be ignored by other players as simply junk data.
Read my blog here.
-
Video is data. Data is non-executable.
I would be very interested to hear what possible use there could be for this...except, of course, for the surreptitious delivery of an executable payload to an unsuspecting target. -
Originally Posted by Ai Haibarahacking the Net using typewriter :D
-
Originally Posted by Bjshacking the Net using typewriter :D
-
Originally Posted by guns1ingerhacking the Net using typewriter :D
-
Not saying you can include anything else in a Bink package, only that Bink is an example of what if being discussed. I suspect that to do this yourself you will have to write you own package to include the video player, the video, and anything else you need.
To date, the only time I have seen anything like this is for malware. I know you are saying this isn't what you are trying to do, but this site gets regular visits from people who have downloaded similar packages from p2p networks that always lead to malware.
Reputable coders simply avoid this type of packaging because it the sort of thing that causes trouble.Read my blog here.
-
here's what google displayed with video binding to exe. i want an educational programming project like this
http://www.softwarelode.com/25623/details-video-pc-binding-encryptor.html
Encrypt your video files to bind to user's computer,One Computer,One Password, You only need to encrypt files one time,Protect the distribution of your video files.
Support various types of video or audio files (e.g., wmv, avi, asf, mpg, rm, rmvb, mp4, flv, and vob) .
When a user wants to play an encrypted file, the encrypted file will pop up a dialog box to
request the user to enter a Playback Password. This dialog box will display the machine ID of the user's computer. The user can send his/her own machine ID to you, and you can create a Playback Password based on the user's machine ID. After that the user can use this Playback Password to play your file on his/her computer. Since the Playback Password is created based on the user's machine ID, the user will not be able to share the Playback Password with other users, the user will not be able to re-distribute your files.
it is just for learning purposes in programming. i think you can always decrypt this?
any similar software that you know of?hacking the Net using typewriter :D -
Camstudio is a free, and will happily capture the video and audio as it plays. After that it can be distributed to whoever wants it with no restrictions.
One of the many toys in my charge at work is a crappy online security system consisting of two IP cameras and some very expensive yet dodgy software (It goes something like this - the cameras are on the network, it records to a PC - it must be ITs problem). One of the biggest problems is that while it can store weeks of footage, and export good quality still images, it cannot export a segment of the video, only the entire stored video (weeks at a time). Rather than wait hours for it to churn out a video that I then have to edit down to a single instance, I use camstudio to capture the playback on the screen of just the incident I need. Simple and effective.
It would easily beat the system you propose.Read my blog here.
-
Originally Posted by guns1inger
just kiddin
it just an educational project anyway i know there is no way to protect video from being copied. any tutorial on how to go about this kind of project? any better software similar to this?i will also google it.hacking the Net using typewriter :D -
MakeInstantPlayer can embed a video of any format in an exe file (uses MPlayer)....(If this is what you are asking?)
Similar Threads
-
--
By MGadAllah in forum Video ConversionReplies: 1Last Post: 28th Jul 2011, 16:43 -
Adding 'syntex' highlighting or 'color text' to source code snips ?
By vhelp in forum FeedbackReplies: 4Last Post: 8th Jun 2009, 13:11 -
Adding a player? Durabrand LEDVD0701 region code
By grambax in forum DVD & Blu-ray PlayersReplies: 5Last Post: 18th Feb 2009, 11:31 -
PHP code used to generate code for Avysinth join mov and avi files
By lindylex in forum User guidesReplies: 0Last Post: 19th Sep 2008, 03:37 -
Womble MPEG Video Wizard - adding video files to dvd maker help?
By nightrider in forum Authoring (DVD)Replies: 3Last Post: 5th Mar 2008, 08:52