GithubHelp home page GithubHelp logo

Comments (5)

ishmael1985 avatar ishmael1985 commented on August 24, 2024

Thanks for letting us know about this issue. I tried your pipeline and while I don't get the grey picture, I do get a lot of frame drops, and I am using GStreamer 1.12.2.
You can for now set autovideosink sync=false and see if it resolves the issue for you, though this is a temporary measure. At least I do know the issue of severe frame drops for my case is a timestamping issue, but yours totally has no picture.
You can also try the latest from here:

https://github.com/ishmael1985/gstreamer-media-SDK

Some users don't face the problem you're having though, here's an example:

https://software.intel.com/en-us/forums/intel-media-sdk/topic/740556

from gstreamer-media-sdk.

hexray-newbee avatar hexray-newbee commented on August 24, 2024

I test the latest version on windows 10 Pro with i7-7700HQ, but it still output the grey.
stout:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'mfxsink0': gst.mfx.Aggregator=context, gst.mfx.Aggregator=(GstMfxTaskAggregator)"\(GstMfxTaskAggregator\)\ mfxtaskaggregator1";
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0.GstPad:src: caps = image/jpeg, width=(int)640, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstMfxDec_jpeg:mfxdec_jpeg0.GstPad:sink: caps = image/jpeg, width=(int)640, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstMfxDec_jpeg:mfxdec_jpeg0.GstPad:src: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx.GstGhostPad:sink.GstProxyPad:proxypad1: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx/GstMfxPostproc:mfxpostproc0.GstPad:src: caps = video/x-raw(memory:MFXSurface), format=(string)NV12, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx/GstMfxSink:mfxsink0.GstPad:sink: caps = video/x-raw(memory:MFXSurface), format=(string)NV12, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx/GstMfxPostproc:mfxpostproc0.GstPad:sink: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx.GstGhostPad:sink: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw(memory:MFXSurface), format=(string)BGRA, width=(int)640, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)30/1
Execution ended after 0:00:07.739200864
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

stderr:

(gst-launch-1.0:14560): GLib-GObject-WARNING **: invalid cast from 'GstMfxSink' to 'GstVideoOverlay'

** (gst-launch-1.0:14560): CRITICAL **: gst_video_overlay_prepare_window_handle: assertion 'GST_IS_VIDEO_OVERLAY (overlay)' failed
ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx/GstMfxSink:mfxsink0: Internal error: could not render surface
Additional debug info:
../gstreamer-media-SDK-mfxsink_wip_windows/gst/mfx/gstmfxsink.c(996): gst_mfxsink_show_frame (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx/GstMfxSink:mfxsink0

(gst-launch-1.0:14560): GStreamer-CRITICAL **: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed

from gstreamer-media-sdk.

ishmael1985 avatar ishmael1985 commented on August 24, 2024

In your stderr output:

../gstreamer-media-SDK-mfxsink_wip_windows/gst/mfx/gstmfxsink.c(996): gst_mfxsink_show_frame (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstMfxSinkBin:autovideosink0-actual-sink-mfx/GstMfxSink:mfxsink0

You're probably using the older version. Can you pull the latest version from the following repos?

https://github.com/ishmael1985/gstreamer-media-SDK
https://github.com/01org/gstreamer-media-SDK/tree/topic_linux_and_window

from gstreamer-media-sdk.

hexray-newbee avatar hexray-newbee commented on August 24, 2024

aha, i am sorry for using the older version, the latest version does a better work.

from gstreamer-media-sdk.

ishmael1985 avatar ishmael1985 commented on August 24, 2024

Good to hear. Surprisingly, I re-ran the pipeline with the latest version on my repo as well, and there are no more timestamping issues :)

from gstreamer-media-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.