It can't be compiled
Closed this issue · 7 comments
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.
@esteban-armas,
What exactly is your problem?
Can you share the screenshot of compile output?
@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.
@chelsell, any H264 encoded stream should be fine for this tool. Hope that answers your query.
@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.
I am closing this thread.
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.