[Red5devs] Request for help
Art Clarke
aclarke at xuggle.com
Sun Feb 15 19:43:38 PST 2009
That's what I'm suggesting; I'll put the audiotranscoder and videotranscoder
demos that ship with Xuggle's Red5 adapter into our demo app installer (as
WAR files), and then folks can install them IF they've also installed
Xuggle.
The reason to add xuggle-xuggler.jar to $RED5_HOME/lib is so that folks
DON'T have to copy it themselves. So far, this step has confounded a bunch
of users on the xuggler-users group; they expect:
1) install xuggler
2) install red5
to just work. Just "documenting" the approach hasn't been working -- it's
documented on our web-page but people constantly miss or skip the step.
So, if I put the audiotranscoder and videotranscoder demos into the Red5
installers folks can easily see it working if they've got xuggle installed
(and the apps won't be in the red5 trunk, so won't break anyone who hasn't
installed xuggler).
- Art
On Sun, Feb 15, 2009 at 7:30 PM, Steven Gong <steven.gong at gmail.com> wrote:
> Hi Art,
> Is it possible to use a demo app with Xuggler lib in it to demonstrate Red5
> works with Xuggler? Maybe we can use an extra doc on confluence to show the
> users how to use Xuggler for all apps in Red5 (copy Xuggler lib to
> $RED5_HOME/lib for example).
>
> On Mon, Feb 16, 2009 at 11:16 AM, Art Clarke <aclarke at xuggle.com> wrote:
>
>> in case you'd like a head start on that batch processor:
>>
>> java -jar $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar -acodec
>> libmp3lame input.flac output.mp3
>>
>> will do it :) See com.xuggle.xuggler.Converter.java for the source.
>>
>> - Art
>>
>>
>> On Sun, Feb 15, 2009 at 7:07 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>
>>> Yes add some demo apps I guess ? If its not done yet I am still
>>> considering a conversion service interfacing with an AIR app :) One that I
>>> can create image thumbnails as well etc ;) But primarily to start with a
>>> batch processor for flac / wav audio to mp3.
>>>
>>>
>>>
>>> On 16/02/2009, at 1:57 PM, Mondain wrote:
>>>
>>> I would just say +1 simply because of the contributions that Art has made
>>> to Red5 but... I would like to see something in Red5 use Xuggler before it
>>> gets added to the ivy file. I see that as the main criteria for a library
>>> being added. Something as simple as on-the-fly conversion to MP3 or Speex?
>>>
>>> Paul
>>>
>>> On Sun, Feb 15, 2009 at 6:08 PM, Art Clarke <aclarke at xuggle.com> wrote:
>>>
>>>> 160k.
>>>>
>>>> - Art
>>>>
>>>>
>>>> On Sun, Feb 15, 2009 at 5:58 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>>
>>>>> +1 In Favor
>>>>> I guess this has to come from others though, how big is the jar ?
>>>>>
>>>>> On 16/02/2009, at 12:39 PM, Art Clarke wrote:
>>>>>
>>>>> "+1 I object" or "+1 I'm in favor"?
>>>>>
>>>>> - Art
>>>>>
>>>>> On Sun, Feb 15, 2009 at 5:31 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>>>
>>>>>> +1 but that's my opinion ;)
>>>>>> On 16/02/2009, at 7:06 AM, Art Clarke wrote:
>>>>>>
>>>>>> Any objections if I add xuggle-xuggler.jar to the IVY dependencies
>>>>>> on Red5?
>>>>>>
>>>>>> Why?
>>>>>>
>>>>>> Because xuggle-xuggler.jar must live in $RED5_HOME/lib and be loaded
>>>>>> by Bootstrap in order for you to have more than one application that uses
>>>>>> Xuggler installed on your Red5 server. This is because of how the Java
>>>>>> Classloader interacts with the Java Shared Library loader (the Shared
>>>>>> Library loader only allows one copy of a DLL/SO per java process, but if an
>>>>>> Application Classloader loads that DLL, then no other application can use
>>>>>> the Java classes implemented in that DLL). The workaround of installing
>>>>>> into $RED5_HOME/lib is the same thing that people who make Java files with
>>>>>> JNI components are told to do for Tomcat:
>>>>>>
>>>>>> http://wiki.apache.org/tomcat/HowTo#head-a4b7185ee95d0cf14a48f92c08d1eb66b561139d
>>>>>>
>>>>>> Adding the Jar will not break any existing applications.
>>>>>> xuggle-xuggler.jar is the java-only (i.e. no native components) portion of
>>>>>> Xuggler. Users would still have to install the native components on their
>>>>>> machine if they want to use it. And, like the groovy and jruby jars already
>>>>>> installed, it would only be used if someone writes code accessing objects in
>>>>>> the com.xuggle packages.
>>>>>>
>>>>>> Having it ship with Red5 would make it MUCH easier for someone who had
>>>>>> installed Xuggler to have it work with Red5. Today when we install Xuggler
>>>>>> we have no way of knowing if the user has Red5 installed, and if so where.
>>>>>> We have to have our users manually copy this jar over themselves. This
>>>>>> would remove our need to try to copy this jar into the Red5 lib directory.
>>>>>>
>>>>>> Thoughts? If no response by Tuesday, I'll take that as a yes.
>>>>>>
>>>>>> - Art
>>>>>>
>>>>>> --
>>>>>> 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.
>>>>>> _______________________________________________
>>>>>> Red5devs mailing list
>>>>>> Red5devs at osflash.org
>>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Red5devs mailing list
>>>>>> Red5devs at osflash.org
>>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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.
>>>>> _______________________________________________
>>>>> Red5devs mailing list
>>>>> Red5devs at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Red5devs mailing list
>>>>> Red5devs at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> 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.
>>>>
>>>> _______________________________________________
>>>> Red5devs mailing list
>>>> Red5devs at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>
>>>>
>>>
>>>
>>> --
>>> http://gregoire.org/
>>> http://osflash.org/red5
>>> _______________________________________________
>>> Red5devs mailing list
>>> Red5devs at osflash.org
>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>
>>>
>>>
>>> _______________________________________________
>>> Red5devs mailing list
>>> Red5devs at osflash.org
>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>
>>>
>>
>>
>> --
>> 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.
>>
>> _______________________________________________
>> Red5devs mailing list
>> Red5devs at osflash.org
>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>
>>
>
>
> --
> Best Regards
> Steven Gong
>
> InfraRed5 Red5 Consultant: http://www.infrared5.com, steven at infrared5.com
>
> Red5 Developer: http://osflash.org/red5,
> http://jira.red5.org/confluence/display/~steven/Home<http://jira.red5.org/confluence/display/%7Esteven/Home>
>
> Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
>
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
>
--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5devs_osflash.org/attachments/20090215/51439be8/attachment-0001.html>
More information about the Red5devs
mailing list