Trickplay and VPU on Rockchip RK3576 - JPEG output is faulty - how to go about? #15668
-
|
Hello. I got me a new NAS a UGREEN DH2300, with a RK3576. I use a Docker Container and successfully enabled Hardware Decoding and Encoding. Now I want to use also Hardware Decoding for Trickplay. It works on the VPU. But the output Files JPEGS are digitaly wrong. So I got me some Consoles and observed a Jellyfin Log-Output for the commands that are related to Image-Extraction. Edited the Command to change destination folder of the resulting Images. I can confirm that the Files are faulty in regards of the Content, not the File on the Filesystem. Then I tried to change just one Parameter and got the propper Content inside the JPEG-Files. This gives me the correct results/Filecontents. -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_rkrga=w=iw/7.9:h=ih/7.9:format=bgra:force_original_aspect_ratio=increase:force_divisible_by=4:afbc=1,vpp_rkrga=w=320:h=180:format=nv12" \This results in wrong File-Content. (Assumption the Tonemapping is not working on this SOC) -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_rkrga=w=iw/7.9:h=ih/7.9:format=bgra:force_original_aspect_ratio=increase:force_divisible_by=4:afbc=1,vpp_rkrga=w=320:h=180:format=bgra" \Is it possible to set this somewhere in Jellyfin? What I found that Jellyfin had such possibilty, but switched it of (for good reasons). How can I reach out to the Developers, but not providing a Logfile, in the Issues? Any help regards sending a Dev this Information or how I can do a workaround? Thank You in advance and thank You for reading this. Greetings from Germany and have a Nice Day. EDIT: OK, I did more testing and made the discovery that the Parameter that I referred is not the one that is causing the issue. It seems the last So for now the Value |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
The root cause is that the RK3576 removed support for RGB format input from the JPEG encoder. I planned to adjust the filter to fix this, but I forgot because there were too few users. |
Beta Was this translation helpful? Give feedback.
-
|
You can give #15670 a try. |
Beta Was this translation helpful? Give feedback.
You can give #15670 a try.