[vls-devel] Re: dvbinput.cpp CVS - broken
Alexander Afanasyev
alex at icn.bmstu.ru
Sun Jul 27 13:25:50 CEST 2003
Privet!
Hmm, interesting things...
When i debug, i se only printf 'before trickplay' and
program delays for a while and then says that can't
start Trickplay (as i wrote in previous mail).
There is a code cut
-- cut from code --
dvb->SetTP(dvb->chans[iIndex].tpid, dvb->chans[iIndex].satid);
dvb->set_front();
sleep(1);
printf( "testing after sleep, before trickplay\n" );
//Launch the demux
m_pTrickPlay->Create();
printf( "testing after trickplay\n" );
-- end cut --
also, i try add printf to DoWork() of NormalTrickPlay
but also nothing printed out :( Why thread do not start???
and one more, i try to change place for m_pTrickPlay->Create()
(after SelectPid) and i got a SegmentationFault...
Possible it is a correct...
my configure line:
./configure --enable-dvb --with-dvb=/root/make/linuxtv-dvb-1.0.0-pre2/
--with-libdvb=/root/make/libdvb-0.2.2/ --enable-debug
from valgrind:
-- cut --
[root at video root]# valgrind --skin=cachegrind vls -vv
==11146== Cachegrind, an I1/D1/L2 cache profiler for x86-linux.
==11146== Copyright (C) 2002-2003, and GNU GPL'd, by Nicholas Nethercote.
==11146== Using valgrind-20030725, a program supervision framework for x86-linux.
==11146== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
--11146-- warning: Pentium with 12 K micro-op instruction trace cache
--11146-- Simulating a 16 KB cache with 32 B lines
==11146== Estimated CPU clock rate is 1605 MHz
==11146== For more details, rerun with: -v
==11146==
Reading file /usr/local/etc/videolan/vls/vls.cfg for base configuration
+ Global.LogFile = vls.log
+ Global.ScreenLog = enable
+ Global.SystemLog = enable
+ Groups.monitor = help|browse|logout
+ Groups.master = help|browse|start|resume|suspend|stop|shutdown|logout|config|program|input|channel|show
+ Users.alex = 3LggCUoZv14Ew:master
+ Interfaces.Telnet = telnet
+ Telnet.LocalPort = 9999
+ Telnet.Use = true
+ Inputs.ss1 = dvb
+ Input.ProgramCount = 1
+ Input.TrickPlay = normal
+ ss1.DeviceNumber = 0
+ ss1.SendMethod = 0
+ Channels.radio1 = network
+ radio1.Type = multicast
+ radio1.TTL = 8
+ radio1.DstHost = 238.1.1.1
+ radio1.DstPort = 1234
VideoLAN Server v 0.5.5-cvs (Jul 27 2003) - (c)1999-2002 VideoLAN
2003-07-27 15:21:09 [INFO/Vls] Module "channel:file" registered
2003-07-27 15:21:09 [INFO/Vls] Module "channel:network" registered
2003-07-27 15:21:09 [INFO/Vls] Module "mpegreader:file" registered
2003-07-27 15:21:09 [INFO/Vls] Module "mpegconverter:ts2ts" registered
2003-07-27 15:21:09 [INFO/Vls] Module "mpegconverter:ps2ts" registered
2003-07-27 15:21:09 [INFO/Vls] Module "input:local" registered
2003-07-27 15:21:09 [INFO/Vls] Module "input:video" registered
2003-07-27 15:21:09 [INFO/Vls] Module "interface:dummy" registered
2003-07-27 15:21:09 [INFO/Vls] Module "interface:telnet" registered
2003-07-27 15:21:09 [INFO/Vls] Module "interface:native" registered
2003-07-27 15:21:09 [INFO/Vls] Module "trickplay:normal" registered
2003-07-27 15:21:09 [INFO/Vls] Browsing modules in directory "."
2003-07-27 15:21:09 [INFO/Vls] Browsing modules in directory "/usr/local/lib/videolan/vls"
2003-07-27 15:21:09 [INFO/Vls] Module "input:dvb" registered
2003-07-27 15:21:09 [INFO/Vls] Module "mpegreader:dvd" registered
2003-07-27 15:21:09 [INFO/Vls] Module "mpegreader:dvb" registered
2003-07-27 15:21:09 [INFO/Vls] Channel 'radio1' created
ASSERT ERROR in src/server/broadcast.cpp line 46 (code checked: pChannel)
2003-07-27 15:21:10 [INFO/Vls] Starting input 'ss1'
2003-07-27 15:21:10 [INFO/ss1] DVB-S Card registered with decoder
Using default /root/.dvbrc
failed
Using default /etc/dvb/dvbrc
Reading original format . done
2003-07-27 15:21:13 [INFO/ss1] Added program 'NOVY_KANAL'
2003-07-27 15:21:13 [INFO/ss1] Added program 'TET'
ASSERT ERROR in src/mpeg/trickplay.cpp line 58 (code checked: cConfig.m_pHandler)
2003-07-27 15:21:15 [INFO/Vls] Input 'ss1' sucessfully initialised
==11146== valgrind's libpthread.so: IGNORED call to: pthread_attr_destroy
2003-07-27 15:21:15 [INFO/Vls] New admin group "monitor" is ok
2003-07-27 15:21:15 [INFO/Vls] New admin group "master" is ok
2003-07-27 15:21:15 [INFO/Vls] New admin user "alex" is ok
2003-07-27 15:21:15 [INFO/Vls] Starting interface 'telnet'
2003-07-27 15:21:15 [INFO/Vls] telnet server initialised
2003-07-27 15:21:15 [INFO/Vls] Interface 'telnet' sucessfully initialised
-- and after trying to start program -- ('start TET radio1 ss1' in
telnet)
2003-07-27 15:24:27 [INFO/Vls] Processing incoming connection from 192.168.56.208
2003-07-27 15:24:30 [INFO/Vls] User "alex" successfully authenticated
==11146== Warning: noted but unhandled ioctl 0x6F2A with no size/direction hints
==11146== This could cause spurious value errors to appear.
==11146== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==11146== Warning: noted but unhandled ioctl 0x6F2A with no size/direction hints
==11146== This could cause spurious value errors to appear.
==11146== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==11146== Warning: noted but unhandled ioctl 0x6F2A with no size/direction hints
==11146== This could cause spurious value errors to appear.
==11146== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
testing after sleep, before trickplay
2003-07-27 15:24:48 [INFO/Vls] Time out !
2003-07-27 15:24:48 [ERROR/ss1] Read error for program "Input DVB ss1"
*** Exception *** in constructor 1 (0xbfffedd0)
*** Exception *** in copy constructor (0x8175618, copy of 0xbfffedd0)
*** Exception *** in destructor (0xbfffedd0)
*** Exception *** in copy constructor (0xbfffee50, copy of 0x8175618)
*** Exception *** in constructor 2 (0xbfffee30)
*** Exception *** in copy constructor (0x8175670, copy of 0xbfffee50)
*** Exception *** in copy constructor (0x8175700, copy of 0xbfffee30)
*** Exception *** in destructor (0xbfffee30)
*** Exception *** in destructor (0xbfffee50)
*** Exception *** in destructor (0x8175618)
*** Exception *** in copy constructor (0xbffff080, copy of 0x8175700)
2003-07-27 15:24:48 [ERROR/ss1] Unable to start program TET
2003-07-27 15:24:48 [ERROR/ss1] Error: Unable to create thread
Error: Normal TrickPlay failed to start
*** Exception *** in destructor (0xbffff080)
*** Exception *** in destructor (0x8175700)
-- end of cut --
cawka
Sunday, July 27, 2003, 3:30:44 AM, you wrote:
> Alexander Afanasyev wrote:
>> Hi!
>>
>> Run as root.
>> Working for me version vls-0.5.3.
>>
> Okay, so it must be a change in the CVS that breaks it. Hmmmm!
>> I stop it. And compile CVS version
>> (with the same libdvb) and start it,
>> but nothing i can stream :(
>>
> Could you send me full logs on ./configure with --enable-debug and make
> steps? Also a full run from vls and could you run vls under valgrind?
> valgrind --skin=cachegrind vls
> Valgrind can be found here: http://developer.kde.org/~sewardj/
>>
>> and one more question. Why for streaming
>> of 3 TV channels from same DVB-S board
>> (from one transponder) i got processor
>> load 80-90% (i have P4 1.6 GHz/256 RAM).
>> I think it is ubnormal, people stream
>> 20 channels on one machine :( what can be wrong?
>>
> use gtop or top to see how much of that CPU is vls?
> Grtz,
> Jean-Paul Saman.
--
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vls-devel
mailing list