2016-05-16, 23:36
Hi, I am unable to get interlaced video to playback smoothly. Sometimes frames are dropped/skipped and sometimes no frames are dropped/skipped but the video is not smooth. Also deinterlacing can be intermittent resulting in combing and sometimes the video is poor quality. The files play smooth when using MPC-HC. Any help appreciated, thanks.
To reproduce, download the following sample files and adjust the Kodi settings for Render Method = DVXA, DXVA2 = ON, Deinterlace = Auto. The easiest thing to look for is stationary text flickering and wobbling, then the fluid motion of screen movement.
Text_wobble_&_smooth_motion_576i50_(burosch1).mpeg (30mb) [LINK] or [LINK]
Text_wobble_1080i50_(BBC1HD).ts (60mb) [LINK]
Text_wobble_&_smooth_motion_1080i50_(BBCnewsroom).ts (50mb) [LINK]
Smooth_motion_&_High_bitrate_1080i50_(EuroTV).mp4 (300mb) [LINK] or [LINK]
My Test Results.
Note.
1) Though the problems are obvious even when using a 60hz screen, the sample video files are 25fps interlaced and 'perfect' smoothness can only be achieved when the graphics card output is set to 50hz.
2) Don't forget it is possible to install Kodi to a 'test folder' and run Kodi in portable mode by creating a shortcut with the '-p' switch eg. ' C:\Kodi17\Kodi.exe -p '. This will keep all Kodi userdata and settings separate.
Example Logs.
kodi.log - dxva, dxva2 off, deint on [HERE]
kodi.log - dxva, dxva2 on, deint on [HERE]
To reproduce, download the following sample files and adjust the Kodi settings for Render Method = DVXA, DXVA2 = ON, Deinterlace = Auto. The easiest thing to look for is stationary text flickering and wobbling, then the fluid motion of screen movement.
Text_wobble_&_smooth_motion_576i50_(burosch1).mpeg (30mb) [LINK] or [LINK]
Text_wobble_1080i50_(BBC1HD).ts (60mb) [LINK]
Text_wobble_&_smooth_motion_1080i50_(BBCnewsroom).ts (50mb) [LINK]
Smooth_motion_&_High_bitrate_1080i50_(EuroTV).mp4 (300mb) [LINK] or [LINK]
My Test Results.
Note.
1) Though the problems are obvious even when using a 60hz screen, the sample video files are 25fps interlaced and 'perfect' smoothness can only be achieved when the graphics card output is set to 50hz.
2) Don't forget it is possible to install Kodi to a 'test folder' and run Kodi in portable mode by creating a shortcut with the '-p' switch eg. ' C:\Kodi17\Kodi.exe -p '. This will keep all Kodi userdata and settings separate.
Example Logs.
kodi.log - dxva, dxva2 off, deint on [HERE]
kodi.log - dxva, dxva2 on, deint on [HERE]
Code:
TROUBLESHOOTING PERFORMED
-------------------------
Kodi Versions Tested
20160525 = judder
20160302 = judder
16.1 Jarvis = much smoother, not perfect.
Alternate Player
MPC-HC (LAV DXVA2 native, deinterlace on)
Other Media
Interlaced video and Progressive video
Play video from local disk drive vs networked
Kodi Settings
All defaults
Full screen / Window / Fullscreen window
Use limited colour range (16-235)
Audio output device, WASAPI / Directsound
Adjust display refresh rate
Sync playback to display
Render Method, DVXA, Pixel Shader, Software
Allow hardware accel DXVA2
Deinterlace
Deinterlace method
Video scaling method
Show RSS news feeds
Advancedsettings.xml buffermode, cachemembuffersize, readbufferfactor
Advancedsettings.xml minvideocachelevel, minaudiocachelevel
System Settings
Monitor CPU load and gfx load
Bios Disable cool and quiet
Windows power profile to high performance
Disabled Audio device in Device manager
Graphics driver versions
(Display Driver Uninstaller - wagnardmobile.com)
(Perform clean install ON, GeForce Experience OFF)
NVIDIA Driver Versions Tested
v358.50 7.10.2015
v358.91 9.11.2015
v361.43 21.12.2015
v364.72 28.3.2016
v365.10 2.5.2016
v365.19 13.5.2016
v368.22 23.5.2016
Nvidia Control Panel
Change resolution > Refresh rate = 50hz / 60hz / 25hz
(also Kodi > Adjust display refresh rate = OFF)
3D settings > Vercal sync
3D settings > Triple buffering
Deinterlacing > Use inverse telecine
Alternate PC
AMD Athlon X2 2.8ghz, 4gb DDR2 + Nvidia GTX 650 Ti, Win10
Intel i5 4.1ghz Ivybridge 8gb DDR3 + Nvidia GTX 660, Win10
Intel i3 3.3ghz Ivybridge 8gb DDR3 + Intel HD4000 graphics, Win10
MediaInfo .TS file
-----------------------
General
ID : 16520 (0x4088)
Complete name : \\TV-PC\Recorded\Test.ts
Format : MPEG-TS
File size : 3.67 GiB
Duration : 1h 24mn
Start time : UTC 2016-05-14 19:00:51
End time : UTC 2016-05-14 20:25:16
Overall bit rate mode : Variable
Overall bit rate : 6 217 Kbps
Network name : North West
Original network name : UK Digital Terrestrial Television
Country : GBR / IRL
Timezone : +01:00:00 / +01:00:00
Video
ID : 201 (0xC9)
Menu ID : 17608 (0x44C8)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Format settings, GOP : M=8, N=24
Codec ID : 27
Duration : 1h 24mn
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 202 (0xCA)
Menu ID : 17608 (0x44C8)
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Muxing mode : LATM
Codec ID : 17
Duration : 1h 24mn
Bit rate mode : Variable
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Delay relative to video : -776ms
Language : English
descriptor_tag_extension : 6
Text
ID : 205 (0xCD)
Menu ID : 17608 (0x44C8)
Format : DVB Subtitle
Codec ID : 6
Duration : 1h 24mn
Delay relative to video : 1s 900ms
Language : English
Menu
ID : 200 (0xC8)
Menu ID : 17608 (0x44C8)
Duration : 1h 24mn
List : 201 (0xC9) (AVC) / 202 (0xCA) (AAC, English) / 206 (0xCE) (AAC) / 205 (0xCD) (DVB Subtitle, English)
Language : / English / / English
Service name : ITV HD
Service type : advanced codec HD digital television