Qt and Gstreamer on Mac Os.
Sasha1987
topilski at mail.ru
Fri May 17 01:07:21 PDT 2013
So i am started invistigation of problem and find that: if i use playbin in
place of my ovn pipeline all work perfectly, there are is my pipeline:
GstAppSrcCallbacks callbacks=
{need_data_video,enough_data_video,seek_data_video,{NULL} };
out_.video_sink_ = gst_element_factory_make
(DEFAULT_VIDEOSINK, "video_sink_out");
out_.video_converter_ = gst_element_factory_make
("videoconvert", "video_conv");
if(out_.video_sink_&&out_.video_converter_)
{
GstElement *vs =
gst_element_factory_make("videoscale","vs");
gst_bin_add_many (GST_BIN (out_.pipeline_),
(GstElement*)src_v_,out_.video_converter_,vs,out_.video_sink_ , NULL);
gst_element_link_many
((GstElement*)src_v_,out_.video_converter_,vs,out_.video_sink_ , NULL);
gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(out_.video_sink_),win_id_);
gst_app_src_set_callbacks (src_v_, &callbacks, this,
NULL);
g_object_set (G_OBJECT (src_v_),"format",
GST_FORMAT_TIME, NULL);
}
else
{
LOG("!if(out_.video_sink_&&out_.video_converter_)");
}
and same code fore audio channel, i may use playbin but i don't know how i
can push audio and video bufers at once. May be my own pipeline mistakable?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Qt-and-Gstreamer-on-Mac-Os-tp4659940p4659975.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list