Closed rlim77 closed 6 years ago
@rlim77, works now or figured out what happened?
Since https://github.com/intel/gstreamer-media-SDK/commit/bffa5e9a0b053b1ed6d96670e60439cf72129eb7 fixes this issue, @rlim77 can we close this?
Explicit caps shouldn't be required at this point to decode JPEG 444 formats.
JPEG Decode specifically for TOPIC branch fail when decoding JPEG 444 bitstream. The same command works well in master branch.
root@intel-corei7-64:/usr/lib/gstreamer-1.0# gst-launch-1.0 -v filesrc location=/home/root/JPEG_RefCompare/A_444_JPEG_File.jpg ! jpegparse ! image/jpeg, width=1152, height=864 ! mfxjpegdec ! video/x-raw, format=BGRA ! mfxsink libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'iHD' libva info: Trying to open /usr/lib/iHD_drv_video.so libva info: Found init function vaDriverInit_1_1 libva info: va_openDriver() returns 0 libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'iHD' libva info: Trying to open /usr/lib/iHD_drv_video.so libva info: Found init function vaDriverInit_1_1 libva info: va_openDriver() returns 0 Setting pipeline to PAUSED ... Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstMfxSinkBin:mfxsinkbin0/GstMfxPostproc:mfxpostproc0.GstPad:src: caps = video/x-raw(memory:MFXSurface), format=(string)NV12, width=(int)1152, height=(int)864, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)sRGB, framerate=(fraction)1/1 /GstPipeline:pipeline0/GstMfxSinkBin:mfxsinkbin0/GstMfxSink:mfxsink0.GstPad:sink: caps = video/x-raw(memory:MFXSurface), format=(string)NV12, width=(int)1152, height=(int)864, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)sRGB, framerate=(fraction)1/1 /GstPipeline:pipeline0/GstMfxSinkBin:mfxsinkbin0/GstMfxPostproc:mfxpostproc0.GstPad:sink: caps = video/x-raw, format=(string)BGRA, width=(int)1152, height=(int)864, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)1/1 /GstPipeline:pipeline0/GstMfxSinkBin:mfxsinkbin0.GstGhostPad:sink: caps = video/x-raw, format=(string)BGRA, width=(int)1152, height=(int)864, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)1/1
(gst-launch-1.0:1026): CRITICAL : gst_mfx_surface_new_from_pool: assertion 'pool != NULL' failed /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, format=(string)BGRA, width=(int)1152, height=(int)864, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)1/1 ERROR: from element /GstPipeline:pipeline0/GstMfxDec_jpeg:mfxdec_jpeg0: No valid frames decoded before end of stream Additional debug info: gstvideodecoder.c(1171): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline0/GstMfxDec_jpeg:mfxdec_jpeg0: no valid frames found ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ...