Closed jaykim305 closed 2 years ago
What are platform are you building on?
I am using Ubuntu 18.04 with Azure Kinect DK. I know that the recommended Ubuntu is 20.04, but I managed to compile and run the binaries on 18.04 as well. Additionally, the pre-built ffmpeg av library provided in your CMake file below was not enabled with libx264 and I couldn't use the libx264 codec initially. https://github.com/moetsi/Sensor-Stream-Pipe/blob/297581ff7b050bc4e97c1861c1f3e4f0955a24b9/CMakeLists.txt#L81 I recompiled ffmpeg enabled with libx264 manually and now it works but cannot reproduce the result. My guess is that I'm missing some encoding parameters.
@jaykim305 great debugging there!
I think you are likely correct @jaykim305 let me check our records if I have the .yaml we used.
Sorry @jaykim305 unfortunately we do not have the .yaml file we used, sorry for the let down :(
@jaykim305
I believe I know the issue
I believe we have switched the project to use open264 rather than licensed version. https://github.com/AkillesAILimited/openh264
I believe this different "open" version performs differently.
Yes, I recall that the provided ffmpeg is built with disabling GPL and enabled with openh264 instead of libx264. I will switch to open264 and try it again. Thank you for the information!
Hi, thank you for the great project. I want to reproduce the result of ssp_tester as presented here, and I tried testing with libx264 for color encoding as documented here. But the compression ratio and bitrate are poor compared to your result.
Could you provide the configuration file (especially what codec and options you used) and video to make the result? Here are my config file and the result.
P.S The libx264 doesn't seem to meet the target bitrate I specified in the config (2Mbps). I additionally set the codec parameters in the
libav_encoder.cc
as below: Is there any additional option that I have to consider ?