1. Is a videolan wrapper possible in Eu?

Just musing, I recently downloaded a few bits and pieces from videolan:
http://www.videolan.org/vlc/
and started to wonder if it was wrappable for Eu.
General API info at http://wiki.videolan.org/index.php/ExternalAPI
Dependency walker had no problems with libvlc.dll (2.7MB)
Apparently there are Java, Ruby, and .NET wrappers for it, possibly more.
Cross platform, open source, all the stuff we like, bar w9x support.

Probably beyond me, in what little time I have left on this planet (ie only a
decade or two), but maybe it could be a significant step forward for Eu?

Regards,
Pete
PS I must admit I really hope Matt Lewis will review it and comment, even if
without any interest in actually doing anything blink)

new topic     » topic index » view message » categorize

2. Re: Is a videolan wrapper possible in Eu?

Pete Lomax wrote:
> 
> Just musing, I recently downloaded a few bits and pieces from videolan:
> <a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a>
> and started to wonder if it was wrappable for Eu.
> General API info at <a
> href="http://wiki.videolan.org/index.php/ExternalAPI">http://wiki.videolan.org/index.php/ExternalAPI</a>
> Dependency walker had no problems with libvlc.dll (2.7MB)
> Apparently there are Java, Ruby, and .NET wrappers for it, possibly more.
> Cross platform, open source, all the stuff we like, bar w9x support.
> 
> Probably beyond me, in what little time I have left on this planet (ie only
> a decade or two), but maybe it could be a significant step forward for Eu?
> 
> Regards,
> Pete
> PS I must admit I really hope Matt Lewis will review it and comment, even if
> without any interest in actually doing anything blink)

I can't see why it couldn't be done.  It looks like a straight C interface,
so everything should be able to be reasonably done in all Euphoria.  And,
no, I can't say that I have much interest in actually doing anything with
this. :)


Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Is a videolan wrapper possible in Eu?

Pete Lomax wrote:
> 
> Just musing, I recently downloaded a few bits and pieces from videolan:
> <a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a>
> and started to wonder if it was wrappable for Eu.
> General API info at <a
> href="http://wiki.videolan.org/index.php/ExternalAPI">http://wiki.videolan.org/index.php/ExternalAPI</a>
> Dependency walker had no problems with libvlc.dll (2.7MB)
> Apparently there are Java, Ruby, and .NET wrappers for it, possibly more.
> Cross platform, open source, all the stuff we like, bar w9x support.
> 
> Probably beyond me, in what little time I have left on this planet (ie only
> a decade or two), but maybe it could be a significant step forward for Eu?
> 
> Regards,
> Pete
> PS I must admit I really hope Matt Lewis will review it and comment, even if
> without any interest in actually doing anything blink)

Hello Pete,

I downloaded this file and it looks very promising.

Having little or no C experiance I don't know how to wrap it. I would like to
see it done though. Cound this find errors and repair broken vids? Join and split
vids?


Don Cole

new topic     » goto parent     » topic index » view message » categorize

4. Re: Is a videolan wrapper possible in Eu?

don cole wrote:
> Hello Pete,
> 
> I downloaded this file and it looks very promising.
> 
> Having little or no C experiance I don't know how to wrap it.
> I would like to see it done though.
Well I know you've used GdiPlus_Win98,XP.ew and if you look at that there is
nothing very complicated - after the first 240 lines it is just 600 function
wraps all very similar to each other. That wikipedia article lists only 80 for
libvlc.dll, so in theory it ought to be possible to write something similar but
1/7th the size. [see PS] The tricky part is figuring out the order to call things
in. Maybe googling on one of those 80 entry points will turn up something?

> Cound this find errors and repair broken vids?
The weapon of choice there is par2, with HJsplit a close second.
> Join and split vids?
Probably, but I cannot say for certain.

Regards,
Pete

PS Note that dependency walker lists 609 functions in gdiplus.dll, agreeing with
the 600 wraps. For libvlc.dll it lists no less that 3917 (gulp!) so it may
actually end up being 6* bigger, though presumaby most of those are internal and
should not be wrapped anyway.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Is a videolan wrapper possible in Eu?

Pete Lomax wrote:
> 
> don cole wrote:
> > Hello Pete,
> > 
> > I downloaded this file and it looks very promising.
> > 
> > Having little or no C experiance I don't know how to wrap it.
> > I would like to see it done though.
> Well I know you've used GdiPlus_Win98,XP.ew 

This is the wrapper?

>and if you look at that there is
> nothing very complicated 

Hum...

- after the first 240 lines it is just 600 function
> wraps all very similar to each other. That wikipedia article lists only 80 for
> libvlc.dll, so in theory it ought to be possible to write something similar
> but 1/7th the size. [see PS] The tricky part is figuring out the order to call
> things in. Maybe googling on one of those 80 entry points will turn up
> something?
> 
> > Cound this find errors and repair broken vids?
> The weapon of choice there is par2, 

  This works only if the sender doesen't mess up.

If the sender sends you a movie that is working perfectly along with it's
  par2. And it comes to you messed up you can run par2 and it will correct it.
However if the sender starts with a messsed up movie. Running par2 will not
correct it.

> with HJsplit a close second.

HJsplit joins corrected files ending in .001 etc.

mymov.wmv.001
mymov.wmv.002
mymov.wmv.003

However HJsplit will not correct any thing.

> > Join and split vids?
> Probably, but I cannot say for certain.
> 
> Regards,
> Pete
> 
> PS Note that dependency walker lists 609 functions in gdiplus.dll, agreeing
> with the 600 wraps. For libvlc.dll it lists no less that 3917 (gulp!) so it
> may actually end up being 6* bigger, though presumaby most of those are
> internal
> and should not be wrapped anyway.


Don Cole

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu