DVDs exit and reenter fullscreen mode constantly
Posted: 06 Sep 2010 09:59
by Fangs404
First, the basics: VLC 1.1.4 on Windows 7 Pro 64-bit. I have already tried resetting VLC settings and cache, but the problem still exists. This happens with or without GPU acceleration.
I've watched a couple DVDs recently, and I've experienced this problem with both of them (these are retail DVDs, not burned DVDs). I'll be watching the DVD fullscreen, and then out of nowhere, VLC will exit fullscreen and immediately go right back into fullscreen. The audio is completely uninterrupted, but the video is obviously interrupted for 1-2 seconds. This happens about once every 15 minutes or so. Right after it happens, it typically happens again within about 30 seconds. Then, it won't happen again for another 15 minutes. It seems to happen most often right around chapter changes, but it also happens sometimes right in the middle of a scene, so I can't really say that's it. I've looked in the settings, but I have on idea what might be causing this. There's no issue when watching video files off of my hard drive; this only happens when I'm watching a DVD.
What's going on here? This is incredibly frustrating.
Re: DVDs exit and reenter fullscreen mode constantly
Posted: 08 Sep 2010 22:25
by rogerdpack
what does your log say?
Re: DVDs exit and reenter fullscreen mode constantly
Posted: 09 Sep 2010 08:51
by Lotesdelere
this only happens when I'm watching a DVD.
The same happens to me too from time to time and only with MPEG-2, thus DVD and DVB.
I think it occurs when some inconsistencies in the playback are detected by VLC and yes, it's annoying as hell.
Re: DVDs exit and reenter fullscreen mode constantly
Posted: 09 Sep 2010 20:30
by Fangs404
what does your log say?
OK, I got the log. I set it to verbosity of 2 and skipped ahead to one part of the Bourne Identity where this consistently happens. Here's what I got:
Code: Select all
main debug: Detected interlaced video
main debug: deinterlace -1, mode yadif2x, is_needed 1
main debug: control type=14
main warning: can't get output picture
avcodec warning: disabling direct rendering
avcodec warning: cannot decode one frame (21578 bytes)
main debug: thread times: real 0m47.331707s, kernel 0m0.015600s, user 0m1.076406s
avcodec debug: ffmpeg codec (MPEG-1/2 Video) stopped
main debug: removing module "avcodec"
main debug: killing decoder fourcc `mpgv', 969 PES in FIFO
main debug: [0] 2 0
main debug: [1] 2 0
main debug: [2] 2 0
main debug: [3] 2 0
main debug: [4] 4 0
main debug: [5] 2 0
main debug: [6] 2 0
main debug: [7] 4 0
main debug: [8] 2 0
main debug: [9] 2 0
main debug: [10] 2 0
main debug: [11] 2 0
main debug: [12] 2 0
main debug: [13] 2 0
main debug: [14] 2 0
main debug: [15] 2 0
main debug: [16] 2 0
main debug: [17] 2 0
main debug: [18] 2 0
main debug: [19] 2 0
main debug: [20] 4 0
main debug: [21] 2 0
main debug: [22] 2 0
main debug: [23] 2 0
main debug: saving a free vout
main debug: removing module "packetizer_mpegvideo"
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec already initialized
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (MPEG-1/2 Video) 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
main debug: using packetizer module "packetizer_mpegvideo"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301)
main debug: thread started
main debug: destroying useless vout
qt4 debug: Qt: Quitting Fullscreen
main debug: Filter 07913a04 removed from chain
main debug: removing module "postproc"
main debug: Filter 07915e1c removed from chain
main debug: removing module "swscale"
direct3d debug: Direct3D scene released successfully
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: Video is not needed anymore
main debug: removing module "qt4"
main debug: removing module "direct3d"
main debug: removing module "vout_wrapper"
main debug: removing module "blend"
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: size 720x480 fps=29.970
avcodec debug: Available decoder output format 61 (PIX_FMT_DXVA2_VLD)
avcodec debug: Trying DXVA2
avcodec debug: DLLs loaded
avcodec debug: D3dCreateDevice succeed
avcodec debug: OurDirect3DCreateDeviceManager9 Success!
avcodec info: obtained IDirect3DDeviceManager9
avcodec info: DXVA2CreateVideoService Success!
avcodec debug: - 'DXVA2_ModeMPEG2_IDCT' is supported by hardware
avcodec debug: - 'VC-1 IDCT' is supported by hardware
avcodec debug: - 'Windows Media Video 9 IDCT' is supported by hardware
avcodec debug: - 'H.264 VLD, no FGT' is supported by hardware
avcodec error: DxFindVideoServiceConversion failed
avcodec warning: Failed to open DXVA2
avcodec debug: Available decoder output format 53 (PIX_FMT_VAAPI_VLD)
avcodec debug: Available decoder output format 0 (PIX_FMT_YUV420P)
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
freetype debug: Building font databases.
freetype debug: Took 7000 microseconds
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() : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms)
main debug: looking for video filter2 module: 18 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: 18 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: window size: 853x480
main debug: Deinterlacing available
main debug: deinterlace -1, mode yadif2x, is_needed 1
main debug: looking for video filter module: 1 candidate
deinterlace debug: using yadif2x deinterlace method
main debug: using video filter module "deinterlace"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
deinterlace debug: spawning the real video output
main debug: looking for text renderer module: 2 candidates
freetype debug: Building font databases.
freetype debug: Took 24000 microseconds
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() : 25.000 ms - Total 25.000 ms / 1 intvls (Avg 25.000 ms)
main debug: looking for video filter2 module: 18 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: 18 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: window size: 853x480
main debug: looking for video output module: 1 candidate
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 8 candidates
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 3 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
main debug: TIMER module_need() : 21.000 ms - Total 21.000 ms / 1 intvls (Avg 21.000 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: VoutDisplayEvent 'resize' 869x518 fullscreen
direct3d warning: trying surface pixel format: X8R8G8B8
direct3d debug: selected surface pixel format is X8R8G8B8
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: TIMER module_need() : 49.000 ms - Total 49.000 ms / 1 intvls (Avg 49.000 ms)
main debug: A filter to adapt decoder to display is needed
main debug: looking for video filter2 module: 18 candidates
swscale debug: 720x480 chroma: I420 -> 720x480 chroma: RV32 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: Filter 'Swscale' (07916b3c) appended to chain
main debug: using video output module "vout_wrapper"
main debug: TIMER module_need() : 51.000 ms - Total 51.000 ms / 1 intvls (Avg 51.000 ms)
main debug: got 1 direct buffer(s)
main debug: pic render sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 32:27, msk r0x0 g0x0 b0x0
main debug: pic in sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 32:27, msk r0x0 g0x0 b0x0
main debug: pic out sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 32:27, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
main debug: VoutDisplayEvent 'resize' 1920x1200 fullscreen
main debug: got 25 direct buffer(s)
main debug: pic render sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 32:27, msk r0x0 g0x0 b0x0
main debug: pic in sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 32:27, msk r0x0 g0x0 b0x0
main debug: pic out sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 32:27, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
main debug: Detected interlaced video
main debug: deinterlace -1, mode yadif2x, is_needed 1
main debug: looking for video filter2 module: 1 candidate
main debug: using video filter2 module "postproc"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: Filter 'postproc' (079150fc) appended to chain
avcodec debug: using direct rendering
main debug: Post-processing available
main debug: Filter 079150fc removed from chain
main debug: removing module "postproc"
main debug: looking for video filter2 module: 1 candidate
main debug: using video filter2 module "postproc"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: Filter 'postproc' (079150fc) appended to chain
main warning: vlc_object_find_name(postproc) is not safe!
qt4 debug: Qt: Entering Fullscreen
main debug: auto hidding mouse
main debug: Detected interlaced video
this only happens when I'm watching a DVD.
The same happens to me too from time to time and only with MPEG-2, thus DVD and DVB.
I think it occurs when some inconsistencies in the playback are detected by VLC and yes, it's annoying as hell.
This could be the case. The 2 DVDs I've watched recently are basically brand new, though, and have no scratches, so I don't know what's going on.
Re: DVDs exit and reenter fullscreen mode constantly
Posted: 12 Sep 2010 04:18
by Fangs404
Anything?
Re: DVDs exit and reenter fullscreen mode constantly
Posted: 12 Sep 2010 10:05
by erwan10
This problem most probably falls into the well known limitation of what is referred to as 'vout reuse'
DVD often consists of smaller parts back to back. vlc will try to be as seamless as possible, but two successive parts must meet the following conditions : same width, same height, same chroma. For an unknown reason, your DVD doesn't seem to meet these requirements.
The limitations have been removed (except for a few corner cases) in the development version of vlc (aka vlc1.2). It would be interesting to test this DVD with a recent nightly build (e.g
http://nightlies.videolan.org/build/win ... 0912-0002/).
If the problem turns out to be the one I describe, not much can be done with the current vlc.1.1.x versions.
Re: DVDs exit and reenter fullscreen mode constantly
Posted: 14 Sep 2010 16:05
by rogerdpack
so this doesn't happen on some DVD's but others it does?
Re: DVDs exit and reenter fullscreen mode constantly
Posted: 16 Sep 2010 06:17
by Fangs404
Thanks for the info, erwan10. I may give one of the nightly releases a shot.
so this doesn't happen on some DVD's but others it does?
I've watched 2 DVDs since I last upgraded to 1.1.4 (and before that, it had been probably a few months), and both experienced the issue.