HLS stream crash randomly

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
KingKebab
Blank Cone
Blank Cone
Posts: 31
Joined: 05 Mar 2012 23:17
Operating System: Windows

HLS stream crash randomly

Postby KingKebab » 12 Jul 2016 00:50

Hello

Here is an HLS stream (version 3) having 6 video qualities for Adaptive Bitrate streaming :
http://sample.vodobox.com/planete_inter ... rdite.m3u8

I can play and watch this stream from the start to the end with VLC 2.2.1 on an Ubuntu 14.04 operating system.
Or with the Quicktime Player on Mac OS X and iOS operating systems.

But when I want play this same stream on a Windows operating system VLC Media Player randomly crashed ?!
I tested VLC on different Windows operating system version and different hardware configurations with the same result.

I also tested with VLC 2.2.1, VLC 2.2.2, VLC 2.2.3 and the newest VLC 2.2.4 (32-bits versions).
All these Win32 releases close suddenly when VLC switches automaticaly to another quality.
Except VLC 2.2.2 release because this release doesn't support Adaptive Bitrate mysteriously ?!

I don't think HLS engine is the problem. I think something go wrong in a Windows library of VLC when it displays/resizes the VLC window.
Because this random crash never appears on Linux operating system and with VLC 2.2.2 (Win32) that not supports dynamic quality change according to the available bandwidth.

Here is last log lines catched by VLC 2.2.4 before it crash :

Code: Select all

