Enigma2 with GStreamer 1.0

Αθανάσιος Οικονόμου athoik at gmail.com
Thu Oct 16 13:29:01 PDT 2014


Dear GStreamer developers,


The enigma2[1] is an open source (framebuffer) GUI for STB and at the
moment is still working with (ancient) GStreamer 0.10.

Fortunatelly there are git branches with GStreamer components ported
to 1.0 and some developers are able to build images using OpenEmbedded
with GStreamer 1.0 (1.4.0)

Unfortunatelly there are some issues and the progress is almost
stalled, because nobody has the required GStreamer[2] skills.

Enigma2 STB uses a customized sink[3] (dvbaudiosink and dvbvideosink)
that writes buffers directly to hardware accelerated drivers and CPU
usage is almost zero, any attempt not to use the hardware drivers
causes only problems and high CPU usage.

One of the issues that we are having when trying GStreamer 1.4.0 is
that GST_EVENT_EOS never arrives on the bus (happens to gst-launch-1.0
also) and last message is Task going to paused (and after that you
need to press ^c to stop gst-launch-1.0).

0:00:06.081859367  1189   0x5110c0 DEBUG              GST_EVENT
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gstpad.c:5098:gst_pad_send_event_unchecked:<dvbaudiosink0:sink>
have event type eos event: 0x74c31768, time 99:99:99.999999999,
seq-num 252, (NULL)
0:00:06.081927478  1189   0x5110c0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/libs/gst/base/gstbasesink.c:3157:gst_base_sink_event:<dvbaudiosink0>
received event 0x74c31768 eos event: 0x74c31768, time
99:99:99.999999999, seq-num 252, (NULL)
...
0:00:16.999688175  1189 0x74c19860 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<dvbvideosink0:sink>
sent event, ret ok
...
0:00:20.042975766  1189   0x5110c0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gstbin.c:990:is_eos:
sink 'dvbaudiosink0' posted EOS
...
0:00:20.044198321  1189   0x5110c0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gstbin.c:995:is_eos:
sink 'vbin' did not post EOS yet
...
0:00:20.044907543  1189   0x5110c0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gstpad.c:3451:push_sticky:<aqueue:src>
event eos marked received
0:00:20.045082988  1189   0x5110c0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gstpad.c:5568:gst_pad_pause_task:<aqueue:src>
pause task
0:00:20.045143988  1189   0x5110c0 DEBUG                   task
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gsttask.c:663:gst_task_set_state:<aqueue:src>
Changing task 0x74c09c18 to state 2
0:00:20.045209469  1189   0x5110c0 INFO                    task
/mips32el-oe-linux/gstreamer1.0/1.4.0-r0/gstreamer-1.4.0/gst/gsttask.c:301:gst_task_func:<aqueue:src>
Task going to paused


Anyone has an idea what the dvbmediasink[3] does wrong and
GST_EVENT_EOS never arrives on the bus?

Additionally if you have comments, suggestions or improvements that
will help dvbmediasink[3] please feel free to share because we lack of
knowledge to make it better.

Thanks for helping, switching to GStreamer 1.0 will make happy lot of
enigma2 STB users (including my self).

Best Regards,
Athoik

[1] http://sourceforge.net/p/openpli/enigma2/ci/master/tree/
[2] http://forums.openpli.org/topic/29501-gstreamer-10/
[3] http://sourceforge.net/p/openpli/gst-plugin-dvbmediasink/ci/gst-1.0/tree/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvbmediasink.log
Type: application/octet-stream
Size: 16744 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141016/981e12c8/attachment.obj>


More information about the gstreamer-devel mailing list