AW: AW: AW: AW: AW: AW: AW: Video break when using with splitmuxsink

ToanVnET toanrd.vnet at gmail.com
Thu Sep 3 06:30:59 UTC 2020


Hi,
This is the code after modify:

  g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, 1 , timeout_callback ,
loop, NULL); 
  g_main_loop_run (loop);
  g_main_loop_unref(loop);
  bus = gst_element_get_bus (pipeline);
  gst_element_send_event(pipeline, gst_event_new_eos()); 
  msg = gst_bus_timed_pop_filtered (bus,
GST_CLOCK_TIME_NONE,GST_MESSAGE_ERROR | GST_MESSAGE_EOS);
    if (msg != NULL){
     gst_message_unref (msg);
  }
  gst_object_unref (bus);
  gst_element_set_state (pipeline, GST_STATE_NULL);
  gst_object_unref (pipeline);


And this is debug output after EOS event sent:

0:00:07.159878001  3540 0x55fa1e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55e29170 eos 28174
0:00:07.175796001  3540 0x55f608f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<textoverlay:video_sink> have
event type eos event: 0x55e29170, time 99:99:99.999999999, seq-num 3317,
(NULL)
0:00:07.176252335  3540 0x55f608f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<capsfilter0:sink> have event
type eos event: 0x55e29170, time 99:99:99.999999999, seq-num 3317, (NULL)
0:00:07.176545668  3540 0x55f608f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<vpuenc_h264-0:sink> have event
type eos event: 0x55e29170, time 99:99:99.999999999, seq-num 3317, (NULL)
0:00:07.177118335  3540 0x55f608f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<h264parse0:sink> have event type
eos event: 0x55e29170, time 99:99:99.999999999, seq-num 3317, (NULL)
0:00:07.177668668  3540 0x55f608f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<splitmuxsink0:video> have event
type eos event: 0x55e29170, time 99:99:99.999999999, seq-num 3317, (NULL)
0:00:07.178213668  3540 0x55f608f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<multiqueue:sink_0> have event
type eos event: 0x55e29170, time 99:99:99.999999999, seq-num 3317, (NULL)

What should I do next ?
 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list