fraunhoferhhi / vvdec

VVdeC, the Fraunhofer Versatile Video Decoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
465 stars 97 forks source link

multithreading stuck #117

Closed whhwhhwhh closed 2 years ago

whhwhhwhh commented 2 years ago

When I use vvdec to decode my bitstream on the linux server, if I don't add the “-t” parameter , it will get stuck. But if I set -t 64 ,it run successfully.

adamjw24 commented 2 years ago

How many cores does your server have?

But jokes aside, there might be a bug somewhere if the number of threads is too high, and it is always per default set to the number of available threads. We will probably introduce a cap on the number of default threads to something we know works, which would resolve your problem. Thanks for reporting. Might take until IBC to fix.

adamjw24 commented 2 years ago

Just to make sure. Does the app report the header? (i.e. the line with vvdec name, version, compiler, cpu flags and threads)

How many used threads are reported? If the line is not visible, the problem would be with the detection of the number of threads, which is a different problem.

K-os commented 2 years ago

@whhwhhwhh can you please test with the current master revision if the problem is fixed for you?

whhwhhwhh commented 2 years ago

@whhwhhwhh can you please test with the current master revision if the problem is fixed for you? yes,it fixed. Thank you !