redbutton-devel Mailing List for RedButton MHEG Engine (Page 4)
Brought to you by:
skilvington
You can subscribe to this list here.
| 2006 |
Jan
(1) |
Feb
(4) |
Mar
(27) |
Apr
(6) |
May
(46) |
Jun
(45) |
Jul
(7) |
Aug
(4) |
Sep
(7) |
Oct
(5) |
Nov
(10) |
Dec
(11) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(49) |
Feb
(29) |
Mar
(35) |
Apr
(43) |
May
(23) |
Jun
(4) |
Jul
(1) |
Aug
(58) |
Sep
(66) |
Oct
(27) |
Nov
(15) |
Dec
(1) |
| 2008 |
Jan
(11) |
Feb
|
Mar
(8) |
Apr
|
May
|
Jun
(30) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(3) |
Dec
(6) |
| 2009 |
Jan
(6) |
Feb
(1) |
Mar
(2) |
Apr
(5) |
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
|
Dec
(6) |
| 2010 |
Jan
(6) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
(4) |
Oct
|
Nov
(11) |
Dec
(4) |
| 2011 |
Jan
|
Feb
(11) |
Mar
(8) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
(2) |
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ski...@us...> - 2009-07-27 13:49:31
|
Revision: 526
http://redbutton.svn.sourceforge.net/redbutton/?rev=526&view=rev
Author: skilvington
Date: 2009-07-27 13:49:12 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
tagged release 20090727
Added Paths:
-----------
redbutton-author/tags/redbutton-author-20090727/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-07-27 13:48:24
|
Revision: 525
http://redbutton.svn.sourceforge.net/redbutton/?rev=525&view=rev
Author: skilvington
Date: 2009-07-27 13:48:09 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
tagged release 20090727
Added Paths:
-----------
redbutton-download/tags/redbutton-download-20090727/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-07-27 13:46:39
|
Revision: 524
http://redbutton.svn.sourceforge.net/redbutton/?rev=524&view=rev
Author: skilvington
Date: 2009-07-27 13:46:29 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
tagged release 20090727
Added Paths:
-----------
redbutton-browser/tags/redbutton-browser-20090727/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Simon K. <s.k...@er...> - 2009-07-02 08:57:58
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 good tutorial I think I know what the problem with the ButtonStyleEnum is - mhegc is a bit too case sensitive - try using "radiobutton" instead of "RadioButton" in the source by the way, PushButton's are not supported in rb-browser yet Luigi Tavolato (Email) wrote: > Hello everybody, > I suggest to read this document > http://www.docstoc.com/docs/939188/MHEG_tutorial > Bye > > -----Messaggio originale----- > Da: Simon Kilvington [mailto:s.k...@er...] > Inviato: mercoledì 1 luglio 2009 17.37 > A: Tabish Khan > Cc: red...@li... > Oggetto: Re: [Redbutton-devel] (no subject) > > * PGP Signed by an unknown key > > Hi, > > I haven't had much experience writing MHEG apps - just noddy > test cases written by hand. I guess people who write proper MHEG apps > must use some kind of GUI-based development environment - I can't > believe anyone would write these things by hand. If you are doing it by > hand, then I would recommend using cpp or some other pre-processor. That > will at least let you define macros etc. I've attached a header file I > found somewhere which has cpp style #defines for the UK keys. > > I'm interested in the error you got trying to write the push > button sample - can you send me a small example that triggers the > problem? > > Thanks. > > Tabish Khan wrote: >> Hello all, >> >> I am new to MHEG and writing apps in it. Through some tutorial, I was >> able to write some sample apps., but those are too trivial. I have >> used rb-author and rb-browser, that has helped me a lot to understand. >> Please do let me know how to proceed with all this, if I want to write >> some complex applications. I have also observed, I was not able to run >> one sample app with push button, it says "ButtonStyleEnum" not >> present. Confused over some MHEG constructs. >> >> Please do let me know, how to go ahead and gain expertise in this. >> >> Thanks in advance. >> >> Regards, >> T. Khan >> >> > ---------------------------------------------------------------------------- > -- >> _______________________________________________ >> Redbutton-devel mailing list >> Red...@li... >> https://lists.sourceforge.net/lists/listinfo/redbutton-devel >> >> > > -- > Simon Kilvington > > > * Unknown Key > * 0xF8A8252C(L) > > > > -- > Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f > > Sponsor: > OLTREMARE HOTELS: > * Cerchi un hotel a Riccione, Rimini o Misano Adriatico ? Visita il sito www.rivieraparkhotels.it . Gli alberghi dei parchi divertimento. > * > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid’81&d=1-7 > > ------------------------------------------------------------------------------ > _______________________________________________ > Redbutton-devel mailing list > Red...@li... > https://lists.sourceforge.net/lists/listinfo/redbutton-devel > > - -- Simon Kilvington -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpMdlQACgkQmt9ZifioJSyY5ACfdTvDnoWCDXd7U75M3bNjnoxm oycAn10yhchGj8o41SYuSR79FsnD8ZhH =VkSH -----END PGP SIGNATURE----- |
|
From: Luigi T. \(Email\) <lui...@em...> - 2009-07-01 17:06:25
|
Hello everybody, I suggest to read this document http://www.docstoc.com/docs/939188/MHEG_tutorial Bye -----Messaggio originale----- Da: Simon Kilvington [mailto:s.k...@er...] Inviato: mercoledì 1 luglio 2009 17.37 A: Tabish Khan Cc: red...@li... Oggetto: Re: [Redbutton-devel] (no subject) * PGP Signed by an unknown key Hi, I haven't had much experience writing MHEG apps - just noddy test cases written by hand. I guess people who write proper MHEG apps must use some kind of GUI-based development environment - I can't believe anyone would write these things by hand. If you are doing it by hand, then I would recommend using cpp or some other pre-processor. That will at least let you define macros etc. I've attached a header file I found somewhere which has cpp style #defines for the UK keys. I'm interested in the error you got trying to write the push button sample - can you send me a small example that triggers the problem? Thanks. Tabish Khan wrote: > Hello all, > > I am new to MHEG and writing apps in it. Through some tutorial, I was > able to write some sample apps., but those are too trivial. I have > used rb-author and rb-browser, that has helped me a lot to understand. > Please do let me know how to proceed with all this, if I want to write > some complex applications. I have also observed, I was not able to run > one sample app with push button, it says "ButtonStyleEnum" not > present. Confused over some MHEG constructs. > > Please do let me know, how to go ahead and gain expertise in this. > > Thanks in advance. > > Regards, > T. Khan > > ---------------------------------------------------------------------------- -- > _______________________________________________ > Redbutton-devel mailing list > Red...@li... > https://lists.sourceforge.net/lists/listinfo/redbutton-devel > > -- Simon Kilvington * Unknown Key * 0xF8A8252C(L) -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: OLTREMARE HOTELS: * Cerchi un hotel a Riccione, Rimini o Misano Adriatico ? Visita il sito www.rivieraparkhotels.it . Gli alberghi dei parchi divertimento. * Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid81&d=1-7 |
|
From: Simon K. <s.k...@er...> - 2009-07-01 16:06:47
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I haven't had much experience writing MHEG apps - just noddy test cases written by hand. I guess people who write proper MHEG apps must use some kind of GUI-based development environment - I can't believe anyone would write these things by hand. If you are doing it by hand, then I would recommend using cpp or some other pre-processor. That will at least let you define macros etc. I've attached a header file I found somewhere which has cpp style #defines for the UK keys. I'm interested in the error you got trying to write the push button sample - can you send me a small example that triggers the problem? Thanks. Tabish Khan wrote: > Hello all, > > I am new to MHEG and writing apps in it. Through some tutorial, I was > able to write some sample apps., but those are too trivial. I have > used rb-author and rb-browser, that has helped me a lot to understand. > Please do let me know how to proceed with all this, if I want to write > some complex applications. I have also observed, I was not able to run > one sample app with push button, it says "ButtonStyleEnum" not > present. Confused over some MHEG constructs. > > Please do let me know, how to go ahead and gain expertise in this. > > Thanks in advance. > > Regards, > T. Khan > > ------------------------------------------------------------------------------ > _______________________________________________ > Redbutton-devel mailing list > Red...@li... > https://lists.sourceforge.net/lists/listinfo/redbutton-devel > > - -- Simon Kilvington -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpLgn4ACgkQmt9ZifioJSx7uQCdG7/d6ScEGjUezIiEbcwnvxqK sUQAnRm5/B6imBUZE7z4tLAN4MPLhWsW =tJHE -----END PGP SIGNATURE----- |
|
From: Tabish K. <tab...@gm...> - 2009-06-27 18:24:27
|
Hello all, I am new to MHEG and writing apps in it. Through some tutorial, I was able to write some sample apps., but those are too trivial. I have used rb-author and rb-browser, that has helped me a lot to understand. Please do let me know how to proceed with all this, if I want to write some complex applications. I have also observed, I was not able to run one sample app with push button, it says "ButtonStyleEnum" not present. Confused over some MHEG constructs. Please do let me know, how to go ahead and gain expertise in this. Thanks in advance. Regards, T. Khan |
|
From: Miquel À. F. <miq...@gm...> - 2009-05-13 11:45:10
|
Anybody know where can I find mheg dumps to test? Thanks! El 7 / maig / 2009 19:23, Miquel Àngel Farré <miq...@gm...> ha escrit: > Hi, > > My name is Miquel and I am working on Gstreamer project developing a MHEG > plugin, > I would like to use RedButton engine on it. > I am open to tips, tricks, documentation that I should read,... > > Thanks, > > Miquel > > |
|
From: Miquel À. F. <miq...@gm...> - 2009-05-07 17:23:31
|
Hi, My name is Miquel and I am working on Gstreamer project developing a MHEG plugin, I would like to use RedButton engine on it. I am open to tips, tricks, documentation that I should read,... Thanks, Miquel |
|
From: <ski...@us...> - 2009-04-17 16:07:20
|
Revision: 523
http://redbutton.svn.sourceforge.net/redbutton/?rev=523&view=rev
Author: skilvington
Date: 2009-04-17 16:07:03 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
comment is no longer correct
Modified Paths:
--------------
redbutton-browser/trunk/MHEGBackend.c
Modified: redbutton-browser/trunk/MHEGBackend.c
===================================================================
--- redbutton-browser/trunk/MHEGBackend.c 2009-04-17 10:09:02 UTC (rev 522)
+++ redbutton-browser/trunk/MHEGBackend.c 2009-04-17 16:07:03 UTC (rev 523)
@@ -355,7 +355,7 @@
/*
* update rec_svc_def to the service directory we are reading the carousel from
- * rec_svc_def will be in dvb:// format, but the network_id will be empty
+ * rec_svc_def will be in dvb:// format, but the network_id will be empty (unless you used -n on the command line)
* eg if we are reading path/to/services/4165, then rec_svc_def will be dvb://..1045
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-04-17 10:09:12
|
Revision: 522
http://redbutton.svn.sourceforge.net/redbutton/?rev=522&view=rev
Author: skilvington
Date: 2009-04-17 10:09:02 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
allow the Network ID to be specified on the command line when using a local backend
Modified Paths:
--------------
redbutton-browser/trunk/MHEGBackend.c
redbutton-browser/trunk/MHEGBackend.h
redbutton-browser/trunk/MHEGEngine.c
redbutton-browser/trunk/MHEGEngine.h
redbutton-browser/trunk/rb-browser.c
www/index.html
Modified: redbutton-browser/trunk/MHEGBackend.c
===================================================================
--- redbutton-browser/trunk/MHEGBackend.c 2009-04-07 12:56:42 UTC (rev 521)
+++ redbutton-browser/trunk/MHEGBackend.c 2009-04-17 10:09:02 UTC (rev 522)
@@ -74,7 +74,7 @@
/* public interface */
void
-MHEGBackend_init(MHEGBackend *b, bool remote, char *srg_loc)
+MHEGBackend_init(MHEGBackend *b, bool remote, char *srg_loc, int net_id)
{
bzero(b, sizeof(MHEGBackend));
@@ -94,7 +94,10 @@
{
/* backend is on a different host, srg_loc is the remote host[:port] */
b->fns = &remote_backend_fns;
+ /* these are only used by local backends */
b->base_dir = NULL;
+ b->network_id[0] = '\0';
+ /* resolve the host:port */
if(parse_addr(srg_loc, &b->addr.sin_addr, &b->addr.sin_port) < 0)
fatal("Unable to resolve host %s", srg_loc);
verbose("Remote backend at %s:%u", inet_ntoa(b->addr.sin_addr), ntohs(b->addr.sin_port));
@@ -106,6 +109,11 @@
/* backend and frontend on same host, srg_loc is the base directory */
b->fns = &local_backend_fns;
b->base_dir = safe_strdup(srg_loc);
+ /* net_id < 0 means leave it blank */
+ if(net_id >= 0)
+ snprintf(b->network_id, sizeof(b->network_id), "%x", net_id);
+ else
+ b->network_id[0] = '\0';
verbose("Local backend; carousel file root '%s'", srg_loc);
/* initialise rec://svc/def value */
local_set_service_url(b);
@@ -374,7 +382,7 @@
}
/* create a fake dvb:// format URL */
- len = snprintf(url, sizeof(url), "dvb://..%x", service_id);
+ len = snprintf(url, sizeof(url), "dvb://%s..%x", t->network_id, service_id);
/* overwrite any existing value */
t->rec_svc_def.size = len;
Modified: redbutton-browser/trunk/MHEGBackend.h
===================================================================
--- redbutton-browser/trunk/MHEGBackend.h 2009-04-07 12:56:42 UTC (rev 521)
+++ redbutton-browser/trunk/MHEGBackend.h 2009-04-17 10:09:02 UTC (rev 522)
@@ -25,6 +25,7 @@
{
OctetString rec_svc_def; /* service we are downloading the carousel from */
char *base_dir; /* local Service Gateway root directory */
+ char network_id[16]; /* local Network ID (maybe blank if you don't care) */
struct sockaddr_in addr; /* remote backend IP and port */
FILE *be_sock; /* connection to remote backend */
/* function pointers */
@@ -49,7 +50,7 @@
} *fns;
} MHEGBackend;
-void MHEGBackend_init(MHEGBackend *, bool, char *);
+void MHEGBackend_init(MHEGBackend *, bool, char *, int);
void MHEGBackend_fini(MHEGBackend *);
#endif /* __MHEGBACKEND_H__ */
Modified: redbutton-browser/trunk/MHEGEngine.c
===================================================================
--- redbutton-browser/trunk/MHEGEngine.c 2009-04-07 12:56:42 UTC (rev 521)
+++ redbutton-browser/trunk/MHEGEngine.c 2009-04-17 10:09:02 UTC (rev 522)
@@ -177,7 +177,7 @@
engine.vo_method = MHEGVideoOutputMethod_fromString(opts->vo_method);
engine.av_disabled = opts->av_disabled;
- MHEGBackend_init(&engine.backend, opts->remote, opts->srg_loc);
+ MHEGBackend_init(&engine.backend, opts->remote, opts->srg_loc, opts->network_id);
MHEGApp_init(&engine.active_app);
Modified: redbutton-browser/trunk/MHEGEngine.h
===================================================================
--- redbutton-browser/trunk/MHEGEngine.h 2009-04-07 12:56:42 UTC (rev 521)
+++ redbutton-browser/trunk/MHEGEngine.h 2009-04-17 10:09:02 UTC (rev 522)
@@ -85,6 +85,7 @@
{
bool remote; /* or local rb-download backend */
char *srg_loc; /* service gateway location: directory for local; host[:port] for remote */
+ int network_id; /* Network ID for local backends, used to resolve rec://svc/def (<0 => leave it blank) */
int verbose; /* -v flag */
unsigned int timeout; /* seconds to poll for missing content before generating a ContentRefError */
bool fullscreen; /* scale to fullscreen? */
Modified: redbutton-browser/trunk/rb-browser.c
===================================================================
--- redbutton-browser/trunk/rb-browser.c 2009-04-07 12:56:42 UTC (rev 521)
+++ redbutton-browser/trunk/rb-browser.c 2009-04-17 10:09:02 UTC (rev 522)
@@ -1,5 +1,5 @@
/*
- * rb-browser [-v] [-f] [-d] [-a <alsa_device>] [-o <video_output_method>] [-k <keymap_file>] [-t <timeout>] [-r] [<service_gateway>]
+ * rb-browser [-v] [-f] [-d] [-a <alsa_device>] [-o <video_output_method>] [-k <keymap_file>] [-t <timeout>] [-n <network_id>] [-r] [<service_gateway>]
*
* -v is verbose/debug mode
* -f is full screen, otherwise it uses a window
@@ -15,6 +15,8 @@
* and <service_gateway> should be an entry in the services directory, eg. services/4165
* (this is really only for debugging or running MHEG apps you've written yourself)
* the default backend is "-r 127.0.0.1"
+ * -n allows you to specify a Network ID for local backends, this is used to resolve rec://svc/def
+ * by default, the Network ID is left blank in rec://svc/def
*/
#include <unistd.h>
@@ -58,8 +60,9 @@
opts.av_disabled = false;
opts.timeout = MISSING_CONTENT_TIMEOUT;
opts.keymap = NULL;
+ opts.network_id = -1; /* => leave it blank */
- while((arg = getopt(argc, argv, "rvfda:o:k:t:")) != EOF)
+ while((arg = getopt(argc, argv, "rvfda:o:k:t:n:")) != EOF)
{
switch(arg)
{
@@ -95,6 +98,10 @@
opts.timeout = strtoul(optarg, NULL, 0);
break;
+ case 'n':
+ opts.network_id = strtoul(optarg, NULL, 0);
+ break;
+
default:
usage(prog_name);
break;
@@ -136,6 +143,7 @@
"[-o <video_output_method>] "
"[-k <keymap_file>] "
"[-t <timeout>] "
+ "[-n <network_id>] "
"[-r] "
"[<service_gateway>]\n\n"
"%s",
Modified: www/index.html
===================================================================
--- www/index.html 2009-04-07 12:56:42 UTC (rev 521)
+++ www/index.html 2009-04-17 10:09:02 UTC (rev 522)
@@ -122,7 +122,7 @@
<H2>rb-browser</H2>
Usage:
<PRE>
-rb-browser [-v] [-f] [-d] [-o <video_output_method>] [-k <keymap_config_file>] [-t <timeout>] [-r] [<service_gateway>]
+rb-browser [-v] [-f] [-d] [-o <video_output_method>] [-k <keymap_config_file>] [-t <timeout>] [-n <network_id>] [-r] [<service_gateway>]
</PRE>
Display the MHEG apps downloaded with rb-download.
<P>
@@ -158,6 +158,10 @@
Although this will not give you any video or audio as this is streamed from rb-download.
Retuning will also probably not work unless you've also saved the services directory for the channel you want to retune to.
<P>
+For local backends, -n allows you to specify a Network ID that will be used to resolve rec://svc/def.
+By default, the Network ID is left blank in rec://svc/def.
+If you don't know what this means, you can probably just ignore the -n flag!
+<P>
It will display the app in a window, use -f for full screen mode.
<P>
The -d flag disables all audio and video output.
@@ -186,7 +190,7 @@
<TR align="center"><TD>t</TD><TD>Text</TD></TR>
<TR align="center"><TD>e</TD><TD>EPG (NZ Profile only)</TD></TR>
</TABLE>
-<P>
+<H2>Notes</H2>
You will need the "expat" XML parsing library and the xsltproc XML stylesheet processor that comes with "libxslt" to compile it.
On Gentoo, you can just:
<PRE>
@@ -196,7 +200,7 @@
If the compile fails with errors about function names ending in "_dup" being missing, libxslt is not installed.
<P>
To run it you need an X server that supports the Xrender extension and you need to have libpng, freetype2 and ffmpeg installed.
-<H2>Notes</H2>
+<P>
It does not implement the whole MHEG spec.
However, it seems to be enough to view everything that is currently being broadcast on the 'Freeview' channels in the UK.
If it comes across something that is not yet implemented it will print out a message on the console. Let us know if you find anything it can't do.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-04-07 12:56:48
|
Revision: 521
http://redbutton.svn.sourceforge.net/redbutton/?rev=521&view=rev
Author: skilvington
Date: 2009-04-07 12:56:42 +0000 (Tue, 07 Apr 2009)
Log Message:
-----------
say if a service is not available
Modified Paths:
--------------
redbutton-browser/trunk/si.c
Modified: redbutton-browser/trunk/si.c
===================================================================
--- redbutton-browser/trunk/si.c 2009-04-07 12:53:00 UTC (rev 520)
+++ redbutton-browser/trunk/si.c 2009-04-07 12:56:42 UTC (rev 521)
@@ -68,7 +68,10 @@
/* does the backend say it is available */
if(!MHEGEngine_isServiceAvailable(ref))
+ {
+ verbose("si_get_index: service '%.*s' is unavailable", ref->size, ref->data);
return -1;
+ }
/* add it to the list */
si_max_index ++;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-04-07 12:53:07
|
Revision: 520
http://redbutton.svn.sourceforge.net/redbutton/?rev=520&view=rev
Author: skilvington
Date: 2009-04-07 12:53:00 +0000 (Tue, 07 Apr 2009)
Log Message:
-----------
don't allow NULL service references
Modified Paths:
--------------
redbutton-browser/trunk/si.c
Modified: redbutton-browser/trunk/si.c
===================================================================
--- redbutton-browser/trunk/si.c 2009-04-07 09:23:46 UTC (rev 519)
+++ redbutton-browser/trunk/si.c 2009-04-07 12:53:00 UTC (rev 520)
@@ -32,8 +32,13 @@
int i;
/* resolve it to dvb:// format */
- if(OctetString_strcmp(ref, "rec://svc/def") == 0)
+ if(ref == NULL || ref->size == 0)
{
+ error("si_get_index: NULL service requested");
+ return -1;
+ }
+ else if(OctetString_strcmp(ref, "rec://svc/def") == 0)
+ {
/* promise we wont change it */
ref = (OctetString *) MHEGEngine_getRecSvcDef();
verbose("si_get_index: resolved '%.*s' to '%.*s'", orig->size, orig->data, ref->size, ref->data);
@@ -53,6 +58,7 @@
else if(OctetString_strncmp(ref, "dvb:", 4) != 0)
{
error("si_get_index: unexpected service '%.*s'", ref->size, ref->data);
+ return -1;
}
/* have we assigned it already */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-04-07 09:24:06
|
Revision: 519
http://redbutton.svn.sourceforge.net/redbutton/?rev=519&view=rev
Author: skilvington
Date: 2009-04-07 09:23:46 +0000 (Tue, 07 Apr 2009)
Log Message:
-----------
show what rec://svc/def and rec://svc/cur resolve to in verbose mode
Modified Paths:
--------------
redbutton-browser/trunk/si.c
Modified: redbutton-browser/trunk/si.c
===================================================================
--- redbutton-browser/trunk/si.c 2009-03-11 14:01:47 UTC (rev 518)
+++ redbutton-browser/trunk/si.c 2009-04-07 09:23:46 UTC (rev 519)
@@ -28,6 +28,7 @@
int
si_get_index(OctetString *ref)
{
+ OctetString *orig = ref;
int i;
/* resolve it to dvb:// format */
@@ -35,16 +36,19 @@
{
/* promise we wont change it */
ref = (OctetString *) MHEGEngine_getRecSvcDef();
+ verbose("si_get_index: resolved '%.*s' to '%.*s'", orig->size, orig->data, ref->size, ref->data);
}
else if(OctetString_strcmp(ref, "rec://svc/cur") == 0)
{
/* promise we wont change it */
ref = (OctetString *) MHEGEngine_getRecSvcCur();
+ verbose("si_get_index: resolved '%.*s' to '%.*s'", orig->size, orig->data, ref->size, ref->data);
}
else if(OctetString_strncmp(ref, "rec://svc/lcn/", 14) == 0)
{
/* TODO */
printf("TODO: si_get_index: service='%.*s'\n", ref->size, ref->data);
+ verbose("si_get_index: resolved '%.*s' to '%.*s'", orig->size, orig->data, ref->size, ref->data);
}
else if(OctetString_strncmp(ref, "dvb:", 4) != 0)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-03-11 14:02:08
|
Revision: 518
http://redbutton.svn.sourceforge.net/redbutton/?rev=518&view=rev
Author: skilvington
Date: 2009-03-11 14:01:47 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
add the SourceForge Paypal link
Modified Paths:
--------------
www/index.html
Modified: www/index.html
===================================================================
--- www/index.html 2009-03-11 13:45:36 UTC (rev 517)
+++ www/index.html 2009-03-11 14:01:47 UTC (rev 518)
@@ -3,7 +3,15 @@
<TITLE>RedButton MHEG Engine</TITLE>
</HEAD>
<BODY>
+<hr>
+<table width="100%">
+<tr><td align="left">
<a href="http://sourceforge.net/projects/redbutton"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=158629&type=15" width="150" height="40" border="0" alt="Get RedButton MHEG Engine at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a>
+</td><td align="right">
+<a href="http://sourceforge.net/donate/index.php?group_id=158629"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" /></a>
+</td></tr>
+</table>
+<hr>
<H1>RedButton MHEG Engine</H1>
RedButton allows you to use the interactive MHEG applications broadcast with DVB digital TV services.
MHEG replaces the text only services available with analogue TV.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-03-11 13:45:47
|
Revision: 517
http://redbutton.svn.sourceforge.net/redbutton/?rev=517&view=rev
Author: skilvington
Date: 2009-03-11 13:45:36 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
SourceForge have updated their logo guidelines
Modified Paths:
--------------
www/index.html
Modified: www/index.html
===================================================================
--- www/index.html 2009-02-04 14:10:43 UTC (rev 516)
+++ www/index.html 2009-03-11 13:45:36 UTC (rev 517)
@@ -3,7 +3,7 @@
<TITLE>RedButton MHEG Engine</TITLE>
</HEAD>
<BODY>
-<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=158629&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a>
+<a href="http://sourceforge.net/projects/redbutton"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=158629&type=15" width="150" height="40" border="0" alt="Get RedButton MHEG Engine at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a>
<H1>RedButton MHEG Engine</H1>
RedButton allows you to use the interactive MHEG applications broadcast with DVB digital TV services.
MHEG replaces the text only services available with analogue TV.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-02-04 14:10:49
|
Revision: 516
http://redbutton.svn.sourceforge.net/redbutton/?rev=516&view=rev
Author: skilvington
Date: 2009-02-04 14:10:43 +0000 (Wed, 04 Feb 2009)
Log Message:
-----------
so I don't forget about it
Modified Paths:
--------------
redbutton-browser/trunk/TODO
Modified: redbutton-browser/trunk/TODO
===================================================================
--- redbutton-browser/trunk/TODO 2009-01-22 16:50:57 UTC (rev 515)
+++ redbutton-browser/trunk/TODO 2009-02-04 14:10:43 UTC (rev 516)
@@ -5,7 +5,9 @@
(new versions of ffmpeg have broken our audio output somewhere)
+have a look at pixops scaling/compositing library
+
got this once when changing channels:
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 146 (MIT-SHM)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-01-22 16:51:03
|
Revision: 515
http://redbutton.svn.sourceforge.net/redbutton/?rev=515&view=rev
Author: skilvington
Date: 2009-01-22 16:50:57 +0000 (Thu, 22 Jan 2009)
Log Message:
-----------
ffmpeg includes have moved in newer versions of the libraries
Modified Paths:
--------------
redbutton-browser/trunk/MHEGDisplay.c
redbutton-browser/trunk/MHEGStreamPlayer.h
redbutton-browser/trunk/mpegts.c
redbutton-browser/trunk/utils.h
redbutton-browser/trunk/videoout_xshm.c
redbutton-browser/trunk/videoout_xshm.h
Modified: redbutton-browser/trunk/MHEGDisplay.c
===================================================================
--- redbutton-browser/trunk/MHEGDisplay.c 2009-01-19 09:23:56 UTC (rev 514)
+++ redbutton-browser/trunk/MHEGDisplay.c 2009-01-22 16:50:57 UTC (rev 515)
@@ -13,8 +13,8 @@
#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <X11/keysym.h>
-#include <ffmpeg/avformat.h>
-#include <ffmpeg/swscale.h>
+#include <libavformat/avformat.h>
+#include <libswscale/swscale.h>
#include "MHEGEngine.h"
#include "MHEGDisplay.h"
Modified: redbutton-browser/trunk/MHEGStreamPlayer.h
===================================================================
--- redbutton-browser/trunk/MHEGStreamPlayer.h 2009-01-19 09:23:56 UTC (rev 514)
+++ redbutton-browser/trunk/MHEGStreamPlayer.h 2009-01-22 16:50:57 UTC (rev 515)
@@ -8,8 +8,8 @@
#include <stdint.h>
#include <stdbool.h>
#include <pthread.h>
-#include <ffmpeg/avformat.h>
-#include <ffmpeg/avcodec.h>
+#include <libavformat/avformat.h>
+#include <libavcodec/avcodec.h>
#include "ISO13522-MHEG-5.h"
#include "MHEGBackend.h"
Modified: redbutton-browser/trunk/mpegts.c
===================================================================
--- redbutton-browser/trunk/mpegts.c 2009-01-19 09:23:56 UTC (rev 514)
+++ redbutton-browser/trunk/mpegts.c 2009-01-22 16:50:57 UTC (rev 515)
@@ -30,7 +30,7 @@
#include <stdio.h>
#include <string.h>
#include <stdint.h>
-#include <ffmpeg/avformat.h>
+#include <libavformat/avformat.h>
#include "mpegts.h"
#include "utils.h"
Modified: redbutton-browser/trunk/utils.h
===================================================================
--- redbutton-browser/trunk/utils.h 2009-01-19 09:23:56 UTC (rev 514)
+++ redbutton-browser/trunk/utils.h 2009-01-22 16:50:57 UTC (rev 515)
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <stdarg.h>
-#include <ffmpeg/avformat.h>
+#include <libavformat/avformat.h>
#ifndef MIN
#define MIN(a, b) ((a) < (b) ? (a) : (b))
Modified: redbutton-browser/trunk/videoout_xshm.c
===================================================================
--- redbutton-browser/trunk/videoout_xshm.c 2009-01-19 09:23:56 UTC (rev 514)
+++ redbutton-browser/trunk/videoout_xshm.c 2009-01-22 16:50:57 UTC (rev 515)
@@ -7,7 +7,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/extensions/XShm.h>
-#include <ffmpeg/avformat.h>
+#include <libavformat/avformat.h>
#include "MHEGEngine.h"
#include "MHEGVideoOutput.h"
Modified: redbutton-browser/trunk/videoout_xshm.h
===================================================================
--- redbutton-browser/trunk/videoout_xshm.h 2009-01-19 09:23:56 UTC (rev 514)
+++ redbutton-browser/trunk/videoout_xshm.h 2009-01-22 16:50:57 UTC (rev 515)
@@ -8,8 +8,8 @@
#include <stdint.h>
#include <X11/Xlib.h>
#include <X11/extensions/XShm.h>
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/swscale.h>
+#include <libavcodec/avcodec.h>
+#include <libswscale/swscale.h>
typedef struct
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Simon K. <s.k...@er...> - 2009-01-19 09:57:38
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
thanks for the back trace - that is very useful - and I've fixed the
immediate problem, but it would be interesting to see how it got to
that point - do you still have the MHEG data that caused it? looking at
your command line args it should be under the root/CI directory - if
it's still there could you send me a tar ball of the directory and tell
me where abouts in the app the seg fault happened? alternatively, send
me the output of running rb-browser with the -v option and then trigger
the fault.
thanks for your help.
Olivier FAURAX wrote:
> Hello !
>
> Thanks for your mheg5 compiler and browser.
>
> I tried to use it on a project and rb-browser crashed
> (redbutton-browser/trunk r513).
> I can't provide the files of the project.
> Some files where missing (my bad), some "TODO" appears and here is the
> backtrace of the segfault.
>
> It seems you should test the pointer on name before getting its length.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1224972064 (LWP 30945)]
> MHEGEngine_loadFile (name=0x0, out=0x80d0f98) at MHEGEngine.c:1403
> 1403 if(name->size == 0)
> (gdb) bt full
> #0 MHEGEngine_loadFile (name=0x0, out=0x80d0f98) at MHEGEngine.c:1403
> No locals.
> #1 0x08062ad6 in NewContent_getContent (n=0x80e5750,
> caller_gid=0x80e54d8, obj=0x80d0ea4, out=0x80d0f98) at NewContent.c:43
> rc = <value optimized out>
> content = <value optimized out>
> ref = (ContentReference *) 0x0
> #2 0x08068e88 in TextClass_SetData (t=0x80d0ea4, set=0x80e573c,
> caller_gid=0x80e54d8) at TextClass.c:244
> No locals.
> #3 0x0805dbd3 in ElementaryAction_execute (e=0x80e5738,
> caller_gid=0x80e54d8) at ElementaryAction.c:1207
> ref = <value optimized out>
> obj = (RootClass *) 0x80d0f98
> op = <value optimized out>
> #4 0x0804ca02 in MHEGEngine_processMHEGEvents () at MHEGEngine.c:981
> No locals.
> #5 0x0804ce84 in MHEGEngine_run () at MHEGEngine.c:241
> boot_obj = {size = 10, data = 0x8089d23 "~//startup"}
> app = (ApplicationClass *) 0x80c208c
> scene = (SceneClass *) 0x80cb5f0
> i = <value optimized out>
> found = <value optimized out>
> start = {tv_sec = 1232126455, tv_usec = 450031}
> now = {tv_sec = 1232126455, tv_usec = 450053}
> boot_order = {0x8089d1e "~//a", 0x8089d23 "~//startup", 0x0}
> #6 0x0804b310 in main (argc=Cannot access memory at address 0xffffffff
> ) at rb-browser.c:121
> prog_name = 0xbfc8a0b9 "/home/ofaurax/bin/rb-browser"
> opts = {remote = false, srg_loc = 0xbfc8a0d6 "root/CI", verbose = 0,
> timeout = 30, fullscreen = false, audio_dev = 0x8089878 "default",
> vo_method = 0x0, av_disabled = false, keymap = 0x0}
> arg = <value optimized out>
> last = <value optimized out>
> rc = <value optimized out>
> (gdb)
>
> Please tell me if this type of report is useful.
> Have a nice day.
- --
Simon Kilvington
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkl0RyIACgkQmt9ZifioJSwm3wCdEQxSBhNx3V5sGwhIWXuadomE
40YAnjwDeoHLLSl1L+oav5NTwonsZoFx
=dgAZ
-----END PGP SIGNATURE-----
|
|
From: <ski...@us...> - 2009-01-19 09:24:03
|
Revision: 514
http://redbutton.svn.sourceforge.net/redbutton/?rev=514&view=rev
Author: skilvington
Date: 2009-01-19 09:23:56 +0000 (Mon, 19 Jan 2009)
Log Message:
-----------
fix seg fault reported by Olivier Faurax
Modified Paths:
--------------
redbutton-browser/trunk/MHEGEngine.c
Modified: redbutton-browser/trunk/MHEGEngine.c
===================================================================
--- redbutton-browser/trunk/MHEGEngine.c 2009-01-07 12:05:09 UTC (rev 513)
+++ redbutton-browser/trunk/MHEGEngine.c 2009-01-19 09:23:56 UTC (rev 514)
@@ -1400,7 +1400,7 @@
out->data = NULL;
/* just in case */
- if(name->size == 0)
+ if(name == NULL || name->size == 0)
{
verbose("MHEGEngine_loadFile: no filename given");
return false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Olivier F. <of...@ne...> - 2009-01-16 17:54:18
|
Hello !
Thanks for your mheg5 compiler and browser.
I tried to use it on a project and rb-browser crashed
(redbutton-browser/trunk r513).
I can't provide the files of the project.
Some files where missing (my bad), some "TODO" appears and here is the
backtrace of the segfault.
It seems you should test the pointer on name before getting its length.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224972064 (LWP 30945)]
MHEGEngine_loadFile (name=0x0, out=0x80d0f98) at MHEGEngine.c:1403
1403 if(name->size == 0)
(gdb) bt full
#0 MHEGEngine_loadFile (name=0x0, out=0x80d0f98) at MHEGEngine.c:1403
No locals.
#1 0x08062ad6 in NewContent_getContent (n=0x80e5750,
caller_gid=0x80e54d8, obj=0x80d0ea4, out=0x80d0f98) at NewContent.c:43
rc = <value optimized out>
content = <value optimized out>
ref = (ContentReference *) 0x0
#2 0x08068e88 in TextClass_SetData (t=0x80d0ea4, set=0x80e573c,
caller_gid=0x80e54d8) at TextClass.c:244
No locals.
#3 0x0805dbd3 in ElementaryAction_execute (e=0x80e5738,
caller_gid=0x80e54d8) at ElementaryAction.c:1207
ref = <value optimized out>
obj = (RootClass *) 0x80d0f98
op = <value optimized out>
#4 0x0804ca02 in MHEGEngine_processMHEGEvents () at MHEGEngine.c:981
No locals.
#5 0x0804ce84 in MHEGEngine_run () at MHEGEngine.c:241
boot_obj = {size = 10, data = 0x8089d23 "~//startup"}
app = (ApplicationClass *) 0x80c208c
scene = (SceneClass *) 0x80cb5f0
i = <value optimized out>
found = <value optimized out>
start = {tv_sec = 1232126455, tv_usec = 450031}
now = {tv_sec = 1232126455, tv_usec = 450053}
boot_order = {0x8089d1e "~//a", 0x8089d23 "~//startup", 0x0}
#6 0x0804b310 in main (argc=Cannot access memory at address 0xffffffff
) at rb-browser.c:121
prog_name = 0xbfc8a0b9 "/home/ofaurax/bin/rb-browser"
opts = {remote = false, srg_loc = 0xbfc8a0d6 "root/CI", verbose = 0,
timeout = 30, fullscreen = false, audio_dev = 0x8089878 "default",
vo_method = 0x0, av_disabled = false, keymap = 0x0}
arg = <value optimized out>
last = <value optimized out>
rc = <value optimized out>
(gdb)
Please tell me if this type of report is useful.
Have a nice day.
--
Olivier FAURAX
|
|
From: <ski...@us...> - 2009-01-07 12:09:34
|
Revision: 512
http://redbutton.svn.sourceforge.net/redbutton/?rev=512&view=rev
Author: skilvington
Date: 2009-01-07 12:02:40 +0000 (Wed, 07 Jan 2009)
Log Message:
-----------
detect MPEG4 audio streams (used in NZ)
Modified Paths:
--------------
redbutton-download/trunk/TODO
redbutton-download/trunk/findmheg.c
Modified: redbutton-download/trunk/TODO
===================================================================
--- redbutton-download/trunk/TODO 2008-12-12 09:25:29 UTC (rev 511)
+++ redbutton-download/trunk/TODO 2009-01-07 12:02:40 UTC (rev 512)
@@ -1,3 +1,6 @@
+NZ uses stream ID 0x11 for audio (MPEG4)
+need to check rb-browser plays it correctly
+
need to kill all existing command connections on retune
(listen_data->carousel is stale for them)
Modified: redbutton-download/trunk/findmheg.c
===================================================================
--- redbutton-download/trunk/findmheg.c 2008-12-12 09:25:29 UTC (rev 511)
+++ redbutton-download/trunk/findmheg.c 2009-01-07 12:02:40 UTC (rev 512)
@@ -37,6 +37,7 @@
#define STREAM_TYPE_AUDIO_MPEG1 0x03
#define STREAM_TYPE_AUDIO_MPEG2 0x04
#define STREAM_TYPE_ISO13818_6_B 0x0b
+#define STREAM_TYPE_AUDIO_MPEG4 0x11
/* descriptors we want */
#define TAG_LANGUAGE_DESCRIPTOR 0x0a
@@ -83,6 +84,7 @@
{
case STREAM_TYPE_AUDIO_MPEG1:
case STREAM_TYPE_AUDIO_MPEG2:
+ case STREAM_TYPE_AUDIO_MPEG4:
return true;
default:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2009-01-07 12:09:32
|
Revision: 513
http://redbutton.svn.sourceforge.net/redbutton/?rev=513&view=rev
Author: skilvington
Date: 2009-01-07 12:05:09 +0000 (Wed, 07 Jan 2009)
Log Message:
-----------
O2 got lost somewhere
Modified Paths:
--------------
redbutton-download/trunk/Makefile
Modified: redbutton-download/trunk/Makefile
===================================================================
--- redbutton-download/trunk/Makefile 2009-01-07 12:02:40 UTC (rev 512)
+++ redbutton-download/trunk/Makefile 2009-01-07 12:05:09 UTC (rev 513)
@@ -1,5 +1,5 @@
CC?=gcc
-CFLAGS?=-Wall -O
+CFLAGS?=-Wall -O2
DESTDIR=/usr/local
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2008-12-12 09:25:37
|
Revision: 511
http://redbutton.svn.sourceforge.net/redbutton/?rev=511&view=rev
Author: skilvington
Date: 2008-12-12 09:25:29 +0000 (Fri, 12 Dec 2008)
Log Message:
-----------
fix remaining gcc 4 pointer target sign warnings
Modified Paths:
--------------
redbutton-browser/trunk/xsd2c.c
Modified: redbutton-browser/trunk/xsd2c.c
===================================================================
--- redbutton-browser/trunk/xsd2c.c 2008-12-12 09:24:43 UTC (rev 510)
+++ redbutton-browser/trunk/xsd2c.c 2008-12-12 09:25:29 UTC (rev 511)
@@ -8,7 +8,11 @@
* -c gives the output C source file (default is <ASN1-types>.c)
* -h gives the output header file (default is <ASN1-types>.h)
*
- * Simon Kilvington, 25/8/2006
+ * Simon Kilvington
+ *
+ * 2006-01-09 - initial release
+ * 2006-08-25 - enum ptrs are not int ptrs on some platforms
+ * 2008-12-11 - stop gcc 4 complaining about unsigned int pointer targets
*/
#include <unistd.h>
@@ -1584,6 +1588,15 @@
void
output_decode_subtype(FILE *src, char *name, char *type, char *ptr, char *len, int indent)
{
+ char cast[1024];
+
+ /* stop gcc 4 complaining about unsigned int pointer targets */
+ if(strcmp(type, "Integer") == 0)
+ {
+ snprintf(cast, sizeof(cast), "(int *) %s", ptr);
+ ptr = cast;
+ }
+
print_indent(src, indent);
fprintf(src, "sublen = der_decode_%s(der, %s, %s);\n", type, ptr, len);
print_indent(src, indent);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ski...@us...> - 2008-12-12 09:24:50
|
Revision: 510
http://redbutton.svn.sourceforge.net/redbutton/?rev=510&view=rev
Author: skilvington
Date: 2008-12-12 09:24:43 +0000 (Fri, 12 Dec 2008)
Log Message:
-----------
replace deprecated img_copy
Modified Paths:
--------------
redbutton-browser/trunk/MHEGStreamPlayer.c
Modified: redbutton-browser/trunk/MHEGStreamPlayer.c
===================================================================
--- redbutton-browser/trunk/MHEGStreamPlayer.c 2008-12-09 17:01:58 UTC (rev 509)
+++ redbutton-browser/trunk/MHEGStreamPlayer.c 2008-12-12 09:24:43 UTC (rev 510)
@@ -62,8 +62,7 @@
fatal("Invalid frame_size");
vf->item.frame_data = safe_fast_realloc(vf->item.frame_data, &vf->item.nalloced, frame_size);
avpicture_fill(&vf->item.frame, vf->item.frame_data, pix_fmt, width, height);
-/* TODO: img_copy is deprecated, use swscale instead */
- img_copy(&vf->item.frame, (AVPicture*) frame, pix_fmt, width, height);
+ av_picture_copy(&vf->item.frame, (AVPicture*) frame, pix_fmt, width, height);
return vf;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|