I've been trying to use VLC to stream DVB-T channels. I have tried this with many versions from 0.8.6d through to the latest version i extracted from git a couple of days ago and i get very similar symptoms in all the versions i've tried. I am starting VLC with commands like:
Code: Select all
#!/bin/bash
vlc -v --color -I dummy --ttl 12 --ts-es-id-pid \
--programs=4164,4228,4415,4671,4351 \
dvb: --dvb-adapter=2 --dvb-frequency=505833330 --dvb-bandwidth=8000000 \
--sout-standard-access=udp --sout-standard-mux=ts --sout \
'#duplicate{dst=std{dst=239.255.1.2,sap,group="BBC",name="BBC One"},select="program=4164",\
dst=std{dst=239.255.1.3,sap,group="BBC",name="BBC Two"},select="program=4228",\
dst=std{dst=239.255.1.4,sap,group="BBC",name="BBC Three 1900-0400"},select="program=4351",\
dst=std{dst=239.255.1.5,sap,group="BBC",name="CBBC Channel 0800-1900"},select="program=4671",\
dst=std{dst=239.255.1.6,sap,group="BBC",name="BBC News 24"},select="program=4415"}'
Code: Select all
#!/bin/bash
valgrind -v --tool=memcheck --leak-check=full --num-callers=100 --show-reachable=yes --log-file=valgrind4.log \
vlc -v -I dummy --ttl 12 --ts-es-id-pid \
--programs=4164,4671 \
dvb:// :dvb-adapter=3 :dvb-frequency=505833330 :dvb-bandwidth=8000000 \
--sout-standard-access=udp --sout-standard-mux=ts --sout \
'#duplicate{dst=std{dst=239.255.1.5,sap,group="BBC",name="BBC One"},select="program=4164",\
dst=std{dst=239.255.1.4,sap,group="BBC",name="CBBC Channel 0800-1900"},select="program=4671"}'
Code: Select all
==1182== LEAK SUMMARY:
==1182== definitely lost: 5,688 bytes in 173 blocks.
==1182== indirectly lost: 302 bytes in 6 blocks.
==1182== possibly lost: 0 bytes in 0 blocks.
==1182== still reachable: 13,291 bytes in 92 blocks.
==1182== suppressed: 0 bytes in 0 blocks.
--1182-- memcheck: sanity checks: 187541 cheap, 591 expensive
--1182-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--1182-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--1182-- memcheck: auxmaps_L2: 0 searches, 0 nodes
--1182-- memcheck: SMs: n_issued = 10147 (162352k, 158M)
--1182-- memcheck: SMs: n_deissued = 8039 (128624k, 125M)
--1182-- memcheck: SMs: max_noaccess = 524287 (8388592k, 8191M)
--1182-- memcheck: SMs: max_undefined = 191 (3056k, 2M)
--1182-- memcheck: SMs: max_defined = 3241 (51856k, 50M)
--1182-- memcheck: SMs: max_non_DSM = 2170 (34720k, 33M)
--1182-- memcheck: max sec V bit nodes: 255 (21k, 0M)
--1182-- memcheck: set_sec_vbits8 calls: 34895039 (new: 255, updates: 34894784)
--1182-- memcheck: max shadow mem size: 38885k, 37M
--1182-- translate: fast SP updates identified: 102,073 ( 90.5%)
--1182-- translate: generic_known SP updates identified: 5,350 ( 4.7%)
--1182-- translate: generic_unknown SP updates identified: 5,343 ( 4.7%)
--1182-- tt/tc: 35,263,544 tt lookups requiring 71,692,836 probes
--1182-- tt/tc: 35,263,544 fast-cache updates, 1,902 flushes
--1182-- transtab: new 84,496 (2,237,225 -> 31,050,412; ratio 138:10) [0 scs]
--1182-- transtab: dumped 0 (0 -> ??)
--1182-- transtab: discarded 66,282 (1,790,747 -> ??)
--1182-- scheduler: 15,418,669,816 jumps (bb entries).
--1182-- scheduler: 187,541/130,471,068 major/minor sched events.
--1182-- sanity: 187542 cheap, 591 expensive checks.
--1182-- exectx: 24,593 lists, 17,849 contexts (avg 0 per list)
--1182-- exectx: 69,797,686 searches, 69,793,640 full compares (999 per 1000)
--1182-- exectx: 1,611 cmp2, 25,531 cmp4, 0 cmpAll
--1182-- errormgr: 88 supplist searches, 4,427 comparisons during search
--1182-- errormgr: 7,411 errlist searches, 32,703 comparisons during search
I next ran valgrind's massif tool on it, to try and see where the memory was being allocated. The command is shown below:
Code: Select all
#!/bin/bash
valgrind --tool=massif --time-unit=ms \
vlc -vvv -I dummy --ttl 12 --ts-es-id-pid \
--programs=4164,4671 \
dvb:// :dvb-adapter=3 :dvb-frequency=505833330 :dvb-bandwidth=8000000 \
--sout-standard-access=udp --sout-standard-mux=ts --sout \
'#duplicate{dst=std{dst=239.255.1.5,sap,group="BBC",name="BBC One"},select="program=4164",dst=std{dst=239.255.1.4,sap,group="BBC",name="CBBC Channel 0800-1900"},select="program=4671"}' &>debug6.log
Code: Select all
--------------------------------------------------------------------------------
n time(ms) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
42 13,913,019 19,554,784 19,382,271 172,513 0
43 14,225,218 19,589,688 19,416,628 173,060 0
44 14,693,518 19,605,856 19,434,132 171,724 0
45 15,005,714 19,727,248 19,554,535 172,713 0
46 15,317,921 19,706,592 19,533,644 172,948 0
47 15,786,216 19,674,968 19,498,177 176,791 0
48 16,098,427 19,872,840 19,696,331 176,509 0
49 16,527,218 132,392,008 132,086,719 305,289 0
99.77% (132,086,719B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->97.40% (128,946,427B) 0x50B8917: block_Alloc (in /usr/lib/libvlccore.so.1.0.0)
| ->85.27% (112,894,505B) 0xA4EA0A0: ???
| | ->85.27% (112,894,505B) 0x50D8D89: sout_InputSendBuffer (in /usr/lib/libvlccore.so.1.0.0)
| | ->85.27% (112,894,505B) 0x5079B0B: DecoderProcess (in /usr/lib/libvlccore.so.1.0.0)
| | ->85.27% (112,894,505B) 0x507A40C: DecoderThread (in /usr/lib/libvlccore.so.1.0.0)
| | ->85.27% (112,894,505B) 0x50C07B5: thread_entry (in /usr/lib/libvlccore.so.1.0.0)
| | ->85.27% (112,894,505B) 0x5665FC6: start_thread (in /lib/libpthread-2.7.so)
| | ->85.27% (112,894,505B) 0x53DB5AC: clone (in /lib/libc-2.7.so)
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | ->85.27% (112,894,505B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| |
| ->11.14% (14,745,712B) 0xB219F0F: ???
| | ->11.14% (14,745,712B) 0x5092F1F: AReadBlock (in /usr/lib/libvlccore.so.1.0.0)
| | ->11.14% (14,745,712B) 0x5093484: AStreamRefillBlock (in /usr/lib/libvlccore.so.1.0.0)
| | | ->11.14% (14,745,712B) 0x5093A88: AStreamReadBlock (in /usr/lib/libvlccore.so.1.0.0)
| | | | ->11.14% (14,745,712B) 0x8BB8FBE: ???
| | | | ->11.14% (14,745,712B) 0x5091B15: stream_Block (in /usr/lib/libvlccore.so.1.0.0)
| | | | ->11.14% (14,745,712B) 0xDCD22C9: ???
| | | | ->11.14% (14,745,712B) 0x508FD81: MainLoop (in /usr/lib/libvlccore.so.1.0.0)
| | | | ->11.14% (14,745,712B) 0x50905FF: Run (in /usr/lib/libvlccore.so.1.0.0)
| | | | ->11.14% (14,745,712B) 0x50C07B5: thread_entry (in /usr/lib/libvlccore.so.1.0.0)
| | | | ->11.14% (14,745,712B) 0x5665FC6: start_thread (in /lib/libpthread-2.7.so)
| | | | ->11.14% (14,745,712B) 0x53DB5AC: clone (in /lib/libc-2.7.so)
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | | ->11.14% (14,745,712B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
| | | |
| | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| | |
| | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.99% (1,306,210B) in 1+ places, all below ms_print's threshold (01.00%)
|
->02.37% (3,140,292B) in 394 places, all below massif's threshold (01.00%)
Memory consumed is shown below as a %age of 7.82GiB
Code: Select all
2009-01-04_17:49:23 - VLC MEMORY ok 1.4
2009-01-04_17:49:25 - VLC MEMORY ok 1.4
2009-01-04_17:49:26 - VLC MEMORY ok 1.4
2009-01-04_17:49:28 - VLC MEMORY ok 1.4
.....
2009-01-04_22:00:04 - VLC MEMORY ok 1.4
2009-01-04_22:00:06 - VLC MEMORY ok 1.4
2009-01-04_22:00:08 - VLC MEMORY ok 1.4
2009-01-04_22:00:09 - VLC MEMORY ok 1.4
2009-01-04_22:00:11 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:12 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:14 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:15 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:17 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:18 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:20 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:21 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:23 - VLC MEMORY LEAK 1.5
2009-01-04_22:00:24 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:26 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:27 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:29 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:30 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:32 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:33 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:35 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:36 - VLC MEMORY LEAK 1.6
2009-01-04_22:00:38 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:39 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:41 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:42 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:44 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:45 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:47 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:48 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:50 - VLC MEMORY LEAK 1.7
2009-01-04_22:00:51 - VLC MEMORY LEAK 1.8
2009-01-04_22:00:53 - VLC MEMORY LEAK 1.8
2009-01-04_22:00:54 - VLC MEMORY LEAK 1.8
2009-01-04_22:00:56 - VLC MEMORY LEAK 1.8
2009-01-04_22:00:57 - VLC MEMORY LEAK 1.8
2009-01-04_22:00:59 - VLC MEMORY LEAK 1.8
2009-01-04_22:01:01 - VLC MEMORY LEAK 1.8
2009-01-04_22:01:02 - VLC MEMORY LEAK 1.8
2009-01-04_22:01:04 - VLC MEMORY LEAK 1.8
2009-01-04_22:01:05 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:07 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:08 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:10 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:11 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:13 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:14 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:16 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:17 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:19 - VLC MEMORY LEAK 1.9
2009-01-04_22:01:20 - VLC MEMORY LEAK 2.0
2009-01-04_22:01:22 - VLC MEMORY LEAK 2.0
2009-01-04_22:01:23 - VLC MEMORY LEAK 2.0
2009-01-04_22:01:25 - VLC MEMORY LEAK 2.0
Code: Select all
04/01/09 21:59:48: [0x648c840] ts demux debug: PMTCallBack called
04/01/09 21:59:48: [0x648c840] ts demux debug: new PMT program number=4164 version=26 pid_pcr=600
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=600 type=2 fcc=mpgv
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=601 type=3 fcc=mpga
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=603 type=6 dr->i_tag=0x52
04/01/09 21:59:48: [0x648c840] ts demux debug: * Stream Component Identifier: 5
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=603 type=6 dr->i_tag=0x59
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=603 type=6 fcc=dvbs
04/01/09 21:59:48: [0x65b7530] main packetizer debug: removing module "packetizer_copy"
04/01/09 21:59:48: [0x65b7530] main packetizer debug: killing decoder fourcc `dvbs', 0 PES in FIFO
04/01/09 21:59:48: [0x6474138] main stream output debug: removing a sout input (sout_input:0x7cf3748)
04/01/09 21:59:48: [0x64cf490] mux_ts mux debug: removing input pid=78
04/01/09 21:59:48: [0x6551c28] main packetizer debug: looking for packetizer module: 19 candidates
04/01/09 21:59:48: [0x6551c28] main packetizer debug: using packetizer module "packetizer_copy"
04/01/09 21:59:48: [0x6551c28] main packetizer debug: TIMER module_need() : 4.923 ms - Total 4.923 ms / 1 intvls (Avg 4.923 ms)
04/01/09 21:59:48: [0x6551c28] main packetizer debug: thread started
04/01/09 21:59:48: [0x6551c28] main packetizer debug: thread (decoder) created at priority 0 (input/decoder.c:315)
04/01/09 21:59:48: [0x6551c28] main packetizer error: IANDEBUG: new decoder created
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=602 type=3 fcc=mpga
04/01/09 21:59:48: [0x648c840] ts demux warning: pmt error: pid=650 already defined
04/01/09 21:59:48: [0x648c840] ts demux warning: pmt error: pid=651 already defined
04/01/09 21:59:48: [0x648c840] ts demux warning: pmt error: pid=652 already defined
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=1005 type=11 *unknown*
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=1006 type=11 *unknown*
04/01/09 21:59:48: [0x648c840] ts demux debug: * es pid=1007 type=11 *unknown*
04/01/09 21:59:48: [0x648c840] ts demux warning: first packet for pid=600 cc=0x9
04/01/09 21:59:48: [0x648c840] ts demux warning: first packet for pid=601 cc=0x1
04/01/09 21:59:48: [0x648c840] ts demux warning: first packet for pid=602 cc=0x4
04/01/09 21:59:49: [0x64cf490] main mux warning: late buffer for mux input (67264)
04/01/09 21:59:50: [0x648c840] ts demux warning: first packet for pid=603 cc=0xf
04/01/09 21:59:50: [0x6474138] main stream output debug: adding a new sout input (sout_input:0x8344610)
04/01/09 21:59:50: [0x64744d8] stream_out_duplicate stream out debug: duplicated a new stream codec=dvbs (es=603 group=4164)
04/01/09 21:59:50: [0x64cf490] main mux debug: adding a new input
04/01/09 21:59:50: [0x64cf490] mux_ts mux debug: adding input codec=dvbs pid=79
04/01/09 21:59:50: [0x64744d8] stream_out_duplicate stream out debug: - added for output 0
04/01/09 21:59:50: [0x64744d8] stream_out_duplicate stream out debug: - ignored for output 1
04/01/09 21:59:54: [0x648c840] ts demux debug: EITCallBack called
04/01/09 21:59:54: [0x648c840] ts demux debug: new EIT service_id=4164 version=28 current_next=1 ts_id=4100 network_id=9018 segment_last_section_number=1 last_table_id=79
04/01/09 21:59:54: [0x648c840] ts demux debug: * event id=13883 start_time:1231106400 duration=1200 running=4 free_ca=0
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x54(84)
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x50(80)
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x50(80)
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x50(80)
04/01/09 21:59:54: [0x648c840] ts demux debug: - short event lang=eng 'BBC News at Ten' : 'National and international news, with reports from BBC correspondents worldwide. [S] Followed by Weather.'
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x76(118)
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x76(118)
04/01/09 21:59:54: [0x648c840] ts demux debug: * event id=13881 start_time:1231107600 duration=6600 running=1 free_ca=0
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x54(84)
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x50(80)
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x50(80)
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x50(80)
04/01/09 21:59:54: [0x648c840] ts demux debug: - short event lang=eng 'The Recruit' : 'A maverick CIA trainee, an expert on computers, is asked by his mentor to help find a mole in the agency. Starring Al Pacino and Colin Farrell. Also in HD. Some strong language. [2003] [S]'
04/01/09 21:59:54: [0x648c840] ts demux debug: - tag=0x76(118)
04/01/09 21:59:54: [0x64c0668] main input debug: EsOutProgramEpg: number=4164 name=BBC ONE
Code: Select all
113625 04/01/09 21:44:33: [0x648c840] ts demux debug: EITCallBack called
113626 04/01/09 21:44:33: [0x648c840] ts demux debug: new EIT service_id=4415 version=25 current_next=1 ts_id=4100 network_id=9018 segment_last_section_number=1 last_table_id=79
113627 04/01/09 21:44:33: [0x648c840] ts demux debug: * event id=54049 start_time:1231105500 duration=900 running=4 free_ca=0
113628 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x54(84)
113629 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x50(80)
113630 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x50(80)
113631 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x50(80)
113632 04/01/09 21:44:33: [0x648c840] ts demux debug: - short event lang=eng 'E24' : 'Gethin Jones and James Dagwell present the weekly entertainment show with all the latest news and star interviews fro m the world of film, music and television. [S]'
113633 04/01/09 21:44:33: [0x648c840] ts demux debug: * event id=50345 start_time:1231106400 duration=1800 running=1 free_ca=0
113634 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x54(84)
113635 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x50(80)
113636 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x50(80)
113637 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x50(80)
113638 04/01/09 21:44:33: [0x648c840] ts demux debug: - short event lang=eng 'BBC News at Ten' : 'BBC News at Ten with the latest national and international news stories. [S]'
113639 04/01/09 21:44:33: [0x648c840] ts demux debug: - tag=0x76(118)
113640 04/01/09 21:44:33: [0x64c0668] main input debug: EsOutProgramEpg: number=4415 name=BBC NEWS
Code: Select all
76282 04/01/09 19:58:43: [0x648c840] ts demux debug: EITCallBack called
76283 04/01/09 19:58:43: [0x648c840] ts demux debug: new EIT service_id=4415 version=22 current_next=1 ts_id=4100 network_id=9018 segment_last_section_number=1 last_table_id=79
76284 04/01/09 19:58:43: [0x648c840] ts demux debug: * event id=50349 start_time:1231099200 duration=1800 running=4 free_ca=0
76285 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x54(84)
76286 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x50(80)
76287 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x50(80)
76288 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x50(80)
76289 04/01/09 19:58:43: [0x648c840] ts demux debug: - short event lang=eng 'BBC News' : 'Twenty-four hours a day, the latest national and international stories as they break. [S]'
76290 04/01/09 19:58:43: [0x648c840] ts demux debug: * event id=54050 start_time:1231101000 duration=1800 running=1 free_ca=0
76291 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x54(84)
76292 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x50(80)
76293 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x50(80)
76294 04/01/09 19:58:43: [0x648c840] ts demux debug: - tag=0x50(80)
76295 04/01/09 19:58:43: [0x648c840] ts demux debug: - short event lang=eng 'Review 2008: Yes We Can!' : 'Adam Brookes reports from Washington on the extraordinary story of Barack Obama on the road to t he White House. [S]'
76296 04/01/09 19:58:43: [0x64c0668] main input debug: EsOutProgramEpg: number=4415 name=BBC NEWS
76297 04/01/09 19:59:04: [0x648c840] ts demux debug: PMTCallBack called
76298 04/01/09 19:59:04: [0x648c840] ts demux debug: new PMT program number=4164 version=24 pid_pcr=600
76299 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=600 type=2 fcc=mpgv
76300 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=601 type=3 fcc=mpga
76301 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=603 type=6 dr->i_tag=0x52
76302 04/01/09 19:59:04: [0x648c840] ts demux debug: * Stream Component Identifier: 5
76303 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=603 type=6 dr->i_tag=0x59
76304 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=603 type=6 fcc=dvbs
76305 04/01/09 19:59:04: [0x656b178] main packetizer debug: removing module "packetizer_copy"
76306 04/01/09 19:59:04: [0x656b178] main packetizer debug: killing decoder fourcc `dvbs', 0 PES in FIFO
76307 04/01/09 19:59:04: [0x6474138] main stream output debug: removing a sout input (sout_input:0x6558d28)
76308 04/01/09 19:59:04: [0x64cf490] mux_ts mux debug: removing input pid=75
76309 04/01/09 19:59:04: [0x65bf118] main packetizer debug: looking for packetizer module: 19 candidates
76310 04/01/09 19:59:04: [0x65bf118] main packetizer debug: using packetizer module "packetizer_copy"
76311 04/01/09 19:59:04: [0x65bf118] main packetizer debug: TIMER module_need() : 4.786 ms - Total 4.786 ms / 1 intvls (Avg 4.786 ms)
76312 04/01/09 19:59:04: [0x65bf118] main packetizer debug: thread started
76313 04/01/09 19:59:04: [0x65bf118] main packetizer debug: thread (decoder) created at priority 0 (input/decoder.c:315)
76314 04/01/09 19:59:04: [0x65bf118] main packetizer error: IANDEBUG: new decoder created
76315 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=602 type=3 fcc=mpga
76316 04/01/09 19:59:04: [0x648c840] ts demux warning: pmt error: pid=650 already defined
76317 04/01/09 19:59:04: [0x648c840] ts demux warning: pmt error: pid=651 already defined
76318 04/01/09 19:59:04: [0x648c840] ts demux warning: pmt error: pid=652 already defined
76319 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=1005 type=11 *unknown*
76320 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=1006 type=11 *unknown*
76321 04/01/09 19:59:04: [0x648c840] ts demux debug: * es pid=1007 type=11 *unknown*
76322 04/01/09 19:59:04: [0x648c840] ts demux warning: first packet for pid=600 cc=0xe
76323 04/01/09 19:59:04: [0x648c840] ts demux warning: first packet for pid=601 cc=0x5
76324 04/01/09 19:59:04: [0x64cf490] main mux warning: late buffer for mux input (67706)
76325 04/01/09 19:59:05: [0x648c840] ts demux warning: first packet for pid=603 cc=0xe
76326 04/01/09 19:59:05: [0x6474138] main stream output debug: adding a new sout input (sout_input:0x7bb6e38)
76327 04/01/09 19:59:05: [0x64744d8] stream_out_duplicate stream out debug: duplicated a new stream codec=dvbs (es=603 group=4164)
76328 04/01/09 19:59:05: [0x64cf490] main mux debug: adding a new input
76329 04/01/09 19:59:05: [0x64cf490] mux_ts mux debug: adding input codec=dvbs pid=76
76330 04/01/09 19:59:05: [0x64744d8] stream_out_duplicate stream out debug: - added for output 0
76331 04/01/09 19:59:05: [0x64744d8] stream_out_duplicate stream out debug: - ignored for output 1
76332 04/01/09 19:59:22: [0x648c840] ts demux warning: first packet for pid=602 cc=0x6
76333 04/01/09 19:59:23: [0x655b350] mpeg_audio packetizer debug: MPGA channels:1 samplerate:48000 bitrate:64
76334 04/01/09 19:59:23: [0x6474138] main stream output debug: adding a new sout input (sout_input:0x65b6390)
76335 04/01/09 19:59:23: [0x64744d8] stream_out_duplicate stream out debug: duplicated a new stream codec=mpga (es=602 group=4164)
76336 04/01/09 19:59:23: [0x64cf490] main mux debug: adding a new input
76337 04/01/09 19:59:23: [0x64cf490] mux_ts mux debug: adding input codec=mpga pid=77
76338 04/01/09 19:59:23: [0x64cf490] mux_ts mux debug: - lang=eng
76339 04/01/09 19:59:23: [0x64744d8] stream_out_duplicate stream out debug: - added for output 0
76340 04/01/09 19:59:23: [0x64744d8] stream_out_duplicate stream out debug: - ignored for output 1
76341 04/01/09 19:59:46: [0x648c840] ts demux debug: EITCallBack called
76342 04/01/09 19:59:46: [0x648c840] ts demux debug: new EIT service_id=4164 version=26 current_next=1 ts_id=4100 network_id=9018 segment_last_section_number=1 last_table_id=79
76343 04/01/09 19:59:46: [0x648c840] ts demux debug: * event id=13875 start_time:1231099200 duration=3600 running=4 free_ca=0
76344 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x54(84)
76345 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76346 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76347 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76348 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76349 04/01/09 19:59:46: [0x648c840] ts demux debug: - short event lang=eng 'Lark Rise to Candleford' : '2/10. From Lark Rise to London and back to Candleford, new man in town James Dowland takes the wo es of the Lark Rise tenants under his wing, but Robert Timmins is suspicious. Also in HD. [AD,S]'
76350 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x76(118)
76351 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x76(118)
76352 04/01/09 19:59:46: [0x648c840] ts demux debug: * event id=13879 start_time:1231102800 duration=3600 running=1 free_ca=0
76353 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x54(84)
76354 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76355 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76356 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76357 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x50(80)
76358 04/01/09 19:59:46: [0x648c840] ts demux debug: - short event lang=eng 'Swarm: Nature's Incredible Invasions' : '1/2. When Worlds Collide: A look at the world of animal swarms. The latest camera te chniques are used to look into the heart of a superswarm and reveal how the swarm sees our world. Also in HD. [AD,S]'
76359 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x76(118)
76360 04/01/09 19:59:46: [0x648c840] ts demux debug: - tag=0x76(118)
76361 04/01/09 19:59:46: [0x64c0668] main input debug: EsOutProgramEpg: number=4164 name=BBC ONE
76362 04/01/09 20:00:46: [0x648c840] ts demux debug: EITCallBack called
76363 04/01/09 20:00:46: [0x648c840] ts demux debug: new EIT service_id=4228 version=11 current_next=1 ts_id=4100 network_id=9018 segment_last_section_number=1 last_table_id=79
76364 04/01/09 20:00:46: [0x648c840] ts demux debug: * event id=52531 start_time:1231099200 duration=3600 running=4 free_ca=0
76365 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x54(84)
76366 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x50(80)
76367 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x50(80)
76368 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x50(80)
76369 04/01/09 20:00:46: [0x648c840] ts demux debug: - short event lang=eng 'The Best of Top Gear' : 'Highlights from Top Gear in 2008, including a road trip across England and a power test of the Zonda F convertible hypercar. The star in the reasonably priced car is Will Young. [S]'
76370 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x76(118)
76371 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x76(118)
76372 04/01/09 20:00:46: [0x648c840] ts demux debug: * event id=53885 start_time:1231102800 duration=3600 running=1 free_ca=0
76373 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x54(84)
76374 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x50(80)
76375 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x50(80)
76376 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x50(80)
76377 04/01/09 20:00:46: [0x648c840] ts demux debug: - short event lang=eng 'The Antiques Rogue Show' : 'Drama documentary about one of the world's most prolific and diverse art forgers. Contains some s trong language. [S]'
76378 04/01/09 20:00:46: [0x648c840] ts demux debug: - tag=0x76(118)
76379 04/01/09 20:00:46: [0x64c0668] main input debug: EsOutProgramEpg: number=4228 name=BBC TWO
76380 04/01/09 20:00:49: [0x648c840] ts demux debug: EITCallBack called
76381 04/01/09 20:00:49: [0x648c840] ts demux debug: new EIT service_id=4351 version=4 current_next=1 ts_id=4100 network_id=9018 segment_last_section_number=1 last_table_id=79
76382 04/01/09 20:00:49: [0x648c840] ts demux debug: * event id=44691 start_time:1231099200 duration=5400 running=4 free_ca=0
76383 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x54(84)
76384 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x50(80)
76385 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x50(80)
76386 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x50(80)
76387 04/01/09 20:00:49: [0x648c840] ts demux debug: - short event lang=eng 'Look Who's Talking' : 'Romantic comedy about an unmarried young mother, with asides to camera from her baby. Left in the lurc h by her married lover, the new mum is looking for Mr Right. [1989] [S]'
76388 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x76(118)
76389 04/01/09 20:00:49: [0x648c840] ts demux debug: * event id=44749 start_time:1231104600 duration=1800 running=1 free_ca=0
76390 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x54(84)
76391 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x50(80)
76392 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x50(80)
76393 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x50(80)
76394 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x50(80)
76395 04/01/09 20:00:49: [0x648c840] ts demux debug: - short event lang=eng 'Little Britain Abroad' : '1/2. Part 1: First of two part Christmas Special of the award-winning sketch show. Contains adult h umour. [AD,S]'
76396 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x76(118)
76397 04/01/09 20:00:49: [0x648c840] ts demux debug: - tag=0x76(118)
76398 04/01/09 20:00:49: [0x64c0668] main input debug: EsOutProgramEpg: number=4351 name=BBC THREE
From here, I've exhausted my facts! My problem is I dont understand enough of what the code is doing. Looking at these logs (and other occurances of this EIT call back) i can't see what it is doing differently. The obvious answer to that would be that it's not logging the problem. I've been looking at sout_InputSendBuffer in src/stream_output/stream_output.c, because of the implication by valgrind/massif that thats where the memory is being allocated, but i cant see anything likely to create more memory except
Code: Select all
276 i_ret = p_sout->p_stream->pf_send( p_sout->p_stream,
277 p_input->id, p_buffer );