mittal9878 / xuggle

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

Audio breaks down while playing OGV videos #193

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open any OGV video file using DecodeAndPlayAudioAndVideo class

What is the expected output? 
Play audio and video without any brek or jump

What do you see instead?
Audio is breaking in between

What operating system and JVM version are you using.
Vista . JDK 1.5

Attach relevant log/output files.

Original issue reported on code.google.com by abhilash...@gmail.com on 8 Aug 2009 at 11:06

GoogleCodeExporter commented 8 years ago
Please upload a sample file showing the problem to a web-server and paste a 
link in
this bug.  I'll re-open the issue then (turns out I don't have a sample of 
every type
of video file out there).

Original comment by art.cla...@gmail.com on 8 Aug 2009 at 6:20

GoogleCodeExporter commented 8 years ago
The sample file is available at http://sabia.in/xuggle/DanBlackSymphonies.ogv

I think the issue is due to slow audio frame writes to JavaSound. 

Original comment by abhilash...@gmail.com on 8 Aug 2009 at 7:49

GoogleCodeExporter commented 8 years ago
java -cp /home/aclarke/Stage/share/java/jars/xuggle-xuggler.jar
com.xuggle.mediatool.demos.DecodeAndPlayAudioAndVideo DanBlackSymphonies.ogv

Runs correctly on my system, and attempts to decode and re-encode the file with 
out
Xuggler tools all work.  So the file itself is fine.

However (see the documentation) the DecodeAndPlayAudioAndVideo demo programs 
(both
the media tool and advanced version) both mention that they are not fully 
correct --
making players that sync audio and video is possible with xuggler, but not 
something
we ship in the core product.  So this is not really a bug (you are welcome to 
write
your own player that does do the audio and video syncing correctly).

Leaving this closed.

- Art

Original comment by art.cla...@gmail.com on 8 Aug 2009 at 9:00