Very high cpu usage for HLS streams

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.
vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Very high cpu usage for HLS streams

Postby vel_tins » 20 Apr 2014 04:18

The CPU load, when playing streams from "Wilmaa" like this one:

Code: Select all

http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/index_400_av-p.m3u8?sd=6&b=0-1000&rebase=on
goes up to 50%, even if the stream is paused.
The m3u8 files looks like this:

Code: Select all

#EXT-X-TARGETDURATION:10 #EXT-X-ALLOW-CACHE:YES #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:139795994 #EXTINF:10.000, http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/segment139795994_400_av-p.ts?sd=10&b=0-1000&rebase=on #EXTINF:10.000, http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/segment139795995_400_av-p.ts?sd=10&b=0-1000&rebase=on #EXTINF:10.000, http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/segment139795996_400_av-p.ts?sd=10&b=0-1000&rebase=on #EXTINF:10.000, http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/segment139795997_400_av-p.ts?sd=10&b=0-1000&rebase=on
This applies to VLC 2.0.7 and 2.1.x. and only on Windows!
No problems with Linux/Ubuntu
The debug log doesn't show any errors.
I tried different Video outputs (gl, directx, direct3d, etc.), but that made no difference.
En/disabled Hardware acceleration (DXVA2)...no difference
If I save the stream to disk and play from there, everything is fine.
So it seems to be some kind of a problem, how VLC "handles" or "interpretes" this specific hls stream/m3u8 list(?)

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

Re: Very high cpu usage for HLS streams

Postby Jean-Baptiste Kempf » 22 Apr 2014 10:38

PLease share your logs.
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.

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Very high cpu usage for HLS streams

Postby vel_tins » 22 Apr 2014 12:39

As requested..
Windows 7/64 (high cpu ~54%)
http://pastebin.com/rHgE5dG4

Linux (Mint16 in VMWware ~8-12% cpu)
http://pastebin.com/eWx92pkZ

zecarlosalmeida
New Cone
New Cone
Posts: 4
Joined: 29 Apr 2014 21:41

Re: Very high cpu usage for HLS streams

Postby zecarlosalmeida » 02 May 2014 19:03

Hi @vel_tins, do you could resolve the problem with the high cpu usage?

rocky
Blank Cone
Blank Cone
Posts: 61
Joined: 13 Jan 2007 12:21
Contact:

Re: Very high cpu usage for HLS streams

Postby rocky » 31 May 2014 17:01

same here using xbmc and vlc as alt player. xbmc cpu on a same stream 5% versus vlc 60%....

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Very high cpu usage for HLS streams

Postby vel_tins » 01 Jul 2014 12:56

This behaviour is still present in the 3.0 nightlies.
CPU load goes up to ~60% on VLC for Windows
And as mentioned above: XBMC uses around 10% on my machine.

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Very high cpu usage for HLS streams

Postby Rémi Denis-Courmont » 02 Jul 2014 01:09

And your CPU has two physical threads? If so, that seems like a live loop. Get a symbolic stack trace with a debugger and file a bug with it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Very high cpu usage for HLS streams

Postby vel_tins » 28 Feb 2015 03:12

Still not fixed in 2.2... :cry:
I give up.

Lotesdelere
Cone Master
Cone Master
Posts: 9725
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Very high cpu usage for HLS streams

Postby Lotesdelere » 28 Feb 2015 13:13

Still not fixed in 2.2... :cry:
I give up.
And still not fixed in v3.0 nighty builds as well.
This is getting very worrying.

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 28 Feb 2015 14:46

Almost 8 months since my previous post in this thread, and still waiting for symbolic stack trace...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re:

Postby vel_tins » 01 Mar 2015 06:10

Almost 8 months since my previous post in this thread, and still waiting for symbolic stack trace...
I'm not a developer or programmer, so I don't know how to meet your request!
I've tested this example stream (freely available, not geoblocked):

Code: Select all

http://wdr_fs-lh.akamaihd.net/i/wdrfs_weltweit@112033/index_608_av-p.m3u8?sd=10&rebase=on
on a:
AMD CPU PC Windows7/64
VMWARE with Windows 8.1 and Windows 10 Preview
Intel CPU Laptop Windows 8.1/64

and the problem occurs under all environments!
So please just play the stream and check whats happen
Thanks

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Very high cpu usage for HLS streams

