Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#287318 - 30/09/2006 00:38 The empeg source code...
TigerJimmy
old hand

Registered: 15/02/2002
Posts: 1049
Hi everyone,

Before I left to become a gambler, I was in the business side of the software industry. I have quite a bit of experience negotiating contracts related to software use, source-code escrow, reseller and OEM agreements, etc. I've been giving the empeg source code situation a lot of thought recently.

It seems to me that the empeg software may be considered (but some) old enough to not contain significant trade secrets at this point (this is no way a disparagement, just a comment about how business-folks may see it). I can imagine some business reasons that could be used to justify making the source accessible, with certain limitations, to the empeg enthusiast community, possibly as a non-profit donation, or some other approach.

I am very comfortable approaching the executives of the corporations controlling the IP rights to the source and having a business conversation with them about the idea of this. Before doing so, I would want to understand the ownership and licensing situation in some detail. My understanding is that the empeg software used libraries from at least one third-party company with whom the current owners of the empeg source do not have a license agreement. In principle, that doesn't really represent an impossible problem, it would "just" mean that a separate agreement would need to be made with the third parties.

An attorney friend of mine (also an empeg enthusiast) could assist me with creating a non-profit organization that could act as the legally responsible entity for the licensing agreements. That organization should consist of a board ideally composed of those that would control and monitor access to the source.

My questions for those on this BBS:

1. Assuming such an agreement could be reached, is this desireable? I believe there are several very talented software engineers in this community who could do real magic if they got their hands on the empeg source. What I don't know is if they'd want to... I am certain that access would mean that the IP could be used exclusively for enhancing functionality of the empeg and not for developing anything of one's own.

2. What is the ownership status of the IP, and what third parties are invovled?

I know from personal experience that things like this are possible. I've been on both sides of similar negotiations. They can be a bit complex, but they are possible. I am willing to volunteer my time and experience to setting up an organization and then representing it to obtain access to the code.

The key is to approach the problem from a business point of view rather than get bogged down in technical details. The starting point is the position that the software is technically obsolete, so why not make it available on a semi-restricted basis to enthusiasts, or even an open-source basis (like I said, this is the starting point)? Especially if one could take a tax deduction for donating this access? I don't particularly want to argue the technical points of whether this is true, and I'd prefer that this thread not go in that direction.

That said, it *is* important to understand exactly what would be required from a technical point of view to make the result usable by the community. Exactly what access is required, from whom, and to what degree? In other words, what would an empeg community development enviroment look like, and who holds the keys to making it come true?

The rest is just finding out if they are willing. That's not simple, but it's the part I'm good at...

FWIW,

Jim

Top
#287319 - 30/09/2006 06:07 Re: The empeg source code... [Re: TigerJimmy]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
...and we don't need to "open source it", but rather to have an organization gain access to it, and to extend that access to a few community developers via NDAs if necessary.

Just whatever it takes to get a few hands onto fixing up the v3 release, and perhaps adding the odd UI tweak or two.

Cheers

Top
#287320 - 30/09/2006 08:15 Re: The empeg source code... [Re: mlord]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
How would you get round the fact that the licence for the mp3 decoder has disappeared, would you try and plug something like MAD in its place?

I'm resigned to the fact that the v3 alpha currently running on my player is probably the last update I'll ever see.
_________________________
Cheers,

Andy M

Top
#287321 - 30/09/2006 09:39 Re: The empeg source code... [Re: andym]
Cris
pooh-bah

Registered: 06/02/2002
Posts: 1904
Loc: Leeds, UK
Quote:
How would you get round the fact that the licence for the mp3 decoder has disappeared


I thought the licence was paid for each player, so if one has already been paid for you wouldn't need to pay for another. There is no way new empeg's are going to be made and all currently out there have been licenced, so it shouldn't be a problem?

I think the NDA idea is a good one, I don't see why it needs to be open source as there will only be a handful of people who need to see it.

Cheers

Cris.

Top
#287322 - 30/09/2006 10:41 Re: The empeg source code... [Re: Cris]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Upgrades could take the form of a "patch" that includes all player software except the decoder... so anyone wanting 3.0 Community Release would need to first have a 3.0 alpha or 2.00 release and then patch it to get an mp3 decoder... ?

Great thread btw, I hope this goes somewhere.
_________________________
Brad B.

