Jump to content


Photo

GStreamer 0.10 no longer maintained


  • Please log in to reply
329 replies to this topic

Re: GStreamer 0.10 no longer maintained #101 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 20 June 2013 - 20:36

has anybody tried clearing the gstreamer cache?
(or do we still have that 'clear gstreamer cache at e2 restart' hack in place)

Re: GStreamer 0.10 no longer maintained #102 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 June 2013 - 20:48

As far as I can see the gstreamer cache is cleaned at every e2 restart, but not before e2 start.
So the users could try to restart e2 once.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #103 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 June 2013 - 21:34

I can now reproduce the crashes (a user gave me his backup).

Gstreamer crashes are reproducable, but the crashes appear always at different places:

root@ET9X00:/usr/lib/gstreamer-0.10# gst-launch-0.10 playbin2 uri=file:///hdd/testdateien/Sample\ Music\ 1.mp3 -v
Setting pipeline to PAUSED ...
Caught SIGSEGV accessing address 0x30
Spinning.  Please run 'gdb gst-launch 4686' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^CCaught interrupt -- ^C
root@ET9X00:/usr/lib/gstreamer-0.10# gst-launch-0.10 playbin2 uri=file:///hdd/testdateien/Sample\ Music\ 1.mp3 -v
Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:///hdd/testdateien/Sample Music 1.mp3"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
Caught SIGSEGV accessing address 0x30
Spinning.  Please run 'gdb gst-launch 4701' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^CCaught interrupt -- ^C


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #104 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 20 June 2013 - 21:56

I can now reproduce the crashes (a user gave me his backup).

Gstreamer crashes are reproducable, but the crashes appear always at different places:

root@ET9X00:/usr/lib/gstreamer-0.10# gst-launch-0.10 playbin2 uri=file:///hdd/testdateien/Sample\ Music\ 1.mp3 -v

 

 

Maybe running the gst-launch-0.10 with full debugging can help in diagnosis?

 

GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:6 gst-launch-0.10 playbin2 uri=file:///...

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: GStreamer 0.10 no longer maintained #105 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 June 2013 - 22:05

Thanks for the suggestion, but I already did that. The problem is that is crashes sometimes right after start. Then it recognices the input file and crash afterwards. And the 3. time is crashes at another point. So it's not deterministic.

 

I tried to move not needed plugins to another dir. That also didn't help.

 

Now I have made a copy of /usr/lib directory and try to compare that with my version. Perhaps I can see something then...


Edited by betacentauri, 20 June 2013 - 22:05.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #106 littlesat

  • PLi® Core member
  • 57,431 posts

+708
Excellent

Posted 20 June 2013 - 22:07

But with a clean refrash it could be fixed... I still suggest that cleaning the gstreamer patch by restarting enigme2 once via the user interface might be a good way trying to fix that backup.....
Or clean gstreamer cache manually by removing the dot gestreamer directory in /home/root

Edited by littlesat, 20 June 2013 - 22:09.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: GStreamer 0.10 no longer maintained #107 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 June 2013 - 22:10

I have deleted the /home/root/.gstreamer-0.10 directory and that didn't help.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #108 malakudi

  • Senior Member
  • 1,449 posts

+69
Good

Posted 20 June 2013 - 22:24

@betacentauri: please check libglib in the backup



Re: GStreamer 0.10 no longer maintained #109 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 June 2013 - 22:31

And the winner is malakudi:

glib from my system:

x@y:~/lib_diff$ ls -la usr/lib/libglib*
lrwxrwxrwx 1 x x      23 Dez 30 04:07 usr/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.3000.3
-rwxr-xr-x 1 x x 1133588 Dez 13  2012 usr/lib/libglib-2.0.so.0.3000.3

glib from other user with problems:

x@y:~/lib_diff$ ls -la usr_prob/lib/libglib*
lrwxrwxrwx 1 x x      23 Nov 26  2012 usr_prob/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.3400.2
-rwxr-xr-x 1 x x 1154120 Nov 19  2012 usr_prob/lib/libglib-2.0.so.0.3400.2

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #110 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 June 2013 - 22:34

And there are other files also different: E.g. libpython2.7.so.1.0 and librtmp.so.0

Is that normal??


Edited by betacentauri, 20 June 2013 - 22:34.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #111 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 June 2013 - 22:40

I'll check tomorrow whether exchanging the glib libs solves the problem.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #112 malakudi

  • Senior Member
  • 1,449 posts

+69
Good

Posted 20 June 2013 - 22:47

They are different because they are built with different version of libglib. Those boxes need to reflash. There is no reason to try fix this issue. This has been fixed 7 months ago, they need to reflash.



Re: GStreamer 0.10 no longer maintained #113 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 20 June 2013 - 23:39

