[Yanel-dev] Re: InputStream instead File as argument

Michael Wechner michael.wechner at wyona.com
Thu May 7 16:01:16 CEST 2009


Art Clarke schrieb:
> Take a look at the com.xuggle.xuggler.io 
> <http://com.xuggle.xuggler.io> package, and implement your own 
> "protocol" called something like "javaio:".  Then use InputStream and 
> OutputStream behind the scenes.
>
> See the docs of that package, and  example FileProtocolHandler that 
> ships in that package for an example of how to do this.

thanks very much for these pointers
>
> Lastly, once you do this, you'll get super bonus points if you release 
> is open-source, and if you release it as LGPL and provide unit tests, 
> I'll even consider adding it by default to Xuggler.

thanks :-)

Cheers

Michael
>
> - Art
>
> On Thu, May 7, 2009 at 6:47 AM, Michael Wechner 
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     Dear Art and Robert
>
>     We would like to use Xuggle within the Yanel project
>     (http://www.yanel.org), but since Yanel is based on a repository
>     API (such as for example JCR) we don't have access to Files (or
>     URLs), but rather to Nodes which return an InputStream for reading
>     and provide an OutputStream for writing.
>
>     Any pointers how we can best use InputStream as an input would be
>     very much appreciated.
>
>     Thanks and all the best
>
>     Michael
>
>
>
>
> -- 
> http://www.xuggle.com/
> xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and 
> video.
>
> Use Xuggle to get the power of FFMPEG in Java.



More information about the Yanel-development mailing list