Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

How i just run this a executable #30

Closed
JonDev2023 opened this issue Feb 23, 2023 · 15 comments
Closed

How i just run this a executable #30

JonDev2023 opened this issue Feb 23, 2023 · 15 comments

Comments

@JonDev2023
Copy link

No description provided.

@53142
Copy link

53142 commented Feb 23, 2023

You have to manually compile it for Windows. There is a Linux executable.

@achieveordie
Copy link

@JonDev2023 If you're on Windows then you need to build it from the source, it says in the README.md:

Note that the binary is not an exe file, it will not work on windows, try following the first method instead. I might add an .exe if this somehow gets popular

The steps are also provided:

If you want to or already have went through the hassle of installing Rust, you can git clone this repository, then cargo build --release. Cd to /target/release directory and run the program ./isg_4real.

Pretty simple but memory intensive as per the author.

@53142
Copy link

53142 commented Feb 23, 2023

There is an exe in this issue: #12

Note: I did not test this exe. Please be careful when downloading executable files to prevent your computer from getting a virus.

@Shyvadi
Copy link

Shyvadi commented Feb 23, 2023

Exe file gets this
image

@Shyvadi
Copy link

Shyvadi commented Feb 23, 2023

Resolved the issue by putting it directly in the opencv folder with the missing file (I suppose adding to path could work too)
image
image

@Shyvadi
Copy link

Shyvadi commented Feb 23, 2023

Having another issue,
image

@f1h0
Copy link

f1h0 commented Feb 23, 2023

Yes, I also think that you need an exe file

@SpicyRicecaker
Copy link

SpicyRicecaker commented Feb 23, 2023

Having another issue, image

I'm getting this exact same error, but I've built the executable from source on vc16, with the 4.7 opencv official windows binary distribution from https://opencv.org/releases/.
image

The output file is an empty .avi file.

The issue seems to be something to do with the opencv/ffmpeg/avi api, since I tried replacing instances of .avi with .mp4 in the source code and ended up with a playable file, but the mp4 compression algorithm is so aggressive that the file is basically un-decodable.

@Leppa1
Copy link

Leppa1 commented Feb 23, 2023

Having another issue, image

I'm getting this exact same error, but I've built the executable from source on vc16, with the 4.7 opencv official windows binary distribution from https://opencv.org/releases/. image

The output file is an empty .avi file.

The issue seems to be something to do with the opencv/ffmpeg/avi api, since I tried replacing instances of .avi with .mp4 in the source code and did end up with a working file.

Same issue here. Which specific files did you change from avi to mp4? Having trouble with empty .avi file here myself.

@MeRahulAhire
Copy link

Resolved the issue by putting it directly in the opencv folder with the missing file (I suppose adding to path could work too)

Where the path @Shyvadi?

@53142
Copy link

53142 commented Feb 23, 2023

Search for "environment variables" in windows search. Then click “Edit the system environment variables.”

Might be helpful: https://www.maketecheasier.com/what-is-the-windows-path/

@MeRahulAhire
Copy link

I actually wanted to know that where all the opencv .exe are located?

@53142
Copy link

53142 commented Feb 23, 2023

This should be helpful: twistedfall/opencv-rust#118 (comment)

@lost22git
Copy link

@Shyvadi
Copy link

Shyvadi commented Feb 23, 2023

Having another issue, image

I'm getting this exact same error, but I've built the executable from source on vc16, with the 4.7 opencv official windows binary distribution from https://opencv.org/releases/. image

The output file is an empty .avi file.

The issue seems to be something to do with the opencv/ffmpeg/avi api, since I tried replacing instances of .avi with .mp4 in the source code and did end up with a working file.

I never attempted to build the .exe myself since I was having problems. Can you post your mp4 version?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants