This file crashes VLC under DXVA2...

This forum is about all development around libVLC.
oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

This file crashes VLC under DXVA2...

Postby oviano » 17 May 2017 21:25

...it's a TS file with 10% of its data removed to simulate a poor network link.

https://www.dropbox.com/s/4xneayqoote7q ... re.ts?dl=0

It plays without crashing (but with many artifacts, obviously) under software or under D3D11VA. But not DXVA2.

I think it's related to HEVC, because a similar file encoded using H.264 doesn't produce this issue, although I've not tested that hypothesis properly yet.

The problem has been introduced some time during February this year as it doesn't crash the 1st Feb nightly, but crashes the 1st March nightly onwards, including today's build.

I will continue narrowing it down by testing the nightlies using a manual binary search and then try and find some suspicious-looking check-ins.

PS This may or may not be the same issue, but I have also noticed that if I skip the first chunks of TS data received over the network until I find the first packet with the random access indicator in it, and then send from this point on to VLC that this was crashing DXVA2 too.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 17 May 2017 23:02

Below is what gdb gives me when I reproduce the crash with the latest debug win32 build.

Unfortunately the stack must be corrupted or something. I also tried the 64 bit debug build and that showed even less.

Perhaps the log information below will help.

Also, I worked out that the build on 20th February was ok, but the one on 27th was not. Annoyingly, there were no other builds between those dates, which would have helped to narrow it down. I guess the build was broken.

Code: Select all

(gdb) target exec vlc (gdb) run Starting program: c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\vlc.exe [New Thread 6328.0x4c38] [New Thread 6328.0x6c4c] [New Thread 6328.0x635c] [New Thread 6328.0x672c] warning: Can not parse XML library list; XML support was disabled at compile time warning: core libvlc debug: VLC media player - 3.0.0-git Vetinari warning: core libvlc debug: Copyright � 1996-2017 the VideoLAN team warning: core libvlc debug: revision 2.2.0-git-12548-g5c2c82edb9 warning: core libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--enable-debug' 'host_alias=i686-w64-mingw32' 'PKG_CONFIG_LIBDIR=/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/vlc/contrib/i686-w64-mingw32/lib/pkgconfig' warning: core libvlc debug: using multimedia timers as clock source warning: core libvlc debug: min period: 1 ms, max period: 1000000 ms warning: core libvlc debug: searching plug-in modules warning: core libvlc debug: loading plugins cache file c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\plugins\plugins.dat warning: core libvlc warning: cannot read c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\plugins\plugins.dat: No such file or directory warning: core libvlc debug: recursively browsing `c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\plugins' warning: core libvlc debug: plug-ins loaded: 460 modules warning: core libvlc debug: opening config file (C:\Users\Oliver\AppData\Roaming\vlc\vlcrc) warning: core logger debug: looking for logger module matching "any": 2 candidates warning: core logger debug: using logger module "console" warning: core libvlc debug: translation test: code is "en_GB" warning: core keystore debug: looking for keystore module matching "memory": 3 candidates warning: core keystore debug: using keystore module "memory" warning: core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU warning: core input debug: Creating an input for 'Media Library' warning: core input debug: Input is a meta file: disabling unneeded options warning: core input debug: using timeshift granularity of 50 MiB warning: core input debug: using timeshift path: C:\Users\Oliver\AppData\Local\Temp warning: core input debug: `file/xspf-open:///C:/Users/Oliver/AppData/Roaming/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/C:/Users/Oliver/AppData/Roaming/vlc/ml.xspf' warning: core input source debug: creating demux: access='file' demux='xspf-open' location='/C:/Users/Oliver/AppData/Roaming/vlc/ml.xspf' file='C:\Users\Oliver\AppData\Roaming\vlc\ml.xspf' warning: core demux debug: looking for access_demux module matching "file": 14 candidates warning: core demux debug: no access_demux modules matched warning: core stream debug: creating access: file:///C:/Users/Oliver/AppData/Roaming/vlc/ml.xspf warning: core stream debug: (path: C:\Users\Oliver\AppData\Roaming\vlc\ml.xspf) warning: core stream debug: looking for access module matching "file": 25 candidates warning: core stream debug: using access module "filesystem" warning: core stream debug: looking for stream_filter module matching "prefetch,cache_read": 9 candidates warning: cache_read stream debug: Using stream method for AStream* warning: cache_read stream debug: starting pre-buffering warning: cache_read stream debug: received first data after 5 ms warning: cache_read stream debug: pre-buffering done 304 bytes in 0s - 29 KiB/s warning: core stream debug: using stream_filter module "cache_read" warning: core stream debug: looking for stream_filter module matching "any": 9 candidates warning: lua stream debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\playlist warning: lua stream debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\anevia_streams.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\anevia_xml.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\appletrailers.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\bbc_co_uk.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\cue.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\dailymotion.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\jamendo.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\koreus.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\liveleak.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\newgrounds.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\rockbox_fm_presets.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\soundcloud.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\vimeo.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\vocaroo.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\youtube.luac warning: core stream debug: no stream_filter modules matched warning: core stream_directory debug: looking for stream_directory module matching "any": 1 candidates warning: core stream_directory debug: no stream_directory modules matched warning: core input source debug: attach of directory extractor failed warning: core stream debug: looking for stream_filter module matching "record": 9 candidates warning: core stream debug: using stream_filter module "record" warning: core input source debug: creating demux: access='file' demux='xspf-open' location='/C:/Users/Oliver/AppData/Roaming/vlc/ml.xspf' file='C:\Users\Oliver\AppData\Roaming\vlc\ml.xspf' warning: core demux debug: looking for demux module matching "xspf-open": 68 candidates warning: xspf demux debug: using XSPF playlist reader warning: core demux debug: using demux module "playlist" warning: core demux meta debug: looking for meta reader module matching "any": 2 candidates warning: lua demux meta debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\meta\reader warning: lua demux meta debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\reader warning: lua demux meta debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\reader\filename.luac warning: core demux meta debug: no meta reader modules matched warning: core input debug: `file/xspf-open:///C:/Users/Oliver/AppData/Roaming/vlc/ml.xspf' successfully opened warning: core xml reader debug: looking for xml reader module matching "any": 1 candidates warning: core xml reader debug: using xml reader module "xml" warning: xspf demux debug: parsed 0 tracks successfully warning: core input debug: EOF reached warning: core demux debug: removing module "playlist" warning: core stream debug: removing module "record" warning: core stream debug: removing module "cache_read" warning: core stream debug: removing module "filesystem" warning: core input debug: Destroying the input for 'Media Library' warning: core playlist debug: creating audio output warning: core audio output debug: looking for audio output module matching "any": 6 candidates [New Thread 6328.0x5cd4] [New Thread 6328.0x844] warning: mmdevice audio output debug: using default device [New Thread 6328.0x6360] warning: mmdevice audio output debug: display name changed: VLC media player warning: mmdevice audio output debug: version 2 session control unavailable warning: mmdevice audio output debug: volume from -96.000000 dB to +0.000000 dB with 1.500000 dB increments warning: core audio output debug: using audio output module "mmdevice" warning: core playlist debug: keeping audio output [New Thread 6328.0x6368] warning: core interface debug: looking for interface module matching "hotkeys,none": 16 candidates warning: core interface debug: using interface module "hotkeys" warning: core interface debug: looking for interface module matching "globalhotkeys,none": 16 candidates [New Thread 6328.0x68bc] warning: core interface debug: using interface module "win32" warning: core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. warning: core interface debug: looking for interface module matching "any": 16 candidates [New Thread 6328.0xf2c] warning: core generic debug: looking for extension module matching "any": 1 candidates warning: lua generic debug: Opening Lua Extension module warning: lua generic debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\extensions warning: lua generic debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\extensions warning: lua generic debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\extensions\VLSub.luac warning: lua generic debug: Scanning Lua script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\extensions\VLSub.luac warning: lua generic debug: Script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\extensions\VLSub.luac has the following capability flags: 0x5 warning: core generic debug: using extension module "lua" [New Thread 6328.0x1a3c] [New Thread 6328.0x6f9c] [New Thread 6328.0xca4] warning: core interface debug: using interface module "qt" warning: core playlist: playlist is empty warning: core playlist debug: nothing to play [New Thread 6328.0x5cf0] [New Thread 6328.0x6c18] [New Thread 6328.0x5604] warning: core playlist debug: processing request item: capture.ts, node: Playlist, skip: 0 warning: core playlist debug: rebuilding array of current - root Playlist warning: core playlist debug: rebuild done - 1 items, index 0 warning: core playlist debug: starting playback of new item warning: core playlist debug: resyncing on capture.ts warning: core playlist debug: capture.ts is at 0 warning: core input debug: Creating an input for preparsing 'capture.ts' warning: core playlist debug: creating new input thread [New Thread 6328.0x662c] [Thread 6328.0x662c exited with code 0] [New Thread 6328.0x6ec4] warning: core input debug: Creating an input for 'capture.ts' [New Thread 6328.0x6d94] warning: core playlist debug: requesting art for new input thread warning: qt interface debug: IM: Setting an input [Thread 6328.0x5604 exited with code 0] [New Thread 6328.0x5d88] warning: core input debug: using timeshift granularity of 50 MiB warning: core input debug: using timeshift path: C:\Users\Oliver\AppData\Local\Temp warning: core input debug: `file:///C:/Users/Oliver/AppData/Roaming/Emu/Player/capture/capture.ts' gives access `file' demux `any' path `/C:/Users/Oliver/AppData/Roaming/Emu/Player/capture/capture.ts' warning: core input source debug: creating demux: access='file' demux='any' location='/C:/Users/Oliver/AppData/Roaming/Emu/Player/capture/capture.ts' file='C:\Users\Oliver\AppData\Roaming\Emu\Player\capture\capture.ts' warning: core demux debug: looking for access_demux module matching "file": 14 candidates warning: core demux debug: no access_demux modules matched warning: core stream debug: creating access: file:///C:/Users/Oliver/AppData/Roaming/Emu/Player/capture/capture.ts warning: core stream debug: (path: C:\Users\Oliver\AppData\Roaming\Emu\Player\capture\capture.ts) warning: core stream debug: looking for access module matching "file": 25 candidates warning: core stream debug: using access module "filesystem" warning: core stream debug: looking for stream_filter module matching "prefetch,cache_read": 9 candidates warning: cache_read stream debug: Using stream method for AStream* warning: cache_read stream debug: starting pre-buffering warning: cache_read stream debug: received first data after 0 ms warning: cache_read stream debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s warning: core stream debug: using stream_filter module "cache_read" warning: core stream debug: looking for stream_filter module matching "any": 9 candidates warning: lua stream debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\playlist warning: lua stream debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist warning: core meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\anevia_streams.luac warning: lua meta fetcher debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\meta\fetcher warning: lua meta fetcher debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\fetcher warning: core meta fetcher debug: no meta fetcher modules matched warning: core art finder debug: looking for art finder module matching "any": 2 candidates warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\anevia_xml.luac warning: lua art finder debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\meta\art warning: lua art finder debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\appletrailers.luac warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\00_musicbrainz.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\bbc_co_uk.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\00_musicbrainz.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\cue.luac warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\01_googleimage.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\dailymotion.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\01_googleimage.luac warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\02_frenchtv.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\jamendo.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\02_frenchtv.luac warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\03_lastfm.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\03_lastfm.luac warning: core art finder debug: no art finder modules matched warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\koreus.luac [Thread 6328.0x5d88 exited with code 0] [New Thread 6328.0x5dbc] warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\liveleak.luac warning: core meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates warning: lua meta fetcher debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\meta\fetcher warning: lua meta fetcher debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\fetcher warning: core meta fetcher debug: no meta fetcher modules matched warning: core art finder debug: looking for art finder module matching "any": 2 candidates warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\newgrounds.luac warning: lua art finder debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\meta\art warning: lua art finder debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\00_musicbrainz.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\rockbox_fm_presets.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\00_musicbrainz.luac warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\01_googleimage.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\soundcloud.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\01_googleimage.luac warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\02_frenchtv.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\vimeo.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\02_frenchtv.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\vocaroo.luac warning: lua art finder debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\03_lastfm.luac warning: lua art finder debug: skipping script (unmatched scope) c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\art\03_lastfm.luac warning: lua stream debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\playlist\youtube.luac warning: core art finder debug: no art finder modules matched [Thread 6328.0x5dbc exited with code 0] warning: core stream debug: no stream_filter modules matched warning: core stream_directory debug: looking for stream_directory module matching "any": 1 candidates warning: core stream_directory debug: no stream_directory modules matched warning: core input source debug: attach of directory extractor failed [Thread 6328.0x6ec4 exited with code 0] warning: core stream debug: looking for stream_filter module matching "record": 9 candidates warning: core stream debug: using stream_filter module "record" warning: core input source debug: creating demux: access='file' demux='any' location='/C:/Users/Oliver/AppData/Roaming/Emu/Player/capture/capture.ts' file='C:\Users\Oliver\AppData\Roaming\Emu\Player\capture\capture.ts' warning: core demux debug: looking for demux module matching "any": 68 candidates warning: core xml reader debug: looking for xml reader module matching "any": 1 candidates warning: core xml reader debug: using xml reader module "xml" warning: ts demux debug: Standard set to Auto warning: ts demux debug: pid[256] unknown warning: ts demux debug: first packet for pid=256 cc=0xf warning: ts demux debug: first packet for pid=0 cc=0x2 warning: ts demux debug: PATCallBack called warning: ts demux debug: new PAT ts_id=1 version=0 current_next=1 warning: ts demux debug: * number=1 pid=4096 warning: ts demux debug: temporary receiving program 1 warning: ts demux debug: first packet for pid=4096 cc=0x2 warning: ts demux debug: PMTCallBack called for program 1 warning: ts demux debug: new PMT program number=1 version=0 pid_pcr=256 warning: ts demux debug: * pid=256 type=0x24 ISO/IEC Reserved warning: ts demux debug: => pid 256 has now es fcc=hevc warning: ts demux debug: * pid=257 type=0xf ISO/IEC 13818-7 Audio with ADTS transport warning: ts demux debug: - SL/FMC descriptor not found/matched warning: ts demux debug: => pid 257 has now es fcc=mp4a warning: ts demux debug: * pid=17 listening for SDT warning: ts demux debug: enabling pid 256 from program 1 warning: ts demux debug: enabling pid 257 from program 1 warning: ts demux debug: enabling pcr pid 256 from program 1 warning: ts demux debug: EOF at 6522096 warning: core demux debug: using demux module "ts" warning: core input debug: looking for a subtitle file in C:\Users\Oliver\AppData\Roaming\Emu\Player\capture\ warning: ts demux debug: DEMUX_SET_GROUP 0 00000000 warning: core demux meta debug: looking for meta reader module matching "any": 2 candidates warning: lua demux meta debug: Trying Lua scripts in C:\Users\Oliver\AppData\Roaming\vlc\lua\meta\reader warning: lua demux meta debug: Trying Lua scripts in c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\reader warning: lua demux meta debug: Trying Lua playlist script c:\Users\Oliver\Desktop\VLC Nightlies\VLC 17th May Debug Win32\lua\meta\reader\filename.luac warning: core demux meta debug: no meta reader modules matched warning: core input debug: `file:///C:/Users/Oliver/AppData/Roaming/Emu/Player/capture/capture.ts' successfully opened warning: ts demux debug: Creating delayed ES warning: core input debug: selecting program id=1 warning: core packetizer debug: looking for packetizer module matching "any": 24 candidates warning: core packetizer debug: using packetizer module "hevc" warning: core decoder debug: looking for decoder module matching "any": 50 candidates warning: avcodec decoder debug: using ffmpeg Lavc57.92.100 warning: avcodec decoder debug: CPU flags: 0x000fd3db warning: avcodec decoder debug: allowing 5 thread(s) for decoding [New Thread 6328.0x6e8c] [New Thread 6328.0x854] [New Thread 6328.0x6b24] warning: avcodec decoder debug: codec (hevc) started [New Thread 6328.0x6aa8] [New Thread 6328.0x6c10] warning: avcodec decoder debug: using frame thread mode with 5 threads warning: core decoder debug: using decoder module "avcodec" warning: ts demux debug: Default program is 1 [New Thread 6328.0x643c] warning: core packetizer debug: looking for packetizer module matching "any": 24 candidates warning: mpeg4audio packetizer debug: running MPEG4 audio packetizer warning: mpeg4audio packetizer debug: ADTS Mode warning: core packetizer debug: using packetizer module "mpeg4audio" warning: core decoder debug: looking for decoder module matching "any": 50 candidates warning: core decoder debug: using decoder module "faad" warning: ts demux debug: enabling pid 256 from program 1 warning: ts demux debug: enabling pid 257 from program 1 [New Thread 6328.0x3a90] warning: ts demux debug: enabling pcr pid 256 from program 1 warning: ts demux debug: first packet for pid=17 cc=0x1 warning: ts demux debug: SDTCallBack called warning: ts demux debug: * pid=18 listening for EIT warning: ts demux debug: * pid=20 listening for TDT warning: ts demux debug: new SDT ts_id=1 version=0 current_next=1 network_id=65281 warning: ts demux debug: * service id=1 eit schedule=0 present=0 running=4 free_ca=0 warning: ts demux debug: - type=1 provider=FFmpeg name=video_profile_index=[0] warning: core input debug: EsOutProgramMeta: number=1 warning: core input debug: Buffering 0% warning: mpeg4audio packetizer: AAC channels: 2 samplerate: 44100 warning: core decoder debug: restarting module due to input format change warning: core decoder debug: removing module "faad" warning: core decoder debug: looking for decoder module matching "any": 50 candidates warning: core decoder debug: using decoder module "faad" warning: faad decoder warning: decoded zero sample warning: core playlist debug: reusing audio output warning: core input debug: Buffering 33% warning: core generic debug: looking for aout stream module matching "any": 2 candidates warning: ts demux warning: discontinuity received 0x6 instead of 0x4 (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 4) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0x6 instead of 0x4 (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 4) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: core input debug: Buffering 66% warning: ts demux warning: discontinuity received 0x5 instead of 0x4 (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 4) for PID 17 warning: ts demux debug: SDTCallBack called warning: wasapi generic debug: modified format warning: core input debug: Buffering 100% warning: core input debug: Stream buffering done (400 ms in 70 ms) warning: core decoder error: buffer deadlock prevented warning: wasapi generic debug: buffer size : 96000 frames warning: wasapi generic debug: maximum latency: 000 ns warning: wasapi generic debug: default period : 10000000 ns warning: wasapi generic debug: minimum period : 3000000 ns warning: core generic debug: using aout stream module "wasapi" warning: core audio output debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes warning: core volume debug: looking for audio volume module matching "any": 2 candidates warning: core volume debug: using audio volume module "float_mixer" warning: core audio output debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes warning: core audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates warning: scaletempo audio filter debug: format: 44100 rate, 2 nch, 4 bps, fl32 warning: scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search warning: scaletempo audio filter debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode warning: core audio filter debug: using audio filter module "scaletempo" warning: core audio output debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo warning: core audio output debug: conversion pipeline complete warning: core audio output debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo warning: core audio output debug: conversion pipeline complete warning: core audio resampler debug: looking for audio resampler module matching "any": 3 candidates warning: core audio resampler debug: using audio resampler module "samplerate" warning: core input debug: Decoder wait done in 75 ms warning: core audio output debug: inserting 27120 zeroes warning: mmdevice audio output debug: state changed: 1 warning: ts demux warning: discontinuity received 0xa instead of 0x8 (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 8) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0xa instead of 0x8 (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 8) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: ts demux warning: discontinuity received 0x9 instead of 0x8 (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 8) for PID 17 warning: ts demux debug: SDTCallBack called warning: ts demux warning: discontinuity received 0xe instead of 0xc (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 12) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0xe instead of 0xc (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 12) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: ts demux warning: discontinuity received 0xd instead of 0xc (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 12) for PID 17 warning: ts demux debug: SDTCallBack called warning: ts demux warning: discontinuity received 0x2 instead of 0x0 (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0x2 instead of 0x0 (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: ts demux warning: discontinuity received 0x1 instead of 0x0 (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 17 warning: ts demux debug: SDTCallBack called warning: ts demux warning: discontinuity received 0x6 instead of 0x4 (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 4) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0x6 instead of 0x4 (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 4) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: ts demux warning: discontinuity received 0x5 instead of 0x4 (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 4) for PID 17 warning: ts demux debug: SDTCallBack called warning: core audio output warning: playback too early (-114411): down-sampling warning: ts demux warning: discontinuity received 0xa instead of 0x8 (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 8) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0xa instead of 0x8 (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 8) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: ts demux warning: discontinuity received 0x9 instead of 0x8 (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 8) for PID 17 warning: ts demux debug: SDTCallBack called warning: core decoder debug: restarting module due to input format change warning: core decoder debug: removing module "avcodec" warning: ts demux warning: discontinuity received 0xf instead of 0xd (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 13) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0xf instead of 0xd (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 13) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 [Thread 6328.0x6e8c exited with code 0] [Thread 6328.0x854 exited with code 0] [Thread 6328.0x6b24 exited with code 0] [Thread 6328.0x6aa8 exited with code 0] [Thread 6328.0x6c10 exited with code 0] warning: avcodec decoder debug: ffmpeg codec (hevc) stopped warning: core decoder debug: looking for decoder module matching "any": 50 candidates warning: avcodec decoder debug: using ffmpeg Lavc57.92.100 warning: avcodec decoder debug: CPU flags: 0x000fd3db warning: avcodec decoder debug: allowing 5 thread(s) for decoding [New Thread 6328.0x6ea4] [New Thread 6328.0x67c4] warning: avcodec decoder debug: codec (hevc) started [New Thread 6328.0x6c34] warning: avcodec decoder debug: using frame thread mode with 5 threads warning: core decoder debug: using decoder module "avcodec" [New Thread 6328.0x6ffc] [New Thread 6328.0x3be4] warning: avcodec decoder debug: available hardware decoder output format 61 (dxva2_vld) warning: avcodec decoder debug: available hardware decoder output format 128 (d3d11va_vld) warning: avcodec decoder debug: available software decoder output format 0 (yuv420p) warning: core spu text debug: looking for text renderer module matching "any": 3 candidates warning: freetype spu text debug: Using DWrite backend warning: freetype spu text debug: DWrite_GetFamily(): family name: Arial warning: core spu text debug: using text renderer module "freetype" warning: core scale debug: looking for video converter module matching "any": 20 candidates warning: swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality) warning: core scale debug: using video converter module "swscale" warning: core scale debug: looking for video converter module matching "any": 20 candidates warning: yuvp scale debug: YUVP to YUVA converter warning: core scale debug: using video converter module "yuvp" warning: core video output debug: Deinterlacing available warning: core video output debug: deinterlace -1, mode blend, is_needed 0 warning: core window debug: looking for vout window module matching "qt,any": 3 candidates warning: qt window debug: requesting video window... warning: QWidget::paintEngine: Should no longer be called warning: core window debug: resized to 1381x712 warning: core window debug: resized to 1381x712 warning: setGeometry: Unable to set geometry 1920x1153+-32+75 on QWidgetWindow/'MainInterfaceClassWindow'. Resulting geometry: 1916x1053+-32+75 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 485x73, maximum size: 16777215x16777215). warning: core window debug: using vout window module "qt" [New Thread 6328.0x6ff8] warning: core window debug: resized to 1920x1080 warning: ts demux warning: discontinuity received 0xd instead of 0xc (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 12) for PID 17 warning: ts demux debug: SDTCallBack called warning: core video output debug: Opening vout display wrapper warning: core vout display debug: looking for vout display module matching "any": 12 candidates warning: core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms) warning: core input debug: ES_OUT_RESET_PCR called warning: ts demux warning: discontinuity received 0x6 instead of 0x5 (pid=256) warning: ts demux warning: discontinuity received 0x2 instead of 0x0 (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0x2 instead of 0x0 (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: ts demux warning: discontinuity received 0x1 instead of 0x0 (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 17 warning: ts demux debug: SDTCallBack called warning: core input debug: Buffering 0% warning: ts demux warning: discontinuity received 0x9 instead of 0xb (pid=257) warning: core input debug: Buffering 33% warning: core input debug: Buffering 66% warning: ts demux warning: discontinuity received 0x6 instead of 0x4 (pid=0) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 4) for PID 0 warning: ts demux debug: PATCallBack called warning: ts demux warning: discontinuity received 0x6 instead of 0x4 (pid=4096) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 4) for PID 4096 warning: ts demux debug: PMTCallBack called for program 1 warning: core input debug: Buffering 100% warning: ts demux warning: discontinuity received 0x5 instead of 0x4 (pid=17) warning: ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 4) for PID 17 warning: ts demux debug: SDTCallBack called warning: core input debug: Stream buffering done (400 ms in 605 ms) warning: direct3d9 vout display debug: Using Direct3D9 Extended API! warning: direct3d9 vout display warning: cannot load Direct3D9 Shader Library; HLSL pixel shading will be disabled. warning: direct3d9 vout display debug: creating Vout EventThread [New Thread 6328.0x68c8] warning: direct3d9 vout display debug: Win32VoutCreateWindow warning: core vout display debug: VoutDisplayEvent 'resize' 1920x1080 warning: core window debug: resized to 1916x980 warning: core vout display debug: VoutDisplayEvent 'resize' 1916x980 warning: setGeometry: Unable to set geometry 1920x998+-32+75 on QWidgetWindow/'MainInterfaceClassWindow'. Resulting geometry: 1916x998+-32+75 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 485x73, maximum size: 16777215x16777215). warning: direct3d9 vout display debug: created video sub-window warning: direct3d9 vout display debug: Vout EventThread running warning: direct3d9 vout display debug: disabling screen saver warning: core window debug: resized to 1920x925 warning: core vout display debug: VoutDisplayEvent 'resize' 1920x925 warning: direct3d9 vout display debug: Direct3d9 Device: Intel(R) HD Graphics 5000 32902 2598 9 [New Thread 6328.0x5e54] warning: direct3d9 vout display warning: trying surface pixel format: DXA9 warning: direct3d9 vout display debug: selected surface pixel format is DXA9 warning: core vout display debug: VoutDisplayEvent 'resize' 1936x1119 warning: direct3d9 vout display debug: DirectXUpdateRects source offset: 0,0 visible: 1920x1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,1920,1088 warning: direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,1936,1089 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1936,1089 [New Thread 6328.0x5c28] warning: direct3d9 vout display debug: Direct3D created texture: 1920x1088 warning: direct3d9 vout display debug: Direct3D9 scene created successfully warning: direct3d9 vout display warning: Direct3D shaders initialization failed ! warning: direct3d9 vout display debug: Direct3D9 device adapter successfully initialized warning: core vout display debug: using vout display module "direct3d9" warning: core video output debug: original format sz 1920x1088, of (0,0), vsz 1920x1080, 4cc DXA9, sar 1:1, msk r0x0 g0x0 b0x0 warning: core spu text debug: removing module "freetype" warning: core spu text debug: looking for text renderer module matching "any": 3 candidates warning: core vout display debug: VoutDisplayEvent 'resize' 1916x925 warning: direct3d9 vout display debug: DirectXUpdateRects source offset: 0,0 visible: 1920x1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,1920,1088 warning: direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,1644,925 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1644,925 warning: direct3d9 vout display debug: DirectXUpdateRects source offset: 0,0 visible: 1920x1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,1920,1088 warning: direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,1644,925 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1644,925 warning: direct3d9 vout display debug: DirectXUpdateRects source offset: 0,0 visible: 1920x1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,1920,1088 warning: direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,1644,925 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1644,925 warning: core window debug: resized to 1916x925 warning: core vout display debug: VoutDisplayEvent 'resize' 1916x925 warning: setGeometry: Unable to set geometry 1920x998+-32+75 on QWidgetWindow/'MainInterfaceClassWindow'. Resulting geometry: 1916x998+-32+75 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 485x73, maximum size: 16777215x16777215). warning: freetype spu text debug: Using DWrite backend warning: freetype spu text debug: DWrite_GetFamily(): family name: Arial warning: core spu text debug: using text renderer module "freetype" warning: core generic debug: looking for hw decoder module matching "dxva2": 2 candidates warning: directx_va generic debug: DLLs loaded warning: dxva2 generic debug: Reusing Direct3D9 device warning: directx_va generic debug: CreateDevice succeed warning: dxva2 generic debug: OurDirect3DCreateDeviceManager9 Success! warning: dxva2 generic: obtained IDirect3DDeviceManager9 warning: dxva2 generic: DXVA2CreateVideoService Success! warning: directx_va generic debug: - 'MPEG-2 variable-length decoder' is supported warning: directx_va generic debug: - 'MPEG-2 inverse discrete cosine transform' is supported warning: directx_va generic debug: - 'VC-1 variable-length decoder 2 (Intel)' is supported warning: directx_va generic debug: - 'VC-1 variable-length decoder (Intel)' is supported warning: directx_va generic debug: - 'VC-1 variable-length decoder' is supported warning: directx_va generic debug: - 'H.264 variable-length decoder, no film grain technology' is supported warning: directx_va generic debug: - 'H.264 stereo high profile, mbs flag set' is supported warning: directx_va generic debug: - 'H.264 stereo high profile' is supported warning: directx_va generic debug: - 'H.264 multiview high profile' is supported warning: directx_va generic debug: - 'H.264 scalable video coding, Scalable Constrained Baseline Profile' is supported warning: directx_va generic debug: - 'H.264 scalable video coding, Scalable Constrained High Profile' is supported warning: directx_va generic debug: - 'Unknown decoder 0x91cd2d6e-0x897b-0x4fa1-0xb0d751dc88010e0a' is supported warning: directx_va generic debug: - 'Unknown decoder 0x8c56eb1e-0x2b47-0x466f-0x8d337dbcd63f3df2' is supported warning: directx_va generic debug: - 'HEVC Main profile' is supported warning: directx_va generic debug: - 'Unknown decoder 0xa74ccae2-0xf466-0x45ae-0x86f5ab8be8af8483' is supported warning: directx_va generic debug: - 'Windows Media Video 9 IDCT' is supported warning: directx_va generic debug: - 'VC-1 inverse discrete cosine transform' is supported warning: directx_va generic debug: - 'Unknown decoder 0x49761bec-0x4b63-0x4349-0xa5ff87ffdf088466' is supported warning: directx_va generic debug: Trying to use 'HEVC Main profile' as input warning: dxva2 generic debug: NV12 is supported for output warning: dxva2 generic debug: Using decoder output 'NV12' warning: directx_va generic debug: directx_va_Setup id 174 1920x1088 warning: dxva2 generic debug: IDirectXVideoAccelerationService_CreateSurface succeed with 23 surfaces (1920x1152) warning: dxva2 generic debug: we got 2 decoder configurations warning: dxva2 generic debug: configuration[0] ConfigBitstreamRaw 1 warning: dxva2 generic debug: configuration[1] ConfigBitstreamRaw 1 [New Thread 6328.0xb48] [New Thread 6328.0x681c] [New Thread 6328.0x5fe4] [New Thread 6328.0x6244] [New Thread 6328.0x6c28] warning: core vout display debug: VoutDisplayEvent 'resize' 1920x925 warning: direct3d9 vout display debug: DirectXUpdateRects source offset: 0,0 visible: 1920x1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,1920,1088 warning: direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,1644,925 warning: direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1644,925 warning: dxva2 generic debug: IDirectXVideoDecoderService_CreateVideoDecoder succeed warning: directx_va generic warning: surface dimensions (1920x1152) differ from avcodec dimensions (1920x1088) warning: core generic debug: using hw decoder module "dxva2" warning: avcodec decoder: Using DXVA2 (, vendor 0(Unknown), device 0, revision 0) for hardware decoding warning: core decoder debug: Received first picture Thread 38 received signal SIGSEGV, Segmentation fault. [Switching to Thread 6328.0xb48] 0x77dcff33 in ?? () (gdb) bt #0 0x77dcff33 in ?? () #1 0x1a1d953c in ?? () #2 0x1a364101 in ?? () #3 0x1a363dcf in ?? () #4 0x1a3e6e0e in ?? () #5 0x1a3e6f36 in ?? () #6 0x74d962c4 in ?? () #7 0x77df0fd9 in ?? () #8 0x77df0fa4 in ?? () #9 0x00000000 in ?? () (gdb)

Lotesdelere
Cone Master
Cone Master
Posts: 9975
Joined: 08 Sep 2006 04:39
Location: Europe

Re: This file crashes VLC under DXVA2...

Postby Lotesdelere » 18 May 2017 12:10

This file seems to have many continuity troubles and has playback problems with any player I've tried.

Code: Select all

[hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 [hevc @ 04944940] PPS id out of range: 0q= 0KB sq= 0B f=0/0 [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. [hevc @ 04944940] PPS id out of range: 0 Last message repeated 1 times [hevc @ 04944940] Error parsing NAL unit #2. Input #0, mpegts, from 'corrupted_capture.ts':0KB sq= 0B f=0/0 Duration: 00:00:14.00, start: 1.400000, bitrate: 3726 kb/s Program 1 Metadata: service_name : video_profile_index=[0] service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main) ([36][0][0][0] / 0x0024), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 168 kb/s [hevc @ 0550b240] Could not find ref with POC 0 [hevc @ 04968180] Could not find ref with POC 13B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 29B sq= 0B f=0/0 [hevc @ 04968180] Could not find ref with POC 44B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 62B sq= 0B f=0/0 [hevc @ 0495b2a0] Could not find ref with POC 77B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 92B sq= 0B f=0/0 [hevc @ 04968580] Could not find ref with POC 4KB sq= 0B f=0/0 [hevc @ 04968180] Could not find ref with POC 22B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 40B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 57B sq= 0B f=0/0 [hevc @ 04968580] Could not find ref with POC 73B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 89B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 18B sq= 0B f=0/0 [hevc @ 0497fc80] Could not find ref with POC 34B sq= 0B f=0/0 [hevc @ 05641a40] Could not find ref with POC 50B sq= 0B f=0/0 [hevc @ 0495bac0] Could not find ref with POC 65B sq= 0B f=0/0 [hevc @ 04968580] Could not find ref with POC 80B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 96B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 7KB sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 24B sq= 0B f=0/0 [hevc @ 05641a40] Could not find ref with POC 40B sq= 0B f=0/0 [hevc @ 0495bac0] Could not find ref with POC 56B sq= 0B f=0/0 [hevc @ 04968580] Could not find ref with POC 72B sq= 0B f=0/0 [hevc @ 0495bac0] The cu_qp_delta 65 is outside the valid range [-26, 25]. [hevc @ 0550b240] Could not find ref with POC 87 [hevc @ 0550b240] Could not find ref with POC 15B sq= 0B f=0/0 [hevc @ 0497fc80] Could not find ref with POC 31B sq= 0B f=0/0 [hevc @ 05641a40] Could not find ref with POC 48B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 62B sq= 0B f=0/0 [hevc @ 04968580] Could not find ref with POC 78B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 94B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 5KB sq= 0B f=0/0 [hevc @ 0497fc80] Could not find ref with POC 22B sq= 0B f=0/0 [hevc @ 04968580] Could not find ref with POC 39B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 54B sq= 0B f=0/0 [mpegts @ 04925f00] PES packet size mismatch471KB sq= 0B f=0/0 [hevc @ 0495b2a0] Could not find ref with POC 69B sq= 0B f=0/0 [hevc @ 0550eba0] Could not find ref with POC 84B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 0KB sq= 0B f=0/0 [mpegts @ 04925f00] PES packet size mismatch451KB sq= 0B f=0/0 [hevc @ 04968180] Could not find ref with POC 15 [aac @ 0492e1e0] invalid band type28KB vq= 463KB sq= 0B f=0/0 [aac @ 0492e1e0] channel element 2.14 is not allocated [hevc @ 0497fc80] Could not find ref with POC 30B sq= 0B f=0/0 [hevc @ 04968180] Could not find ref with POC 45B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 61B sq= 0B f=0/0 [aac @ 0492e1e0] Input buffer exhausted before END element found0 [aac @ 0492e1e0] channel element 2.1 is not allocated [hevc @ 04968180] Could not find ref with POC 76B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 91B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 21B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 31B sq= 0B f=0/0 [hevc @ 0497fc80] Could not find ref with POC 48B sq= 0B f=0/0 [hevc @ 0550eba0] Could not find ref with POC 62B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 21B sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 31B sq= 0B f=0/0 [hevc @ 0497fc80] Could not find ref with POC 48B sq= 0B f=0/0 [hevc @ 0550eba0] Could not find ref with POC 62B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 78B sq= 0B f=0/0 [hevc @ 05641a40] Could not find ref with POC 94B sq= 0B f=0/0 [hevc @ 05641a40] Could not find ref with POC 5KB sq= 0B f=0/0 [hevc @ 0550b240] Could not find ref with POC 22B sq= 0B f=0/0 [hevc @ 0495b6a0] Could not find ref with POC 39B sq= 0B f=0/0 [hevc @ 05641a40] Could not find ref with POC 54B sq= 0B f=0/0 [mpegts @ 04925f00] PES packet size mismatch471KB sq= 0B f=0/0 [hevc @ 0495bac0] Could not find ref with POC 69B sq= 0B f=0/0 [hevc @ 04968580] Could not find ref with POC 84B sq= 0B f=0/0 [hevc @ 0550eba0] Could not find ref with POC 0KB sq= 0B f=0/0 [mpegts @ 04925f00] PES packet size mismatch456KB sq= 0B f=0/0 [hevc @ 0495b2a0] Could not find ref with POC 15B sq= 0B f=0/0 [aac @ 0492e1e0] invalid band type28KB vq= 463KB sq= 0B f=0/0 [aac @ 0492e1e0] channel element 2.14 is not allocated [hevc @ 0550b240] Could not find ref with POC 30B sq= 0B f=0/0 [hevc @ 0495b2a0] Could not find ref with POC 45B sq= 0B f=0/0 [hevc @ 0550eba0] Could not find ref with POC 61B sq= 0B f=0/0 [aac @ 0492e1e0] Input buffer exhausted before END element found0 [aac @ 0492e1e0] channel element 2.1 is not allocated [hevc @ 0495b2a0] Could not find ref with POC 76B sq= 0B f=0/0 [hevc @ 0550eba0] Could not find ref with POC 91B sq= 0B f=0/0

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 18 May 2017 12:24

Yes, but how many crash when trying to play it like versions of VLC do since 20th February?

The point is not that the file is missing data (I know this - please re-read the first line of my post), the point is that VLC is crashing when attempting to play it, and only under DXVA2, and only since sometime between 20th-27th February. This is important because it can legitimately encounter missing data when streaming over the network, depending on the protocol etc.

So far the cause is a bit hard to track down as it might be inside libav, and up until around 21st February vlc was built against libAV HEAD, then after that it started using fixed git revisions which have been updated infrequently since then.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 18 May 2017 18:48

So this gets stranger.

I rebuilt vlc from 10th February, and also made it use libav from the same date (since at the time it was built on 10th Feb, it was using HEAD for libav).

Unexpectedly, this produces the same crashing issue under DXVA2 only. This doesn't make much sense because if I download the 10th February nightly automated build, this does not crash.

So now I'm wondering if it's not so much vlc/libav but the mingw-64 toolchain? Because the toolchain used by the nightlies uses the latest git version for mingw-64 (assuming it was using what is in the Docker images), so it would have been built with an older toolchain. Maybe something in the mingw-w64 project has subtly broken something with DXVA2. Seems far-fetched though?

So my next test is to rebuild my toolchain as of 10th February and see what happens.

No doubt anyone reading this is now on the edge of their seat and cannot contain their excitement.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: This file crashes VLC under DXVA2...

Postby Jean-Baptiste Kempf » 19 May 2017 16:09

Can you redo the backtrace with the debug version of VLC?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 19 May 2017 16:17

Ok, so the oddity above wasn't caused by anything regarding the toolchain, but because it turns out that the nightly is built using FFmpeg rather than LibAV. This was a surprise given that the default build script builds LibAV. I presume when the nightly is run that USE_FFMPEG is uncommented at the top of contribs/src/ffmpeg/rules.mak?

Anyway, at least now I know I'm not going insane (much). If I build from code on 10th February I now get the same result as from the nightly, i.e. the crash does not occur.

Now I just need to narrow down which change in FFmpeg has caused this, perhaps something merged from LibAV given that LibAV was exhibiting the crashing behaviour on 10th Feb already.

Jean-Baptiste - that was already taken from the debug build on 27th May.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 20 May 2017 10:47

Ok, it seems to be a DXVA2 threading issue.

Check-in 869db8d re-enabled multi-threading, and after this check-in it crashes with this file.

Now to figure out a way to disable threading for DXVA2 only...

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 20 May 2017 12:00

So even disabling threading doesn't get rid of the crash, that must be a red herring.

I will now rebuild ffmpeg with enable-debug and see if I can get a call stack.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 20 May 2017 14:24

Ok, so I've gone as far as I can with this I think - whatever happens corrupts the stack.

I've tried disabling threading, but it makes no difference.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 20 May 2017 21:57

Ok, here is another mpeg-ts file, this time the only thing interesting about it is that the start of the file coincides with the random access indicator in the transport stream. This data was first captured by ffmpeg using dshow, transmitted across the network, but then filtered so that the only data saved to this file was from the first random access indicator onwards. Thereafter it is complete (turn off DXVA2 and you will see it plays just fine).

https://www.dropbox.com/s/ha8wr19jl5e10 ... or.ts?dl=0

Once again, it crashes VLC every time which surely is a bit of a problem because the whole point of the RA position in a TS file is that this is the point from which it should be possible to decode without errors.

Note that to reproduce these issues you need to set *both* the hardware acceleration to DXVA2 and the video output of VLC to D3D9. I am seeing these issues on an Intel NUC 54250WYK.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Re: This file crashes VLC under DXVA2...

Postby oviano » 24 May 2017 11:36

So just in the interests of wrapping this up, I established that:

1. trying to play an HEVC-encoded mpeg-ts that has had random segments removed, or playing from the first packet that includes the "Random Access" crashes VLC when using DXVA2 + D3D9 on an NUC54250 with Intel Graphics 5000. Using D3D11VA + D3D11 also has issues with the image freezing and a phantom "VLC player" process continuing indefinitely after closing VLC. Just to verify it isn't the hardware, I repeated it on a second NUC54250.
2. the issue does not occur on two other PCs I tried with different graphics cards. One with NVIDIA and one with later Intel Graphics did not crash.
3. the crash appears to be down inside the Intel Graphics driver (ig*.dll)
4. the issue only occurs with HEVC encoded mpeg-ts files. h.264 are fine.
5. the crash also happens on MPC-HC with DXVA2.
6. if ffmpeg outputs mpeg-ts files using the HLS segmenter, all segments play fine.

So it appears to be an Intel Graphics driver issue, specific to this hardware. Upgrading the graphics driver didn't fix it.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: This file crashes VLC under DXVA2...

Postby Jean-Baptiste Kempf » 24 May 2017 21:28

It should not crash, though... You should file a bug.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 40 guests