Enigma2 with GStreamer 1.0

Αθανάσιος Οικονόμου athoik at gmail.com
Fri Oct 17 11:54:55 PDT 2014


> 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).

Hello,

I perform the test again after updating to GStreamer 1.4.3.

When running gst-launch again it stops with last message "Task going to paused".

0:00:10.776967364   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:3157:gst_base_sink_event:<dvbaudiosink0>
received event 0x7573cf90 eos event: 0x7573cf90, time
99:99:99.999999999, seq-num 252, (NULL)
0:00:10.777038808   557   0x57ecc0 DEBUG           dvbaudiosink
/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+0a73c4e645-r1/git/gstdvbaudiosink.c:733:gst_dvbaudiosink_event:<dvbaudiosink0>
EVENT eos
0:00:21.439649839   557 0x75719a60 DEBUG           dvbvideosink
/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+0a73c4e645-r1/git/gstdvbvideosink.c:437:gst_dvbvideosink_event:<dvbvideosink0>
got buffer empty from driver!

0:00:21.439784728   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<dvbvideosink0:sink>
sent event, ret ok
0:00:21.439861320   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<vconv:src>
event eos marked received
0:00:21.439937913   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<src:proxypad9>
sent event, ret ok
0:00:21.439999506   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<identity:src>
event eos marked received
0:00:21.440056468   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<identity:sink>
sent event, ret ok
0:00:21.440112617   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<sink:proxypad8>
event eos marked received
0:00:21.440175580   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<vconv:sink>
sent event, ret ok
0:00:21.440233654   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<vqueue:src>
event eos marked received
0:00:21.440286172   557 0x75719a60 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5568:gst_pad_pause_task:<vqueue:src>
pause task
0:00:21.440331987   557 0x75719a60 DEBUG                   task
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gsttask.c:663:gst_task_set_state:<vqueue:src>
Changing task 0x7570a2c8 to state 2
0:00:21.440394098   557 0x75719a60 INFO                    task
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gsttask.c:301:gst_task_func:<vqueue:src>
Task going to paused
0:00:24.445634948   557   0x57ecc0 DEBUG           dvbaudiosink
/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+0a73c4e645-r1/git/gstdvbaudiosink.c:792:gst_dvbaudiosink_event:<dvbaudiosink0>
got buffer empty from driver!

0:00:24.445741393   557   0x57ecc0 DEBUG           dvbaudiosink
/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+0a73c4e645-r1/git/gstdvbaudiosink.c:1422:gst_dvbaudiosink_stop:<dvbaudiosink0>
stop
0:00:24.481867207   557   0x57ecc0 DEBUG             GST_MEMORY
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstmemory.c:87:_gst_memory_free:
free memory 0x72b31e50
0:00:24.482061800   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:1849:gst_base_sink_get_sync_times:<dvbaudiosink0>
sync times for EOS 0:00:12.994000000
0:00:24.482148059   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:2470:gst_base_sink_do_sync:<dvbaudiosink0>
reset rc_time to time 0:00:12.994000000
0:00:24.482209874   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:2482:gst_base_sink_do_sync:<dvbaudiosink0>
possibly waiting for clock to reach 0:00:12.994000000, adjusted
0:00:12.994000000
0:00:24.482317244   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:2114:gst_base_sink_wait_clock:<dvbaudiosink0>
sync disabled
0:00:24.482363467   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:2489:gst_base_sink_do_sync:<dvbaudiosink0>
clock returned 4, jitter  0:00:00.000000000
0:00:24.482429800   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:3034:gst_base_sink_default_event:<dvbaudiosink0>
Now posting EOS
0:00:24.482570467   557   0x57ecc0 DEBUG               basesink
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/libs/gst/base/gstbasesink.c:3037:gst_base_sink_default_event:<dvbaudiosink0>
Got seqnum #252
0:00:24.482667837   557   0x57ecc0 DEBUG                GST_BUS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbus.c:310:gst_bus_post:<bus9>
[msg 0x76085458] posting on bus eos message: 0x76085458, time
99:99:99.999999999, seq-num 252, element 'dvbaudiosink0', (NULL)
0:00:24.482751985   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:3409:gst_bin_handle_message_func:<abin>
[msg 0x76085458] handling child dvbaudiosink0 message of type eos
0:00:24.482814467   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:883:find_message:<abin>
no message found matching types 00000001
0:00:24.482862430   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:890:find_message:<abin>
  eos
