v19 How to disable scaling algorithms for 1440x1080 videos
#1
Hello,

Currently I am using Chromecast 4K (Google TV) and Kodi 19.1 and Plex add on.

The problem is that when I try to watch a 1440x1080 video (4:3), the scaling algorithms starts and the playback becomes full of stuttering. I suppose is because the slow performance of the Google TV. For that reason I want to disable the use of scaling algorithms for that type of videos. For "normal" 1080p (1920x1080) or even for 480p (640x480) the scaling algorithms option is disabled and there is no problem. It only happens with that particular video with the resoltion of 1440x1080p

Is there a way to disable the use of scaling algorithms for that resolution?

Many thanks in advance

Regards
Reply
#2
yes, but it requires functioning refresh rate switching. That way kodi will change output resolution to the best matching for any video.
Not sure if a chromecast supports that...

edit: if scaling performance is an issue: try switching to nearest neighbor in video settings of the currently playing file
Reply
#3
(2021-07-06, 09:11)wsnipex Wrote: M;yes, but it requires functioning refresh rate switching. That way kodi will change output resolution to the best matching for any video.
Not sure if a chromecast supports that...

edit: if scaling performance is an issue: try switching to nearest neighbor in video settings of the currently playing file
Many thanks for your reply. How can I check if I can switch the refresh rate?

I tried both algorithms available, billinear and nearest neighbor, but both hit hard the Chromecast, since the video is 1080p Sad
Reply
#4
In case it might be useful, with this video the scaling algorithms are enabled:
Quote:Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High 10@L4
Format settings, CABAC         : Yes
Format settings, RefFrames     : 4 frames
Codec ID                       : V_MPEG4/ISO/AVC
Duration                       : 48 min 44 s
Nominal bit rate               : 4 500 kb/s
Width                          : 1 440 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 4:3
Frame rate mode                : Constant
Frame rate                     : 29.970 (30000/1001) FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 10 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.097
Writing library                : x264 core 133 r2334 a3ac64b
Encoding settings              : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=4500 / ratetol=2.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                        : Yes
Forced                         : No

with this one are not enabled (what I am looking for)
Quote:Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : [email protected]
Format settings, CABAC         : Yes
Format settings, RefFrames     : 4 frames
Codec ID                       : V_MPEG4/ISO/AVC
Duration                       : 24 min 30 s
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 30.068 FPS
Original frame rate            : 29.970 (30000/1001) FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Writing library                : x264 core 67 r1173 f6d3166
Encoding settings              : cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / me-prepass=0 / subme=9 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / thread_queue=6 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=240 / keyint_min=1 / scenecut=70 / rc=crf / crf=23.0 / qcomp=0.70 / qpmin=10 / qpmax=30 / qpstep=12 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:-0.25:10.00 / aq2=1:1.50:20.00
Default                        : Yes
Forced                         : No
Reply
#5
I would wager that this device is not able to decode 10bit h264 in hardware. The software decoding path is most likely taken, which is too much for it.

But it is hard to tell for certain without having a debug.log.
Reply
#6
(2021-07-18, 11:50)sarbes Wrote: I would wager that this device is not able to decode 10bit h264 in hardware. The software decoding path is most likely taken, which is too much for it.

But it is hard to tell for certain without having a debug.log.

I did the process that appear on the wiki:

http://paste.kodi.tv/egimuruseg
Reply
#7
Quote:ERROR <general>: CDVDVideoCodecAndroidMediaCodec:: Failed to create Android MediaCodec

This seems to confirm my suspicion. I don't think that the device can play the video using hardware acceleration.
Reply
#8
Is there any fix? or just change the device?

Thanks in advance!
Reply
#9
Either get a device which can play the videos you have or transcode them to a suitable format.
Reply

Logout Mark Read Team Forum Stats Members Help
How to disable scaling algorithms for 1440x1080 videos0