UDP Streaming 100% CPU

About encoding, codec settings, muxers and filter usage
jod
New Cone
New Cone
Posts: 2
Joined: 04 Dec 2019 17:30

UDP Streaming 100% CPU

Postby jod » 04 Dec 2019 17:54

Hi,

I am running the command:

/usr/bin/cvlc --vlm-conf ./ott-udp-conf --pidfile /var/run/vlc.pid --syslog --syslog-debug

ott-udp-conf has the following configuration:

Code: Select all

new test broadcast enabled loop setup test input http://live.impresa.pt/live/sicnot/sicnot540p.m3u8 setup test output #std{access=udp,mux=ts,dst=239.192.1.100:1234} control test play
This work just fine when the source is OK (in this case http://live.impresa.pt/live/sicnot/sicnot540p.m3u8), but when the source is not OK (e.g. https://trtworld.ercdn.net/trtworld/trtworld_720p.m3u8) the CPU goes up to 100% and stays there until VLC is closed.

Last section of the log:

Dec 4 16:44:00 PRT095 vlc[31516]: VLC media player - 3.0.8 Vetinari
...
Dec 4 16:44:00 PRT095 vlc[31516]: creating VLM
Dec 4 16:44:00 PRT095 vlc[31516]: loading VLM configuration
Dec 4 16:44:00 PRT095 vlc[31516]: load ./ott-udp-conf
Dec 4 16:44:00 PRT095 vlc[31516]: Creating an input for 'trtworld_720p.m3u8'
Dec 4 16:44:00 PRT095 vlc[31516]: looking for interface module matching "telnet,none": 19 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: using sout chain=`std{access=udp,mux=ts,dst=239.192.1.100:1234}'
Dec 4 16:44:00 PRT095 vlc[31516]: stream=`std'
Dec 4 16:44:00 PRT095 vlc[31516]: password not configured
Dec 4 16:44:00 PRT095 vlc[31516]: Please specify the password in the preferences.
Dec 4 16:44:00 PRT095 vlc[31516]: looking for sout stream module matching "std": 23 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: no interface modules matched
Dec 4 16:44:00 PRT095 vlc[31516]: no suitable interface module
Dec 4 16:44:00 PRT095 vlc[31516]: interface "telnet,none" initialization failed
Dec 4 16:44:00 PRT095 vlc[31516]: looking for interface module matching "hotkeys,none": 19 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: set config option: sout-standard-access to udp
Dec 4 16:44:00 PRT095 vlc[31516]: set config option: sout-standard-mux to ts
Dec 4 16:44:00 PRT095 vlc[31516]: set config option: sout-standard-dst to 239.192.1.100:1234
Dec 4 16:44:00 PRT095 vlc[31516]: looking for sout access module matching "udp": 9 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: using interface module "hotkeys"
Dec 4 16:44:00 PRT095 vlc[31516]: looking for interface module matching "globalhotkeys,none": 19 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: net: connecting to [239.192.1.100]:1234
Dec 4 16:44:00 PRT095 vlc[31516]: source: 10.0.0.73 port 33480
Dec 4 16:44:00 PRT095 vlc[31516]: destination: 239.192.1.100 port 1234
Dec 4 16:44:00 PRT095 vlc[31516]: using sout access module "udp"
Dec 4 16:44:00 PRT095 vlc[31516]: looking for sout mux module matching "ts": 11 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: shaping=200000 pcr=70000 dts_delay=400000
Dec 4 16:44:00 PRT095 vlc[31516]: using sout mux module "mux_ts"
Dec 4 16:44:00 PRT095 vlc[31516]: using interface module "xcb_hotkeys"
Dec 4 16:44:00 PRT095 vlc[31516]: muxer support adding stream at any time
Dec 4 16:44:00 PRT095 vlc[31516]: muxer prefers to wait for all ES before starting to mux
Dec 4 16:44:00 PRT095 vlc[31516]: looking for interface module matching "dummy": 19 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: using `udp/ts://239.192.1.100:1234'
Dec 4 16:44:00 PRT095 vlc[31516]: using sout stream module "stream_out_standard"
Dec 4 16:44:00 PRT095 vlc[31516]: using timeshift granularity of 50 MiB
Dec 4 16:44:00 PRT095 vlc[31516]: using default timeshift path
Dec 4 16:44:00 PRT095 vlc[31516]: `https://trtworld.ercdn.net/trtworld/trtworld_720p.m3u8' gives access `https' demux `any' path `trtworld.ercdn.net/trtworld/trtworld_720p.m3u8'
Dec 4 16:44:00 PRT095 vlc[31516]: using the dummy interface module...
Dec 4 16:44:00 PRT095 vlc[31516]: using interface module "dummy"
Dec 4 16:44:00 PRT095 vlc[31516]: creating demux: access='https' demux='any' location='trtworld.ercdn.net/trtworld/trtworld_720p.m3u8' file='(null)'
Dec 4 16:44:00 PRT095 vlc[31516]: looking for access_demux module matching "https": 17 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: no access_demux modules matched
Dec 4 16:44:00 PRT095 vlc[31516]: creating access: https://trtworld.ercdn.net/trtworld/trtworld_720p.m3u8
Dec 4 16:44:00 PRT095 vlc[31516]: looking for access module matching "https": 28 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: looking for tls client module matching "any": 1 candidates
Dec 4 16:44:00 PRT095 vlc[31516]: using GnuTLS version 3.5.18
Dec 4 16:44:00 PRT095 vlc[31516]: playlist is empty
Dec 4 16:44:00 PRT095 vlc[31516]: nothing to play
Dec 4 16:44:00 PRT095 vlc[31516]: loaded 133 trusted CAs from system
Dec 4 16:44:00 PRT095 vlc[31516]: using tls client module "gnutls"
Dec 4 16:44:00 PRT095 vlc[31516]: resolving trtworld.ercdn.net ...
Dec 4 16:44:00 PRT095 vlc[31516]: cannot resolve trtworld.ercdn.net port 443: Name or service not known
Dec 4 16:44:00 PRT095 vlc[31516]: HTTP connection failure
Dec 4 16:44:00 PRT095 vlc[31516]: no access modules matched
Dec 4 16:44:00 PRT095 vlc[31516]: Your input can't be opened
Dec 4 16:44:00 PRT095 vlc[31516]: VLC is unable to open the MRL 'https://trtworld.ercdn.net/trtworld/trtworld_720p.m3u8'. Check the log for details.

I tried the most recent nightly build and the same problem occurred. I am on Ubuntu 18.04.3 LTS.

Thanks in advance.

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 41 guests