Video Playback time synchronization issue
Summary
When playing back recorded Video, the timings of the frames goes out of sync.
Minimal project and steps to reproduce
Related WPF .net solution added to "https://github.com/tusharhub1978/VLCLIB.git" Functional steps to reproduce the behavior (if necessary): Compile solution / project and run
On the main screen click the "VLC POC" button, this will open the "Example 2" window with related controls On the Left hand side column select "File Preview" instead of "Preview and Record" Now in the same left Panel click the "PLAY" button. When the playback is started observe the feed as well as the Video time being updated in RED. Now at the bottom we have the Video slider and its thumb. Try to drag the thumb forward or backward After this observe the Video feed, we will find that after drag is released the video does not resume from the expected frame / Image.
What is the current bug behavior?
Let the Video play normally and observe the events in the video (when the waiting spinner finishes and the virtual eye is seen approximately 11:00 + seconds) Now try to drag the Video slider at the location of around 11:00 + seconds. Observe that the image which comes up approximately around 11:00 + seconds is not the one which is expected ((when the waiting spinner finishes and the virtual eye is seen) We can also try dragging the slider thumb close to the end of the video. Most of the times the video finishes well before the slider reaching the end.
What is the expected correct behavior?
Expectations are that the events occurring in the video and related time should be in sync, even after the Video Slider is moves in fast forward or reverse.
Does it work on other plaforms? Does it work with the official VLC apps?
In VLC app also the same Issue is observed.
Preview Logger Messages[Debug] main:Creating an input for 'AttemptVideo_1.wmv'
[Debug] main:using timeshift granularity of 50 MiB
[Debug] main:using timeshift path: C:\Users\tchaudha\AppData\Local\Temp
[Debug] main:`file:///D:/Projects/HMS-LMS/SVN/trunk/POC/WpfVLCVidepLanPOC/bin/Release/AttemptVideo_1.wmv' gives access `file' demux `avformat' path `/D:/Projects/HMS-LMS/SVN/trunk/POC/WpfVLCVidepLanPOC/bin/Release/AttemptVideo_1.wmv'
[Debug] main:looking for access_demux module matching "file": zd candidates
[Debug] main:creating demux: access='file' demux='avformat' location='/D:/Projects/HMS-LMS/SVN/trunk/POC/WpfVLCVidepLanPOC/bin/Release/AttemptVideo_1.wmv' file='D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\AttemptVideo_1.wmv'
[Debug] main:no access_demux modules matched
[Debug] main:creating access: file:///D:/Projects/HMS-LMS/SVN/trunk/POC/WpfVLCVidepLanPOC/bin/Release/AttemptVideo_1.wmv
[Debug] main: (path: D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\AttemptVideo_1.wmv)
[Debug] main:looking for access module matching "file": zd candidates
[Debug] main:looking for stream_filter module matching "prefetch,cache_read": zd candidates
[Debug] cache_read:Using stream method for AStream*
[Debug] cache_read:starting pre-buffering
[Debug] cache_read:received first data after 0 ms
[Debug] main:using access module "filesystem"
[Debug] main:using stream_filter module "cache_read"
[Debug] cache_read:pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
[Debug] main:looking for stream_filter module matching "any": zd candidates
[Debug] lua:Trying Lua scripts in C:\Users\tchaudha\AppData\Roaming\vlc\lua\playlist
[Debug] lua:Trying Lua scripts in D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\anevia_streams.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\anevia_xml.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\appletrailers.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\bbc_co_uk.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\cue.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\jamendo.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\dailymotion.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\koreus.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\liveleak.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\newgrounds.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\rockbox_fm_presets.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\soundcloud.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\twitch.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\vimeo.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\vocaroo.luac
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\playlist\youtube.luac
[Debug] main:no stream_filter modules matched
[Debug] main:looking for stream_directory module matching "any": zd candidates
[Debug] main:no stream_directory modules matched
[Debug] main:attachment of directory-extractor failed for file:///D:/Projects/HMS-LMS/SVN/trunk/POC/WpfVLCVidepLanPOC/bin/Release/AttemptVideo_1.wmv
[Debug] main:looking for stream_filter module matching "record": zd candidates
[Debug] main:using stream_filter module "record"
[Debug] main:creating demux: access='file' demux='avformat' location='/D:/Projects/HMS-LMS/SVN/trunk/POC/WpfVLCVidepLanPOC/bin/Release/AttemptVideo_1.wmv' file='D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\AttemptVideo_1.wmv'
[Debug] main:looking for demux module matching "avformat": zd candidates
[Debug] avcodec:trying url: D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\AttemptVideo_1.wmv
[Debug] avcodec:CPU flags: 0x000fd3db
[Debug] avcodec:detected format: asf
[Debug] main:selecting program id=0
[Debug] avcodec:adding es: video codec = h264 (27)
[Debug] avcodec:AVFormat(ffmpeg Lavf58.3.100) supported stream
[Debug] avcodec: - format = asf (ASF (Advanced / Active Streaming Format))
[Debug] avcodec: - start time = -1
[Debug] avcodec: - duration = 47920000
[Debug] main:using demux module "avcodec"
[Debug] main:looking for a subtitle file in D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\
[Debug] main:looking for video decoder module matching "any": zd candidates
[Debug] avcodec:using ffmpeg Lavc58.6.103
[Debug] avcodec:CPU flags: 0x000fd3db
[Debug] avcodec:allowing 5 thread(s) for decoding
[Debug] avcodec:codec (h264) started
[Debug] avcodec:using frame thread mode with 5 threads
[Debug] main:using video decoder module "avcodec"
[Debug] main:looking for meta reader module matching "any": zd candidates
[Debug] lua:Trying Lua scripts in C:\Users\tchaudha\AppData\Roaming\vlc\lua\meta\reader
[Debug] lua:Trying Lua scripts in D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\meta\reader
[Debug] lua:Trying Lua playlist script D:\Projects\HMS-LMS\SVN\trunk\POC\WpfVLCVidepLanPOC\bin\Release\libvlc\win-x64\lua\meta\reader\filename.luac
[Debug] main:no meta reader modules matched
[Debug] main:`file:///D:/Projects/HMS-LMS/SVN/trunk/POC/WpfVLCVidepLanPOC/bin/Release/AttemptVideo_1.wmv' successfully opened
[Debug] main:Buffering 0%
[Debug] main:Buffering 4%
[Debug] main:Buffering 12%
[Debug] main:Buffering 8%
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] main:Buffering 68%
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] main:Buffering 72%
[Debug] avcodec:trying format d3d11va_vld
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 76%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 6 ms)
[Debug] main:looking for text renderer module matching "any": zd candidates
[Debug] freetype:Using DWrite backend
[Debug] freetype:DWrite_GetFamily(): family name: Arial
[Debug] freetype:DWrite_ParseFamily(): using font at index 0 with weight 400 for bold: 0, italic: 0
[Debug] freetype:DWrite_ParseFamily(): using font at index 1 with weight 700 for bold: 1, italic: 0
[Debug] freetype:DWrite_ParseFamily(): using font at index 2 with weight 400 for bold: 0, italic: 1
[Debug] freetype:DWrite_ParseFamily(): using font at index 3 with weight 700 for bold: 1, italic: 1
[Debug] main:using text renderer module "freetype"
[Debug] main:looking for video converter module matching "any": zd candidates
[Debug] swscale:32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
[Debug] main:using video converter module "swscale"
[Debug] main:looking for video converter module matching "any": zd candidates
[Debug] yuvp:YUVP to YUVA converter
[Debug] main:using video converter module "yuvp"
[Debug] main:Deinterlacing available
[Debug] main:deinterlace -1, mode auto, is_needed 0
[Debug] main:looking for vout window module matching "embed-hwnd,any": zd candidates
[Debug] main:using vout window module "drawable"
[Debug] main:looking for inhibit module matching "any": zd candidates
[Debug] main:using inhibit module "inhibit"
[Debug] main:Opening vout display wrapper
[Debug] main:looking for vout display module matching "any": zd candidates
[Debug] direct3d11:creating Vout EventThread
[Debug] direct3d11:Win32VoutCreateWindow
[Debug] main:VoutDisplayEvent 'resize' 1920x2160
[Debug] direct3d11:inclinometer not found. (hr=0x80070490)
[Debug] direct3d11:created video sub-window
[Debug] direct3d11:Vout EventThread running
[Debug] direct3d11:Created the D3D11 device type 1 level b100.
[Debug] direct3d11:Intel WDDM driver 26.20.100.7263
[Debug] direct3d11:supports colorspace RGB Rec.709 gamma:22 range:FULL
[Debug] direct3d11:supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
[Debug] direct3d11:supports colorspace RGB Rec.2020 gamma:22 range:FULL
[Debug] direct3d11:supports colorspace RGB Rec.2020 gamma:2084 range:FULL
[Debug] direct3d11:supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
[Debug] direct3d11:using colorspace RGB Rec.709 gamma:22 range:FULL
[Debug] direct3d11:Using pixel format VA_NV12 for chroma DX11
[Debug] main:VoutDisplayEvent 'resize' 2896x2199
[Debug] direct3d11:Direct3D11 device adapter successfully initialized
[Debug] direct3d11:Direct3D11 resources created
[Debug] direct3d11:Direct3D11 Open Succeeded
[Debug] main:using vout display module "direct3d11"
[Debug] direct3d11:D3D11 pool succeed with 38 surfaces (1920x2176) context 0x0000029872261E08
[Debug] main:removing module "freetype"
[Debug] main:original format sz 1920x2160, of (0,0), vsz 1920x2160, 4cc DX11, sar 3:2, msk r0x0 g0x0 b0x0
[Debug] main:VoutDisplayEvent 'resize' 601x565
[Debug] main:looking for text renderer module matching "any": zd candidates
[Debug] freetype:Using DWrite backend
[Debug] freetype:DWrite_GetFamily(): family name: Arial
[Debug] freetype:DWrite_ParseFamily(): using font at index 0 with weight 400 for bold: 0, italic: 0
[Debug] freetype:DWrite_ParseFamily(): using font at index 1 with weight 700 for bold: 1, italic: 0
[Debug] freetype:DWrite_ParseFamily(): using font at index 2 with weight 400 for bold: 0, italic: 1
[Debug] freetype:DWrite_ParseFamily(): using font at index 3 with weight 700 for bold: 1, italic: 1
[Debug] main:using text renderer module "freetype"
[Debug] direct3d11:Detected size change 601x450
[Debug] main:looking for hw decoder module matching "d3d11va": zd candidates
[Debug] d3d11va:Intel WDDM driver 26.20.100.7263
[Debug] d3d11va:Reusing Direct3D11 device
[Debug] d3d11va:CreateDevice succeed
[Debug] d3d11va:- 'MPEG-2 variable-length decoder' is supported
[Debug] d3d11va:- 'MPEG-2 inverse discrete cosine transform' is supported
[Debug] d3d11va:- 'VC-1 variable-length decoder' is supported
[Debug] d3d11va:- 'VC-1 variable-length decoder 2 (Intel)' is supported
[Debug] d3d11va:- 'VC-1 variable-length decoder (Intel)' is supported
[Debug] d3d11va:- 'Windows Media Video 9 IDCT' is supported
[Debug] d3d11va:- 'VC-1 inverse discrete cosine transform' is supported
[Debug] d3d11va:- 'H.264 variable-length decoder, no film grain technology' is supported
[Debug] d3d11va:- 'H.264 stereo high profile, mbs flag set' is supported
[Debug] d3d11va:- 'H.264 stereo high profile' is supported
[Debug] d3d11va:- 'H.264 multiview high profile' is supported
[Debug] d3d11va:- 'Unknown decoder 0xc528916c-0xc0af-0x4645-0x8cb2372b6d4adc2a' is supported
[Debug] d3d11va:- 'Unknown decoder 0x91cd2d6e-0x897b-0x4fa1-0xb0d751dc88010e0a' is supported
[Debug] d3d11va:- 'VP8' is supported
[Debug] d3d11va:- 'Unknown decoder 0x442b942a-0xb4d9-0x4940-0xbc45a882e5f919f3' is supported
[Debug] d3d11va:- 'Unknown decoder 0x97688186-0x56a8-0x4094-0xb543fc9daaa49f4b' is supported
[Debug] d3d11va:- 'Unknown decoder 0x1424d4dc-0x7cf5-0x4bb1-0x9cd7b63717a72a6b' is supported
[Debug] d3d11va:- 'Unknown decoder 0xc346e8a3-0xcbed-0x4d27-0x87cca70eb4dc8c27' is supported
[Debug] d3d11va:- 'Unknown decoder 0xffc79924-0x5eaf-0x4666-0xa73606190f281443' is supported
[Debug] d3d11va:- 'Unknown decoder 0x2364d06a-0xf67f-0x4186-0xaed062b99e1784f1' is supported
[Debug] d3d11va:- 'Unknown decoder 0x464bdb3c-0x91c4-0x4e9b-0x896f225496ac4ed6' is supported
[Debug] d3d11va:- 'Unknown decoder 0x28566328-0xf041-0x4466-0x8b148f5831e78f8b' is supported
[Debug] d3d11va:- 'Unknown decoder 0x6b4a94db-0x54fe-0x4ae1-0x9be47a7dad004600' is supported
[Debug] d3d11va:- 'Unknown decoder 0x8c56eb1e-0x2b47-0x466f-0x8d337dbcd63f3df2' is supported
[Debug] d3d11va:- 'HEVC Main profile' is supported
[Debug] d3d11va:- 'Unknown decoder 0x75fc75f7-0xc589-0x4a07-0xa25b72e03b0383b3' is supported
[Debug] d3d11va:- 'HEVC Main 10 profile' is supported
[Debug] d3d11va:- 'Unknown decoder 0x07cfaffb-0x5a2e-0x4b99-0xb62ae4ca53b6d5aa' is supported
[Debug] d3d11va:- 'VP9 profile 0' is supported
[Debug] d3d11va:- 'VP9 profile 2' is supported
[Debug] d3d11va:- 'VP9 profile Intel' is supported
[Debug] d3d11va:- 'Unknown decoder 0x80a3a7bd-0x89d8-0x4497-0xa2b82126af7e6eb8' is supported
[Debug] d3d11va:- 'Unknown decoder 0x8de911c4-0xc898-0x4364-0x97151de6b3fe773d' is supported
[Debug] d3d11va:- 'Unknown decoder 0x50925b7b-0xe931-0x4978-0xa12a586630f095f9' is supported
[Debug] d3d11va:- 'Unknown decoder 0xb69c20e0-0x2508-0x8790-0x0305875499e0a2d0' is supported
[Debug] d3d11va:- 'Unknown decoder 0x49761bec-0x4b63-0x4349-0xa5ff87ffdf088466' is supported
[Debug] d3d11va:Trying to use 'H.264 variable-length decoder, no film grain technology' as input
[Debug] d3d11va:NV12 output is supported for decoder H.264 variable-length decoder, no film grain technology.
[Debug] d3d11va:Using output format NV12 for decoder H.264 variable-length decoder, no film grain technology
[Debug] d3d11va:va_pool_SetupDecoder id 27 1920x2160 count: 23
[Debug] d3d11va:using external surface pool
[Debug] d3d11va:ID3D11VideoDecoderOutputView succeed with 23 surfaces (1920x2160)
[Debug] d3d11va:we got 8 decoder configurations
[Debug] d3d11va:configuration[0] ConfigBitstreamRaw 2
[Debug] d3d11va:configuration[1] ConfigBitstreamRaw 1
[Debug] d3d11va:configuration[2] ConfigBitstreamRaw 2
[Debug] d3d11va:configuration[3] ConfigBitstreamRaw 2
[Debug] d3d11va:configuration[4] ConfigBitstreamRaw 2
[Debug] d3d11va:configuration[5] ConfigBitstreamRaw 2
[Debug] d3d11va:configuration[6] ConfigBitstreamRaw 1
[Debug] d3d11va:configuration[7] ConfigBitstreamRaw 1
[Debug] d3d11va:DxCreateDecoderSurfaces succeed
[Debug] main:using hw decoder module "d3d11va"
[Notice] avcodec:Using D3D11VA (Intel(R) HD Graphics 620, vendor 8086(Intel), device 5916, revision 2) for hardware decoding
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 305 ms
[Debug] main:auto hiding mouse cursor
[Warning] drawable:unsupported control query 3
[Debug] main:VoutDisplayEvent 'resize' 1475x762
[Debug] direct3d11:Detected size change 1016x762
[Warning] drawable:unsupported control query 3
[Debug] main:auto hiding mouse cursor
[Warning] drawable:unsupported control query 3
[Warning] avcodec:DEMUX_SET_TIME: 20000000
[Warning] avcodec:DEMUX_SET_TIME: 19000000
[Warning] avcodec:DEMUX_SET_TIME: 18000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 18000000
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 0%
[Debug] main:Buffering 12%
[Debug] main:Buffering 8%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] main:Buffering 16%
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 9 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 18 ms
[Warning] avcodec:DEMUX_SET_TIME: 16000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 15000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 15000000
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 12%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 52%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 11 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 22 ms
[Debug] main:Buffering 48%
[Debug] main:Buffering 88%
[Warning] avcodec:DEMUX_SET_TIME: 12000000
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Warning] avcodec:DEMUX_SET_TIME: 12000000
[Debug] main:Buffering 0%
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] main:Buffering 12%
[Debug] main:Buffering 16%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 9 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 16 ms
[Warning] avcodec:DEMUX_SET_TIME: 11000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 11000000
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 12%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 16%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 100%
[Debug] main:Buffering 96%
[Debug] main:Stream buffering done (1040 ms in 14 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 12 ms
[Warning] avcodec:DEMUX_SET_TIME: 11000000
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] main:Buffering 12%
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] main:Buffering 36%
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] main:Buffering 40%
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 88%
[Debug] main:Buffering 84%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 19 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 18 ms
[Warning] avcodec:DEMUX_SET_TIME: 22000000
[Warning] avcodec:DEMUX_SET_TIME: 21000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 21000000
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 0%
[Debug] main:Buffering 12%
[Debug] main:Buffering 8%
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 88%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] main:Buffering 92%
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] main:Buffering 96%
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] main:Buffering 100%
[Debug] main:Buffering 84%
[Debug] main:Stream buffering done (1040 ms in 7 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 23 ms
[Warning] avcodec:DEMUX_SET_TIME: 16000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 15000000
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] main:Buffering 16%
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] main:Buffering 28%
[Debug] main:Received first picture
[Debug] main:Buffering 32%
[Debug] main:Buffering 12%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 34 ms)
[Debug] main:Decoder wait done in 0 ms
[Warning] avcodec:DEMUX_SET_TIME: 10000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 0
[Debug] main:Buffering 0%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 8%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] main:Buffering 12%
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Stream buffering done (1040 ms in 8 ms)
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 100%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Received first picture
[Debug] main:Buffering 96%
[Debug] main:Decoder wait done in 29 ms
[Debug] main:Buffering 92%
[Warning] avcodec:DEMUX_SET_TIME: 9000000
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] main:Buffering 12%
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] main:Buffering 24%
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 28%
[Debug] main:Buffering 36%
[Debug] main:Buffering 56%
[Debug] main:Buffering 32%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Stream buffering done (1040 ms in 8 ms)
[Debug] main:Buffering 100%
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 23 ms
[Warning] drawable:unsupported control query 3
[Debug] main:auto hiding mouse cursor
[Warning] drawable:unsupported control query 3
[Warning] drawable:unsupported control query 3
[Debug] main:auto hiding mouse cursor
[Warning] drawable:unsupported control query 3
[Warning] drawable:unsupported control query 3
[Debug] main:auto hiding mouse cursor
[Warning] drawable:unsupported control query 3
[Warning] avcodec:DEMUX_SET_TIME: 19000000
[Warning] avcodec:DEMUX_SET_TIME: 19000000
[Debug] main:Buffering 0%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] main:Buffering 12%
[Debug] main:Buffering 16%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] main:Buffering 32%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 84%
[Debug] main:Buffering 80%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 19 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 36 ms
[Warning] avcodec:DEMUX_SET_TIME: 30000000
[Debug] main:Buffering 0%
[Warning] avcodec:DEMUX_SET_TIME: 30000000
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] main:Buffering 12%
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] main:Buffering 32%
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 36%
[Debug] main:Buffering 28%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 24%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 14 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 24 ms
[Warning] avcodec:DEMUX_SET_TIME: 33000000
[Warning] avcodec:DEMUX_SET_TIME: 33000000
[Debug] main:Buffering 0%
[Debug] main:Buffering 12%
[Debug] main:Buffering 16%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 32%
[Debug] main:Buffering 28%
[Debug] main:Buffering 8%
[Debug] main:Buffering 36%
[Debug] main:Buffering 40%
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 72%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 6 ms)
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 20 ms
[Warning] avcodec:DEMUX_SET_TIME: 34000000
[Debug] main:Buffering 0%
[Debug] main:Buffering 8%
[Debug] main:Buffering 12%
[Debug] main:Buffering 16%
[Debug] main:Buffering 20%
[Debug] main:Buffering 24%
[Debug] main:Buffering 28%
[Debug] avcodec:available hardware decoder output format 119 (cuda)
[Debug] main:Buffering 36%
[Debug] avcodec:available hardware decoder output format 53 (dxva2_vld)
[Debug] avcodec:available hardware decoder output format 118 (d3d11va_vld)
[Debug] avcodec:available hardware decoder output format 174 (d3d11)
[Debug] main:Buffering 40%
[Debug] avcodec:available software decoder output format 0 (yuv420p)
[Debug] avcodec:reusing decoder output format 118
[Debug] main:Buffering 44%
[Debug] main:Buffering 48%
[Debug] main:Buffering 52%
[Debug] main:Buffering 56%
[Debug] main:Buffering 60%
[Debug] main:Buffering 64%
[Debug] main:Buffering 68%
[Debug] main:Buffering 32%
[Debug] main:Buffering 76%
[Debug] main:Buffering 80%
[Debug] main:Buffering 84%
[Debug] main:Buffering 88%
[Debug] main:Buffering 92%
[Debug] main:Buffering 96%
[Debug] main:Buffering 100%
[Debug] main:Stream buffering done (1040 ms in 9 ms)
[Debug] main:Buffering 72%
[Debug] main:Received first picture
[Debug] main:Decoder wait done in 24 ms
[Warning] drawable:unsupported control query 3
[Debug] main:auto hiding mouse cursor
[Warning] drawable:unsupported control query 3
[Warning] drawable:unsupported control query 3
[Debug] main:auto hiding mouse cursor
[Warning] drawable:unsupported control query 3
[Warning] drawable:unsupported control query 3
[Debug] main:EOF reached
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Warning] drawable:unsupported control query 3
[Debug] main:auto hiding mouse cursor
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:waiting decoder fifos to empty
[Debug] main:killing decoder fourcc `h264'
Environment
- OS: Windows 64 bit
- Version Win10,
- LibVLC version and architecture 3.0.11.0
- LibVLCSharp version 3.4.9.0
- LibVLCSharp.WPF 3.4.9.0
Possible fixes
Probably some LibVLC settings or the Media Options needs be changed or added. Or Recording options changed to have appropriate time sync between video and occurring events .