I modified the DirectXCloseWindow() by following way.
Code: Select all
DestroyWindow( p_event->hfswnd );
DestroyWindow( p_event->hwnd );
where as the original code was
Code: Select all
DestroyWindow( p_event->hwnd );
DestroyWindow( p_event->hfswnd );
After this I am not observing the freeze issue. But after running the sequence(play/stop sequence) for more than 1 hour I am getting following error from
IDirect3DDevice9_Present().
direct3d debug: Display:307 (hr=0x80070057)
Once this error comes the next calls to direct3d and directX fails.
direct3d error: Could not create the D3D device! (hr=0x8876086A)
direct3d error: Direct3D could not be opened
directx error: DirectXInitDDraw cannot initialize DDraw
directx error: cannot initialize DirectX DirectDraw
Following is the log file. I have added few more prints for my debugging.
Code: Select all
main debug: Creating an input for 'rtsp://172.22.74.10:554/ch0_unicast_secondstream'
main debug: thread started
main debug: thread (input) created at priority 1 (input/input.c:220)
main debug: Run started...................
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\m1021441\AppData\Local\Temp'
main debug: `rtsp://root:vipor123@172.22.74.10:554/ch0_unicast_secondstream' gives access `rtsp' demux `' path `root:vipor123@172.22.74.10:554/ch0_unicast_secondstream'
main debug: creating demux: access='rtsp' demux='' path='root:vipor123@172.22.74.10:554/ch0_unicast_secondstream'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: TIMER module_need() : 36.000 ms - Total 36.000 ms / 1 intvls (Avg 36.000 ms)
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec already initialized
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for packetizer module: 21 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 0 (input/decoder.c:301)
main debug: looking for meta reader module: 1 candidate
lua debug: Trying Lua scripts in C:\Users\m1021441\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: `rtsp://root:vipor123@172.22.74.10:554/ch0_unicast_secondstream' successfully opened
main debug: control type=2
main debug: Buffering 0%
main debug: Buffering 26%
main debug: Buffering 53%
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for video filter2 module: 15 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: looking for video filter2 module: 15 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: new aspect-ratio 352:288, sample aspect-ratio 1:1
main debug: window size: 352x288
main debug: cropping picture 352x288 to 0,0,352x288
main debug: window size: 352x288
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 1 candidate
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 9 candidates
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
direct3d debug: ==>>>>DirectXCreateWindow:526 browser_playback : 1
main debug: looking for vout window hwnd module: 4 candidates
drawable warning: Open:63 creating drawable-hwnd
drawable warning: Open:119 successfully created drawable-hwnd
main debug: using vout window hwnd module "drawable"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
direct3d debug: 11111111 got message: 5
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 3
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 18
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 46
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 85
direct3d debug: 11111111 got message: 14
direct3d debug: 11111111 got message: 47
direct3d debug: 11111111 got message: 5
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 3
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXEventProc(): 826 got message 210
direct3d debug: 11111111 got message: 210
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: created video sub-window
direct3d debug: DirectXCreateWindow:724 -->> SW_SHOW
direct3d debug: Vout EventThread running
direct3d debug: DirectXEventProc(): 826 got message f
direct3d debug: 11111111 got message: f
direct3d debug: disabling screen saver
main debug: VoutDisplayEvent 'resize' 368x326 window
direct3d debug: DirectXUpdateRects image_dst_clipped coords: 0,0,368,301
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,352,288
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Direct3D scene created successfully
direct3d debug: EventThreadUpdateTitle:1098 -->> WM_VLC_CHANGE_TEXT
direct3d debug: Direct3D device adapter successfully initialized
direct3d error: EventThread:468 -->> SetWindowTextW
main debug: using vout display module "direct3d"
direct3d error: DirectXEventProc(): 826 got message c
main debug: TIMER module_need() : 44.000 ms - Total 44.000 ms / 1 intvls (Avg 44.000 ms)
direct3d debug: 11111111 got message: c
main debug: using video output module "vout_wrapper"
direct3d debug: DefWindowProc...
main debug: TIMER module_need() : 46.000 ms - Total 46.000 ms / 1 intvls (Avg 46.000 ms)
direct3d debug: DefWindowProc...complete
main debug: got 1 direct buffer(s)
main debug: pic render sz 352x288, of (0,0), vsz 352x288, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 352x288, of (0,0), vsz 352x288, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 352x288, of (0,0), vsz 352x288, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
direct3d error: DirectXEventProc(): 826 got message 46
direct3d debug: 11111111 got message: 46
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXEventProc(): 826 got message 83
direct3d debug: 11111111 got message: 83
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXEventProc(): 826 got message 22
direct3d debug: 11111111 got message: 22
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXEventProc(): 826 got message 47
direct3d debug: 11111111 got message: 47
main debug: VoutDisplayEvent 'resize' 283x106 window
direct3d debug: DirectXUpdateRects image_dst_clipped coords: 0,0,129,106
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,352,288
avcodec debug: using direct rendering
main debug: End of video preroll
main debug: Received first picture
main debug: Buffering 80%
main debug: Post-processing available
direct3d debug: DirectXEventProc(): 826 got message 14
direct3d debug: 11111111 got message: 14
direct3d debug: DirectXEventProc(): 826 got message f
direct3d debug: 11111111 got message: f
main warning: vlc_object_find_name(postproc) is not safe!
main debug: Stream buffering done (360 ms in 303 ms)
main debug: Decoder buffering done in 0 ms
main warning: late picture skipped (101021 > -192)
main warning: late picture skipped (21033 > -192)
direct3d debug: DirectXEventProc(): 826 got message 31a
direct3d debug: 11111111 got message: 31a
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main debug: ES_OUT_RESET_PCR called
main warning: can't get output picture
avcodec warning: ffmpeg_GetFrameBuf:1006 ffmpeg_NewPictBuf call FAILED.......
avcodec warning: disabling direct rendering
main warning: can't get output picture
avcodec warning: DecodeVideo:664 ffmpeg_NewPictBuf call FAILED.......b_first_frame_failed = true
main debug: Buffering 0%
main debug: Buffering 26%
main debug: Buffering 53%
main debug: Buffering 80%
main debug: Stream buffering done (359 ms in 363 ms)
main debug: Decoder buffering done in 0 ms
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main debug: auto hidding mouse
direct3d debug: EventThreadMouseHide:1081 -->> WM_VLC_HIDE_MOUSE
direct3d debug: UpdateCursor:158 -->> SetClassLongPtr
avcodec debug: using direct rendering
main debug: End of video preroll
main warning: late picture skipped (1810810 > -353)
main warning: late picture skipped (1731810 > -353)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (1656833 > -264)
main warning: late picture skipped (1576800 > -264)
main warning: late picture skipped (1456823 > -264)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (108600 > -324)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (112914 > -7136)
main warning: late picture skipped (306484 > -7136)
main warning: late picture skipped (226484 > -7136)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (66926 > -5352)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (20926 > -4014)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (17031 > -541)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (46031 > -303)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (93643 > -170)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (64655 > -95)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (21622 > -71)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (19723 > -215)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (59735 > -120)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (104385 > -67)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (53374 > -50)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (30374 > -215)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (38425 > -20)
direct3d debug: Display:305 src : left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:306 dst::::: left : 0 top : 0 right : 129 bottom : 106
direct3d debug: Display:307 (hr=0x80070057)
main warning: late picture skipped (53425 > -761)
main warning: late picture skipped (89697 > -427)
main debug: input_Stop(): stopping input
main debug: input_Stop(): $$$$$$$ av_open_input_stream: 0
main debug: control type=0
main debug: control: stopping input
main warning: late picture skipped (57764 > -320)
main debug: thread times: real 0m9.987998s, kernel 0m0.000000s, user 0m0.140400s
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: removing module "avcodec"
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: [0] 4 0
main debug: [1] 4 0
main debug: [2] 4 0
main debug: [3] 4 0
main debug: [4] 4 0
main debug: [5] 2 0
main debug: [6] 4 0
main debug: [7] 4 0
main debug: [8] 4 0
main debug: [9] 4 0
main debug: [10] 0 0
main debug: [11] 4 0
main debug: [12] 4 0
main debug: [13] 4 0
main debug: [14] 4 0
main debug: [15] 4 0
main debug: [16] 4 0
main debug: [17] 4 0
main debug: [18] 4 0
main debug: [19] 4 0
main debug: [20] 4 0
main debug: [21] 4 0
main debug: [22] 4 0
main debug: [23] 4 0
main debug: saving a free vout
main debug: removing module "packetizer_h264"
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: thread times: real 0m10.033003s, kernel 0m0.015600s, user 0m0.015600s
main debug: Destroying the input for 'rtsp://172.22.74.10:554/ch0_unicast_secondstream'
main debug: TIMER input launching for 'rtsp://172.22.74.10:554/ch0_unicast_secondstream' : 45.000 ms - Total 45.000 ms / 1 intvls (Avg 45.000 ms)
main debug: destroying useless vout
direct3d debug: Direct3D scene released successfully
direct3d debug: !!!!!!!!!! from EventThreadStop:1234
direct3d debug: !!!!!!!!!! from EventThreadStop:1238
direct3d debug: !!!!!!!!!! from EventThreadStop:1240
direct3d debug: !!!!!!!!!! from EventThreadStop:1243
direct3d debug: !!!!!!!!!! from EventThreadStop:1247
direct3d debug: !!!!!!!!!! PostMessage WM_NULL from EventThreadStop:1250
direct3d debug: !!!!!!!!!! PostMessage WM_NULL done from EventThreadStop:1252
direct3d debug: DirectXEventThread terminating
direct3d debug: !!!!!!!!!! from EventThreadStop:1254
direct3d debug: DirectXCloseWindow
direct3d debug: DirectXCloseWindow():742 DestroyWindow( p_event->hfswnd ); called
direct3d debug: DirectXCloseWindow():744 DestroyWindow( p_event->hfswnd ); complete
direct3d debug: DirectXCloseWindow():746
direct3d debug: DirectXCloseWindow():751 DestroyWindow( p_event->hwnd ); called
direct3d debug: DirectXEventProc(): 826 got message 90
direct3d debug: 11111111 got message: 90
direct3d debug: AAAAAAAAA got message: 90 return 0
direct3d debug: DirectXEventProc(): 826 got message 18
direct3d debug: 11111111 got message: 18
direct3d debug: AAAAAAAAA got message: 18 return 0
direct3d debug: DirectXEventProc(): 826 got message 46
direct3d debug: 11111111 got message: 46
direct3d debug: AAAAAAAAA got message: 46 return 0
direct3d debug: DirectXEventProc(): 826 got message 47
direct3d debug: 11111111 got message: 47
direct3d debug: DirectXEventProc(): 826 got message 2
direct3d debug: 11111111 got message: 2
direct3d debug: WinProc WM_DESTROY
direct3d debug: WinProc WM_DESTROY 2
direct3d error: DirectXEventProc(): 826 got message 82
direct3d debug: 11111111 got message: 82
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXCloseWindow():753 DestroyWindow( p_event->hwnd ); complete
direct3d debug: DirectXCloseWindow():755
direct3d debug: DirectXCloseWindow():763 vout_display_DeleteWindow called
main debug: removing module "drawable"
direct3d debug: DirectXCloseWindow():765 vout_display_DeleteWindow complete
direct3d debug: DirectXCloseWindow():769
direct3d debug: DirectXCloseWindow():771
direct3d debug: DirectXCloseWindow():774
direct3d debug: DirectXCloseWindow():776
direct3d debug: DirectXCloseWindow():778
direct3d debug: DirectXCloseWindow():780
direct3d debug: DirectXCloseWindow():782
direct3d debug: DirectXCloseWindow():784
direct3d debug: DirectXCloseWindow():786
main debug: removing module "direct3d"
main debug: removing module "vout_wrapper"
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: Creating an input for 'rtsp://172.22.74.10:554/ch0_unicast_secondstream'
main debug: thread started
main debug: thread (input) created at priority 1 (input/input.c:220)
main debug: Run started...................
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\m1021441\AppData\Local\Temp'
main debug: `rtsp://root:vipor123@172.22.74.10:554/ch0_unicast_secondstream' gives access `rtsp' demux `' path `root:vipor123@172.22.74.10:554/ch0_unicast_secondstream'
main debug: creating demux: access='rtsp' demux='' path='root:vipor123@172.22.74.10:554/ch0_unicast_secondstream'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: TIMER module_need() : 55.000 ms - Total 55.000 ms / 1 intvls (Avg 55.000 ms)
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec already initialized
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for packetizer module: 21 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 0 (input/decoder.c:301)
main debug: looking for meta reader module: 1 candidate
lua debug: Trying Lua scripts in C:\Users\m1021441\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: `rtsp://root:vipor123@172.22.74.10:554/ch0_unicast_secondstream' successfully opened
main debug: control type=2
main debug: Buffering 0%
main debug: Buffering 26%
main debug: Buffering 53%
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: looking for video filter2 module: 15 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for video filter2 module: 15 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: new aspect-ratio 352:288, sample aspect-ratio 1:1
main debug: window size: 352x288
main debug: cropping picture 352x288 to 0,0,352x288
main debug: window size: 352x288
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 1 candidate
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 9 candidates
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
direct3d error: ==>>>>DirectXCreateWindow:526 browser_playback : 1
main debug: looking for vout window hwnd module: 4 candidates
drawable warning: Open:63 creating drawable-hwnd
drawable warning: Open:119 successfully created drawable-hwnd
main debug: using vout window hwnd module "drawable"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
direct3d debug: 11111111 got message: 5
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 3
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 18
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 46
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: 11111111 got message: 85
direct3d debug: 11111111 got message: 14
direct3d debug: 11111111 got message: 47
direct3d warning: can't create video sub-window
direct3d debug: DirectXCreateWindow:724 -->> SW_SHOW
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: DirectXEventProc(): 826 got message f
direct3d debug: 11111111 got message: f
direct3d debug: Could not create the D3D device! (hr=0x8876086A)
direct3d debug: Direct3D could not be opened
direct3d debug: Direct3D scene released successfully
direct3d debug: !!!!!!!!!! from EventThreadStop:1234
direct3d debug: !!!!!!!!!! from EventThreadStop:1238
direct3d debug: !!!!!!!!!! from EventThreadStop:1240
direct3d debug: !!!!!!!!!! from EventThreadStop:1243
direct3d debug: !!!!!!!!!! from EventThreadStop:1247
direct3d debug: !!!!!!!!!! PostMessage WM_NULL from EventThreadStop:1250
direct3d debug: !!!!!!!!!! PostMessage WM_NULL done from EventThreadStop:1252
direct3d debug: DirectXEventThread terminating
direct3d debug: !!!!!!!!!! from EventThreadStop:1254
direct3d debug: DirectXCloseWindow
direct3d debug: DirectXCloseWindow():742 DestroyWindow( p_event->hfswnd ); called
direct3d debug: DirectXCloseWindow():744 DestroyWindow( p_event->hfswnd ); complete
direct3d debug: DirectXCloseWindow():746
main debug: Buffering 93%
direct3d debug: DirectXCloseWindow():751 DestroyWindow( p_event->hwnd ); called
direct3d debug: DirectXEventProc(): 826 got message 90
direct3d debug: 11111111 got message: 90
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXEventProc(): 826 got message 18
direct3d debug: 11111111 got message: 18
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXEventProc(): 826 got message 46
direct3d debug: 11111111 got message: 46
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXEventProc(): 826 got message 47
direct3d debug: 11111111 got message: 47
direct3d debug: DirectXEventProc(): 826 got message 2
direct3d debug: 11111111 got message: 2
direct3d debug: WinProc WM_DESTROY
direct3d debug: WinProc WM_DESTROY 2
direct3d debug: DirectXEventProc(): 826 got message 82
direct3d debug: 11111111 got message: 82
direct3d debug: DefWindowProc...
direct3d debug: DefWindowProc...complete
direct3d debug: DirectXCloseWindow():753 DestroyWindow( p_event->hwnd ); complete
direct3d debug: DirectXCloseWindow():755
direct3d debug: DirectXCloseWindow():763 vout_display_DeleteWindow called
main debug: removing module "drawable"
direct3d debug: DirectXCloseWindow():765 vout_display_DeleteWindow complete
direct3d debug: DirectXCloseWindow():769
main debug: Stream buffering done (400 ms in 372 ms)
direct3d debug: DirectXCloseWindow():771
direct3d debug: DirectXCloseWindow():774
direct3d debug: DirectXCloseWindow():776
direct3d debug: DirectXCloseWindow():778
direct3d debug: DirectXCloseWindow():780
direct3d debug: DirectXCloseWindow():782
direct3d debug: DirectXCloseWindow():784
direct3d debug: DirectXCloseWindow():786
direct3d debug: Open:219 VLC_EGENERIC error direct3d-playback-error set
directx debug: creating Vout EventThread
directx debug: DirectXCreateWindow
directx error: ==>>>>DirectXCreateWindow:526 browser_playback : 1
main debug: looking for vout window hwnd module: 4 candidates
drawable warning: Open:63 creating drawable-hwnd
drawable warning: Open:119 successfully created drawable-hwnd
main debug: using vout window hwnd module "drawable"
main debug: TIMER module_need() : 30.000 ms - Total 30.000 ms / 1 intvls (Avg 30.000 ms)
directx debug: 11111111 got message: 5
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx debug: 11111111 got message: 3
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx debug: 11111111 got message: 18
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx debug: 11111111 got message: 46
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx debug: 11111111 got message: 85
directx debug: 11111111 got message: 14
directx debug: 11111111 got message: 47
directx warning: can't create video sub-window
directx debug: DirectXCreateWindow:724 -->> SW_SHOW
directx debug: Vout EventThread running
directx debug: DirectXEventProc(): 826 got message f
directx debug: disabling screen saver
directx debug: 11111111 got message: f
directx debug: directx-device:
directx debug: DirectXEnumCallback: Intel(R) HD Graphics Family, \\.\DISPLAY1
directx debug: selecting Intel(R) HD Graphics Family, \\.\DISPLAY1
directx error: DirectXInitDDraw cannot initialize DDraw
directx error: cannot initialize DirectX DirectDraw
directx debug: !!!!!!!!!! from EventThreadStop:1234
directx debug: !!!!!!!!!! from EventThreadStop:1238
directx debug: !!!!!!!!!! from EventThreadStop:1240
directx error: !!!!!!!!!! from EventThreadStop:1243
directx error: !!!!!!!!!! from EventThreadStop:1247
directx error: !!!!!!!!!! PostMessage WM_NULL from EventThreadStop:1250
directx debug: DirectXEventThread terminating
directx error: !!!!!!!!!! PostMessage WM_NULL done from EventThreadStop:1252
directx debug: DirectXCloseWindow
directx debug: !!!!!!!!!! from EventThreadStop:1254
directx debug: DirectXCloseWindow():746
directx debug: DirectXCloseWindow():751 DestroyWindow( p_event->hwnd ); called
directx debug: DirectXEventProc(): 826 got message 90
directx debug: 11111111 got message: 90
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx debug: DirectXEventProc(): 826 got message 18
directx debug: 11111111 got message: 18
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx debug: DirectXEventProc(): 826 got message 46
directx debug: 11111111 got message: 46
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx error: DirectXEventProc(): 826 got message 47
directx debug: 11111111 got message: 47
directx debug: DirectXEventProc(): 826 got message 2
directx debug: 11111111 got message: 2
directx debug: WinProc WM_DESTROY
directx debug: WinProc WM_DESTROY 2
directx debug: DirectXEventProc(): 826 got message 82
directx debug: 11111111 got message: 82
directx debug: DefWindowProc...
directx debug: DefWindowProc...complete
directx debug: DirectXCloseWindow():753 DestroyWindow( p_event->hwnd ); complete
directx debug: DirectXCloseWindow():755
directx debug: DirectXCloseWindow():763 vout_display_DeleteWindow called
main debug: removing module "drawable"
directx debug: DirectXCloseWindow():765 vout_display_DeleteWindow complete
Do you have any inputs/suggestions for this issue?