Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It can't be compiled #2

Closed
esteban-armas opened this issue May 25, 2018 · 7 comments
Closed

It can't be compiled #2

esteban-armas opened this issue May 25, 2018 · 7 comments

Comments

@esteban-armas
Copy link

Hi!
I'm trying to compile and use your tool but something is wrong with it.
There is a lot of wrongs #includes and when you fix that problem and try to compile the script says that can't find all the other needed libraries.
There is a new version of your tool?
Thanks in advance.

@jishnujayakumar
Copy link
Owner

@esteban-armas,
What exactly is your problem?
Can you share the screenshot of compile output?

@chelsell
Copy link

chelsell commented Oct 21, 2018

@jishnujayakumar I don't know about the original user's problem, but I was seeing this error while trying to compile:

extract_mvs.c:287:5: error: void function 'extract_motion_vectors' should not return a value [-Wreturn-type]
    return ret < 0;
    ^      ~~~~~~~

I had to comment that line out and change -l json to -l json-c to get it to compile, but it still didn't seem to work. However, I realized that I'm not actually sure which MPEG you mean by your description--if you just meant MPEG-1, then of course it's no mystery I can't get this to read an HEVC encoded video.

@jishnujayakumar
Copy link
Owner

jishnujayakumar commented Oct 21, 2018

@chelsell, any H264 encoded stream should be fine for this tool. Hope that answers your query.

@jishnujayakumar
Copy link
Owner

jishnujayakumar commented Oct 21, 2018

@esteban-armas and @chelsell , I would like you to know that I have updated the README. Please follow the instructions and see whether it is compiling on your system or not. If any problems arises, feel free to drop a message. The output should look like the following. Good luck.
screenshot from 2018-10-21 11-35-26

@jishnujayakumar
Copy link
Owner

I am closing this thread.

@jishnujayakumar
Copy link
Owner

jishnujayakumar commented Feb 17, 2020 via email

@jhallard
Copy link

jhallard commented Apr 5, 2020

Why are you returning a value from a void function? I'm also getting build errors on extract_mv.c because of the return line.

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

No branches or pull requests

4 participants