... http debug: Content-Type: video/MP2T core debug: using access module "http" core debug: Using stream method for AStream* core debug: starting pre-buffering core debug: received first data after 0 ms core debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s httplive debug: playing segment 9 from stream 3 core debug: removing module "http" httplive debug: downloaded segment 14 from stream 4 httplive debug: candidate 0 bandwidth (bits/s) 4938733 >= 314000 httplive debug: candidate 1 bandwidth (bits/s) 4938733 >= 638000 httplive debug: candidate 2 bandwidth (bits/s) 4938733 >= 1942000 httplive debug: candidate 3 bandwidth (bits/s) 4938733 >= 3274000 httplive debug: candidate 4 bandwidth (bits/s) 4938733 >= 4814000 core debug: creating access 'http' location='sample.vodobox.com/planete_interdite/hdready/planete_interdite_4160_n264_720p15.ts', path='\\sample.vodobox.com\planete_interdite\hdready\planete_interdite_4160_n264_720p15.ts' core debug: looking for access module matching "http": 21 candidates http debug: querying proxy for http://sample.vodobox.com/planete_interdite/hdready/planete_interdite_4160_n264_720p15.ts http debug: no proxy http debug: http: server='sample.vodobox.com' port=80 file='/planete_interdite/hdready/planete_interdite_4160_n264_720p15.ts' core debug: net: connecting to sample.vodobox.com port 80 core debug: connection succeeded (socket = 1640) http debug: protocol 'HTTP' answer code 206 http debug: Server: Apache/2.2 http debug: this frame size=2189260 http debug: stream size=2189260,pos=0,remaining=2189260 http debug: Connection: close http debug: Content-Type: video/MP2T core debug: using access module "http" core debug: Using stream method for AStream* core debug: starting pre-buffering core debug: received first data after 0 ms core debug: pre-buffering done 1021 bytes in 0s - 996 KiB/s httplive debug: playing segment 10 from stream 3 core debug: removing module "http" httplive debug: downloaded segment 15 from stream 4 httplive debug: candidate 0 bandwidth (bits/s) 4730977 >= 314000 httplive debug: candidate 1 bandwidth (bits/s) 4730977 >= 638000 httplive debug: candidate 2 bandwidth (bits/s) 4730977 >= 1942000 httplive debug: candidate 3 bandwidth (bits/s) 4730977 >= 3274000 httplive debug: detected lower bandwidth (3274000) stream core debug: creating access 'http' location='sample.vodobox.com/planete_interdite/veryhigh/planete_interdite_2080_q264_480p16.ts', path='\\sample.vodobox.com\planete_interdite\veryhigh\planete_interdite_2080_q264_480p16.ts' core debug: looking for access module matching "http": 21 candidates http debug: querying proxy for http://sample.vodobox.com/planete_interdite/veryhigh/planete_interdite_2080_q264_480p16.ts http debug: no proxy http debug: http: server='sample.vodobox.com' port=80 file='/planete_interdite/veryhigh/planete_interdite_2080_q264_480p16.ts' core debug: net: connecting to sample.vodobox.com port 80 core debug: connection succeeded (socket = 2216) http debug: protocol 'HTTP' answer code 206 http debug: Server: Apache/2.2 http debug: this frame size=1117848 http debug: stream size=1117848,pos=0,remaining=1117848 http debug: Connection: close http debug: Content-Type: video/MP2T core debug: using access module "http" core debug: Using stream method for AStream* core debug: starting pre-buffering core debug: received first data after 0 ms core debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s core debug: removing module "http" httplive debug: downloaded segment 16 from stream 3 httplive debug: candidate 0 bandwidth (bits/s) 5599739 >= 314000 httplive debug: candidate 1 bandwidth (bits/s) 5599739 >= 638000 httplive debug: candidate 2 bandwidth (bits/s) 5599739 >= 1942000 httplive debug: candidate 3 bandwidth (bits/s) 5599739 >= 3274000 httplive debug: candidate 4 bandwidth (bits/s) 5599739 >= 4814000 httplive debug: detected faster bandwidth (4814000) stream httplive debug: cplaying segmoree debugnt : 11 from stream c4reating a ccess 'http' location='sample.vodotbsox.com/p lanete_iwnterditearning: /hdready/planete_interdite_4160_n264_720p17.tsd'iscontin,uity rec eived 0xpc insteaath='d of 0x6\\sample (pid=.vodobox256.com\pla)nete_int erdite\hdready\planete_interdite_4160_n264_720p17.ts' core debug: looking for access module matching "http": 21 candidates http debug: querying proxy for http://sample.vodobox.com/planete_interdite/hdready/planete_interdite_4160_n264_720p17.ts http debug: no proxy http debug: http: server='sample.vodobox.com' port=80 file='/planete_interdite/hdready/planete_interdite_4160_n264_720p17.ts' core debug: net: connecting to sample.vodobox.com port 80 core debug: connection succeeded (socket = 1640) http debug: protocol 'HTTP' answer code 206 http debug: Server: Apache/2.2 http debug: this frame size=2103156 http debug: stream size=2103156,pos=0,remaining=2103156 http debug: Connection: close http debug: Content-Type: video/MP2T core debug: using access module "http" core debug: Using stream method for AStream* core debug: starting pre-buffering core debug: received first data after 0 ms core debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s core debug: reusing provided vout qt4 debug: Qt: Fullscreen state changed avcodec debug: available hardware decoder output format 61 (dxva2_vld) avcodec debug: available hardware decoder output format 128 (d3d11va_vld) avcodec debug: available software decoder output format 0 (yuv420p) core debug: looking for hw decoder module matching "none": 1 candidates core debug: no hw decoder modules matched core debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully direct3d debug: Win32 Vout EventThread terminating direct3d debug: Win32VoutCloseWindow direct3d debug: WinProc WM_DESTROY core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 11 candidates direct3d debug: creating Vout EventThread direct3d debug: Win32VoutCreateWindow core debug: Reusing previous vout window direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA GeForce GTX 970 4318 5058 161 core debug: VoutDisplayEvent 'resize' 1750x758 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized core debug: using vout display module "direct3d" core debug: original format sz 1280x738, of (0,0), vsz 1280x720, 4cc I420, sar 477:352, msk r0x0 g0x0 b0x0 core debug: reusing provided vout core debug: VoutDisplayEvent 'resizqet4' debug: Qt: Fullscreen state changed6 00x347 window core debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully direct3d debug: Win32 Vout EventThread terminating direct3d debug: Win32VoutCloseWindow direct3d debug: WinProc WM_DESTROY core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 11 candidates direct3d debug: creating Vout EventThread direct3d debug: Win32VoutCreateWindow core debug: Reusing previous vout window direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA GeForce GTX 970 4318 5058 161 core debug: VoutDisplayEvent 'resize' 1173x518 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized core debug: using vout display module "direct3d" core debug: original format sz 864x482, of (0,0), vsz 854x480, 4cc I420, sar 477:352, msk r0x0 g0x0 b0x0 core debug: reusing provided vout qt4 debug: Qt: Fullscreen state changed core debug: VoutDisplayEvent 'resize' 600x347 window core debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully direct3d debug: Win32 Vout EventThread terminating direct3d debug: Win32VoutCloseWindow direct3d debug: WinProc WM_DESTROY core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 11 candidates direct3d debug: creating Vout EventThread direct3d debug: Win32VoutCreateWindow core debug: Reusing previous vout window direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA GeForce GTX 970 4318 5058 161 core debug: VoutDisplayEvent 'resize' 1750x758 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized core debug: using vout display module "direct3d" core debug: original format sz 1280x738, of (0,0), vsz 1280x720, 4cc I420, sar 477:352, msk r0x0 g0x0 b0x0 core debug: reusing provided vout core debug: qVoutDispt4l dayEvent ebu'resize'g :600x 347 windoQt: wFu llscreen state changed core debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully direct3d debug: Win32 Vout EventThread terminating direct3d debug: Win32VoutCloseWindow direct3d debug: WinProc WM_DESTROY core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 11 candidates direct3d debug: creating Vout EventThread direct3d debug: Win32VoutCreateWindow core debug: Reusing previous vout window direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA GeForce GTX 970 4318 5058 161 core debug: VoutDisplayEvent 'resize' 1173x518 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized core debug: using vout display module "direct3d" core debug: original format sz 864x482, of (0,0), vsz 854x480, 4cc I420, sar 477:352, msk r0x0 g0x0 b0x0 core debug: reusing provided vout qt4 debug: Qt: Fullscreen state changed core debug: VoutDisplayEvent 'resize' 600x347 window core debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully direct3d debug: Win32 Vout EventThread terminating direct3d debug: Win32VoutCloseWindow direct3d debug: WinProc WM_DESTROY core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 11 candidates direct3d debug: creating Vout EventThread direct3d debug: Win32VoutCreateWindow core debug: Reusing previous vout window direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA GeForce GTX 970 4318 5058 161 core debug: VoutDisplayEvent 'resize' 1750x758 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized core debug: using vout display module "direct3d" core debug: original format sz 1280x738, of (0,0), vsz 1280x720, 4cc I420, sar 477:352, msk r0x0 g0x0 b0x0 core debug: reusing provided vout qt4 debug: Qt: Fullscreen state changed core debug: VoutDisplayEvent 'resize' 600x347 window core debug: reusing provided vout qt4 debug: Qt: Fullscreen state changed

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

