Internal Error using multiple input sources.

Richard tuxbox.guru at gmail.com
Sun May 6 06:25:30 PDT 2012


Hi All,

Can anyone explain why when I enable the LOGO for PIP section the
logosrc (testvideosrc component) - I get Internal errors, even when I
dont use it.  I am trying to get a video and add a logo on the video
using the testvideo.

I have this working is a gst-lauch pipe but cant get it working in C source.

Any help would be greatly appreciated.

Richard

--------- Code Snip -------
gst_bin_add_many (GST_BIN
(ts->pipeline),ts->videomixer,ts->remux,ts->outqueue,ts->filesink, //
Mixer and SINK
                                            //ts->logosrc,ts->logodec,
  // LOGO for PIP
                                            ts->filesource,
ts->inqueue, ts->demux,
ts->videoq,ts->videodecode,ts->testq,ts->framerate,ts->deinterlace,ts->colorspace,
                                            ts->videoscale, ts->clock
,ts->videoencoder,
                                            ts->audioq,NULL); // AUDIO



  gst_element_link_many (ts->filesource, ts->inqueue, ts->demux, NULL);

  gst_element_link (ts->audioq,ts->remux);
  gst_element_link_many (ts->remux, ts->outqueue, ts->filesink,NULL);
  gst_element_link_many (ts->videoq,
ts->videodecode,ts->testq,ts->framerate,ts->deinterlace,
ts->colorspace,ts->videomixer,ts->videoscale,NULL);
  gst_element_link_filtered (ts->videoscale, ts->clock,videoCaps);
  gst_element_link_many (ts->clock, ts->videoencoder,ts->remux,NULL);


  //gst_element_link_many(ts->logosrc, ts->logodec,ts->logofreeze,
ts->videomixer,NULL);
------------------------------ end code snip ---------------



0:00:03.166010200  2588      0x1bd21b0 INFO              GST_STATES
gstelement.c:2408:gst_element_continue_state:<logosrc> completed state
change to PAUSED
0:00:03.166084840  2588      0x1bd21b0 INFO              GST_STATES
gstelement.c:2421:gst_element_continue_state:<logosrc> posting
state-changed READY to PAUSED
0:00:03.166132120  2588      0x1bd21b0 INFO              GST_STATES
gstbin.c:2497:gst_bin_change_state_func:<player> child 'logosrc'
changed state to 3(PAUSED) successfully
0:00:03.166167360  2588 0x7f3de4006af0 INFO                 basesrc
gstbasesrc.c:2405:gst_base_src_loop:<logosrc> pausing after
gst_base_src_get_range() = not-linked
Transcode Running...
0:00:03.166320680  2588 0x7f3de4006af0 WARN                 basesrc
gstbasesrc.c:2582:gst_base_src_loop:<logosrc> error: Internal data
flow error.
0:00:03.166349880  2588 0x7f3de4006af0 WARN                 basesrc
gstbasesrc.c:2582:gst_base_src_loop:<logosrc> error: streaming task
paused, reason not-linked (-1)
0:00:03.166418080  2588 0x7f3de4006af0 INFO        GST_ERROR_SYSTEM
gstelement.c:1931:gst_element_message_full:<logosrc> posting message:
Internal data flow error.
0:00:03.166496160  2588 0x7f3de4006af0 INFO        GST_ERROR_SYSTEM
gstelement.c:1954:gst_element_message_full:<logosrc> posted error
message: Internal data flow error.
Error: Internal data flow error.
[ 14:17:36 ] Transcode .. stopping playback


More information about the gstreamer-devel mailing list