JyotsnaT / xuggle

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

AAC encoder #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I`m working on transcoding streams from Red5 to H264, and the MP4Reader
class need a "audio" and a "video" streams on the file.

As the FAQ says, we need to encode audio with AAC to flash understand the
stream.

Link for FAQ:
http://jira.red5.org/confluence/display/codecs/h264+FAQ

Thanks SO Much,
Long life for Xuggle ;)

Original issue reported on code.google.com by tiago.jacobs on 20 Mar 2009 at 9:38

GoogleCodeExporter commented 9 years ago
Hi Tiago,

Can you try encoding with mp3... I think the h264 container should still support
that.  I'll add aac to the queue, but it may be a while.

- Art

Original comment by art.cla...@gmail.com on 20 Mar 2009 at 9:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Art, thanks for response, I tryed to use mp3, see the error:

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 
(1000/1)
-> 48.75 (195/4)

Do you think that it's not related with mp3 codec, but with any other option?

With -an (no audio) it works.

Original comment by tiago.jacobs on 20 Mar 2009 at 9:56

GoogleCodeExporter commented 9 years ago
Forget, it´s working, I was reading inexistant file.

With -acodec libmp3lame -ar 44100 -ab 96k, worked, I'll try the file in red5-0.9
alpha now.

Thanks

Original comment by tiago.jacobs on 20 Mar 2009 at 10:04

GoogleCodeExporter commented 9 years ago
Thanks; keep me posted.  Accepting feature request (but no estimated version 
it'll
ship in).

according to ffmpeg-developers, libfaac is the current best way to go.

Original comment by art.cla...@gmail.com on 20 Mar 2009 at 10:11

GoogleCodeExporter commented 9 years ago
Didn´t work, I'll build ffmpeg with the codec to test, and wait for the patch 
on
xuggle to proceed, many thanks!

Original comment by tiago.jacobs on 20 Mar 2009 at 10:11

GoogleCodeExporter commented 9 years ago
Um, done as of r247 and will be in 1.23.

For Linux and Mac, build from tip of tree.  For a pre-release version for 
Windows,
take the latest Windows auto build:
http://build.xuggle.com/job/xuggle_java_xuggler_jdk5_i386_winxp/

Original comment by art.cla...@gmail.com on 21 Mar 2009 at 10:08