dvbstreamer-user Mailing List for DVBStreamer
Status: Beta
Brought to you by:
charrea6
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(11) |
Sep
(14) |
Oct
|
Nov
(4) |
Dec
(8) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(10) |
Dec
(7) |
| 2008 |
Jan
(5) |
Feb
(6) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(5) |
Nov
(10) |
Dec
(4) |
| 2009 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
(12) |
Jul
(3) |
Aug
|
Sep
(3) |
Oct
(2) |
Nov
|
Dec
|
| 2010 |
Jan
(7) |
Feb
(1) |
Mar
(2) |
Apr
(3) |
May
(9) |
Jun
|
Jul
(5) |
Aug
(2) |
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2011 |
Jan
|
Feb
(2) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(1) |
| 2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Chris A. <chr...@gm...> - 2014-05-25 00:10:32
|
Hi, my pkgbuild for Archlinux has been updated with the debian patch for libev4 errors. This now compiles and works fine. https://aur.archlinux.org/packages/dvbstreamer/ The only thing I've noticed so far (haven't used it in anger yet) is that dvbstreamer announces itself as v2.0.0 on the console, not v2.1.0. regards Chris Allison -- _ o , , / | | |_| / \_/ \_| | \__/ \/ \/ |/ \/ \/ \/|/ (| |
|
From: Jonathan I. <je...@gm...> - 2013-04-20 12:50:04
|
Having problems building trunk and 2.1. Fails with autogen.sh. Log below.
processing .
Creating ./aclocal.m4 ...
Making ./aclocal.m4 writable ...
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running aclocal ...
aclocal-1.13: warning: autoconf input should be named 'configure.ac',
not 'configure.in'
configure.in:29: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:29: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
Running autoheader...
autoheader-2.69: error: AC_CONFIG_HEADERS not found in configure.in
Running automake --gnu ...
automake-1.13: warning: autoconf input should be named 'configure.ac',
not 'configure.in'
configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
Use of uninitialized value $line in pattern match (m//) at
/usr/bin/automake-1.13 line 3893.
Makefile.am:15: error: 'pkgincludedir' is not a legitimate directory for 'DATA'
automake-1.13: warning: autoconf input should be named 'configure.ac',
not 'configure.in'
Use of uninitialized value $line in pattern match (m//) at
/usr/bin/automake-1.13 line 3893.
Use of uninitialized value $line in pattern match (m//) at
/usr/bin/automake-1.13 line 3893.
src/Makefile.am:45: error: ENABLE_ATSC does not appear in AM_CONDITIONAL
src/Makefile.am:54: error: ENABLE_DVB does not appear in AM_CONDITIONAL
src/Makefile.am:81: error: ENABLE_FSTREAMER does not appear in AM_CONDITIONAL
Use of uninitialized value $line in pattern match (m//) at
/usr/bin/automake-1.13 line 3893.
/usr/share/automake-1.13/am/depend2.am: error: am__fastdepCC does not
appear in AM_CONDITIONAL
/usr/share/automake-1.13/am/depend2.am: The usual way to define
'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run
'aclocal' and 'autoconf' again
/usr/share/automake-1.13/am/depend2.am: error: AMDEP does not appear
in AM_CONDITIONAL
/usr/share/automake-1.13/am/depend2.am: The usual way to define
'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.13/am/depend2.am: AC_PROG_CC, AC_PROG_CXX,
AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.13/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run
'aclocal' and 'autoconf' again
src/dvbpsi/Makefile.am:18: error: ENABLE_DVB does not appear in AM_CONDITIONAL
src/dvbpsi/Makefile.am:27: error: ENABLE_ATSC does not appear in AM_CONDITIONAL
Use of uninitialized value $line in pattern match (m//) at
/usr/bin/automake-1.13 line 3893.
src/dvbpsi/Makefile.am:5: error: library used but 'RANLIB' is undefined
src/dvbpsi/Makefile.am:5: The usual way to define 'RANLIB' is to add
'AC_PROG_RANLIB'
src/dvbpsi/Makefile.am:5: to 'configure.in' and run 'autoconf' again.
src/plugins/Makefile.am:22: error: ENABLE_ATSC does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:29: error: ENABLE_DVB does not appear in AM_CONDITIONAL
Use of uninitialized value $line in pattern match (m//) at
/usr/bin/automake-1.13 line 3893.
src/plugins/Makefile.am:9: error: Libtool library used but 'LIBTOOL'
is undefined
src/plugins/Makefile.am:9: The usual way to define 'LIBTOOL' is to
add 'LT_INIT'
src/plugins/Makefile.am:9: to 'configure.in' and run 'aclocal' and
'autoconf' again.
src/plugins/Makefile.am:9: If 'LT_INIT' is in 'configure.in', make sure
src/plugins/Makefile.am:9: its definition is in aclocal's search path.
Running autoconf ...
|
|
From: Mark <mp...@or...> - 2012-04-09 16:35:47
|
On 8 April 2012 22:27, Adam Charrett <ad...@dv...> wrote: > On Sat, 2012-04-07 at 15:52 +0100, Mark wrote: >> Hey all. >> >> I seem to be having an issue building DVBStreamer from trunk on ubuntu >> 12.04 dev. >> >> The last few lines of output are: >> >> libtoolize: putting auxiliary files in `.'. >> libtoolize: copying file `./ltmain.sh' >> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and >> libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. >> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. >> Running aclocal ... >> Running autoheader... >> Running automake --gnu ... >> include/Makefile.am:8: `pkgincludedir' is not a legitimate directory for `DATA' >> Makefile.am:15: `pkgincludedir' is not a legitimate directory for `DATA' >> >> Any ideas? >> >> Cheers. > > This came up on the -devel list a couple of weeks ago, I've committed > the suggested fix and its working on Ubuntu 11.10. > > Cheers > > Adam > Hey Adam, Not sure how I could have missed that message on the devel! I wanted to build from svn (I usually just use the repo, I know, lazy) to see whether the svn build had the same issue as the repo build. The next command returns incorrect and/or blank information, even with epg capture started and tuned to a channel, the now command works as intended though. E.G. Name : Start time : Sun Dec 31 00:00:00 1899 End time : Sun Dec 31 00:00:00 1899 Duration : 00:00:00 Description: Not sure whether this has been discussed before (I apologise if it has), I just thought I'd let you know. - Mark |
|
From: Adam C. <ad...@dv...> - 2012-04-08 21:27:47
|
On Sat, 2012-04-07 at 15:52 +0100, Mark wrote: > Hey all. > > I seem to be having an issue building DVBStreamer from trunk on ubuntu > 12.04 dev. > > The last few lines of output are: > > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and > libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > Running aclocal ... > Running autoheader... > Running automake --gnu ... > include/Makefile.am:8: `pkgincludedir' is not a legitimate directory for `DATA' > Makefile.am:15: `pkgincludedir' is not a legitimate directory for `DATA' > > Any ideas? > > Cheers. This came up on the -devel list a couple of weeks ago, I've committed the suggested fix and its working on Ubuntu 11.10. Cheers Adam |
|
From: Mark <mp...@or...> - 2012-04-07 14:52:10
|
Hey all. I seem to be having an issue building DVBStreamer from trunk on ubuntu 12.04 dev. The last few lines of output are: libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running aclocal ... Running autoheader... Running automake --gnu ... include/Makefile.am:8: `pkgincludedir' is not a legitimate directory for `DATA' Makefile.am:15: `pkgincludedir' is not a legitimate directory for `DATA' Any ideas? Cheers. |
|
From: Liz <ed...@gm...> - 2012-03-25 21:35:12
|
On Sun, 25 Mar 2012 21:34:35 +0100 Adam Charrett <ad...@dv...> wrote: > On Sun, 2012-03-25 at 15:14 +1100, Liz wrote: > > New to dvbstreamer and livepause, and intending to use livepause > > with Freevo. > > > > I have downloaded the livepause 1.1 from sourceforge and tried to > > compile on my Debian testing system > > configure appears to complete without problems but make complains > <snip> > > $ make > > make all-recursive > > make[1]: Entering directory `/home/freevo/livepause-1.1' > > Making all in src > > make[2]: Entering directory `/home/freevo/livepause-1.1/src' > > gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Werror > > -D_GNU_SOURCE -fno-strict-aliasing -g -O2 -MT tsfilefiller.o -MD -MP > > -MF .deps/tsfilefiller.Tpo -c -o tsfilefiller.o tsfilefiller.c > > tsfilefiller.c: In function ‘TSFileFillerStart’: > > tsfilefiller.c:52:9: error: variable ‘result’ set but not used > > [-Werror=unused-but-set-variable] cc1: all warnings being treated as > > errors > > > > make[2]: *** [tsfilefiller.o] Error 1 > > make[2]: Leaving directory `/home/freevo/livepause-1.1/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/freevo/livepause-1.1' > > make: *** [all] Error 2 > > > Looks like the last time I compiled this, gcc didn't complain about > this :-(. Anyway I've uploaded a new release to sourceforge that > resolves the build issue. > > Cheers > > Adam > Thanks Adam, I had expert help with the compile to work around the error |
|
From: Adam C. <ad...@dv...> - 2012-03-25 20:34:44
|
On Sun, 2012-03-25 at 15:14 +1100, Liz wrote: > New to dvbstreamer and livepause, and intending to use livepause with > Freevo. > > I have downloaded the livepause 1.1 from sourceforge and tried to > compile on my Debian testing system > configure appears to complete without problems but make complains <snip> > $ make > make all-recursive > make[1]: Entering directory `/home/freevo/livepause-1.1' > Making all in src > make[2]: Entering directory `/home/freevo/livepause-1.1/src' > gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Werror > -D_GNU_SOURCE -fno-strict-aliasing -g -O2 -MT tsfilefiller.o -MD -MP > -MF .deps/tsfilefiller.Tpo -c -o tsfilefiller.o tsfilefiller.c > tsfilefiller.c: In function ‘TSFileFillerStart’: tsfilefiller.c:52:9: > error: variable ‘result’ set but not used > [-Werror=unused-but-set-variable] cc1: all warnings being treated as > errors > > make[2]: *** [tsfilefiller.o] Error 1 > make[2]: Leaving directory `/home/freevo/livepause-1.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/freevo/livepause-1.1' > make: *** [all] Error 2 > Looks like the last time I compiled this, gcc didn't complain about this :-(. Anyway I've uploaded a new release to sourceforge that resolves the build issue. Cheers Adam |
|
From: Manuel B. <ma...@ma...> - 2011-12-06 15:27:44
|
Hi all,
a few weeks ago I had to switch my dvbstreamer setup from 1.2 to 2.0,
because 1.2 didn't find any channels anymore (old ones in the DB worked,
but some channels changed their place, so I needed to scan again with a
new channels.conf).
So, as a last hope I tried with dvbstreamer 2.0, which works nicely
(even the freevo recordserver works without any modification after the
upgrade -> nice!)
The only thing missing is EPG now. I got the EPG over the air with a
little modified version of the example on the wiki. Well, this doesn't
work anymore (as I expected). So I got the new python bindings and found
getepg.
After removing one transponder that can't be tuned in (-> infos missing,
only ffff.ffff.0000 was there) manually from the sqlite database (is
there any way to do this from the dvbstreamer commandline that I
missed?), getepg get's a little further, but still no joy:
-- snip --
chronus:~# getepg -c -x epg.xml
8 multiplexes to update
192.168.0.2:0 (1) processing 2114.0901
192.168.0.2:0 State: waiting
192.168.0.2:0 (2) processing 2114.0306
192.168.0.2:0 (3) processing 2114.0304
192.168.0.2:0 (4) processing 2114.0101
192.168.0.2:0 (5) processing 2114.0202
192.168.0.2:0 (6) processing 2114.0301
192.168.0.2:0 (7) processing 2114.0102
192.168.0.2:0 (8) processing 2114.0305
192.168.0.2:0 finished
Traceback (most recent call last):
File "/usr/bin/getepg", line 609, in <module>
main()
File "/usr/bin/getepg", line 599, in main
capture_full()
File "/usr/bin/getepg", line 455, in capture_full
epghandler.stop()
File "/usr/bin/getepg", line 294, in stop
self.session.stop_epg_capture()
File "/usr/lib/python2.5/site-packages/dvbstreamer/session.py", line
275, in stop_epg_capture
self.execute_command('epgcapstop')
File "/usr/lib/python2.5/site-packages/dvbstreamer/session.py", line
117, in execute_command
result = conn.execute_command(command)
File "/usr/lib/python2.5/site-packages/dvbstreamer/connection.py",
line 133, in execute_command
raise errors.Error(error_code, error_message, lines)
GenericCommandError: 65535 : Not yet started!
-- snip --
I'm in Germany here in case this matters.
The reception isn't too good sometimes, even tough I got an Axing
antenna pre-amp... But usually it is okay (sometimes some artifacts).
Is getting the EPG supposed to work here in Germany? Version 1.2 worked
fine.
Any hints or pointers are mostly welcome.
Cheers,
Manuel
--
Manuel Borchers
Web: http://www.matronix.de
eMail: ma...@ma...
|
|
From: Mark <mp...@or...> - 2011-10-29 20:03:37
|
Hi Jonathan.
I've already spoken to Adam about this previously as I was going to
use gtkdvbctrl myself, he already knows about it but due to him not
having much free time lately he's unable to fix it at present, If I
knew python I'd fix it but if I'm honest I'm not a big fan of python,
I'm more of a PHP maniac, which reminds me I need to work on the PHP
webui for DVBStreamer.
Cheers.
- Mark
On 29 October 2011 00:57, Jonathan Isom <je...@gm...> wrote:
>
> Hey Adam.
> I sometime use gtkdvbctrl to control dvbstreamer when I just want
> to watch tv. With dvbstreamer svn ,under atsc, if no service is
> selected I get the following traceback that repeats until a service is
> selected. I have to use dvbctrl to select. Also frontned status must
> have changed for 2.x dvbstreamer as it doesn't display stats in
> gtkdvbctrl.
>
>
> Traceback (most recent call last):
> File "/usr/bin/gtkdvbctrl", line 405, in update_current_channel
> r = self.connection.get_current_service()
> File "/usr/lib64/python2.7/site-packages/dvbstreamer.py", line 61,
> in get_current_service
> m = re.match('(.+?) : "(.+?)"', msg[0])
> IndexError: list index out of range
>
>
> I get this one when trying to select one when nothing is selected.
>
> Traceback (most recent call last):
> File "/usr/bin/gtkdvbctrl", line 196, in on_channels_treeview_row_activated
> self.select_channel()
> File "/usr/bin/gtkdvbctrl", line 437, in select_channel
> self.connection.set_current_service(channel)
> File "/usr/lib64/python2.7/site-packages/dvbstreamer.py", line 49,
> in set_current_service
> raise DVBStreamerError(errcode, errmsg)
> dvbstreamer.DVBStreamerError: DVBStreamer Error (3): Incorrect number
> of arguments!
>
>
>
>
> Later
>
> Jonathan
>
> ------------------------------------------------------------------------------
> Get your Android app more play: Bring it to the BlackBerry PlayBook
> in minutes. BlackBerry App World™ now supports Android™ Apps
> for the BlackBerry® PlayBook™. Discover just how easy and simple
> it is! http://p.sf.net/sfu/android-dev2dev
> _______________________________________________
> Dvbstreamer-user mailing list
> Dvb...@li...
> https://lists.sourceforge.net/lists/listinfo/dvbstreamer-user
>
>
|
|
From: Jonathan I. <je...@gm...> - 2011-10-28 23:57:46
|
Hey Adam.
I sometime use gtkdvbctrl to control dvbstreamer when I just want
to watch tv. With dvbstreamer svn ,under atsc, if no service is
selected I get the following traceback that repeats until a service is
selected. I have to use dvbctrl to select. Also frontned status must
have changed for 2.x dvbstreamer as it doesn't display stats in
gtkdvbctrl.
Traceback (most recent call last):
File "/usr/bin/gtkdvbctrl", line 405, in update_current_channel
r = self.connection.get_current_service()
File "/usr/lib64/python2.7/site-packages/dvbstreamer.py", line 61,
in get_current_service
m = re.match('(.+?) : "(.+?)"', msg[0])
IndexError: list index out of range
I get this one when trying to select one when nothing is selected.
Traceback (most recent call last):
File "/usr/bin/gtkdvbctrl", line 196, in on_channels_treeview_row_activated
self.select_channel()
File "/usr/bin/gtkdvbctrl", line 437, in select_channel
self.connection.set_current_service(channel)
File "/usr/lib64/python2.7/site-packages/dvbstreamer.py", line 49,
in set_current_service
raise DVBStreamerError(errcode, errmsg)
dvbstreamer.DVBStreamerError: DVBStreamer Error (3): Incorrect number
of arguments!
Later
Jonathan
|
|
From: Johannes Z. <web...@ne...> - 2011-03-19 10:56:33
|
Hi, I am one of the Qt developers, that are building a Qt Quick based mediacenter called qtmediahub (http://gitorious.org/qtmediahub/qtmediahub) that we are using for shows and as demo/example for customers. Now we want to add dvb support. Since I was using dvbstreamer together with livepause with my previous mediacenter, I'd like to plug it together and use that. Our main issue currently is, that we are using gstreamer as a mediaframework. Unfortunately, I could not get dvbstreamer/livepause's streams playing with gstreamer (mplayer/vlc/xine no issues). Has anyone already get this up and running with gstreamer, best would be to get it through playbin2. Let me know if you need more information. Best Regards, Johannes |
|
From: Adam C. <ad...@dv...> - 2011-03-18 20:48:48
|
On Fri, 2011-03-18 at 16:31 +0000, Simon Liddicott wrote: > Hi All, > > > Firstly - thanks for dvbstreamer - it really fills a gap in the > market. > > > I have a question about livepause. > > > I have an mpeg encoder card (HVR-1300) which presents the mpeg stream > as device video1. I'd like to be able to access this stream 5 seconds > late. That is to say whenever I record this stream I'd like the > recording to start 5 seconds before I pressed record. Can I achieve > this with livepause, and if so how? Can it be opened back in > dvbstreamer as a stream and the recording controlled from there? > You _can_ use livepause for this, to do it you need to ensure that the device has been setup before using v4lctl/ivtvctl the use the livepause command: fill psfile /dev/video0 where /dev/video0 is the device for your card. At the moment there is no equivalent of dvbstreamer for the MPEG capture cards. Cheers Adam |
|
From: Simon L. <si...@li...> - 2011-03-18 17:02:24
|
Hi All, Firstly - thanks for dvbstreamer - it really fills a gap in the market. I have a question about livepause. I have an mpeg encoder card (HVR-1300) which presents the mpeg stream as device video1. I'd like to be able to access this stream 5 seconds late. That is to say whenever I record this stream I'd like the recording to start 5 seconds before I pressed record. Can I achieve this with livepause, and if so how? Can it be opened back in dvbstreamer as a stream and the recording controlled from there? Thanks, Si. |
|
From: Adam C. <ad...@dv...> - 2011-03-16 11:23:17
|
On Mon, 14 Mar 2011, Alex Metelka wrote: > Hi, > > > I was playing with dvbstreamer for a while, especialy with its EPG features. I > like its design, as it almost perfectly fits my need for non-gui dvb > controlling utility. However, I run into some stability and memory leaking > issues. Attached are several proposed patches you could find interesting. Thanks for the patches I'll see if I can get some time this weekend to take a look at them, however would you mind entering them as bugs on the tracker as this will make it easier to track them and ensure I don't miss any. Cheers Adam |
|
From: Alex M. <a....@se...> - 2011-03-14 13:31:53
|
Hi, I was playing with dvbstreamer for a while, especialy with its EPG features. I like its design, as it almost perfectly fits my need for non-gui dvb controlling utility. However, I run into some stability and memory leaking issues. Attached are several proposed patches you could find interesting. Alphabetically: collection_header_alignment -- somewhat quick'n'dirty solution for invalid memory references due to bad structure alignment on 64bit systems. It's working, but should better be either applied to all "inherited" structures, or the common header struct should be included directly in all descendants. dvbtoepg_locking -- attempt to solve race conditions in dvbtoepg module sometimes resulting in segfaults (command handlers vs. dvb callback) eit_memleak -- EIT processing memleak fix (forgotten section free) invalid_free_bug -- fix for clib runtime errors due to attempts to free string literals services_strcmp -- not quite sure with this, but direct comparison of string ptrs seems rather odd to me srv_cache_leak -- memleak in cache.c fix uninit_vars -- several uninitialized values fix Regards, Alex |
|
From: Adam C. <ad...@dv...> - 2011-02-25 11:06:25
|
On Thu, 2011-02-24 at 14:30 +0100, Alex Metelka wrote:
> Hi,
>
> MJD conversion routine dvbpsi_DecodeMJDUTC() in src/dvbpsi/datetime.c seems to
> be buggy. Some dates are converted incorrectly, eg. MJD 0xD945 corresponding
> to Mar-01-2011 is resolved as Mar-04-2011 (tested on debian squeeze/amd64).
>
> I didn't try to debug current routine code with floats, as much simpler
> replacement is possible:
>
>
> void dvbpsi_DecodeMJDUTC(uint8_t *p_mjdutc, struct tm *p_date_time)
> {
> #define BCD_CHAR_TO_INT(_bcd) (((_bcd >> 4) * 10) + (_bcd & 0x0f))
> time_t secs;
>
> uint16_t i_mjd = (((uint16_t)p_mjdutc[0] << 8) | (uint16_t)(p_mjdutc[1] &
> 0xff));
>
> secs = (time_t)(((uint32_t)i_mjd-40587)*86400);
>
> secs += (BCD_CHAR_TO_INT(p_mjdutc[2]))*3600+
> (BCD_CHAR_TO_INT(p_mjdutc[3]))*60+
> (BCD_CHAR_TO_INT(p_mjdutc[4]));
>
> memcpy(p_date_time, gmtime(&secs), sizeof(struct tm));
> }
>
>
> Regards,
>
> Alex
Thanks for bug report, I did manage to debug the float routines (which
come from DVB spec) I'd missed a int conversion. Having worked out what
you are doing I've committed a modified patch.
Thanks again,
Adam
|
|
From: Alex M. <a....@se...> - 2011-02-24 13:30:22
|
Hi,
MJD conversion routine dvbpsi_DecodeMJDUTC() in src/dvbpsi/datetime.c seems to
be buggy. Some dates are converted incorrectly, eg. MJD 0xD945 corresponding
to Mar-01-2011 is resolved as Mar-04-2011 (tested on debian squeeze/amd64).
I didn't try to debug current routine code with floats, as much simpler
replacement is possible:
void dvbpsi_DecodeMJDUTC(uint8_t *p_mjdutc, struct tm *p_date_time)
{
#define BCD_CHAR_TO_INT(_bcd) (((_bcd >> 4) * 10) + (_bcd & 0x0f))
time_t secs;
uint16_t i_mjd = (((uint16_t)p_mjdutc[0] << 8) | (uint16_t)(p_mjdutc[1] &
0xff));
secs = (time_t)(((uint32_t)i_mjd-40587)*86400);
secs += (BCD_CHAR_TO_INT(p_mjdutc[2]))*3600+
(BCD_CHAR_TO_INT(p_mjdutc[3]))*60+
(BCD_CHAR_TO_INT(p_mjdutc[4]));
memcpy(p_date_time, gmtime(&secs), sizeof(struct tm));
}
Regards,
Alex
|
|
From: Adam C. <ad...@dv...> - 2010-11-29 13:36:13
|
On Mon, November 29, 2010 2:46 am, Mike Martin wrote: > Hi > I am trying to use the dvbstreamer dbs as a base for a programme guide. > > However I am struggling to find a key between the two tables > > CREATE TABLE EPGEvents ( > netid,tsid,serviceid,eventid,starttime,endtime,ca,PRIMARY KEY ( > netid,tsid,serviceid,eventid)); > > CREATE TABLE EPGDetails ( eventuid,lang,name,value,PRIMARY KEY ( > eventuid,lang,name)); > > You would guess that eventid and eventuid would have some > relationship, but I cant find it > > any help appreciated > Hi, I guess you are talking about version 1.x? In which case the dbase id is a combination of the netid,tsid,serviceid and eventid into a 64bit integer. The best place to find out is to look at the actual epgdbase code. I've not looked at it for a while and in fact I took the decision to remove the dbase from version 2.x and allow a third party app to manage it. Cheers Adam |
|
From: Mike M. <re...@go...> - 2010-11-29 02:51:03
|
Hi I am trying to use the dvbstreamer dbs as a base for a programme guide. However I am struggling to find a key between the two tables CREATE TABLE EPGEvents ( netid,tsid,serviceid,eventid,starttime,endtime,ca,PRIMARY KEY ( netid,tsid,serviceid,eventid)); CREATE TABLE EPGDetails ( eventuid,lang,name,value,PRIMARY KEY ( eventuid,lang,name)); You would guess that eventid and eventuid would have some relationship, but I cant find it any help appreciated |
|
From: Mike M. <mi...@re...> - 2010-11-29 02:46:18
|
Hi I am trying to use the dvbstreamer dbs as a base for a programme guide. However I am struggling to find a key between the two tables CREATE TABLE EPGEvents ( netid,tsid,serviceid,eventid,starttime,endtime,ca,PRIMARY KEY ( netid,tsid,serviceid,eventid)); CREATE TABLE EPGDetails ( eventuid,lang,name,value,PRIMARY KEY ( eventuid,lang,name)); You would guess that eventid and eventuid would have some relationship, but I cant find it any help appreciated |
|
From: Adam C. <ad...@dv...> - 2010-08-19 21:00:52
|
On Wed, 2010-08-18 at 20:51 +0200, Martin Stöver wrote: > Hey, > > I am having trouble setting up the dvbstreamer-database. > Versions prior to 2.0rc worked fine but this release does not work for > me. > > Error messages: > > martin@kumbuk2:~$ setupdvbstreamer -vvv -a 1 -t .tzap/channels.conf -L > dvb-log > Failed to add service "arte", possible reason already in database? > Failed to add service "Das Erste", possible reason already in > database? > Failed to add service "rb TV", possible reason already in database? > Failed to add service "Phoenix", possible reason already in database? > (...) > Failed to add service "kabel eins", possible reason already in > database? > Failed to add service "N24", possible reason already in database? > 37 Services available on 7 Multiplexes <snip> > .... and so on for every further channel. > > Can you help? :-) Hi Martin, You won't need to setup the database again if your simply updating to version 2.0rc. The first time the new version is run it will update the existing database. If you hadn't setup dvbstreamer on the system previously then this looks like a new bug. > Cheers, > > Martin Ch eers Adam |
|
From: Martin S. <mar...@gm...> - 2010-08-18 18:51:46
|
Hey, I am having trouble setting up the dvbstreamer-database. Versions prior to 2.0rc worked fine but this release does not work for me. Error messages: martin@kumbuk2:~$ setupdvbstreamer -vvv -a 1 -t .tzap/channels.conf -L dvb-log Failed to add service "arte", possible reason already in database? Failed to add service "Das Erste", possible reason already in database? Failed to add service "rb TV", possible reason already in database? Failed to add service "Phoenix", possible reason already in database? (...) Failed to add service "kabel eins", possible reason already in database? Failed to add service "N24", possible reason already in database? 37 Services available on 7 Multiplexes dvb-log ------------------- | --------------- | -- | --------------- | ---------------------------------------- Date Time | Module | Lv | Thread | Details ------------------- | --------------- | -- | --------------- | ---------------------------------------- 2010-08-18 20:18:41 | Setup | 4 | 0xb76548d0 | Initialised objects. 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Class "EventListenerDetails_t" size 8 destructor? No 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Class "Event_t" size 16 destructor? No 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Class "EventSource_t" size 12 destructor? No 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Class "List_t" size 12 destructor? No 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a2c2a8) Created object of class "List_t" app ptr 0x8a2c2b8 (list.c:40) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a2c640) Created object of class "List_t" app ptr 0x8a2c650 (list.c:40) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a2c668) Created object of class "EventSource_t" app ptr 0x8a2c678 (events.c:195) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a2c690) Created object of class "List_t" app ptr 0x8a2c6a0 (list.c:40) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a2c6b8) Created object of class "List_t" app ptr 0x8a2c6c8 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event source registered (Events) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a2c6f8) Created object of class "Event_t" app ptr 0x8a2c708 (events.c:260) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a2c738) Created object of class "List_t" app ptr 0x8a2c748 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event registered (Events.Unregistered) 2010-08-18 20:18:41 | Setup | 4 | 0xb76548d0 | Initialised events. 2010-08-18 20:18:41 | dbase | 3 | 0xb76548d0 | Current version of database is 2.000000 2010-08-18 20:18:41 | Setup | 4 | 0xb76548d0 | Initialised database. 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3b328) Created object of class "EventSource_t" app ptr 0x8a3b338 (events.c:195) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3b368) Created object of class "List_t" app ptr 0x8a3b378 (list.c:40) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3aca8) Created object of class "List_t" app ptr 0x8a3acb8 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event source registered (Multiplexes) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ace8) Created object of class "Event_t" app ptr 0x8a3acf8 (events.c:260) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ad10) Created object of class "List_t" app ptr 0x8a3ad20 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event registered (Multiplexes.Added) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ad50) Created object of class "Event_t" app ptr 0x8a3ad60 (events.c:260) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ad88) Created object of class "List_t" app ptr 0x8a3ad98 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event registered (Multiplexes.Removed) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Collection "MultiplexList_t" size 4 destructor? Yes 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Class "Multiplex_t" size 24 destructor? Yes 2010-08-18 20:18:41 | Setup | 4 | 0xb76548d0 | Initialised multiplex. 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Class "Service_t" size 44 destructor? Yes 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | Registered Collection "ServiceList_t" size 4 destructor? Yes 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c168) Created object of class "EventSource_t" app ptr 0x8a3c178 (events.c:195) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c1a0) Created object of class "List_t" app ptr 0x8a3c1b0 (list.c:40) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c1c8) Created object of class "List_t" app ptr 0x8a3c1d8 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event source registered (Services) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c208) Created object of class "Event_t" app ptr 0x8a3c218 (events.c:260) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c240) Created object of class "List_t" app ptr 0x8a3c250 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event registered (Services.Added) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c280) Created object of class "Event_t" app ptr 0x8a3c290 (events.c:260) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c2b8) Created object of class "List_t" app ptr 0x8a3c2c8 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event registered (Services.Deleted) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3a528) Created object of class "Event_t" app ptr 0x8a3a538 (events.c:260) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3a560) Created object of class "List_t" app ptr 0x8a3a570 (list.c:40) 2010-08-18 20:18:41 | Events | 3 | 0xb76548d0 | New event registered (Services.AllDeleted) 2010-08-18 20:18:41 | Setup | 4 | 0xb76548d0 | Initialised service. 2010-08-18 20:18:41 | Setup | 1 | 0xb76548d0 | Importing services from .tzap/channels.conf 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c6b8) Created collection of class "MultiplexList_t" entries 7 app ptr 0x8a3c6c8 (multiplexes.c:187) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c6f0) Created object of class "Multiplex_t" app ptr 0x8a3c700 (multiplexes.c:153) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c7d8) Created object of class "Multiplex_t" app ptr 0x8a3c7e8 (multiplexes.c:153) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3e8b8) Created object of class "Multiplex_t" app ptr 0x8a3e8c8 (multiplexes.c:153) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3e9a0) Created object of class "Multiplex_t" app ptr 0x8a3e9b0 (multiplexes.c:153) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ea88) Created object of class "Multiplex_t" app ptr 0x8a3ea98 (multiplexes.c:153) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3eb70) Created object of class "Multiplex_t" app ptr 0x8a3eb80 (multiplexes.c:153) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ec58) Created object of class "Multiplex_t" app ptr 0x8a3ec68 (multiplexes.c:153) 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c6b8) Releasing object of class "MultiplexList_t" app ptr 0x8a3c6c8 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3c6f0) Releasing object of class "Multiplex_t" app ptr 0x8a3c700 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3e8b8) Releasing object of class "Multiplex_t" app ptr 0x8a3e8c8 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3e9a0) Releasing object of class "Multiplex_t" app ptr 0x8a3e9b0 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ea88) Releasing object of class "Multiplex_t" app ptr 0x8a3ea98 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3eb70) Releasing object of class "Multiplex_t" app ptr 0x8a3eb80 2010-08-18 20:18:41 | Object | 4 | 0xb76548d0 | (0x8a3ec58) Releasing object of class "Multiplex_t" app ptr 0x8a3ec68 2010-08-18 20:18:41 | ParseZap | 4 | 0xb76548d0 | Adding service "arte" 2 2010-08-18 20:18:41 | dbase | 3 | 0xb76548d0 | ServiceAdd(151): Failed with error code 0x1=SQL logic error or missing database 2010-08-18 20:18:41 | ParseZap | 0 | 0xb76548d0 | Failed to add service "arte", possible reason already in database? 2010-08-18 20:18:41 | ParseZap | 0 | 0xb76548d0 | errno = 2 (No such file or directory) .... and so on for every further channel. Can you help? :-) Cheers, Martin |
|
From: Ivan A. <iv...@do...> - 2010-07-28 08:19:16
|
Hi again, No more glibc error, tanks. But I noticed some other thing: DVBStreamer>addmf f1 udp://239.239.5.6:1234 DVBStreamer>addmfpid f1 809 No more available PID entries! so: DVBStreamer>lsmfpids f1 1 PIDs for 'f1' 0x329 and filters works fine. Is there a problem, or I can ignore this error message: "No more available PID entries!" Best regards Ivan |
|
From: Adam C. <ad...@dv...> - 2010-07-26 09:47:08
|
On Mon, 2010-07-26 at 09:52 +0300, Ivan Asenov wrote: > Additional info, > this happened only when adding manual filter: > > DVBStreamer>addmf f_mpts udp://239.239.5.6:1234 > DVBStreamer>DVBStreamer>*** glibc detected *** dvbstreamer: double free > or corruption (fasttop): 0x000000000077b150 *** > ... Thanks for reporting that, I think I've worked out the cause. Can you check the latest svn to see if it is fixed now. Cheers Adam |
|
From: Ivan A. <iv...@do...> - 2010-07-26 06:52:17
|
Additional info, this happened only when adding manual filter: DVBStreamer>addmf f_mpts udp://239.239.5.6:1234 DVBStreamer>DVBStreamer>*** glibc detected *** dvbstreamer: double free or corruption (fasttop): 0x000000000077b150 *** ... |