Hi filnet
I tried your code on my mac and fixed some gstreamer dependency.
But video widget is black(sometimes flash test video in the beginning), no error in logs
Any suggestion?
logs:
VideoWidget::createPipelineFromDesc - creating pipeline : videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::handleMessage - element osxvideosink2 prepare window with id #4521595376"
VideoWidget::event - "pipeline6 changed state from Null to Ready"
VideoWidget::event - "element osxvideosink2 prepare window id"
VideoWidget::event - "src stream status Create videotestsrc5"
VideoWidget::event - "src stream status Enter videotestsrc5"
VideoWidget::event - "pipeline6 changed state from Ready to Paused"
VideoWidget::event - "pipeline6 has new clock GstSystemClock"
VideoWidget::event - "pipeline6 changed state from Paused to Playing"
"VideoWidget::pause - videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::init - reseting pipeline state : videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
VideoWidget::event - "pipeline6 changed state from Playing to Paused"
"VideoWidget::start - videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::init - reseting pipeline state : videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
VideoWidget::event - "pipeline6 changed state from Paused to Playing"
"VideoWidget::stop - videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::dispose - videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
VideoWidget::event - "pipeline6 changed state from Playing to Paused"
VideoWidget::event - "src stream status Leave videotestsrc5"
VideoWidget::event - "pipeline6 changed state from Paused to Ready"
"VideoWidget::dispose - videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
VideoWidget::VideoWidget
"VideoWidget::VideoWidget - video winId : 4696952128"
"VideoWidget::setPipelineDesc - videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::stop - "
"VideoWidget::dispose - "
"VideoWidget::start - videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::init - initializing pipeline : videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::createPipelineFromDesc - creating pipeline : videotestsrc ! videoconvert ! video/x-raw,width=640,height=480 ! osxvideosink"
"VideoWidget::handleMessage - element osxvideosink3 prepare window with id #4696952128"
VideoWidget::event - "pipeline7 changed state from Null to Ready"
VideoWidget::event - "element osxvideosink3 prepare window id"
VideoWidget::event - "src stream status Create videotestsrc6"
VideoWidget::event - "src stream status Enter videotestsrc6"
VideoWidget::event - "pipeline7 changed state from Ready to Paused"
VideoWidget::event - "pipeline7 has new clock GstSystemClock"
VideoWidget::event - "pipeline7 changed state from Paused to Playing"
VideoWidget::event - "element osxvideosink3 sent warning event: A lot of buffers are being dropped. (gstbasesink.c(2834): gboolean gst_base_sink_is_too_late(GstBaseSink *, GstMiniObject *, GstClockTime, GstClockTime, GstClockReturn, GstClockTimeDiff, gboolean) (): /GstPipeline:pipeline7/GstOSXVideoSink:osxvideosink3:\nThere may be a timestamping problem, or this computer is too slow.)"
VideoWidget::event - "element osxvideosink3 sent warning event: A lot of buffers are being dropped. (gstbasesink.c(2834): gboolean gst_base_sink_is_too_late(GstBaseSink *, GstMiniObject *, GstClockTime, GstClockTime, GstClockReturn, GstClockTimeDiff, gboolean) (): /GstPipeline:pipeline7/GstOSXVideoSink:osxvideosink3:\nThere may be a timestamping problem, or this computer is too slow.)"
VideoWidget::event - "element osxvideosink3 sent warning event: A lot of buffers are being dropped. (gstbasesink.c(2834): gboolean gst_base_sink_is_too_late(GstBaseSink *, GstMiniObject *, GstC