Telecommunication-Telemedia-Assessment / bitstream_mode3_videoparser

Open source video parser for the ITU-T P.1204.3 model.
GNU Lesser General Public License v2.1
18 stars 6 forks source link

SMP folder missing in FFMPEG #5

Open Alex44300 opened 3 years ago

Alex44300 commented 3 years ago

Hi,

I encountered some difficulties trying to build the bitstream_mode3_videoparser on Windows. When I try to build the TestMain.sln file, libavcodec, libavformat and libavutil can't be loaded because the folder SMP is missing in ffmpeg.

Am I doing something wrong ?

Best regards

slhck commented 3 years ago

I am not sure how much I can help you, since I don't have a Windows build environment here, but have you seen the steps here?

https://github.com/Telecommunication-Telemedia-Assessment/bitstream_mode3_videoparser/blob/master/development.md

As far as I can see, those folders were never there during the development of this project, and weren't needed for building.

Does the build not succeed?

Alex44300 commented 3 years ago

Following this guide, when I have all the dependencies and I try to build the TestMain.sln file I have the following error : ![image](https://user-images.githubusercontent.com/59611187/110795108-c4890d00-8276-11eb-9c4d-46f1b2e0e99d.png = 250x250)

and in the TestMain.sln we can read: image

Best regards

slhck commented 3 years ago

I assume that these have been originally generated with https://github.com/ShiftMediaProject/FFVS-Project-Generator. It might be an option to run this generator again on the source files to create the respective Visual Studio project files.

As mentioned above, I don't have a Windows build environment here. Unfortunately the original maintainer of the Windows version is not directly reachable at the moment, but I can try to find out what's going on with these folders.

Alex44300 commented 3 years ago

Thank you for your answer, I appreciate ! In the end I have built everything with Ubuntu, it was less trouble. Now it's working well. My purpose was to run the metric p1204.

slhck commented 3 years ago

Okay, good to know!

(We're still trying to find those SMP files … so I'll keep this open for the time being.)

stg7 commented 3 years ago

well honestly, I would skip the windows support, because there are all external dependencies required for the build. Besides this, with the windows linux subsystem (WLS) it should be possible to build it under windows.

slhck commented 3 years ago

Considering the added complexity and the availability of Docker as well as WSL, yes, I think Windows support is more of a burden than a benefit here.

Alex44300 commented 3 years ago

Ok thank you very much for your help, I'm running p1204 with WLS indeed. Does that also make p1204 quality metric not "buildable" with Windows only ?

slhck commented 3 years ago

The metric itself should be portable – it's just Python. In order to get the actual features, you need the bitstream parser though. The p1204 code calls the bitstream parser and generates feature files. These can be extracted offline before, too, if needed.