Top
#287323 - 30/09/2006 12:35 Re: The empeg source code... [Re: SE_Sport_Driver]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I'm pretty sure that the player application is monolithic, instead of linking to a separate decoder library, which makes that sort of patch virtually impossible. However, as long as the only publicly available version was a compiled monolithic application, I don't see how the original licenser could have a viable complaint, depending on the terms of the license.
_________________________
Bitt Faulk

Top
#287324 - 30/09/2006 15:27 Re: The empeg source code... [Re: mlord]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
This has been covered before; the code is still very much in use and not obsolete - yes, the branch used to build the empeg is now orphaned - and the branch point is quite a while ago - but there is much commonality with the code that Sigmatel are now licensing to people buying their chips (ie, if you took the empeg v3 code, you'd find not insignificant parts unchanged in the current codebase, such was the excellence of the sw done in the early days). I'm not saying it could never happen, but as has been noted in the past, the empeg codebase is not abandonware - it's still in very active development (just not for the old platform) - which complicates the business case for letting people licence an old branch of it.

It's sort-of akin to asking Microsoft "seeing as NT3.51 is obsolete now, can we have the source?" - WinXP is a current product and is based on the same code, so there are plenty of commercial issues.

IMO the best option is just to start from scratch and GPL or BSD license it, which then means anyone can work on it, no agreements necessary, and it could also be used on other platforms. Sort of like the Rockbox software except ideally more elegant and modular. One thing that makes this much easier is that the empeg-car is wildly overpowered, so you can do things more elegantly/expansively than you might have to do if you were working on a portable device.

Just my 2c, and obviously I'm even less involved now than I was earlier this year

Hugo

Top
#287325 - 30/09/2006 16:19 Re: The empeg source code... [Re: altman]
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
Quote:
just to start from scratch

Then, wouldn't we need access to all the information about the hardware so we knew how to code for it? Or do all the components that we need already have public usage documents, and we don't have to worry about Patrick's proprietary bits? Surely the hardware would be "abandonware".
_________________________
-
FireFox31
110gig MKIIa (30+80), Eutronix lights, 32 meg stacked RAM, Filener orange gel lens, Greenlights Lit Buttons green set

Top
#287326 - 30/09/2006 17:01 Re: The empeg source code... [Re: FireFox31]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Quote:
It's sort-of akin to asking Microsoft "seeing as NT3.51 is obsolete now, can we have the source?"...


Did Hugo just compare the empeg player software to Microsoft Windows NT 3.51??? Um... I think I am going to be ill. Is this yet another sign of The Apocalypse?
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#287327 - 30/09/2006 17:18 Re: The empeg source code... [Re: FireFox31]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Quote:
Quote:
just to start from scratch

Then, wouldn't we need access to all the information about the hardware so we knew how to code for it?


The bulk of the information needed is already in the kernel. About the only stumbling block that I can see is the programming interface to the DSP (for parametric EQ), which is just a bunch of magic numbers.
_________________________
-- roger

Top
#287328 - 30/09/2006 19:03 Re: The empeg source code... [Re: Roger]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
What about the tuner ?
_________________________
Remind me to change my signature to something more interesting someday

Top
#287329 - 30/09/2006 19:04 Re: The empeg source code... [Re: altman]
TigerJimmy
old hand

Registered: 15/02/2002
Posts: 1049
Hugo, I don't disagree with any of this. I still think there is a possible business case to be made to let a small non-profit group under NDA support their player.

I think its worth a try, we have absolutely nothing to lose by asking...

Is sigmatel the only party that needs to be involved? What about the decoder software? What about the visuals software?

Best,

Jim

Top
#287330 - 30/09/2006 19:06 Re: The empeg source code... [Re: mlord]
TigerJimmy
old hand

Registered: 15/02/2002
Posts: 1049
Yes. Since Hugo points out it is not considered abandonware, part of the business case could be that this effort could be the property of the current owners. The owners have nothing to lose, and possibly something to gain!

Jim

Top
#287331 - 30/09/2006 19:23 Re: The empeg source code... [Re: andy]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Quote:
What about the tuner ?


That's on a serial port, surely you could sniff that, and there's bits of RDS stuff in the kernel.

I don't see what Sigamtel would gain as I'd imagine most've the new work done would be empeg specific and any existing bugs that affect common code have probably already been fixed. So all they're doing is letting total strangers who aren't even contractors to the company have a peek at the crown jewels.

Don't want to sound pessimistic here guys, but I think you're flogging a dead horse.
_________________________
Cheers,

Andy M

Top
#287332 - 30/09/2006 21:10 Re: The empeg source code... [Re: andym]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Quote:
So all they're doing is letting total strangers who aren't even contractors to the company have a peek at the crown jewels.

OTOH, It seems like they bought empeg just to let let anyone who buys sigmatel chips use the code, so in some way they must have some system in place for licensing out the code.

As to rolling our own, I'm not sure how much serious thought has been given to it. Every time it comes up, people mention how many man-years have been put into the code base, and how impossible that would be to match. What they don't generally take into account is that empeg wasn't open source, and therefore couldn't reuse open source software. Things that are available to us are decoder libraries, the kernel, vfd lib, emphatic, mp3tofid and jemplode to name just a few. It certainly wouldn't be easy, but it certainly wouldn't be nearly as hard as doing it the first time as a closed source application.

I personally vote we have Dan Wallach part it out to various undergrads the next time he teaches a intermediate level programming course.

Matthew

Top
#287333 - 01/10/2006 10:03 Re: The empeg source code... [Re: matthew_k]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
Quote:
As to rolling our own, I'm not sure how much serious thought has been given to it. Every time it comes up, people mention how many man-years have been put into the code base, and how impossible that would be to match.

I now have a pretty good idea how much work it would be to get to a similar level of functionality - about four man years, without tuner functionality but with some other things not in empeg. Luckily codecs are no longer an issue thanks (surprisingly enough) to Real Networks and their open Helix platform. In fact if I were starting an open source player project for the empeg I'd consider starting with Helix DNA Client as the base line.

Rob

Top
#287334 - 01/10/2006 10:24 Re: The empeg source code... [Re: TigerJimmy]
JonnyGee
journeyman

Registered: 30/01/2002
Posts: 56
Loc: Cambridge, UK
Quote:
Is sigmatel the only party that needs to be involved? What about the decoder software?


Decoders tend to be licensed from the patent holder in source or library form so alternatives may need to be found for some formats (not the bsd-licensed ones of course ).

The audio playback code is designed to accomodate third party decoders so adding alternative ones should be straightforward (as long as they work )

Quote:
What about the visuals software?


That's all part of the codebase, so if you licensed it you would get them.

Cheers, John

Top
#287335 - 01/10/2006 17:58 Re: The empeg source code... [Re: TigerJimmy]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
MPD would be a nice base for an open source car player. It's client-server based; the server part does a lot of the goodies we like, like gapless playmode and crossfading. The server could almost be used as-is, only a new client would be needed.

The nice thing is that MPD can talk to several clients simultaneously. So you could have one client doing the regular UI, one do the remote control handling, one handling the stalk controller, and others that will handle your custom control methods.

Pim

Top
#287336 - 01/10/2006 18:14 Re: The empeg source code... [Re: pim]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Oh, and while we're at it, we could try to make an open source car player that also runs on generic car PC hardware, like one of these babies.

Pim

Top
#287337 - 03/10/2006 16:12 Re: The empeg source code... [Re: FireFox31]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Apart from the parametric EQ stuff, all the docs are available - someone even managed to get the 7705 programmers manual as a softcopy, which is something that empeg never managed to prise out of Philips. I could well believe that official sanction to get the parametric eq programming code wouldn't be a lot of hassle.

Leaning heavily on open source stuff would make things progress faster; using some existing client/server code (and just running both on there) would be pretty nice too. This way you'd also decouple the part which needs to keep the disks spun down from the whole UI section which might be useful for debugging too. Looking at how far people got with new code for the Rio Receiver, which was a far, far more resource-limited platform, in a relatively short time, it doesn't seem to be an unattainable goal to get something going which could be built on.

Hugo

Top
#287338 - 05/10/2006 09:27 Re: The empeg source code... [Re: altman]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Quote:
Apart from the parametric EQ stuff, all the docs are available - someone even managed to get the 7705 programmers manual as a softcopy, which is something that empeg never managed to prise out of Philips. I could well believe that official sanction to get the parametric eq programming code wouldn't be a lot of hassle.

For the record, I have the DSP programming and hardware manuals in .pdf format here.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#287339 - 06/10/2006 08:06 Re: The empeg source code... [Re: Shonky]
pca
old hand

Registered: 20/07/1999
Posts: 1102
Loc: UK
I have quite a lot of documentation on the hardware...

pca
_________________________
Experience is what you get just after it would have helped...

Top