ovikassingho / gstreamer-java

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

Application crash on playing AVI #147

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am trying to play attached AVI movie example with gstreamer using VideoPlayer 
from tutorial. 
I get java crash just after I run this program.
I am using Java 1.8 Windows 7 x64 (but with gstreamer and Java 32bit).
Also I can normally play mp4 movies and even some other AVI files. 

I dont know my stream very well it could be somehow specific (I get it 
somewhere from web). Application can fail to play it (other players actually do 
play it) but it should not crash but throw some exception.

Here is output for crash (it is in polish):
 Nazwa zdarzenia problemu:  APPCRASH
  Nazwa aplikacji:  javaw.exe
  Wersja aplikacji: 6.0.450.6
  Sygnatura czasowa aplikacji:  51520929
  Nazwa modułu z błędem: ntdll.dll
  Wersja modułu z błędem:    6.1.7601.18247
  Sygnatura czasowa modułu z błędem: 521ea8e7
  Kod wyjątku: c0000005
  Przesunięcie wyjątku:   000344fc
  Wersja systemu operacyjnego:  6.1.7601.2.1.0.256.48
  Identyfikator ustawień regionalnych: 1045
  Dodatkowe informacje 1:   0a9e
  Dodatkowe informacje 2:   0a9e372d3b4ad19135b953a78882e789
  Dodatkowe informacje 3:   0a9e
  Dodatkowe informacje 4:   0a9e372d3b4ad19135b953a78882e789

Original issue reported on code.google.com by wojtek.biolik@gmail.com on 14 Mar 2015 at 5:02

Attachments:

GoogleCodeExporter commented 8 years ago
Problem also visible on another (attached) file.
I noticed that they have low frame rate 14 or 15.

On my eclipse/java console I have not logs. I have some experience in both Java 
and c programming and I would like to help fix this issue but could anyone 
please provide me information how can I debug this problem? How to enable logs 
can I connect connect with gdb to native part?

So I played this file using gst-launch the result was crash of gst-launch exe 
I am attaching log that was generated with -v flag (below my command):
c:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>gst-launch.exe -v 
playbin2 uri=file:///C:/Users/Wojtek/workspace_fx/movdb/avi/AV36_1.avi
Here is windows report about crash: (again in polish - sorry my system languge):
  Nazwa zdarzenia problemu: APPCRASH
  Nazwa aplikacji:  gst-launch.exe
  Wersja aplikacji: 0.0.0.0
  Sygnatura czasowa aplikacji:  4bd51606
  Nazwa modułu z błędem: ntdll.dll
  Wersja modułu z błędem:    6.1.7601.18247
  Sygnatura czasowa modułu z błędem: 521ea8e7
  Kod wyjątku: c0000005
  Przesunięcie wyjątku:   00033458
  Wersja systemu operacyjnego:  6.1.7601.2.1.0.256.48
  Identyfikator ustawień regionalnych: 1045
  Dodatkowe informacje 1:   0a9e
  Dodatkowe informacje 2:   0a9e372d3b4ad19135b953a78882e789
  Dodatkowe informacje 3:   0a9e
  Dodatkowe informacje 4:   0a9e372d3b4ad19135b953a78882e789

Original comment by wojtek.biolik@gmail.com on 17 Mar 2015 at 11:51

Attachments:

GoogleCodeExporter commented 8 years ago
Also I did run this on newest version of gstremer 1.4.5.
It played smoothly, but I noticed following warning:
 GStreamer-WARNING **: Trying to set string on taglist field 'title', but string is not valid UTF-8. Please file a bug.

Original comment by wojtek.biolik@gmail.com on 18 Mar 2015 at 12:18

GoogleCodeExporter commented 8 years ago
I am using OSSBuild. I noticed that it have gstreamer version 0.10.28. Also on 
gstreamer page there is info that newest part of 0.10 is 0.10.36. Do you know 
where I can get it (windows exe installation). Or maybe I have to build it by 
myself (on gstreamer there are only zipped sources). 

Is there any mechanism to shutdown gracefully after gstreamer crash? Can we not 
crash JVM?

Any answer on this topic? I understand app can not support some file but crash 
is something unacceptable and makes this tool useless.

Original comment by wojtek.biolik@gmail.com on 19 Mar 2015 at 12:05