[Bug 763321] New: Failed to play VAAPI HW JPEG decode for video clip with codec ID: MJPG

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 8 13:13:57 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763321

            Bug ID: 763321
           Summary: Failed to play VAAPI HW JPEG decode for video clip
                    with codec ID: MJPG
    Classification: Platform
           Product: GStreamer
           Version: 1.6.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: siew.hoon.lim at intel.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

Intel VA driver: upstream master
Libva: upstream master

gstreamer framework: 1.6.3
gstreamer-vaapi: 1.6.0

command: gst-launch-1.0 -v filesrc location=/home/root/MJPEG.avi ! avidemux !
vaapidecode ! vaapisink

hit the assert checking in Intel VA driver side.
Check the HW spec, HW side does not support horizontal & vertical sampling
factors in H1=H2=H3=1 & V1=V2=V3=2.

Trace it until the decode_picture function in gstvaapidecoder_jpeg.c in
gstreamer-vaapi plugin to gst_jpeg_segment_parse_frame_header function and
print out get the value as this
frame_hdr->components[0].horizontal_factor = 1
frame_hdr->components[1].horizontal_factor = 1
frame_hdr->components[2].horizontal_factor = 1
frame_hdr->components[0].vertical_factor = 2
frame_hdr->components[1].vertical_factor = 2
frame_hdr->components[2].vertical_factor = 2

Not sure it this codecparse side the issue due new codec ID=MJPG? 
or gstreamer-vaapi should be add this new checking on decode_picture function
in gstvaapidecoder_jpeg.c.
Because this vertical and horizontal sampling factors is not supported in HW.

I'm able to play this video clip using the AVICodec from YUV FOURCC web site. 

Play this video clip from codec ID=MJPG not that smooth using jpegdec plugins
but able to play the video.
command: 
gst-launch-1.0 -v filesrc location=/home/root/MJPEG.avi ! avidemux ! jpegdec !
vaapisink

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list