Re: HLS stream crash randomly

Postby Jean-Baptiste Kempf » 12 Jul 2016 10:54

Can you try VLC 3.0.0 from nightly builds?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

KingKebab
Blank Cone
Blank Cone
Posts: 31
Joined: 05 Mar 2012 23:17
Operating System: Windows

Re: HLS stream crash randomly

Postby KingKebab » 12 Jul 2016 18:59

Hello Jean-Baptiste

It's awesome ! Tested with the vlc-3.0.0-20160712-0243 build for Win32 today.
I can watch the HLS stream as a full movie without any crash :D
As other new improvement I notice VLC 3.0 will be able to display the time length of the HLS stream properly.

Congratulation for this future release.
Hope it will be available soon for everyone :)

KingKebab
Blank Cone
Blank Cone
Posts: 31
Joined: 05 Mar 2012 23:17
Operating System: Windows

Re: HLS stream crash randomly

Postby KingKebab » 12 Jul 2016 19:21

Sorry I just forgot an information !

VLC 3.0 shows the filename of the movie "planete_interdite.m3u8" each time it switches automatically to a different bitrate stream.

It means the filename of the movie will be able to appears many times while you're watching an HLS stream.
This behavior could be annoying for some spectators.

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

Re: HLS stream crash randomly

Postby Jean-Baptiste Kempf » 25 Jul 2016 14:13

VLC 3.0 shows the filename of the movie "planete_interdite.m3u8" each time it switches automatically to a different bitrate stream.

It means the filename of the movie will be able to appears many times while you're watching an HLS stream.
This behavior could be annoying for some spectators.
So far, this is a known issue, and it is not fixed.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: HLS stream crash randomly

Postby InTheWings » 25 Jul 2016 15:18

OSD and title displayed on decoder -> vout restart
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: HLS stream crash randomly

Postby InTheWings » 25 Jul 2016 15:51

You can workaround with --no-video-title-show
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

KingKebab
Blank Cone
Blank Cone
Posts: 31
Joined: 05 Mar 2012 23:17
Operating System: Windows

Re: HLS stream crash randomly

Postby KingKebab » 27 Jul 2016 18:40

Hello

I added this option in my VLC shortcut and filename didn't appear anymore at Vout restart.
Thank you for this workaround InTheWings :)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 41 guests