Ask Your Question
0

Is opened to exe always false

asked 2017-02-24 02:21:02 -0600

Edesak gravatar image

Hi there, i have a little problem. I have a program that gets from user path to the file(video file like *.avi *.flv *.MOV) after it he should open it and convert to hsv. Every think works fine in .py even when i use pyinstaller to export it in .exe i can run it on my computer ... But when i send it to friends they cant open the file. Like they start exe srt the right path and nothink happends. I try if he gets the right path. Yes he had right path to the file. Then i try print if he is opened and that was the problem it was always false when my friends try to open the file. And they had same video as i but i can run it and they cant. I think there is problem with dll file that helps opencv to open video files and in exe he forget or cant export. Am i right ? What is problem ? And how to fix it ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-24 02:44:32 -0600

berak gravatar image

make sure opencv_ffmpeg.dll (or the 64 bit version) is on your PATH or next to your exe.

edit flag offensive delete link more

Comments

doesnt help i entre: pyinstaller --onefile --path opencv_ffmpeg310_64.dll + folder where is my py and after that i get exe with my opencv_ffmpeg310_64.dll in the same folder and send it to friend ...doesnt work :/

Edesak gravatar imageEdesak ( 2017-02-24 10:38:44 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-24 02:21:02 -0600

Seen: 235 times

Last updated: Feb 24 '17