Kodi Community Forum

Full Version: NVIDIA SHIELD TV - Native video playback without upscaling for Kodi / SPMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I want to disable upscaling for video playback using Kodi or SPMC.

I found an workaround to set Kodi gui to 720p. Then my video content (720p, 1080p/i, 4K) looks to be played in native resolution. But i do not want to us Kodi gui in 720p because i can not get pictures in 4K and the gui is stuttering.

I found this pull request https://github.com/xbmc/xbmc/pull/13191
It looks that the possibility to change resolution options for video playback is integrated by kodi team.
If yes, which test / nightly build can i take for test?
Lrusak is preparing a generic whitelist approach. This is already in LibreELEC an can be tested.
But i can not run LibreELEC on the shield, right?
(2018-04-30, 11:34)mpiet Wrote: [ -> ]But i can not run LibreELEC on the shield, right?
 No. But the upcoming feature is platform agnostic, this is what I wanted to state, has nothing to do with the Shield. You can build the code and try it - it's free.
(2018-04-30, 12:38)fritsch Wrote: [ -> ]You can build the code and try it - it's free. 
Thanks for the offer, but i am not "strong" enough to do that... I am a system-tester and my programming skills ending at copy-pasteing a ADB command line.
But if its not too much work for you, i would please you create a test build that i can test on my shield. You could put it to the test builds as you done it for the Sony AndroidTVs (shitty builds for issue Link).
Building: http://jenkins.kodi.tv/job/BuildMulti-Android/50/ - will end on the mirror when finished. I built for 64 and 32 bit arm
Building is finished. Do i have to wait over night for the apk? I can not find and download-able files on jenkins.
It's already included in the nightly. Make sure to check the "whitelist" setting.
What do you mean with whitelist settings? Default settings?
Settings meant for the video output device. White listing: user selected and thus accepted resolutions + refresh rate for video output.
I tested the resolution switch options. It works, but not for all Videos, for example it do not work for 720 25Hz and for1080i 50Hz.
And the more bad issue is, that the 720p videos looks not good comparing when they were upscaled by Kodi. When they are native played, they looks like sharp-drawn with image-noise. It seems, that the TV upsacaling do not be active. I tested also MrMC with the same issue. Do it have anything to do with global shield or TV input settings? I connected the shield directly to the TV, but it did not help.
1080i50 will be played at 1080 50 hz. 720p25 will be played at 720p50 if available. Your Debug Log will tell.
I uploaded a logfile here: Link
1. Video did not switch resolution (720 with 25Hz)
2. Resolution switch ok but not good picture quality
3. Own recording 1440x1080i, playback not possible
4. Own recording 1920x1080 with 50Hz, playback not possible
1. your file was 1280x720 with 24 p in the beginning which switches okay
2. you don't have a 50hz / 25 hz mode in 1280. Therefore the desktop resolution is chosen.

works as implemented. 3. is unrelated.

4.
Quote:22:34:47.082 T:139193205840   ERROR: Read - Error( -1, 103, Software caused connection abort )
22:34:47.083 T:139193205840   DEBUG: Open - av_find_stream_info finished
22:34:47.083 T:139193205840    INFO: ffmpeg[20688FC450]: Input #0, mpegts, from 'smb://192.168.1.113/Multimedia/Video/Aufnahmen/Test-Video-1080p50.m2ts':
22:34:47.083 T:139193205840    INFO: ffmpeg[20688FC450]:   Duration: 00:01:10.88, start: 4199.981000, bitrate: 20907 kb/s
22:34:47.084 T:139193205840    INFO: ffmpeg[20688FC450]:   Program 1
22:34:47.084 T:139193205840    INFO: ffmpeg[20688FC450]:     Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
22:34:47.084 T:139193205840    INFO: ffmpeg[20688FC450]:     Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
22:34:47.085 T:139193205840   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
22:34:47.085 T:139193205840   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 1
22:34:47.086 T:139193205840  NOTICE: Opening stream: 0 source: 256
22:34:47.086 T:139193205840 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
22:34:47.087 T:139193205840  NOTICE: Opening stream: 1 source: 256
22:34:47.087 T:139193205840  NOTICE: Finding audio codec for: 86019
22:34:47.088 T:139193205840  NOTICE: Creating audio thread
22:34:47.089 T:139193205840   DEBUG: CVideoPlayer::SetCaching - caching state 2
22:34:47.090 T:139193205840   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
22:34:47.090 T:139197400144   DEBUG: OnAVChange: CApplication::OnAVChange
22:34:47.091 T:139199472720   DEBUG: Thread VideoPlayerAudio start, auto delete: false
22:34:47.091 T:139199472720  NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
22:34:47.092 T:139193205840   ERROR: Read - Error( -1, 103, Software caused connection abort )

SMB is broken on Android - don't use it. Not related to refreshrate switching.
Did you maybe interchanged 1. and 2.? First playback was the 720 25fps video.
What should i alternatively use instead of windows own SMB for network shares? I noticed that from time to time i have no connection to the smb shares, not only on the shield but also on my Android TV.
Pages: 1 2