Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-vaapi gstreamer-vaapi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gstreamer-vaapigstreamer-vaapi
  • Issues
  • #189
Closed
Open
Issue created Sep 10, 2019 by U. Artie Eoff@ullysses.a.eoffReporter

[regression] vaapijpegdec: decoding 444 jpeg fails

!163 (merged) restores most vaapijpegdec + i965 functionality that regressed in !123 (merged). However, 444 jpeg's still can't be decoded.

The following pipeline used to succeed with vaapijpegdec + i965 prior to !123 (merged).

gst-launch-1.0 -vf videotestsrc num-buffers=10 \
 ! video/x-raw,format=Y444 \
 ! jpegenc ! jpegparse \
 ! vaapijpegdec \
 ! checksumsink2

But now it produces errors, even with !163 (merged) applied:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode_jpeg0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
Got context from element 'vaapidecode_jpeg0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0";
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:src: caps = image/jpeg, sof-marker=(int)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstJpegParse:jpegparse0.GstPad:sink: caps = image/jpeg, sof-marker=(int)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstJpegParse:jpegparse0.GstPad:src: caps = image/jpeg, parsed=(boolean)true, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstVaapiDecode_jpeg:vaapidecode_jpeg0.GstPad:sink: caps = image/jpeg, parsed=(boolean)true, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1
0:00:00.118217878 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118240689 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118251260 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118256868 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118262629 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118268417 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118274145 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118279682 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
Redistribute latency...
0:00:00.118418736 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.118426443 17268      0x14b8000 ERROR       vaapivideomemory gstvaapivideomemory.c:1215:gst_vaapi_dmabuf_allocator_new: failed to create a new surface
0:00:00.118448784 17268      0x14b8000 ERROR                  vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
/GstPipeline:pipeline0/GstVaapiDecode_jpeg:vaapidecode_jpeg0.GstPad:src: caps = video/x-raw, format=(string)AYUV, width=(int)320, height=(int)240, 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, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
0:00:00.118455078 17268      0x14b8000 ERROR       vaapivideomemory gstvaapivideomemory.c:832:allocator_configure_surface_try_other_format: Cannot handle format AYUV
0:00:00.118472530 17268      0x14b8000 ERROR            vaapidecode gstvaapipluginbase.c:614:ensure_srcpad_allocator:<vaapidecode_jpeg0> failed to create src pad's allocator
/GstPipeline:pipeline0/GstCksumImageSink:cksumimagesink0.GstPad:sink: caps = video/x-raw, format=(string)AYUV, width=(int)320, height=(int)240, 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, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Edited Sep 10, 2019 by U. Artie Eoff
Assignee
Assign to
Time tracking