CompressAI icon indicating copy to clipboard operation
CompressAI copied to clipboard

Help: VTM Usage Issue

Open yifeipet opened this issue 3 years ago • 1 comments

I am trying to use VTM codec to encode an JPEG image and decode it. I am not very sure about the "-b" and "-c" arguments so I got errors. I use Colab to test the codes. https://colab.research.google.com/drive/1lxPfasLZnMwfd8GaO4y5eiC6aeAYvxca?usp=sharing I created one image folder under the compressai folder and uploaded one JPEG image into the image folder. I also created a VTM_image folder and I need to save the compressed file and the decoded image.

I have a big difficulty to figure out how to solve the errors. Can you see the codes and help me with the issues? Thank you!

I got to know I need to download VTM software and then use the compressai codes. I will try to test it. Thank you!

yifeipet avatar Sep 21 '22 21:09 yifeipet

Yes, please clone and build the software from https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM and then provide the path to EncoderAppStatic/DecoderAppStatic in your compressai.utils.bench command line

fracape avatar Sep 21 '22 23:09 fracape