UK Digital Interactive - Red Button (MHEGPlugin) (1 Viewer)

PMKnecht

New Member
July 21, 2007
2
0
Hey, nice job. I would say the easiest way is to embed everything into the dll. Which means ts packets->dll.
If you run a thread inside which buffers the data could avoid time critical glitches etc.

I tested the application and it used 100% of my cpu. It seems to be that there is a thread running without a sleep. I'm not sure if it is caused by the application or the library, but i would be happy to find that out :) Can you please compile the dll as com object compatible? I never tried c# 2005 before (right now i'm downloading it), but i'm quite familiar with com handling in c++ and delphi. It would simplify the work extremely. My first shot is the public void OnApplicationIdle(object sender, EventArgs e), but well i would love to check that out :)

Peter
 

PMKnecht

New Member
July 21, 2007
2
0
C# seems to be way cooler than i thought :)

Can you please add something like:

using System.Runtime.InteropServices;
...

namespace MHEG
{
public interface ICreateFactory
{
IMHEG CreateEngine(IMHContext context);
}

[ClassInterface(ClassInterfaceType.None)]
public class MHEGEngineFactory : ICreateFactory
{
public IMHEG CreateEngine(IMHContext context)
{
return new MHEngine(context);
}
}
}

in your application? It tooked a while to understand how this works :)

Maybe just a suggestion: The graphics class are not available on other languages. Could you either use an interface which requires all canvas actions (PutPixel, DrawLine etc.) instead? If not a simple render all in a HBITMAP would also work.
 

Beechus

Portal Pro
January 29, 2008
73
2
Middlands
Home Country
England England
Hey,

This is exactly what i've been searching for. Has there been any developments? Red button services would be totally brilliant

Thanks
Beechus
 

ovld_nz

Portal Member
July 28, 2008
5
0
Home Country
New Zealand New Zealand
How's this plugin going? In NZ we are using MHEG as well and this plugin would be quite handy. I can code a little and would be interested in helping if it's still active.
 

bfj

Portal Pro
January 3, 2007
50
3
Home Country
United Kingdom United Kingdom
As there hasn't been any activity from McGoober since February I'm assuming this project is dead which is a huge shame. :(
 

funkstar

Retired Team Member
  • Premium Supporter
  • August 9, 2005
    771
    28
    Home
    Home Country
    Scotland Scotland
    For this to really work, I think MP2 would be required anyway as extensive changes MPs display code would likely be needed. Not something that is going to happen for MP1.

    As MP2 is still up in the air as far as code developers can build on is concerned, so i'm guessing it's going to be a while before we see anything functional, even if developers were looking at it.
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Hate to say this, but the lack of activity here and on the google code website both last updated february 2008, lead me to assume this is now a dead project.

    Would be pleasantly surprised if it were not, but do not hold your breath.

    :( :( :(
     

    Users who are viewing this thread

    Top Bottom