When i was trying the following video : the enigma2 crashed.

 

ERROR:qtdemux.c:7603:gst_qtdemux_guess_bitrate: assertion failed: (size >= qtdemux->header_size)
PC: 763db144
 00000000 00000001 00000000 730f2930
 0000029d 000002cf 00000006 00000000
...

 

Searching the above error i found the following bug: http://lists.freedes...ber/095816.html

 

And indeed saving the video and feeding gst-lanch i am getting the following:

 

root@dm800se:/media/hdd# cat a-taste-of-greece.avi | gst-launch-0.10  playbin uri=fd://0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
** Message: don't know how to handle video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)high, codec_data=(buffer)0164001fffe100176764001facb402802dd0800000030080000019078c195001000468ee3cb0, width=(int)1280, height=(int)720, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1
Missing element: H.264 decoder
**
ERROR:qtdemux.c:7603:gst_qtdemux_guess_bitrate: assertion failed: (size >= qtdemux->header_size)
Aborted

 

Probably we need to apply the patch from here : http://cgit.freedesk...1f69028e5cf1f74

 

Please take a look.


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: GStreamer 0.10 no longer maintained #114 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 June 2013 - 09:55

They are different because they are built with different version of libglib. Those boxes need to reflash. There is no reason to try fix this issue. This has been fixed 7 months ago, they need to reflash.

 

Yes, best way to fix it, would be a reflash.

 

If somebody for any reason don't want to do that, I have added the libs, which need to be exchanged after upgrade (stop e2, copy to /usr/lib/, recreate symbolic links, move other versions to another place). I cannot guarantee that it works!!! A short test with the "corrupt" et9x00 image worked here. So do it on your own risk. I recommend to do a backup before.

Attached Files

  • Attached File  glib.zip   870.77KB   187 downloads

Edited by betacentauri, 21 June 2013 - 09:57.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #115 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 June 2013 - 11:26

Probably we need to apply the patch from here : http://cgit.freedesk...1f69028e5cf1f74
 
Please take a look.

The patch solves the crash. But with the patch the video stops playing around 10-20 seconds before end. I think better a short video than a crash. So we should take that patch (it needs to be modified a little bit).

Attached is the new lib for testing.

athoik: Your patch in the other thread and this patch are against plugins-good. Shouldn't we merge both patches?

I'll provide a patch file in the other thread in a few minutes...

Attached Files


Edited by betacentauri, 21 June 2013 - 11:27.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #116 littlesat

  • PLi® Core member
  • 57,431 posts

+708
Excellent

Posted 21 June 2013 - 13:16

Isn't there anyway to continue playing?


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: GStreamer 0.10 no longer maintained #117 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 June 2013 - 13:34

I cannot see any gstreamer error message. So where should I start searching? I'm not a gstreamer expert ;-)
It would be good if athoik can check whether he has the same behavior with my lib.
The gstreamer 1.0 code is a little bit different. So maybe there are more patches in that branch to solve the issue.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #118 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 June 2013 - 15:15

Dear betacentauri,

 

Just created a patch also against my repo (includes flv width height fix also).

 

Check if we follow the same logic on the patch.

 

By the end of the day i will test my patch and your lib too.

Attached Files


Edited by athoik, 21 June 2013 - 15:16.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: GStreamer 0.10 no longer maintained #119 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 June 2013 - 15:28

I was also currently building the patch :rolleyes:

 

My patch against gstreamer is a little bit different. It seems that gst_pad_query_peer_duration function has changed in 1.0.

I have made this:

if (!gst_pad_query_peer_duration (qtdemux->sinkpad, &format, &size) ||
-      format != GST_FORMAT_BYTES) {
+      format != GST_FORMAT_BYTES || size <= 0) {
     GST_DEBUG_OBJECT (qtdemux,

And you this:

-  if (!gst_pad_query_peer_duration (qtdemux->sinkpad, &format, &size) ||
-      format != GST_FORMAT_BYTES) {
+  if (!gst_pad_query_peer_duration (qtdemux->sinkpad, GST_FORMAT_BYTES, &size)
+      || size <= 0) {

The rest is the same. What is right or wrong is difficult to say. If you're patch compiles without problems and playback works, we can take yours :D


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #120 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 June 2013 - 15:42

After a little investigation I think that your patch won't compile.

gst_pad_query_peer_duration excepts in gstreamer 0.10 3 pointers (it's different in gstreamer 1.0):

gboolean gst_pad_query_peer_duration     (GstPad *pad, GstFormat *format, gint64 *duration);

And GST_FORMAT_BYTES is no pointer.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04


17 user(s) are reading this topic

0 members, 17 guests, 0 anonymous users