High CPU load though no transcoding

About encoding, codec settings, muxers and filter usage
b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

High CPU load though no transcoding

Postby b-frame » 18 Mar 2013 20:40

Hi,
I'm streaming some video from an old computer (Intel Pentium 4, 3.0 GHz + HT, 512 MB RAM) to some other computers in my LAN (or sometimes to the localhost-address). This is how the command-lines look like:

Code: Select all

vlc.exe dvb-c://frequency=370000000 :dvb-modulation=256 :dvb-srate=6900 :dvb-network-name="DVB-C Tuning Space" :program=10301 :dvb-adapter=0 :sout=#udp{mux=ts,dst=127.0.0.1:5000} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep :no-qt-error-dialogs vlc.exe dvb-c://frequency=370000000 :dvb-modulation=256 :dvb-srate=6900 :dvb-network-name="DVB-C Tuning Space" :program=10301 :dvb-adapter=0 :sout=#rtp{mux=ts,dst=225.1.1.0,port=4000} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep :no-qt-error-dialogs
(the only difference is in sout=...)

The problem is, that vlc causes high cpu load (up to 100% of a single core), although it should neither decode nor encode the stream, but just pass it to the network. This results in lost/late network packets and causes visual artifacts and stuttering audio at the receiving computers. The cpu load caused by vlc depends on the input: high definition streams with H.264 codec (~10 Mbit/s) are worse than MPEG-2 streams with 720*576 pixels (~ 4 Mbit/s). I already tried different versions (1.1.11 and 2.0.5), all of them had the same problem. Interesting: When sending to 127.0.0.1, the load caused by the vlc process is higher than multicasting.

For me, it looks like vlc decodes (but doesn't display) the stream before sending it, which is unnecessary. Is there a way to reduce the cpu load?

Thanks in advance!

Edit: changed \" to "
Last edited by b-frame on 18 Mar 2013 23:20, edited 1 time in total.

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

Re: High CPU load though no transcoding

Postby Rémi Denis-Courmont » 18 Mar 2013 22:27

VLC definitely does not decode in those cases. Something else is wrong.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: High CPU load though no transcoding

Postby b-frame » 18 Mar 2013 23:32

If it helps, here's the log with verbosity level 2:

Code: Select all

main debug: processing request item dvb-c://frequency=370000000 node Wiedergabeliste skip 0 main debug: resyncing on dvb-c://frequency=370000000 main debug: dvb-c://frequency=370000000 is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'dvb-c://frequency=370000000' main debug: thread (input) created at priority 1 (../.././src/input/input.c:220) main debug: thread started main debug: reusing sout main debug: you probably want to use gather stream_out main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'I:\DOKUME~1\ADMINI~1\LOKALE~1\Temp' main debug: `dvb-c://frequency=370000000' gives access `dvb-c' demux `' path `frequency=370000000' main debug: creating demux: access='dvb-c' demux='' path='frequency=370000000' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "dvb-c" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: creating access 'dvb-c' path='frequency=370000000' main debug: looking for access module: 1 candidate bda debug: CreateTuneRequest: Find Tuning Space: DVB-C Tuning Space qt4 debug: IM: Setting an input bda debug: CreateTuneRequest: Using Tuning Space: DVB-C Tuning Space bda debug: Build: Using Tuning Space ID 51 bda debug: FindFilter: Connected TechniSat Mantis DVBC BDA Receiver bda debug: BDAGraph: Using adapter 1 bda debug: FindFilter: Connected TechniSat Mantis DVBC Capture BDA Receiver bda debug: Build: Trying connecting with subtype MEDIASUBTYPE_MPEG2_TRANSPORT bda warning: Build: Cannot connect Sample Grabber to Capture device: hr=0x80004005 (try 1/2) bda debug: Build: Trying connecting with subtype KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter bda debug: Graph started hr=0x0 main debug: using access module "bda" main debug: TIMER module_need() : 2315.000 ms - Total 2315.000 ms / 1 intvls (Avg 2315.000 ms) main debug: Using AStream*Block main debug: pre buffering bda warning: BDA SampleCB: Sample Discontinuity. main debug: received first data after 31 ms main debug: prebuffering done 282752 bytes in 0s - 8906 KiB/s main debug: looking for stream_filter module: 2 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating demux: access='dvb-c' demux='ts' path='frequency=370000000' main debug: looking for demux module: 1 candidate ts debug: pid[5101] unknown ts debug: pid[5121] unknown ts debug: pid[5111] unknown ts debug: pid[5105] unknown ts debug: pid[5106] unknown ts debug: pid[5103] unknown ts debug: pid[5102] unknown ts debug: pid[2172] unknown ts debug: pid[5134] unknown ts debug: pid[5116] unknown ts debug: pid[5126] unknown ts debug: pid[5124] unknown ts debug: pid[5114] unknown ts debug: pid[2171] unknown ts debug: pid[5122] unknown ts debug: pid[5123] unknown ts debug: pid[5104] unknown ts debug: pid[5112] unknown ts debug: pid[5113] unknown ts warning: lost synchro ts debug: skipping 137 bytes of garbage ts debug: pid[32] unknown ts debug: pid[5108] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=1019 version=6 current_next=1 ts debug: * number=0 pid=16 ts debug: * number=10301 pid=5100 ts debug: * number=10302 pid=5110 ts debug: * number=10303 pid=5120 ts debug: * number=10304 pid=5130 ts warning: lost synchro ts debug: skipping 51 bytes of garbage ts debug: pid[1270] unknown ts debug: pid[1170] unknown ts debug: pid[1370] unknown ts debug: pid[5115] unknown ts debug: PMTCallBack called ts debug: new PMT program number=10301 version=2 pid_pcr=5101 ts debug: * es pid=1170 type=5 dr->i_tag=0x6f ts debug: * es pid=1170 type=5 *unknown* ts debug: * es pid=2171 type=11 dr->i_tag=0x13 ts debug: * es pid=2171 type=11 dr->i_tag=0x66 ts debug: * es pid=2171 type=11 dr->i_tag=0x52 ts debug: * es pid=2171 type=11 *unknown* ts debug: * es pid=2172 type=11 dr->i_tag=0x66 ts debug: * es pid=2172 type=11 dr->i_tag=0x13 ts debug: * es pid=2172 type=11 dr->i_tag=0x52 ts debug: * es pid=2172 type=11 *unknown* ts debug: * es pid=5101 type=27 dr->i_tag=0x52 ts debug: * es pid=5101 type=27 fcc=h264 main debug: selecting program id=10301 ts debug: * es pid=5102 type=3 dr->i_tag=0x52 ts debug: * es pid=5102 type=3 dr->i_tag=0xa ts debug: found language: deu ts debug: * es pid=5102 type=3 fcc=mpga ts debug: * es pid=5103 type=3 dr->i_tag=0x7f ts debug: * es pid=5103 type=3 dr->i_tag=0x52 ts debug: * es pid=5103 type=3 dr->i_tag=0xa ts debug: found language: mis ts debug: * es pid=5103 type=3 fcc=mpga ts debug: * es pid=5104 type=6 dr->i_tag=0x52 ts debug: * es pid=5104 type=6 dr->i_tag=0x56 ts debug: * ttxt type=Teletext lan=deu page=100 ts debug: * Stream Component Identifier: 3 ts debug: * es pid=5104 type=6 fcc=telx ts debug: * es pid=5105 type=6 dr->i_tag=0x59 ts debug: * es pid=5105 type=6 dr->i_tag=0x52 ts debug: * Stream Component Identifier: 6 ts debug: * es pid=5105 type=6 fcc=dvbs ts debug: * es pid=5106 type=6 dr->i_tag=0x6a ts debug: * es pid=5106 type=6 dr->i_tag=0x52 ts debug: * es pid=5106 type=6 dr->i_tag=0xa ts debug: * Stream Component Identifier: 17 ts debug: found language: deu ts debug: * es pid=5106 type=6 fcc=a52 ts debug: * es pid=5108 type=6 *unknown* main debug: using demux module "ts" main debug: TIMER module_need() : 270.000 ms - Total 270.000 ms / 1 intvls (Avg 270.000 ms) main debug: looking for packetizer module: 21 candidates 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 (../.././src/input/decoder.c:301) main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "mpeg_audio" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:301) main debug: thread started ts debug: DEMUX_SET_GROUP 10301 00000000 main debug: starting in async mode main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in I:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\vlc\lua\meta\reader lua debug: Trying Lua scripts in I:\Programme\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script I:\Programme\VideoLAN\VLC\lua\meta\reader\filename.lua 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: `dvb-c://frequency=370000000' successfully opened ts debug: PMTCallBack called ts debug: new PMT program number=10302 version=2 pid_pcr=5111 ts debug: * es pid=1270 type=5 dr->i_tag=0x6f ts debug: * es pid=1270 type=5 *unknown* ts debug: * es pid=5111 type=27 dr->i_tag=0x52 ts debug: * es pid=5111 type=27 fcc=h264 ts debug: * es pid=5112 type=3 dr->i_tag=0x52 ts debug: * es pid=5112 type=3 dr->i_tag=0xa ts debug: found language: deu ts debug: * es pid=5112 type=3 fcc=mpga ts debug: * es pid=5113 type=3 dr->i_tag=0x52 ts debug: * es pid=5113 type=3 dr->i_tag=0xa ts debug: found language: fra ts debug: * es pid=5113 type=3 fcc=mpga ts debug: * es pid=5114 type=6 dr->i_tag=0x52 ts debug: * es pid=5114 type=6 dr->i_tag=0x56 ts debug: * ttxt type=Teletext lan=deu page=100 ts debug: * Stream Component Identifier: 3 ts debug: * es pid=5114 type=6 fcc=telx ts debug: * es pid=5115 type=6 dr->i_tag=0x59 ts debug: * es pid=5115 type=6 dr->i_tag=0x52 ts debug: * Stream Component Identifier: 6 ts debug: * es pid=5115 type=6 fcc=dvbs ts debug: * es pid=5116 type=6 dr->i_tag=0x6a ts debug: * es pid=5116 type=6 dr->i_tag=0x52 ts debug: * es pid=5116 type=6 dr->i_tag=0xa ts debug: * Stream Component Identifier: 17 ts debug: found language: deu ts debug: * es pid=5116 type=6 fcc=a52 ts debug: * es pid=5118 type=6 dr->i_tag=0x59 ts debug: * es pid=5118 type=6 dr->i_tag=0x52 ts debug: * Stream Component Identifier: 7 ts debug: * es pid=5118 type=6 fcc=dvbs ts debug: PMTCallBack called ts debug: new PMT program number=10303 version=2 pid_pcr=5121 ts debug: * es pid=1370 type=5 dr->i_tag=0x6f ts debug: * es pid=1370 type=5 *unknown* ts warning: pmt error: pid=2171 already defined ts debug: * es pid=5121 type=27 dr->i_tag=0x52 ts debug: * es pid=5121 type=27 fcc=h264 ts debug: * es pid=5122 type=3 dr->i_tag=0x52 ts debug: * es pid=5122 type=3 dr->i_tag=0xa ts debug: found language: deu ts debug: * es pid=5122 type=3 fcc=mpga ts debug: * es pid=5123 type=3 dr->i_tag=0x7f ts debug: * es pid=5123 type=3 dr->i_tag=0x52 ts debug: * es pid=5123 type=3 dr->i_tag=0xa ts debug: found language: mis ts debug: * es pid=5123 type=3 fcc=mpga ts debug: * es pid=5124 type=6 dr->i_tag=0x52 ts debug: * es pid=5124 type=6 dr->i_tag=0x56 ts debug: * ttxt type=Teletext lan=deu page=100 ts debug: * Stream Component Identifier: 3 ts debug: * es pid=5124 type=6 fcc=telx ts debug: * es pid=5125 type=6 dr->i_tag=0x59 ts debug: * es pid=5125 type=6 dr->i_tag=0x52 ts debug: * Stream Component Identifier: 6 ts debug: * es pid=5125 type=6 fcc=dvbs ts debug: * es pid=5126 type=6 dr->i_tag=0x6a ts debug: * es pid=5126 type=6 dr->i_tag=0x52 ts debug: * es pid=5126 type=6 dr->i_tag=0xa ts debug: * Stream Component Identifier: 17 ts debug: found language: deu ts debug: * es pid=5126 type=6 fcc=a52 ts warning: first packet for pid=5101 cc=0xe ts warning: first packet for pid=5121 cc=0xd ts warning: first packet for pid=5111 cc=0x6 ts warning: first packet for pid=5124 cc=0x3 ts warning: first packet for pid=2172 cc=0x7 ts warning: first packet for pid=5122 cc=0x9 ts warning: first packet for pid=5123 cc=0xa ts warning: first packet for pid=5114 cc=0x3 ts warning: first packet for pid=5116 cc=0x9 ts debug: PMTCallBack called ts debug: new PMT program number=10304 version=20 pid_pcr=5121 ts warning: pmt error: pid=1370 already defined ts warning: pmt error: pid=2171 already defined ts warning: pmt error: pid=5121 already defined ts warning: pmt error: pid=5122 already defined ts warning: pmt error: pid=5123 already defined ts warning: pmt error: pid=5126 already defined ts debug: * es pid=5134 type=6 dr->i_tag=0x52 ts debug: * es pid=5134 type=6 dr->i_tag=0x56 ts debug: * ttxt type=Teletext lan=deu page=100 ts debug: * Stream Component Identifier: 3 ts debug: * es pid=5134 type=6 fcc=telx ts debug: * es pid=5135 type=6 dr->i_tag=0x59 ts debug: * es pid=5135 type=6 dr->i_tag=0x52 ts debug: * Stream Component Identifier: 6 ts debug: * es pid=5135 type=6 fcc=dvbs ts warning: first packet for pid=5126 cc=0x6 main debug: Buffering 0% ts warning: first packet for pid=5112 cc=0xa ts warning: first packet for pid=5113 cc=0xb ts warning: first packet for pid=5104 cc=0xf ts warning: first packet for pid=5102 cc=0x2 ts warning: first packet for pid=5106 cc=0x5 ts debug: pid[16] unknown ts warning: first packet for pid=2171 cc=0x8 ts warning: first packet for pid=1370 cc=0x3 main debug: Buffering 12% ts warning: first packet for pid=1270 cc=0x5 main debug: Buffering 24% main debug: switching to sync mode ts warning: first packet for pid=5118 cc=0x9 packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS ts warning: first packet for pid=1170 cc=0x5 packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 36% packetizer_h264 warning: waiting for SPS/PPS mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:256 main debug: adding a new sout input (sout_input:014644a0) main debug: adding a new input mux_ts debug: adding input codec=mpga pid=72 mux_ts debug: - lang=deu mux_ts debug: new PCR PID is 72 ts warning: first packet for pid=5108 cc=0xc main debug: Buffering 49% ts warning: first packet for pid=5125 cc=0x1 ts warning: first packet for pid=5135 cc=0xd main debug: Buffering 61% main debug: Buffering 74% packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 debug: found NAL_SPS (sps_id=0) packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) main debug: adding a new sout input (sout_input:034b13e0) main debug: adding a new input mux_ts debug: adding input codec=h264 pid=73 mux_ts debug: new PCR PID is 73 main debug: Buffering 86% main debug: Buffering 98% main debug: Stream buffering done (333 ms in 335 ms) main debug: Decoder buffering done in 0 ms ts warning: first packet for pid=5105 cc=0x3 ts warning: first packet for pid=5115 cc=0x2 ts debug: PSINewTableCallBack: table 0x42(66) ext=0x3fb(1019) ts debug: SDTCallBack called ts debug: new SDT ts_id=1019 version=0 current_next=1 network_id=1 ts debug: * service id=10301 eit schedule=1 present=1 running=4 free_ca=0 ts debug: - type=25 provider=ARD name=Das Erste HD main debug: EsOutProgramMeta: number=10301 ts debug: * service id=10302 eit schedule=1 present=1 running=4 free_ca=0 ts debug: - type=25 provider=ARD name=arte HD main debug: EsOutProgramMeta: number=10302 ts debug: * service id=10303 eit schedule=1 present=1 running=4 free_ca=0 ts debug: - type=25 provider=ARD name=SWR BW HD main debug: EsOutProgramMeta: number=10303 ts debug: * service id=10304 eit schedule=1 present=1 running=4 free_ca=0 ts debug: - type=25 provider=ARD name=SWR RP HD main debug: EsOutProgramMeta: number=10304 ts debug: PSINewTableCallBack: table 0x50(80) ext=0x283f(10303) mux_ts debug: adjusting rate at -653211/200000 (7/1466) access_output_udp debug: late packet for UDP input (67724414) access_output_udp debug: packet has been sent too late (67725414) access_output_udp debug: mmh, hole (68463349 > 2s) -> drop ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x283d(10301) ts debug: PSINewTableCallBack: table 0x50(80) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x52(82) ext=0x2840(10304) ts debug: PSINewTableCallBack: table 0x51(81) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x53(83) ext=0x2840(10304) access_output_udp debug: dropped 1 packets ts debug: PSINewTableCallBack: table 0x51(81) ext=0x283d(10301) ts debug: PSINewTableCallBack: table 0x51(81) ext=0x2840(10304) ts debug: PSINewTableCallBack: table 0x54(84) ext=0x2840(10304) ts debug: PSINewTableCallBack: table 0x51(81) ext=0x283f(10303) ts debug: PSINewTableCallBack: table 0x55(85) ext=0x2840(10304) ts debug: PSINewTableCallBack: table 0x50(80) ext=0x283d(10301) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x2840(10304) ts debug: PSINewTableCallBack: table 0x50(80) ext=0x2840(10304) ts debug: PSINewTableCallBack: table 0x56(86) ext=0x2840(10304) ts debug: PSINewTableCallBack: table 0x52(82) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x53(83) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x54(84) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x55(85) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x56(86) ext=0x283e(10302) ts debug: PSINewTableCallBack: table 0x70(112) ext=0x0(0) ts debug: PSINewTableCallBack: table 0x52(82) ext=0x283f(10303) ts debug: PSINewTableCallBack: table 0x53(83) ext=0x283f(10303) ts debug: PSINewTableCallBack: table 0x54(84) ext=0x283f(10303) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x283f(10303) ts debug: PSINewTableCallBack: table 0x55(85) ext=0x283f(10303) ts debug: PSINewTableCallBack: table 0x56(86) ext=0x283f(10303) ts debug: PSINewTableCallBack: table 0x52(82) ext=0x283d(10301) ts debug: PSINewTableCallBack: table 0x53(83) ext=0x283d(10301) ts debug: PSINewTableCallBack: table 0x54(84) ext=0x283d(10301) ts debug: EITCallBack called ts debug: new EIT service_id=10301 version=13 current_next=1 ts_id=1019 network_id=1 segment_last_section_number=1 last_table_id=78 ts debug: * event id=3650 start_time:1363643100 duration=2700 running=4 free_ca=0 ts debug: - short event lang=deu 'Die Story im Ersten: Gauck persönlich - Ein Jahr Bundespräsident' : 'Film von Silke König und Hans-Jürgen Börner' ts debug: - extended event lang=deu [0/2] ts debug: - text='"Das Feuilleton zählt inzwischen meine Tränen", sagt Bundespräsident Joachim Gauck in einer ersten persönlichen Jahresbilanz. Er schämt sich nicht, Dinge, die ihn berühren, auch zu benennen, Fehler einzugestehen und zuzugeben, dass er noch ein Lern' ts debug: - extended event lang=deu [1/2] ts debug: - text='ender ist. Wie sich sein "Selbstversuch mit offenem Ausgang" bislang entwickelt hat, zeigt die Dokumentation "Die Story im Ersten: Gauck persönlich - Ein Jahr Bundespräsident". Gauck gibt den Autoren Silke König und Hans-Jürgen Börner Auskunft über' ts debug: - extended event lang=deu [2/2] ts debug: - text=' sein Amtsverständnis, über das, was er erreicht hat, aber auch das, was er noch verbessern will.' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x54(84) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) ts debug: * event id=3651 start_time:1363645800 duration=2700 running=1 free_ca=0 ts debug: - short event lang=deu 'Knast auf ewig? Der Streit um die Sicherungsverwahrung' : 'Film von Ulli Wendelmann' ts debug: - extended event lang=deu [0/2] ts debug: - text='Kann man jemanden einsperren für eine Tat, die er noch gar nicht begangen hat? Ja. Immer häufiger ordnen Gerichte Sicherungsverwahrung an und das nicht nur bei Sexual- und Gewaltstraftätern. Nicht wenige sitzen wegen mehrfacher Raub- oder Betrugsde' ts debug: - extended event lang=deu [1/2] ts debug: - text='likte seit Jahren bzw. Jahrzehnten hinter Gittern. So sitzt z. B. der 59jährige Klaus F. seit insgesamt 24 Jahren im Knast wegen räuberischer Erpressung und wiederholter Bankeinbrüche. 2008 wurde für den ehemaligen Logistikkaufmann Sicherungsverwah' ts debug: - extended event lang=deu [2/2] ts debug: - text='rung angeordnet.' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x54(84) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) main debug: EsOutProgramEpg: number=10301 name=Das Erste HD [Programm 10301] ts debug: PSINewTableCallBack: table 0x55(85) ext=0x283d(10301) ts debug: PSINewTableCallBack: table 0x56(86) ext=0x283d(10301) ts debug: EITCallBack called ts debug: new EIT service_id=10304 version=25 current_next=1 ts_id=1019 network_id=1 segment_last_section_number=1 last_table_id=78 ts debug: * event id=196 start_time:1363644000 duration=1800 running=4 free_ca=0 ts debug: - short event lang=deu 'Sag die Wahrheit (257)' : 'Die SWR Rateshow' ts debug: - extended event lang=deu [0/1] ts debug: - text='Drei Menschen behaupten von sich, ein und dieselbe Person zu sein; zwei lügen, und nur einer sagt die Wahrheit. Jeweils vier prominente Ratefüchse stehen vor der Aufgabe, die Lügner mit Spürsinn, Intuition und viel Humor zu entlarven. Moderation: ' ts debug: - extended event lang=deu [1/1] ts debug: - text='Michael Antwerpes' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x54(84) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) ts debug: * event id=197 start_time:1363645800 duration=1500 running=1 free_ca=0 ts debug: - short event lang=deu 'Sag die Wahrheit (267)' : 'Die SWR Rateshow' ts debug: - extended event lang=deu [0/1] ts debug: - text='Drei Menschen behaupten von sich, ein und dieselbe Person zu sein; zwei lügen, und nur einer sagt die Wahrheit. Jeweils vier prominente Ratefüchse stehen vor der Aufgabe, die Lügner mit Spürsinn, Intuition und viel Humor zu entlarven. Moderation: ' ts debug: - extended event lang=deu [1/1] ts debug: - text='Michael Antwerpes' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x54(84) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) access_output_udp debug: mmh, packets in the past (56104) access_output_udp debug: packet has been sent too late (56622) access_output_udp debug: packet has been sent too late (55472) access_output_udp debug: packet has been sent too late (54322) access_output_udp debug: packet has been sent too late (53172) access_output_udp debug: packet has been sent too late (52023) access_output_udp debug: packet has been sent too late (50873) access_output_udp debug: packet has been sent too late (49723) access_output_udp debug: packet has been sent too late (48573) access_output_udp debug: packet has been sent too late (47424) access_output_udp debug: packet has been sent too late (47274) access_output_udp debug: packet has been sent too late (46124) access_output_udp debug: packet has been sent too late (44975) access_output_udp debug: packet has been sent too late (43825) access_output_udp debug: packet has been sent too late (42675) access_output_udp debug: packet has been sent too late (41525) access_output_udp debug: packet has been sent too late (40376) access_output_udp debug: packet has been sent too late (39226) access_output_udp debug: packet has been sent too late (38076) access_output_udp debug: packet has been sent too late (36926) access_output_udp debug: packet has been sent too late (35777) access_output_udp debug: packet has been sent too late (34627) access_output_udp debug: packet has been sent too late (33477) access_output_udp debug: packet has been sent too late (33327) access_output_udp debug: packet has been sent too late (32178) access_output_udp debug: packet has been sent too late (31028) access_output_udp debug: packet has been sent too late (29878) access_output_udp debug: packet has been sent too late (28729) access_output_udp debug: packet has been sent too late (27579) access_output_udp debug: packet has been sent too late (26429) access_output_udp debug: packet has been sent too late (25279) access_output_udp debug: packet has been sent too late (24130) access_output_udp debug: packet has been sent too late (22980) access_output_udp debug: packet has been sent too late (21830) access_output_udp debug: packet has been sent too late (20680) ts debug: EITCallBack called ts debug: new EIT service_id=10302 version=6 current_next=1 ts_id=1019 network_id=1 segment_last_section_number=1 last_table_id=78 ts debug: * event id=60965 start_time:1363640100 duration=6900 running=4 free_ca=0 ts debug: - short event lang=deu 'Transsiberian - Reise in den Tod' : 'Spielfilm Großbritannien / Deutschland / Spanien 2008 (Transsiberian)' ts debug: - extended event lang=deu [0/2] ts debug: - text='Das amerikanische Ehepaar Roy und Jessie, er Lokomotiven-Liebhaber, sie Hobbyfotografin, treffen auf ihrer Reise mit der Transsibirischen Eisenbahn von Peking nach Moskau auf die Rucksacktouristen Abby und Carlos. Während Jessie in einem Hotel auf ' ts debug: - extended event lang=deu [1/2] ts debug: - text='ihren Mann wartet, der bei einem Aufenthalt auf einem Bahnhof den Wiedereinstieg verpasst hatte, schiebt Carlos der unwissenden Amerikanerin mit Drogen gefüllte Matroschka-Puppen unter. Als Jessie bei einem Zwischenstopp des Zuges Carlos auf einen ' ts debug: - extended event lang=deu [2/2] ts debug: - text='Ausflug begleitet, wird der Spanier aufdringlich, woraufhin ihn Jessie in Notwehr erschlägt und im Schnee liegen lässt.' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) ts debug: * event id=60966 start_time:1363647000 duration=5700 running=1 free_ca=0 ts debug: - short event lang=deu 'Dem Himmel ganz nah' : 'Dokumentarfilm Deutschland / Rumänien 2010' ts debug: - extended event lang=deu [0/1] ts debug: - text='Dumitru Stanciu ist einer der letzten Berghirten Europas. So wie seine Vorfahren seit Tausenden Jahren zieht er mit seiner Schafherde über die Weiten des transsilvanischen Karpatenbogens. Er lebt in den Bergen, zwischen Bären und Wölfen, kämpft mit' ts debug: - extended event lang=deu [1/1] ts debug: - text=' Sonne, Wind, Schnee und Eis und verbringt die Tage in ständiger Sorge um seine Tiere. Wenn er bald seinen Schafspelz an den Nagel hängen wird, stirbt unwiederbringlich ein Stück des alten Europas. Oder wird sein Sohn Radu die Herde übernehmen?' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) ts debug: EITCallBack called ts debug: new EIT service_id=10303 version=9 current_next=1 ts_id=1019 network_id=1 segment_last_section_number=1 last_table_id=78 ts debug: * event id=2690 start_time:1363644000 duration=1800 running=4 free_ca=0 ts debug: - short event lang=deu 'Sag die Wahrheit (257)' : 'Die SWR Rateshow' ts debug: - extended event lang=deu [0/1] ts debug: - text='Drei Menschen behaupten von sich, ein und dieselbe Person zu sein; zwei lügen, und nur einer sagt die Wahrheit. Jeweils vier prominente Ratefüchse stehen vor der Aufgabe, die Lügner mit Spürsinn, Intuition und viel Humor zu entlarven. Moderation: ' ts debug: - extended event lang=deu [1/1] ts debug: - text='Michael Antwerpes' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x54(84) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) ts debug: * event id=2691 start_time:1363645800 duration=1500 running=1 free_ca=0 ts debug: - short event lang=deu 'Sag die Wahrheit (267)' : 'Die SWR Rateshow' ts debug: - extended event lang=deu [0/1] ts debug: - text='Drei Menschen behaupten von sich, ein und dieselbe Person zu sein; zwei lügen, und nur einer sagt die Wahrheit. Jeweils vier prominente Ratefüchse stehen vor der Aufgabe, die Lügner mit Spürsinn, Intuition und viel Humor zu entlarven. Moderation: ' ts debug: - extended event lang=deu [1/1] ts debug: - text='Michael Antwerpes' ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x50(80) ts debug: - tag=0x5f(95) ts debug: - tag=0x54(84) ts debug: - tag=0x69(105) ts debug: - tag=0x82(130) access_output_udp debug: mmh, packets in the past (51877) access_output_udp debug: packet has been sent too late (52795) access_output_udp debug: packet has been sent too late (52087) access_output_udp debug: packet has been sent too late (51379) access_output_udp debug: packet has been sent too late (50671) access_output_udp debug: packet has been sent too late (49964) access_output_udp debug: packet has been sent too late (49256) access_output_udp debug: packet has been sent too late (48548) access_output_udp debug: packet has been sent too late (47840) access_output_udp debug: packet has been sent too late (47132) access_output_udp debug: packet has been sent too late (46424) access_output_udp debug: packet has been sent too late (45716) access_output_udp debug: packet has been sent too late (46008) access_output_udp debug: packet has been sent too late (45301) access_output_udp debug: packet has been sent too late (44593) access_output_udp debug: packet has been sent too late (43885) access_output_udp debug: packet has been sent too late (43177) access_output_udp debug: packet has been sent too late (42469) access_output_udp debug: packet has been sent too late (41761) access_output_udp debug: packet has been sent too late (41053) access_output_udp debug: packet has been sent too late (40345) access_output_udp debug: packet has been sent too late (39638) access_output_udp debug: packet has been sent too late (38930) access_output_udp debug: packet has been sent too late (38222) access_output_udp debug: packet has been sent too late (38514) access_output_udp debug: packet has been sent too late (37806) access_output_udp debug: packet has been sent too late (37098) access_output_udp debug: packet has been sent too late (36390) access_output_udp debug: packet has been sent too late (35683) access_output_udp debug: packet has been sent too late (34975) access_output_udp debug: packet has been sent too late (34267) access_output_udp debug: packet has been sent too late (33559) access_output_udp debug: packet has been sent too late (32851) access_output_udp debug: packet has been sent too late (32143) access_output_udp debug: packet has been sent too late (31435) access_output_udp debug: packet has been sent too late (30727) access_output_udp debug: packet has been sent too late (30020) access_output_udp debug: packet has been sent too late (30312) access_output_udp debug: packet has been sent too late (29604) access_output_udp debug: packet has been sent too late (28896) access_output_udp debug: packet has been sent too late (28188) access_output_udp debug: packet has been sent too late (27480) access_output_udp debug: packet has been sent too late (26772) access_output_udp debug: packet has been sent too late (26064) access_output_udp debug: packet has been sent too late (25357) access_output_udp debug: packet has been sent too late (24649) access_output_udp debug: packet has been sent too late (23941) access_output_udp debug: packet has been sent too late (23233) access_output_udp debug: packet has been sent too late (22525) access_output_udp debug: packet has been sent too late (21817) access_output_udp debug: packet has been sent too late (22109) access_output_udp debug: packet has been sent too late (21401) access_output_udp debug: packet has been sent too late (20694) main debug: incoming request - stopping current input main debug: dying input main debug: control type=0 main debug: control: stopping input main debug: dying input main debug: thread times: real 0m5.781250s, kernel 0m0.015625s, user 0m0.093750s main debug: removing module "packetizer_h264" main debug: killing decoder fourcc `h264', 0 PES in FIFO main debug: removing a sout input (sout_input:034b13e0) mux_ts debug: removing input pid=73 mux_ts debug: new PCR PID is 72 main debug: thread times: real 0m5.765625s, kernel 0m0.031250s, user 0m0.125000s main debug: removing module "mpeg_audio" main debug: killing decoder fourcc `mpga', 0 PES in FIFO main debug: removing a sout input (sout_input:014644a0) mux_ts debug: removing input pid=72 mux_ts debug: new PCR PID is 8191 main warning: no more input streams for this mux ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[16] seen ts debug: - pid[17] seen ts debug: - pid[18] seen ts debug: - pid[20] seen ts debug: - pid[32] seen ts debug: - pid[1170] seen ts debug: - pid[1270] seen ts debug: - pid[1370] seen ts debug: - pid[2171] seen ts debug: - pid[2172] seen ts debug: - pid[5100] seen ts debug: - pid[5101] seen ts debug: - pid[5102] seen ts debug: - pid[5103] seen ts debug: - pid[5104] seen ts debug: - pid[5105] seen main debug: Program doesn't contain anymore ES ts debug: - pid[5106] seen ts debug: - pid[5108] seen ts debug: - pid[5110] seen ts debug: - pid[5111] seen ts debug: - pid[5112] seen ts debug: - pid[5113] seen ts debug: - pid[5114] seen ts debug: - pid[5115] seen ts debug: - pid[5116] seen main debug: Program doesn't contain anymore ES ts debug: - pid[5118] seen ts debug: - pid[5120] seen ts debug: - pid[5121] seen ts debug: - pid[5122] seen ts debug: - pid[5123] seen ts debug: - pid[5124] seen ts debug: - pid[5125] seen main debug: Program doesn't contain anymore ES ts debug: - pid[5126] seen ts debug: - pid[5130] seen ts debug: - pid[5134] seen main debug: Program doesn't contain anymore ES ts debug: - pid[5135] seen ts debug: - pid[8191] seen main debug: removing module "ts" main debug: removing module "stream_filter_record" main debug: removing module "bda" main debug: thread ended main debug: dead input main debug: thread times: real 0m8.515625s, kernel 0m0.093750s, user 0m0.390625s qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'dvb-c://frequency=370000000' : 2627.000 ms - Total 2627.000 ms / 1 intvls (Avg 2627.000 ms) access_output_udp debug: mmh, packets in the past (13216)
Any further ideas?

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

Re: High CPU load though no transcoding

Postby Rémi Denis-Courmont » 20 Mar 2013 17:25

Many components are involved. I don't know.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: High CPU load though no transcoding

Postby b-frame » 24 Mar 2013 14:49

Thank you for spending time on my post anyway. :)

I found out, that the main load must be caused by the network-component. When I replace sout=#udp{...} by sout=#file{mux=ts,dst="sample.ts"} VLC reduces its cpu consumption from 50-60% to 5-10% of both (virtual) cores.

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: High CPU load though no transcoding

Postby Jean-Baptiste Kempf » 24 Mar 2013 23:21

That's weird. What about http?
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.

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: High CPU load though no transcoding

Postby b-frame » 09 May 2013 20:49

Sorry for not answering for such a long time. I was in another town, but now I can do some tests again until the weekend.

Replacing "#udp" by "#http" resulted in a cpu load between 5 and 10 percent - just the same as #file. I guess the reason for the high load must be in some udp-related code (afaik rtp uses udp and http is based on tcp instead, right?). Any ideas, what I can do?

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: High CPU load though no transcoding

Postby Jean-Baptiste Kempf » 12 May 2013 01:48

Try #rtp
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.

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: High CPU load though no transcoding

Postby b-frame » 12 May 2013 12:54

#rtp causes the same amount of workload as #udp.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests