JyotsnaT / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

red5 transcoder should accept on-disk files #208

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
com.xuggler.red5.Transcoder currently only does red5<->red5.  Being able to 
convert file<->red5 
would be very useful.  I had to do it for a project of mine, so I figured I'd 
submit it back.  :)

The attached patch file refactors Transcoder to take ISimpleMediaFile's as 
input and output.  The 
ISimpleMediaFile's could be on-disk files or they can represent red5 streams.  
For red5 streams, 
they're created from the new factories 
Red5StreamingInputHandler#makeRed5Handler and 
Red5StreamingOutputHandler#makeRed5Handler.  See 
AudioTranscoderDemo/VideoTranscoderDemo.

fyi, the patch was made from r915 of trunk/java/xuggle-xuggler-red5.

Original issue reported on code.google.com by paleozogt on 9 Sep 2009 at 11:02

Attachments: