ashish-codeware / xuggle

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

attempting to transcode audio to Ogg Vorbis crashes JVM #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps:
1.  Run Converter.java (included with Xuggler) with the following options:
-vno -acodec libvorbis myFile.* myFile.ogg

where myFile.* is an audio file (this happens for me with FLV/Nellymoser,
FLV/Speex, MP3, WMA, maybe others).  Note the files are not corrupt and can
be played by other media players.

Expected:
new file myFile.ogg with audio stream encoded with Vorbis

Result:
JVM crash.  Note this does not occur when "-acodec libvorbis" is not
specified.  Omitting the option gives a good Ogg/FLAC file.

Using:
Ubuntu 8.04.3 32-bit
Sun Java 6 JRE
Xuggler 3.3

See attached error report.  Possibly related to
http://code.google.com/p/xuggle/issues/detail?id=225.

Original issue reported on code.google.com by david.va...@gmail.com on 13 Nov 2009 at 7:56

Attachments:

GoogleCodeExporter commented 9 years ago
Good repro case, but don't have time to investigate right now.

Original comment by art.cla...@gmail.com on 16 Nov 2009 at 7:03

GoogleCodeExporter commented 9 years ago
Issue 225 has been merged into this issue.

Original comment by art.cla...@gmail.com on 16 Nov 2009 at 7:03

GoogleCodeExporter commented 9 years ago
Fixed in r1084

Original comment by art.cla...@gmail.com on 20 Jun 2011 at 12:32

GoogleCodeExporter commented 9 years ago
Hi!

Is there a workaround from Xuggler? What I mean is, how can I change that audio 
frame buffer from Java?

Thanks very much!

Original comment by juangon@gmail.com on 12 Nov 2011 at 10:16

GoogleCodeExporter commented 9 years ago
About my previous question, does this make sense (as what have been made in 
rev. r1084) ?:

IBuffer iBuffer = IBuffer.make(null,(int)(64 + 
outputIStreamCoder.getAudioFrameSize()*(outputIAudioSample.getSampleSize()+1))*2
);

outputIPacket = IPacket.make(iBuffer);

and then encode it?

Original comment by juangon@gmail.com on 12 Nov 2011 at 11:27