Take snapshot doesnt work while recording and displaying from webcam
Summary
I m have to display webcam on screen, record this and allow user to take snapshots.
Minimal project and steps to reproduce
static void Main(string[] args)
{
Core.Initialize();
LibVLC libvlc = new LibVLC(enableDebugLogs: true);
var player = new MediaPlayer(libvlc);
var webCamMedia = new Media(libvlc, "dshow://", FromType.FromLocation);
webCamMedia.AddOption(":dshow-vdev=Logitech StreamCam");
// webCamMedia.AddOption(":dshow-adev=Mikrofon (Logitech StreamCam)");
// webCamMedia.AddOption(":live-caching=300");
webCamMedia.AddOption($":sout=#duplicate{{dst=display,dst=\"transcode{{vcodec=h264}}:standard{{access=file,mux=mp4,dst=recording{DateTime.Now.Ticks}.mp4}}\"}}");
player.EnableHardwareDecoding = true;
player.Play(webCamMedia);
for (int i = 0; i < 10; i++)
{
Thread.Sleep(5000);
var res = player.TakeSnapshot(0, $"snapshot{DateTime.Now.Ticks}.png", 0, 0);
}
player.Stop();
}
What is the current bug behavior?
takesnapshot return false
What is the expected correct behavior?
there shold be taken snapshot
Relevant LibVLC logs and/or screenshots
[0000019a2e019290] main libvlc debug: VLC media player - 3.0.18 Vetinari
[0000019a2e019290] main libvlc debug: Copyright © 1996-2022 the VideoLAN team
[0000019a2e019290] main libvlc debug: revision 3.0.18-0-ge9eceaed4d
[0000019a2e019290] main libvlc debug: configured with /builds/videolan/vlc/extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-shout' '--enable-goom' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' '--with-contrib=../contrib/x86_64-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.org' '--enable-qt' '--enable-skins2' '--enable-dvdread' '--enable-caca' 'host_alias=x86_64-w64-mingw32' 'CFLAGS= ' 'CXXFLAGS= ' 'PKG_CONFIG=pkg-config' 'PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/lib/pkgconfig:/usr/lib/x86_64-w64-mingw32/pkgconfig'
[0000019a2e019290] main libvlc debug: using multimedia timers as clock source
[0000019a2e019290] main libvlc debug: min period: 1 ms, max period: 1000000 ms
[0000019a2e019290] main libvlc debug: searching plug-in modules
[0000019a2e019290] main libvlc debug: loading plugins cache file C:\Users\jacek\source\repos\VLCSimpleWebCamViewer\ConsoleWebCamRecorder\bin\Debug\net7.0\libvlc\win-x64\plugins\plugins.dat
[0000019a2e019290] main libvlc warning: cannot read C:\Users\jacek\source\repos\VLCSimpleWebCamViewer\ConsoleWebCamRecorder\bin\Debug\net7.0\libvlc\win-x64\plugins\plugins.dat: No such file or directory
[0000019a2e019290] main libvlc debug: recursively browsing `C:\Users\jacek\source\repos\VLCSimpleWebCamViewer\ConsoleWebCamRecorder\bin\Debug\net7.0\libvlc\win-x64\plugins'
[0000019a2e019290] main libvlc debug: plug-ins loaded: 496 modules
[0000019a2e019510] main logger debug: looking for logger module matching "any": 2 candidates
[0000019a2e019510] main logger debug: using logger module "console"
[0000019a2e019290] main libvlc debug: translation test: code is "pl"
[0000019a029edfa0] main keystore debug: looking for keystore module matching "memory": 3 candidates
[0000019a029edfa0] main keystore debug: using keystore module "memory"
[0000019a2e019290] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[0000019a2e019630] main generic debug: creating audio output
[0000019a2e019800] main audio output debug: looking for audio output module matching "any": 6 candidates
[0000019a2e019800] mmdevice audio output debug: using default device
[0000019a2e019800] mmdevice audio output debug: display name changed: VLC media player (LibVLC 3.0.18)
[0000019a2e019800] mmdevice audio output debug: version 2 session control unavailable
[0000019a2e019800] mmdevice audio output debug: volume from -96.000000 dB to +0.000000 dB with 1.500000 dB increments
[0000019a2e019800] main audio output debug: using audio output module "mmdevice"
[0000019a2e019630] main generic debug: keeping audio output
[0000019a02e22710] main input debug: Creating an input for 'dshow://'
[0000019a02d7f5c0] main stream output debug: using sout chain=`duplicate{dst=display,dst="transcode{vcodec=h264}:standard{access=file,mux=mp4,dst=recording638217471313757873.mp4}"}'
[0000019a02d7f5c0] main stream output debug: stream=`duplicate'
[0000019a0238aa70] main stream out debug: looking for sout stream module matching "duplicate": 23 candidates
[0000019a0238aa70] duplicate stream out debug: creating 'duplicate'
[0000019a0238aa70] duplicate stream out debug: * adding `display'
[0000019a02d7f5c0] main stream output debug: stream=`display'
[0000019a02a40010] main stream out debug: looking for sout stream module matching "display": 23 candidates
[0000019a02a40010] main stream out debug: using sout stream module "display"
[0000019a0238aa70] duplicate stream out debug: * adding `transcode{vcodec=h264}:standard{access=file,mux=mp4,dst=recording638217471313757873.mp4}'
[0000019a02d7f5c0] main stream output debug: stream=`standard'
[0000019a02d7ef90] main stream out debug: looking for sout stream module matching "standard": 23 candidates
[0000019a02d7ef90] main stream out debug: set config option: sout-standard-access to file
[0000019a02d7ef90] main stream out debug: set config option: sout-standard-mux to mp4
[0000019a02d7ef90] main stream out debug: set config option: sout-standard-dst to recording638217471313757873.mp4
[0000019a02d7fa40] main access out debug: looking for sout access module matching "file": 11 candidates
[0000019a02d7fa40] file access out debug: file access output opened (recording638217471313757873.mp4)
[0000019a02d7fa40] main access out debug: using sout access module "file"
[0000019a029ef1f0] main mux debug: looking for sout mux module matching "mp4": 11 candidates
[0000019a029ef1f0] mp4 mux debug: Mp4 muxer opened
[0000019a029ef1f0] main mux debug: using sout mux module "mp4"
[0000019a02d7ef90] stream_out_standard stream out debug: using `file/mp4://recording638217471313757873.mp4'
[0000019a02d7ef90] main stream out debug: using sout stream module "stream_out_standard"
[0000019a02d7f5c0] main stream output debug: stream=`transcode'
[0000019a02d7f0c0] main stream out debug: looking for sout stream module matching "transcode": 23 candidates
[0000019a02d7f0c0] main stream out debug: set config option: sout-transcode-vcodec to h264
[0000019a02d7f0c0] stream_out_transcode stream out debug: Checking video codec mapping for h264 got h264
[0000019a02d7f0c0] stream_out_transcode stream out debug: codec video=h264 0x0 scaling: 0.000000 0kb/s
[0000019a02d7f0c0] main stream out debug: using sout stream module "stream_out_transcode"
[0000019a0238aa70] main stream out debug: using sout stream module "duplicate"
[0000019a02e22710] main input debug: using timeshift granularity of 50 MiB
[0000019a02e22710] main input debug: using timeshift path: C:\Users\jacek\AppData\Local\Temp
[0000019a02e22710] main input debug: `dshow://' gives access `dshow' demux `any' path `'
[0000019a02d7f6e0] main input source debug: creating demux: access='dshow' demux='any' location='' file='(null)'
[0000019a02d81490] main demux debug: looking for access_demux module matching "dshow": 15 candidates
[0000019a02d81490] dshow demux debug: dshow-vdev: Logitech StreamCam
[0000019a02d81490] dshow demux debug: dshow-adev:
[0000019a02d81490] dshow demux debug: found device: AVerMedia ExtremeCap UVC
[0000019a02d81490] dshow demux debug: found device: Decklink Video Capture
[0000019a02d81490] dshow demux debug: found device: Logitech StreamCam
[0000019a02d81490] dshow demux debug: asking for device: Logitech StreamCam
[0000019a02d81490] dshow demux debug: asked for Logitech StreamCam, binding to Logitech StreamCam
[0000019a02d81490] dshow demux debug: using device: Logitech StreamCam
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: output pin: Capture
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: input pin: Video Camera Terminal
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: trying pin Capture
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: input pin default format configured
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:2304, height:1296, fps:5.000000
[0000019a02d81490] dshow demux debug: CaptureFilter::JoinFilterGraph
[0000019a02d81490] dshow demux debug: connecting filters
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::ConnectedTo [not connected]
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::QueryFilterInfo
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::QueryAccept [OK] (width=2304, height=1296, chroma=YUY2, fps=5.000000)
[0000019a02d81490] dshow demux debug: CapturePin::ReceiveConnection [OK]
[0000019a02d81490] dshow demux debug: CapturePin::NotifyAllocator
[0000019a02d81490] dshow demux debug: ConnectFilters: graph_builder2 available.
[0000019a02d81490] dshow demux warning: ConnectFilters: No crossBar routes found (incompatible pin types)
[0000019a02d81490] dshow demux debug: filters connected successfully !
[0000019a02d81490] dshow demux debug: MEDIATYPE_Video
[0000019a02d81490] dshow demux debug: selected video pin accepts format: YUY2
[0000019a02d81490] dshow demux debug: found device: Decklink Audio Capture
[0000019a02d81490] dshow demux debug: found device: Digital Audio Interface (AVerMedia ExtremeCap UAC)
[0000019a02d81490] dshow demux debug: found device: Line In (Blackmagic DeckLink Mini Recorder 4K Audio)
[0000019a02d81490] dshow demux debug: found device: Microphone (High Definition Audio Device)
[0000019a02d81490] dshow demux debug: found device: Microphone (Logitech StreamCam)
[0000019a02d81490] dshow demux debug: found device: Microphone (Steam Streaming Microphone)
[0000019a02d81490] dshow demux debug: asking for default device: Decklink Audio Capture
[0000019a02d81490] dshow demux debug: asked for Decklink Audio Capture, binding to Decklink Audio Capture
[0000019a02d81490] dshow demux debug: using device: Decklink Audio Capture
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: output pin: Capture
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: trying pin Capture
[0000019a02d81490] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:48000 bits/sample:16
[0000019a02d81490] dshow demux debug: CaptureFilter::JoinFilterGraph
[0000019a02d81490] dshow demux debug: connecting filters
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::ConnectedTo [not connected]
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::QueryFilterInfo
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::QueryAccept [OK] (channels=2, samples/sec=48000, bits/samples=16, format=araw)
[0000019a02d81490] dshow demux debug: CapturePin::ReceiveConnection [OK]
[0000019a02d81490] dshow demux debug: CapturePin::NotifyAllocator
[0000019a02d81490] dshow demux debug: filters connected successfully !
[0000019a02d81490] dshow demux debug: MEDIATYPE_Audio
[0000019a02d81490] dshow demux debug: selected audio pin accepts format: araw
[0000019a02d81490] dshow demux debug: Playing...
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::QueryPinInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::ConnectedTo [OK]
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::ConnectedTo [OK]
[0000019a02d81490] dshow demux debug: CaptureFilter::SetSyncSource
[0000019a02d81490] dshow demux debug: CaptureFilter::SetSyncSource
[0000019a02d81490] dshow demux debug: CaptureFilter::Pause
[0000019a02d81490] dshow demux debug: CaptureFilter::Pause
[0000019a02d81490] dshow demux debug: CaptureFilter::QueryFilterInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::QueryFilterInfo
[0000019a02d81490] dshow demux debug: CaptureFilter::Run
[0000019a02d81490] dshow demux debug: CaptureFilter::Run
[0000019a02e22710] main input debug: selecting program id=0
[0000019a02d81490] main demux debug: using access_demux module "dshow"
[0000019a02e32030] main decoder debug: looking for packetizer module matching "any": 25 candidates
[0000019a02e32030] main decoder debug: using packetizer module "rawvideo"
[0000019a02e327f0] main decoder debug: looking for packetizer module matching "any": 25 candidates
[0000019a02e327f0] main decoder debug: using packetizer module "copy"
[0000019a02e22710] main input debug: starting in async mode
[0000019a02d7a0a0] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000019a02d7a0a0] lua demux meta debug: Trying Lua scripts in C:\Users\jacek\AppData\Roaming\vlc\lua\meta\reader
[0000019a02d7a0a0] lua demux meta debug: Trying Lua scripts in C:\Users\jacek\source\repos\VLCSimpleWebCamViewer\ConsoleWebCamRecorder\bin\Debug\net7.0\libvlc\win-x64\lua\meta\reader
[0000019a02d7a0a0] lua demux meta debug: Trying Lua playlist script C:\Users\jacek\source\repos\VLCSimpleWebCamViewer\ConsoleWebCamRecorder\bin\Debug\net7.0\libvlc\win-x64\lua\meta\reader\filename.luac
[0000019a02d7a0a0] main demux meta debug: no meta reader modules matched
[0000019a02d81490] dshow demux debug: CapturePin::EndOfStream
[0000019a02e22710] main input debug: `dshow://' successfully opened
[0000019a02e22710] main input debug: Buffering 0%
[0000019a02e22710] main input debug: switching to sync mode
[0000019a02d7f5c0] main stream output debug: adding a new sout input for `YUY2` (sout_input: 0000019a02e2eaa0)
[0000019a0238aa70] duplicate stream out debug: duplicated a new stream codec=YUY2 (es=0 group=0)
[0000019a02e34fc0] main decoder debug: looking for video decoder module matching "any": 19 candidates
[0000019a02e34fc0] main decoder debug: using video decoder module "rawvideo"
[0000019a0238aa70] duplicate stream out debug: - added for output 0
[0000019a02d7f0c0] stream_out_transcode stream out debug: creating video transcoding from fcc=`YUY2' to fcc=`h264'
[0000019a02e35780] main generic debug: looking for video decoder module matching "any": 19 candidates
[0000019a02e35780] main generic debug: using video decoder module "rawvideo"
[0000019a02e35b10] main encoder debug: looking for encoder module matching "any": 24 candidates
[0000019a02e35b10] x264 encoder debug: version x264 0.155.X
[0000019a02e35b10] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[0000019a02e35b10] x264 encoder: profile High, level 5.0
[0000019a02e35b10] main encoder debug: using encoder module "x264"
[0000019a02e35b10] main encoder debug: removing module "x264"
[0000019a02e35b10] x264 encoder debug: framecount still in libx264 buffer: 0
[0000019a0238aa70] duplicate stream out debug: - added for output 1
[0000019a02e22710] main input debug: Buffering 66%
[0000019a02e22710] main input debug: Stream buffering done (400 ms in 400 ms)
[0000019a02e327f0] main decoder error: buffer deadlock prevented
[0000019a02e22710] main input debug: Decoder wait done in 3 ms
[0000019a02d7f0c0] stream_out_transcode stream out debug: Checking if filter chain YUY2 -> I420 is possible
[0000019a0c92f8f0] main spu text debug: looking for text renderer module matching "any": 3 candidates
[0000019a0c92fea0] main filter debug: looking for video converter module matching "any": 24 candidates
[0000019a0c92f8f0] freetype spu text debug: Using DWrite backend
[0000019a0c92fea0] swscale filter debug: 2304x1296 (2304x1296) chroma: YUY2 -> 2304x1296 (2304x1296) chroma: I420 with scaling using Bicubic (good quality)
[0000019a0c92f8f0] freetype spu text debug: DWrite_GetFamily(): family name: Arial
[0000019a0c92fea0] main filter debug: using video converter module "swscale"
[0000019a0c92f8f0] freetype spu text debug: DWrite_ParseFamily(): using font at index 0 with weight 400 for bold: 0, italic: 0
[0000019a02d7f0c0] main stream out debug: Filter 'Swscale' (0000019a0c92fea0) appended to chain
[0000019a0c92f8f0] freetype spu text debug: DWrite_ParseFamily(): using font at index 1 with weight 700 for bold: 1, italic: 0
[0000019a0c92fea0] main filter debug: removing module "swscale"
[0000019a0c92f8f0] freetype spu text debug: DWrite_ParseFamily(): using font at index 2 with weight 400 for bold: 0, italic: 1
[0000019a02d7f0c0] main stream out debug: Filter 0000019a0c92fea0 removed from chain
[0000019a0c92f8f0] freetype spu text debug: DWrite_ParseFamily(): using font at index 3 with weight 700 for bold: 1, italic: 1
[0000019a02d7f0c0] stream_out_transcode stream out debug: Filter chain testing done, input chroma YUY2 seems to be possible for transcode
[0000019a0c92f8f0] main spu text debug: using text renderer module "freetype"
[0000019a02d7f0c0] stream_out_transcode stream out debug: source fps 5/1, destination 5/1
[0000019a03067e50] main scale debug: looking for video converter module matching "any": 24 candidates
[0000019a02d7f0c0] stream_out_transcode stream out debug: decoder aspect is 1.333333:1
[0000019a03067e50] swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
[0000019a02d7f0c0] stream_out_transcode stream out debug: source pixel aspect is 0.750000:1
[0000019a03067e50] main scale debug: using video converter module "swscale"
[0000019a02d7f0c0] stream_out_transcode stream out debug: scaled pixel aspect is 0.750000:1
[0000019a03067b00] main scale debug: looking for video converter module matching "any": 24 candidates
[0000019a02d7f0c0] stream_out_transcode stream out debug: source 2304x1296, destination 2304x1296
[0000019a03067b00] yuvp scale debug: YUVP to YUVA converter
[0000019a02d7f0c0] stream_out_transcode stream out debug: encoder aspect is 6912:5184
[0000019a03067b00] main scale debug: using video converter module "yuvp"
[0000019a02d7f0c0] stream_out_transcode stream out debug: source chroma: YUY2, destination I420
[0000019a02e35e30] main video output debug: Deinterlacing available
[0000019a02e55b80] main filter debug: looking for video converter module matching "any": 24 candidates
[0000019a02e35e30] main video output debug: deinterlace -1, mode auto, is_needed 0
[0000019a02e55b80] swscale filter debug: 2304x1296 (2304x1296) chroma: YUY2 -> 2304x1296 (2304x1296) chroma: I420 with scaling using Bicubic (good quality)
[0000019a0c7fda70] main window debug: looking for vout window module matching "any": 3 candidates
[0000019a02e55b80] main filter debug: using video converter module "swscale"
[0000019a0c7fda70] main window debug: no vout window modules matched
[0000019a02d7f0c0] main stream out debug: Filter 'Swscale' (0000019a02e55b80) appended to chain
[0000019a02e35e30] main video output debug: Opening vout display wrapper
[0000019a02d7f0c0] stream_out_transcode stream out debug: destination (after video filters) 2304x1296
[0000019a0c7fdf30] main vout display debug: looking for vout display module matching "any": 12 candidates
[0000019a02e35b10] main encoder debug: looking for encoder module matching "any": 24 candidates
[0000019a0c7fdf30] direct3d11 vout display debug: creating Vout EventThread
[0000019a02e35b10] x264 encoder debug: version x264 0.155.X
[0000019a0c7fdf30] direct3d11 vout display debug: Win32VoutCreateWindow
[0000019a02e35b10] x264 encoder: using SAR=3/4
[0000019a02e35b10] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[0000019a02e35b10] x264 encoder: profile High, level 5.0
[0000019a02e35b10] main encoder debug: using encoder module "x264"
[0000019a029ef1f0] main mux debug: adding a new input
[0000019a029ef1f0] mp4 mux debug: adding input
[0000019a0c7fdf30] direct3d11 vout display debug: inclinometer not found. (hr=0x80070490)
[0000019a0c7fdf30] direct3d11 vout display debug: created video sub-window
[0000019a0c7fdf30] direct3d11 vout display debug: Vout EventThread running
[0000019a0c7fdf30] direct3d11 vout display debug: Created the D3D11 device type 1 level b100.
[0000019a0c7fdf30] direct3d11 vout display debug: NVIDIA WDDM driver 31.0.15.2686
[0000019a0c7fdf30] direct3d11 vout display debug: supports colorspace RGB Rec.709 gamma:22 range:FULL
[0000019a0c7fdf30] direct3d11 vout display debug: supports colorspace RGB Rec.709 gamma:22 range:STUDIO
[0000019a0c7fdf30] direct3d11 vout display debug: supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
[0000019a0c7fdf30] direct3d11 vout display debug: supports colorspace RGB Rec.2020 gamma:22 range:FULL
[0000019a0c7fdf30] direct3d11 vout display debug: supports colorspace RGB Rec.2020 gamma:2084 range:FULL
[0000019a0c7fdf30] direct3d11 vout display debug: supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
[0000019a0c7fdf30] direct3d11 vout display debug: Output max luminance: 400.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 8
[0000019a0c7fdf30] direct3d11 vout display debug: using colorspace RGB Rec.709 gamma:22 range:FULL
[0000019a0c7fdf30] direct3d11 vout display debug: Using pixel format YUY2 for chroma YUY2
[0000019a0c7fdf30] main vout display debug: VoutDisplayEvent 'resize' 2304x1428
[0000019a0c7fdf30] direct3d11 vout display debug: using GPU render fence
[0000019a0c7fdf30] direct3d11 vout display debug: Direct3D11 resources created
[0000019a0c7fdf30] direct3d11 vout display debug: Direct3D11 device adapter successfully initialized
[0000019a0c7fdf30] direct3d11 vout display debug: Direct3D11 Open Succeeded
[0000019a0c7fdf30] main vout display debug: using vout display module "direct3d11"
[0000019a0c7fdf30] direct3d11 vout display debug: D3D11 pool succeed with 1 surfaces (2304x1296) context 0x0000019a03bc7068
[0000019a02e35e30] main video output debug: original format sz 2304x1296, of (0,0), vsz 2304x1296, 4cc YUY2, sar 3:4, msk r0x0 g0x0 b0x0
[0000019a0c7fdf30] main vout display debug: VoutDisplayEvent 'window state' 0
[0000019a0c7fdf30] main vout display debug: VoutDisplayEvent 'window state' 0
[0000019a0c7fdf30] main vout display debug: VoutDisplayEvent 'resize' 2304x1728
[0000019a02e35e30] main video output warning: picture is too late to be displayed (missing 326 ms)
[0000019a02e35e30] main video output warning: picture is too late to be displayed (missing 130 ms)
[0000019a0c7fdf30] main vout display debug: VoutDisplayEvent 'resize' 2560x1417
[0000019a0c7fdf30] direct3d11 vout display debug: Detected size change 1889x1417
[0000019a0c7fdf30] main vout display debug: auto hiding mouse cursor
[0000019a0c7fdf30] main vout display debug: VoutDisplayEvent 'resize' 0x0
[0000019a0c7fdf30] direct3d11 vout display debug: Detected size change 0x0
[0000019a0c7fdf30] direct3d11 vout display error: Could not create the depth stencil texture. (hr=0x80070057)
[0000019a02e32030] main decoder debug: killing decoder fourcc `YUY2'
[0000019a02e32030] main decoder debug: removing module "rawvideo"
[0000019a02d7f5c0] main stream output debug: removing a sout input (sout_input: 0000019a02e2eaa0)
[0000019a02e34fc0] main decoder debug: killing decoder fourcc `YUY2'
[0000019a02e34fc0] main decoder debug: removing module "rawvideo"
[0000019a02a40010] main stream out debug: saving a free vout
[0000019a02a40010] main stream out debug: reusing provided vout
[0000019a02e35780] main generic debug: removing module "rawvideo"
[0000019a02e35b10] main encoder debug: removing module "x264"
[0000019a02e35b10] x264 encoder debug: framecount still in libx264 buffer: 67
[0000019a02e55b80] main filter debug: removing module "swscale"
[0000019a02d7f0c0] main stream out debug: Filter 0000019a02e55b80 removed from chain
[0000019a029ef1f0] mp4 mux debug: tk 1 elst media time 0 duration 0 offset 0
[0000019a029ef1f0] mp4 mux debug: removing input
[0000019a029ef1f0] main mux warning: no more input streams for this mux
[0000019a02e327f0] main decoder debug: killing decoder fourcc `s16l'
[0000019a02e327f0] main decoder debug: removing module "copy"
[0000019a02d81490] main demux debug: removing module "dshow"
[0000019a02d81490] dshow demux debug: CaptureFilter::Pause
[0000019a02d81490] dshow demux debug: CaptureFilter::Pause
[0000019a02d81490] dshow demux debug: CaptureFilter::Stop
[0000019a02d81490] dshow demux debug: CapturePin::EndFlush
[0000019a02d81490] dshow demux debug: CaptureFilter::Stop
[0000019a02d81490] dshow demux debug: CapturePin::EndFlush
[0000019a02d81490] dshow demux debug: releasing DirectShow
[0000019a02d81490] dshow demux debug: DeleteDirectShowGraph: Removing filters
[0000019a02d81490] dshow demux debug: DeleteDirectShowGraph: Removing capture filter
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::ConnectedTo [OK]
[0000019a02d81490] dshow demux debug: CapturePin::Disconnect [OK]
[0000019a02d81490] dshow demux debug: CaptureFilter::SetSyncSource
[0000019a02d81490] dshow demux debug: CaptureFilter::JoinFilterGraph
[0000019a02d81490] dshow demux debug: CaptureFilter::GetState 0
[0000019a02d81490] dshow demux debug: CaptureFilter::~CaptureFilter
[0000019a02d81490] dshow demux debug: CapturePin::~CapturePin
[0000019a02d81490] dshow demux debug: DeleteDirectShowGraph: Removing device filter
[0000019a02d81490] dshow demux debug: DeleteDirectShowGraph: Removing capture filter
[0000019a02d81490] dshow demux debug: CaptureFilter::EnumPins
[0000019a02d81490] dshow demux debug: CapturePin::QueryDirection
[0000019a02d81490] dshow demux debug: CapturePin::ConnectedTo [OK]
[0000019a02d81490] dshow demux debug: CapturePin::Disconnect [OK]
[0000019a02d81490] dshow demux debug: CaptureFilter::SetSyncSource
[0000019a02d81490] dshow demux debug: CaptureFilter::JoinFilterGraph
[0000019a02d81490] dshow demux debug: CaptureFilter::GetState 0
[0000019a02d81490] dshow demux debug: CaptureFilter::~CaptureFilter
[0000019a02d81490] dshow demux debug: CapturePin::~CapturePin
[0000019a02d81490] dshow demux debug: DeleteDirectShowGraph: Removing device filter
[0000019a02e22710] main input debug: Program doesn't contain anymore ES
[0000019a02d7f5c0] main stream output debug: destroying useless sout
[0000019a0238aa70] main stream out debug: destroying chain... (name=duplicate)
[0000019a0238aa70] main stream out debug: removing module "duplicate"
[0000019a0238aa70] duplicate stream out debug: closing a duplication
[0000019a02a40010] main stream out debug: destroying chain... (name=display)
[0000019a02a40010] main stream out debug: removing module "display"
[0000019a02e35e30] main video output debug: destroying useless vout
[0000019a0c7fdf30] main vout display debug: removing module "direct3d11"
[0000019a0c7fdf30] direct3d11 vout display debug: Direct3D11 resources destroyed
[0000019a0c7fdf30] direct3d11 vout display debug: Direct3D11 device adapter closed
[0000019a0c7fdf30] direct3d11 vout display error: SetThumbNailClip failed: 0x800706f4
[0000019a0c7fdf30] direct3d11 vout display debug: Win32 Vout EventThread terminating
[0000019a0c7fdf30] direct3d11 vout display debug: Win32VoutCloseWindow
[0000019a0c7fdf30] direct3d11 vout display debug: WinProc WM_DESTROY
[0000019a0c92f8f0] main spu text debug: removing module "freetype"
[0000019a03067b00] main scale debug: removing module "yuvp"
[0000019a03067e50] main scale debug: removing module "swscale"
[0000019a02a40010] main stream out debug: destroying chain done
[0000019a02d7f0c0] main stream out debug: destroying chain... (name=transcode)
[0000019a02d7f0c0] main stream out debug: removing module "stream_out_transcode"
[0000019a02d7f0c0] main stream out debug: destroying chain done
[0000019a02d7ef90] main stream out debug: destroying chain... (name=standard)
[0000019a02d7ef90] main stream out debug: removing module "stream_out_standard"
[0000019a029ef1f0] main mux debug: removing module "mp4"
[0000019a029ef1f0] mp4 mux debug: Close
[0000019a029ef1f0] mp4 mux debug: movie duration 0s
[0000019a029ef1f0] mp4 mux debug: created 0 chunks (stco)
[0000019a02d7fa40] main access out debug: removing module "file"
[0000019a02d7fa40] file access out debug: file access output closed
[0000019a02d7ef90] main stream out debug: destroying chain done
[0000019a0238aa70] main stream out debug: destroying chain done
[0000019a2e019800] main audio output debug: removing module "mmdevice"
Environment
-
OS: Windows10, 11
-
LibVLC version and architecture 3.7.0 x64
-
LibVLCSharp version 3.0.18