0:00:24.482910541   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:930:bin_replace_message:<abin>
got new message 0x76085458, eos from dvbaudiosink0
0:00:24.482969281   557   0x57ecc0 DEBUG             GST_STATES
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:1711:bin_element_is_sink:<abin>
child aconv is not sink
0:00:24.483022467   557   0x57ecc0 DEBUG             GST_STATES
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:1711:bin_element_is_sink:<abin>
child aqueue is not sink
0:00:24.483076800   557   0x57ecc0 DEBUG             GST_STATES
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:1711:bin_element_is_sink:<abin>
child dvbaudiosink0 is sink
0:00:24.483130059   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:881:find_message:<abin>
we found a message 0x76085458 from dvbaudiosink0 matching types
00000001
0:00:24.483180133   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:990:is_eos:
sink 'dvbaudiosink0' posted EOS
0:00:24.483229504   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:958:bin_remove_messages:<dvbaudiosink0>
deleting message 0x76085458 of types 0x00000001
0:00:24.483294800   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:3254:bin_do_eos:<abin>
all sinks posted EOS, posting seqnum #252
0:00:24.483371504   557   0x57ecc0 DEBUG                GST_BUS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbus.c:310:gst_bus_post:<bus2>
[msg 0x760854b0] posting on bus eos message: 0x760854b0, time
99:99:99.999999999, seq-num 252, element 'abin', (NULL)
0:00:24.483450763   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:3409:gst_bin_handle_message_func:<playsink>
[msg 0x760854b0] handling child abin message of type eos
0:00:24.483599281   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:883:find_message:<playsink>
no message found matching types 00000001
0:00:24.483651874   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:890:find_message:<playsink>
  eos
0:00:24.483701207   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:930:bin_replace_message:<playsink>
got new message 0x760854b0, eos from abin
0:00:24.483762541   557   0x57ecc0 DEBUG             GST_STATES
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:1711:bin_element_is_sink:<playsink>
child abin is sink
0:00:24.483813615   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:881:find_message:<playsink>
we found a message 0x760854b0 from abin matching types 00000001
0:00:24.483864689   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:990:is_eos:
sink 'abin' posted EOS
0:00:24.483912652   557   0x57ecc0 DEBUG             GST_STATES
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:1711:bin_element_is_sink:<playsink>
child vbin is sink
0:00:24.483963689   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:883:find_message:<playsink>
no message found matching types 00000001
0:00:24.484012170   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:890:find_message:<playsink>
  eos
0:00:24.484052948   557   0x57ecc0 DEBUG                    bin
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbin.c:995:is_eos:
sink 'vbin' did not post EOS yet
0:00:24.484102911   557   0x57ecc0 DEBUG                GST_BUS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbus.c:341:gst_bus_post:<bus2>
[msg 0x760854b0] dropped
0:00:24.484153615   557   0x57ecc0 DEBUG                GST_BUS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstbus.c:341:gst_bus_post:<bus9>
[msg 0x76085458] dropped
0:00:24.484207652   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<dvbaudiosink0:sink>
sent event, ret ok
0:00:24.484271763   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<aconv:src>
event eos marked received
0:00:24.484342467   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<src:proxypad12>
sent event, ret ok
0:00:24.484424059   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<identity:src>
event eos marked received
0:00:24.484580133   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<identity:sink>
sent event, ret ok
0:00:24.484667022   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<sink:proxypad11>
event eos marked received
0:00:24.484740726   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5156:gst_pad_send_event_unchecked:<aconv:sink>
sent event, ret ok
0:00:24.484800430   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:3451:push_sticky:<aqueue:src>
event eos marked received
0:00:24.484854837   557   0x57ecc0 DEBUG               GST_PADS
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gstpad.c:5568:gst_pad_pause_task:<aqueue:src>
pause task
0:00:24.484900948   557   0x57ecc0 DEBUG                   task
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gsttask.c:663:gst_task_set_state:<aqueue:src>
Changing task 0x7570a418 to state 2
0:00:24.484965319   557   0x57ecc0 INFO                    task
/mips32el-oe-linux/gstreamer1.0/1.4.3-r0/gstreamer-1.4.3/gst/gsttask.c:301:gst_task_func:<aqueue:src>
Task going to paused


Thanks for your ideas and recommendations.

Best Regards,
Athoik


More information about the gstreamer-devel mailing list