melnijir / Dicaffeine

Repository for things connected to Dicaffeine player/streamer.
https://dicaffeine.com
MIT License
101 stars 3 forks source link

Bad video resolution/filtering issue #72

Open deeplyrelaxedcat opened 3 months ago

deeplyrelaxedcat commented 3 months ago

Firstly, great thanks for developing this wonderful project! I would love to make more use of it in the near future. Currently, there is one issue the prevents me from doing so: it seems that I have experienced a serious quality issue with filtering/subsampling of the video output when running dicaffeine as decoder on a Pi5:

My setup is: Sources: NDI Test pattern generator, VLC with NDI plugin, and a professional Birddog Quad 4K NDI encoder fed with a 12G SDI signal from a Blackmagic Da Vinci Editing system. Receiver: Pi5 with newest bookworm, libraries/installation as recommended on the dicaffeine page, connected to a 2 years old 4K LG 27'' display (also to a ~10 years old Dell 1920x1200 display with similar results)

Issue: The generated video output does NOT use all pixels contained in the stream, i.e. it performs subsampling and possibly inadequate filtering, even if the whole chain is running in pure 3840x2160 mode. Diagonal lines are very rugged (only about every 4-6th pixel is reproduced and spread over about 4-6 pixels).

What I tried to find out:

Any help or hint what I could do/test is highly welcome.

BTW: I've also some ideas for some nice features (but would like to test and play a bit further before proposing something that is already in the pipeline ;-) )

test-pattern-3840x2160

screen-shot-dicaffeine-output