[Red5] java call ffmpeg
Dan Rossi
spam at electroteque.org
Thu Mar 6 18:55:25 PST 2008
Maybe you can pipe the output from ffmpeg to other program directly
rather than output to a wav file. You might have better luck with mp3,
please do a search about transcoding nellymoser I think.
On 07/03/2008, at 1:47 PM, laurent wrote:
>
> I will try your solution asap.
> I need to encode an audio recorded stream from webcam to wav because
> the
> other part of the application need a wav input to do some analysis.
> They
> use wav !
>
>
>
>
> Dan Rossi a écrit :
>> No it can be done directly in your webapp using the example code I
>> just gave you. So you call that on the recordstop or publishstop
>> stream events in the webapp.
>>
>> The php looks like a very basic raw function non OO method example of
>> encoding uploaded mp3 files to flv or the other way round not sure. I
>> think you need some other method also from decoding recorded flv
>> which
>> uses nellymoser back to another format, unless they were encoded with
>> mp3 audio I guess. And I don't see much point transcoding back to wav
>> seeing its a lossless format, unless you wanted the AAC soundtrack of
>> an mpeg4 clip to wav of course.
>>
>> On 07/03/2008, at 1:05 PM, laurent wrote:
>>
>>>
>>> That mean I will have to use a php solution to encode the flv to à
>>> mp3 file.
>>>
>>> If by professional you mean involving money, I won't be able to
>>> contact
>>> your super amazing team....it's quite some names you have
>>> there...I bet
>>> you can build it! :)
>>>
>>> ...I'm looking for free information to make it work. I guess if
>>> php can
>>> do it java should too.
>>>
>>> But I'm interested by your applications using ffmpeg, I have not
>>> seen
>>> anything about it on infrared5.com. Do you have online ... stuff
>>> about it ?
>>>
>>> Thank you
>>> Laurent
>>>
>>> Dominick Accattato a écrit :
>>>> http://red5server.com/forum/posts/list/19.page
>>>>
>>>> please see the example by Adam Proctor "FFMpeg with Red5"
>>>>
>>>> Additionally, our group Infrared5 has built applications using
>>>> FFMpeg
>>>> so if you are in need of professional services, feel free to
>>>> contact
>>>> our group (www.infrared5.com <http://www.infrared5.com>)
>>>>
>>>>
>>>> On Mar 6, 2008, at 7:10 PM, Prabhu Tamilarasan (omNovia) wrote:
>>>>
>>>>> If its a dll or shared library you can load it into the Java app
>>>>> using System.loadLibrary and then use JNI to call into it's
>>>>> functions.
>>>>>
>>>>> Dan Rossi wrote:
>>>>>> Ive setup something before to call an externa. C# script which
>>>>>> interfaces with the ffmpeg library to grab screenshots of
>>>>>> recorded
>>>>>> files when publishing is finished. Use
>>>>>>
>>>>>> Runtime rt = Runtime.getRuntime();
>>>>>> Process proc = rt.exec("ffmpeg");
>>>>>>
>>>>>> or something like that
>>>>>>
>>>>>> On 07/03/2008, at 10:28 AM, laurent wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Is there a way to call ffmpeg library, installed on the same
>>>>>>> server as
>>>>>>> red5, using my own java application ?
>>>>>>> The goal is to encode flv audio to wav
>>>>>>>
>>>>>>> thanks
>>>>>>> Laurent
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Red5 mailing list
>>>>>>> Red5 at osflash.org <mailto:Red5 at osflash.org> <mailto:Red5 at osflash.org
>>>>>>> >
>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> _______________________________________________
>>>>>> Red5 mailing list
>>>>>> Red5 at osflash.org <mailto:Red5 at osflash.org>
>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>
>>>>>
>>>>> --
>>>>> ------------------------------------------------------------------------
>>>>> <mailicon.gif>
>>>>> next generation web conferencing
>>>>> Prabhu Tamilarasan
>>>>> Senior Software Engineer 675 Bering Drive, Suite 290
>>>>> Houston, TX 77057 USA
>>>>> www.omnovia.com <http://www.omnovia.com>
>>>>> ptamilarasan at omnovia.com <mailto:ptamilarasan at omnovia.com> T
>>>>> +1.281.500.4065 x 731
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Red5 mailing list
>>>>> Red5 at osflash.org <mailto:Red5 at osflash.org>
>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org <mailto:Red5 at osflash.org>
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org <mailto:Red5 at osflash.org>
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080307/23bf236b/attachment-0001.html
More information about the Red5
mailing list