madshi bug tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000508madVRbugpublic2017-10-06 22:172017-10-07 12:05
ReporterTobiwan 
Assigned Tomadshi 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformPCOSW10 Home 1703OS Version15063.632
Summary0000508: Seeking on low quality videos
DescriptionSeeking inside low quality videos (like 856x480) are broken, after a jump it needs 3-5sec to rebuild the picture, the sound goes on and the picture freezes.

Decoder queue overflow on every seeking freeze, default 16 goes up to 19/20 and drops down to 16 after freeze. Increase the queue size does not help, the overflow happens again.

It only happens on videos with low quality or resolution, it happens not on any HD stuff 720p and 1080p.

Steps To ReproduceExample for problem video file:

Format : MPEG-TS
File size : 703 MiB
Duration : 3 h 26 min
Overall bit rate mode : variabel
Overall bit rate : 475 kb/s
FileExtension_Invalid : ts m2t m2s m4t m4s tmf ts tp trp ty

Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3
Format settings, CABAC : Ja
Format settings, RefFrames : 3 frames
Codec ID : 27
Duration : 3 h 26 min
Bit rate mode : konstant
Nominal bit rate : 500 kb/s / 500 kb/s
Width : 640 Pixel
Height : 360 Pixel
Display aspect ratio : 16:9
Frame rate : 29,970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : progressiv
Bits/(Pixel*Frame) : 0.072
Writing library : x264 core 144
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=2 / sliced_threads=0 / slices=1 / nr=0 / decimate=1 / interlaced=0 / minigop=0 / stitchable=1 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=cbr / mbtree=1 / bitrate=500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=500 / vbv_bufsize=500 / nal_hrd=cbr / filler=1 / ip_ratio=1.40 / aq=1:1.00
Color range : Limited
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Additional InformationEven with the lowest settings, chroma cubic and image DXVA2 the issue is still there, it does not make a differences if I seek with a low profile or a high profile with NGU AA on low quality videos.

The setting from MPC-HC with seeking/keyframe change has no impact too.

I tried CUVID and DXVA11, super-xbr, NGU AA / Sharp, No doubling... the rendering is smooth and fast. No drops or glitches.
TagsNo tags attached.
madVR Versionv0.92.4 (but the issue was in versions before too)
Media Player (with version info)MPC-HC (Nightly 64-bit) 1.7.13.112
Splitter (with version info)LAV Splitter 0.70.2.79
Decoder (with version info)LAV Video Decoder 0.70.2.79
DecodingDXVA2 Copyback
Deinterlacingnone (progressive)
DXVA2 Scaling Activeno
Aero / Desktop CompositionOff
Problem occurs with modeall modes
GPU ManufacturerNVidia + Intel
GPU ModelMSI NVIDIA GTX 1070 Gaming X 8G + i7-7700K
GPU Driver Version385.69
Attached Filespng file icon Stats.PNG [^] (509,477 bytes) 2017-10-07 09:08

- Relationships

-  Notes
(0001836)
madshi (administrator)
2017-10-06 22:54

Does it only happen with madVR, or also with other renderers?
(0001837)
Tobiwan (reporter)
2017-10-07 09:12

It happens too with Video Mixing 9 and Enhanced.

But interesting is, the MPV-Player can seek on the same video without any problems, no freezes or something with high quality profile active.

I upload a screenshot from the stats with the overflow of the decoder queue.
(0001838)
madshi (administrator)
2017-10-07 09:43

If this happens with VMR9 and EVR, too, then this very obviously is not a bug in madVR, but a problem in either the splitter or decoder. You need to talk to nevcairiel (the LAV Decoder/Splitter dev) about this. I can't fix problems in LAV.
(0001839)
Tobiwan (reporter)
2017-10-07 09:56

Thanks for the info! I will create a ticket at nevcairiel's github for that issue and link to that bug ticket here for more info, maybe he will find a fix for the problem.
(0001840)
madshi (administrator)
2017-10-07 09:58
edited on: 2017-10-07 09:58

He may need a small video sample so he can reproduce the problem on his own PC.

(0001841)
Tobiwan (reporter)
2017-10-07 11:04

That's the ticket https://github.com/Nevcairiel/LAVFilters/issues/165 [^]

Unfortunately nevcairiel can't do anything. You can close the ticket here.

I will play that type of files with MPV to avoid that problem. :)
(0001842)
madshi (administrator)
2017-10-07 12:05

Yeah, either that, or you could remux to mkv with mkvtoolnix.

- Issue History
Date Modified Username Field Change
2017-10-06 22:17 Tobiwan New Issue
2017-10-06 22:54 madshi Note Added: 0001836
2017-10-07 09:08 Tobiwan File Added: Stats.PNG
2017-10-07 09:12 Tobiwan Note Added: 0001837
2017-10-07 09:43 madshi Note Added: 0001838
2017-10-07 09:56 Tobiwan Note Added: 0001839
2017-10-07 09:58 madshi Note Added: 0001840
2017-10-07 09:58 madshi Note Edited: 0001840 View Revisions
2017-10-07 11:04 Tobiwan Note Added: 0001841
2017-10-07 12:05 madshi Note Added: 0001842
2017-10-07 12:05 madshi Status new => closed
2017-10-07 12:05 madshi Assigned To => madshi
2017-10-07 12:05 madshi Resolution open => no change required


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker