Comments (5)
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.
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.
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.
aha, i am sorry for using the older version, the latest version does a better work.
from gstreamer-media-sdk.
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)
- mfxh264dec not using GPU? HOT 1
- I have been unable to get mfxh264enc to work on Windows HOT 5
- Fully-accelerated HEVC main10 decoding is not enabled in master branch HOT 1
- VA_STATUS_ERROR_UNSUPPORTED_RT_FORMAT error in encoder
- Unable to fill buffer from GstPushSrc-style plugin when interacting with gstmfxenc_h264 HOT 2
- pipeline with 'mfxh264dec' gives larger end-to-end latency than 'avh264_dec' HOT 1
- How does this project compare to msdk plugin in gst-plugins-bad ?
- GStreamer-WARNING **: 16:23:19.467: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmfx.so' HOT 10
- Double close a fd make the program logic not works HOT 3
- Do mfxh264enc and mfxhevcenc support dynamic keyframe generation via GstForceKeyUnit event HOT 3
- Problem to build mfx gstreamer plugins HOT 2
- USB 3.0 & USB 2.0 cameras composition HOT 1
- getting erroneous pipeline: no element "vp8enc" HOT 11
- block at xcb_request_check() in gstmfxwindow_x11.c
- gstreamer-media-SDK compilation error HOT 1
- decoder != null error in mfxh264dec
- use media sdk ver 20.3?
- gst-inspect-1.0 does not show the mfxplugins
- Is there any specific media stack recipes(version) in order for composition with zerocopy to work?
- Compilation error: many arguments to function βgst_h264_parse_spsβ HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gstreamer-media-sdk.