Postby Rémi Denis-Courmont » 01 Mar 2015 09:01

I am not a Windows user, so I don´t know how to meet your request!
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 9725
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Very high cpu usage for HLS streams

Postby Lotesdelere » 01 Mar 2015 09:59

Almost 8 months since my previous post in this thread, and still waiting for symbolic stack trace...
Yep, it must be the users' fault if, since this major bug has been reported ten months ago, no one at VideoLAN has been able to run VLC on a Windows machine for checking it.
Bloody users.


I am not a Windows user, so I don´t know how to meet your request!
However you are making changes for the Windows version, for instance about sound among other ones, so are you suggesting you can't test the changes you are making ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Very high cpu usage for HLS streams

Postby Rémi Denis-Courmont » 01 Mar 2015 10:24

Obvious troll is obvious.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Very high cpu usage for HLS streams

Postby vel_tins » 01 Mar 2015 10:25

I am not a Windows user, so I don´t know how to meet your request!
well, if you don't want to help, why do you waste your time, posting in this thread?
Nice attitude anyway...

Lotesdelere
Cone Master
Cone Master
Posts: 9725
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Very high cpu usage for HLS streams

Postby Lotesdelere » 01 Mar 2015 10:31

Obvious troll is obvious.
Indeed, so obvious.

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 01 Mar 2015 10:32

well, if you don't want to help, why do you waste your time, posting in this thread?
Nice attitude anyway...
And this is a reflection on the person that refuses to provide the technical debugging infos requested by developers, i.e. yourself, right?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 9725
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Very high cpu usage for HLS streams

Postby Lotesdelere » 01 Mar 2015 10:36

well, if you don't want to help, why do you waste your time, posting in this thread?
Nice attitude anyway...
And this is a reflection on the person that refuses to provide the technical debugging infos requested by developers, i.e. yourself, right?
He explained he doesn't know how to do it but you took it as a personal offence, for some reason, rather than giving the details to obtain what you're waiting for, for eight months.

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 01 Mar 2015 10:46

He explained he doesn't know how to do it
And? Do you think the developers have time to hold the hands of every bug reporters, especially the volunteers? Did you consider that knowing that the procedure exists (in this cases, tracing on Windows) does not imply knowing the details of the procedure?
but you took it as a personal offence,
No. I do not care if a bug reporter or a forum poster refuses to provide requested infos. It is not just a convenient excuse but also a very valid reason to ignore the problem, and do more interesting things with my free time.

I do take offense at your later trolling and then his though.
rather than giving the details to obtain what you're waiting for, for eight months.
I am not waiting for anything, the OP is waiting for the bug to be fixed.

If the OP does not care enough to figure out how to produce the requested debugging data, and supply it, then why anybody else should? Clearly the bug is not so major if it could wait for 8 months passively.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 9725
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Very high cpu usage for HLS streams

Postby Lotesdelere » 01 Mar 2015 10:48

bla
Just explain how to do it.

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

Re: Very high cpu usage for HLS streams

Postby Jean-Baptiste Kempf » 01 Mar 2015 11:30

François will have a look about that this week.
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.

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Very high cpu usage for HLS streams

Postby vel_tins » 01 Mar 2015 12:19

^^
Edit:
@Jean-Baptiste Kempf
sorry, I didn't recognize your reply before posting

as expected: no useful reply
@Lotesdelere
thanks for your support.
I'm out at this point because VLC isn't that important for me, to waste my time quarreling around with this person on that level.
I hope, any serious Developer will have a look at this issue.
Just open the provided link on a Windows machine.
thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 01 Mar 2015 17:03

Just explain how to do it.
Just read the documentation.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Re: Very high cpu usage for HLS streams

Postby Ludrax » 03 Mar 2015 13:51

in wiki we can see how to in case of crash, but "live" is different?

Code: Select all

[Switching to thread 15 (Thread 363328.0x59394)] #0 EsOutProgramFind (p_out=p_out@entry=0x4b7a3c0, i_group=1) at ../../extras/package/win32/../../../src/input/es_out.c:1118 1118 ../../extras/package/win32/../../../src/input/es_out.c: No such file or directory.
An' if ain't broke, then don't try to fix it...

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

Re: Very high cpu usage for HLS streams

Postby Jean-Baptiste Kempf » 04 Mar 2015 10:41

You need 'bt'
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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests