Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

c++ - Python, How to make a Video File(Mpeg/avi etc) into an exe?

First of all, I really don't know the correct direction on where to search or what to search.

Going to the point of problems.

How can I make my Video File into an exe format?

I really need your help guys, this is new to me.

I Have this Video file that need to be converted into an exe file. That once I run it, it will play, and then add some condition to it that it can only be played once. If they try to play it again a message will appear that its expired.

Please help me, also if it's possible for other programming language to do this.

EDIT: I'M JUST TRYING TO DO SOMETHING ABOUT PIRACY!!! WE ARE AN INDEPENDENT SHORT MOVIE MAKER.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You can't make a video file into an executable.

You can write a video player in Python which implements the functionality you desire and then use something like py2exe to make it into an executable, but that would involve writing a video player in Python.

There is no programming language that will make a video into an executable file.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...