Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garbled pixels displayed on right edge of non-cached poster thumbnail #566

Open
SamcorNZ opened this issue Mar 11, 2017 · 0 comments
Open

Comments

@SamcorNZ
Copy link

SamcorNZ commented Mar 11, 2017

Issue tested on Raspberry Pi 3 Model B
Serial number of Raspberry Pi: 0000000090145a53
Type of SD card: 16GB Micro SD card (https://www.pbtech.co.nz/product/SEVRBP0048/Raspberry-Pi-TRANSCEND-16GB-MicroSD-Card-Preloaded).
Internet connection type: Ethernet
Version of Rasplex: 1.7.1.137-b604995c
Issue tested and reproducible on default Skin and Plex Black Edition.
Issue not reproducible on OpenPHT running on Windows PC.
Log file: http://pastebin.com/zM3xzvdm
Version of Plex Server: 1.3.4.3285
Type of plex server: QNAP TS-253 Pro NAS

Issue Description:
Initial display of new non-cached movie poster thumbnail on 'On Deck' or 'Recently Added' Home screen will more often than not appear with a garbled pixel edge on the right hand side. After thumbnail has been cached and is being displayed from the cache the garbled edge is gone. The width of the thumbnail provided by the Plex server appears to be a factor in the garbled edge appearing. I so far have been able to reproduce the issue with thumbnails that have dimensions of 213x320.

Reviewing the debug log appears to show that OMX.broadcom.resize is used when displaying the image initially provided by the Plex server but then is not used when displaying the cached version of the same file.

See forum post for full details of my troubleshooting steps along with photos of the issue: https://forums.plex.tv/discussion/260355/temporary-vertical-line-appearing-on-edge-of-movie-posters

Relevant sections of log file (Full log file here http://pastebin.com/zM3xzvdm):

From debug log, initial display of affected image whereby right edge has discoloured/garbled pixels:
13:08:45 T:1801450464 DEBUG: PlexFile::GetHeaderList Set Client-Profile-Extra: add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=*&audioCodec=dca,ac3)
13:08:45 T:1801450464 DEBUG: CPlexFile::BuildHTTPURL translated 'plexserver://ddf38ebe70ad37526ef3999af6e7933c0f733355/photo/:/transcode?height=320&url=http%3a%2f%2f127.0.0.1%3a32400%2flibrary%2fmetadata%2f8063%2fthumb%2f1489190916&width=320' to 'http://10.96.144.103:32400/photo/:/transcode?height=320&url=http://127.0.0.1:32400/library/metadata/8063/thumb/1489190916&width=320&X-Plex-Token=SECRETSTUFF'
13:08:45 T:1801450464 DEBUG: CurlFile::Open(0x6b5fec30) http://10.96.144.103:32400/photo/:/transcode?height=320&url=http://127.0.0.1:32400/library/metadata/8063/thumb/1489190916&width=320&X-Plex-Token=SECRETSTUFF
13:08:45 T:1801450464 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x70a952c8
13:08:45 T:1801450464 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61 m_handle 0x70a24698
13:08:45 T:1801450464 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(81920), nBufferAlignmen(16)
13:08:45 T:1801450464 DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.resize) - port(61), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(286720) nBufferAlignmen(16)
13:08:45 T:1801450464 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x70a952c8
13:08:45 T:1801450464 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.resize handle 0x70a24698

From debug log when displaying the same image but this time from the local cache whereby the garbled pixel edge is gone:
13:24:21 T:1801450464 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x70d05e18
13:24:21 T:1801450464 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(81920), nBufferAlignmen(16)
13:24:21 T:1801450464 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x70d28ea8
13:24:21 T:1801450464 DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)
13:24:21 T:1801450464 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x70d05e18
13:24:21 T:1801450464 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.egl_render handle 0x70d28ea8
13:24:21 T:1801450464 DEBUG: DecodeJpegToTexture: decoded special://masterprofile/Thumbnails/a/a3a3bb07.jpg 213x320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant