intel / gstreamer-media-SDK

GNU Lesser General Public License v2.1
90 stars 53 forks source link

[topic] Camera output preview corrupted with camera output NV12 linear in dmabuf import. #125

Open SiewHoon opened 6 years ago

SiewHoon commented 6 years ago

Test environment: Gstreamer Framework 1.12.4 with IPU camera imx274 dmabuf import, camera output color format: NV12 linear

Command 1: gst-launch-1.0 icamerasrc device-name=imx274 io-mode=3 scene-mode=hdr num-buffers=500 ! video/x-raw, format=NV12, width=1920, height=1080 ! mfxvpp ! mfxsink

Command 2: gst-launch-1.0 icamerasrc device-name=imx274 io-mode=3 scene-mode=hdr num-buffers=500 ! video/x-raw, format=NV12, width=1920, height=1080 ! mfxvpp ! filesink location=nv12_linear_1920x1080.raw

This issue already fixed in Bump version to 1.4.0-rc0 (master branch).

SiewHoon commented 6 years ago

Attached the corrupted output image.

img_imx274

ishmael1985 commented 6 years ago

@SiewHoon this looks to me more of a feature request to support a specific hardware component more than a bug, and I don't have this particular hardware to test this. The best chance you have to resolve this is to port commits f30557401378b03986a5f4465c5d18ed6290f07a - 4c2752a88b82210c0b0ae5aff5c27128d0f62585 from the master branch and we will review and test the changes to ensure it doesn't break anything else.