anubhav94 / gstreamer-java

Automatically exported from code.google.com/p/gstreamer-java
0 stars 0 forks source link

multiplayer playlist ffpmpeg get_buffer error #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

> I slightly changed the SwingMultiPlayer example to display 3 players in one 
window and play a playlist that consists of 30 seconds .mpg videos (total of 
~200 mpg files in a playlist) in MPEG-2 format. After a while, the players 
stops playing and the following error log is displayed:
"... ERROR ffmpeg .:0:: get_buffer(0 1073741824 2 000000000)"
I got that error after ~15 minutes of successfull playing. 
If use 2 players than I got the error about ~40 minutes later.
Using only 1 player does not give any error.
I searched the internet however could not found anything useful.
I suspect that the problem is with ffmpeg plugin. However could not try the 
newest version since gstreamer-java support gstreamer version 0.10.
Do you have any idea about the problem?

What is the expected output? What do you see instead?
> The players stops playing. Get the error stated above.

Have you tried to verify this is a gstreamer-java specific issue, and not a 
problem with the gstreamer framework itself?
> Not tried with gstreamer framework.

What version of the product are you using? On what operating system?
> Windows XP service pack 3.
Java 1.5
gstreamer-java 1.5. OSSBuild compiled version of gstreamer 0.10 for windows. 

Please provide any additional information below.

Original issue reported on code.google.com by amemiso...@gmail.com on 29 Apr 2013 at 11:50

GoogleCodeExporter commented 9 years ago
That error message would appear to be direct from FFmpeg.

Have you tried the gstreamer.com binaries instead of OSSBuild?

Maybe follow this up on the mailing list.  It doesn't look like a bug in the 
bindings.

Original comment by neilcsmi...@googlemail.com on 29 Apr 2013 at 12:07

GoogleCodeExporter commented 9 years ago
Thanks for the advice. I tried the gstreamer.com binaries. However they did 
also crash with giving a different error message:  
"java.exe: GLib-ERROR **:gmem.c:165: failed to allocate 518415 bytes"
Most probably it is a memory leak issue with gstreamer dlls.
Not sure gstreamer version 0.10 binaries have enough stability on Windows 
environment. Is there anyone to share his experience about stability?

Original comment by amemiso...@gmail.com on 2 May 2013 at 10:50