ultravideo / kvazaar

An open-source HEVC encoder
BSD 3-Clause "New" or "Revised" License
833 stars 180 forks source link

Problem installing Kvazar #365

Open Egea53 opened 1 year ago

Egea53 commented 1 year ago

I am trying to install and compile kvazaar but I am getting an error using ./autogen.sh command

image

And as you can see, the file does exist and is in the indicated directory

image

fador commented 1 year ago

Hi, The problem is that the script require linux line endings, and when checking out in windows it will use windows line endings. You can fix it by checking out the git repo in linux side. You can also run dos2unix *.am *.ac *.sh m4/* and it should fix it.

Egea53 commented 1 year ago

I read that the sudo apt-get install dos2unix command was required to work correctly over WSL and used it before the ./autogen.sh. But as soon as I can try what you say, thank you very much!

Egea53 commented 1 year ago

Hi, what you told me is correct. However, now I get an error with the ./configure command because it says that the compiler cannot create executables. As you can see in the image I have the build-essential installed. What could I do?

image

fador commented 1 year ago

Can you check the full error message from config.log

fador commented 1 year ago

..actually I think you need to convert more files to linux format dos2unix src/*.h src/*.c and then run ./autogen.sh again and the ./configure should work..

Egea53 commented 1 year ago

I get this in the last step

image

fador commented 1 year ago

That should be ok since it's not related to Kvazaar, you can try running kvazaar to see if it gives the usage information

Egea53 commented 1 year ago

Hello, sorry for writing again, I have more questions.

For a university project I would like to use the HAS technique (obtaining different resolutions of the same video) and the tile-based streaming technique (dividing the video into different tiles, specifically using a 3x3 division).

I have generated the videos in different resolutions with the ffmpeg tool and later I have used this tutorial to perform the tiled streaming (https://github.com/gpac/gpac/wiki/Tiled-Streaming) However, I have had problems with the reproduction of the content I don't know if the problem is that both techniques cannot be used or if I should carry out another process. I don't know if someone could help me solve this

fador commented 1 year ago

Hi, I think Nokia has some examples on how to do that using Kvazaar in the OMAF repo: https://github.com/nokiatech/omaf/wiki/Usage-instructions-for-OMAF-Creator---Viewport-dependent-mode Unfortunately we don't typically deal with the actual streaming like this, we mostly just build the video compression tools to enable that so my knowledge on the topic is a bit limited 😅