After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728869 - alphaconformanceG.264 cannot be decoded by gst-vaapi
alphaconformanceG.264 cannot be decoded by gst-vaapi
Status: VERIFIED FIXED
Product: gstreamer-vaapi
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
: 703928 (view as bug list)
Depends on:
Blocks: 720305
 
 
Reported: 2014-04-24 11:32 UTC by zhenxiang.li
Modified: 2014-04-28 02:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zhenxiang.li 2014-04-24 11:32:12 UTC
summary:
----------------------------
This issue is moved from fd.org; 
gstvaapi play alphaconformanceG.264 error (https://bugs.freedesktop.org/show_bug.cgi?id=64527)

command line:
----------------------------
gst-launch-1.0 filesrc location=/root/media_tools/decoder/Base_Ext_Main_profile/alphaconformanceG.264 '!' h264parse '!' vaapidecode '!' vaapisink sync=false

test env:
----------------------------
Libva:          (master)0d60132599318695dd1af8d51d2b160623ac4406
Libva_intel_driver:             (master)0d3462360f624750233d77771d55f48bc00039e5
Gstreamer10:            (1.0)4e880d4d1e151ea64f83c28b5c3e1bbc06c57903
Gst_plugins_base10:             (1.0)2dd3f028c1e6dea799d7496639f53220818b20b1
Gst_plugins_good10:             (1.0)643d425f51f81b56deec16c01162637546708ee5
Gst_plugins_bad10:              (1.0)0587ab41b4f9979e9cfc11011ed5c970569ee3d3
Gst_plugins_ugly10:             (1.0)c7c911b8320576429e4a4234a1e29ec7436e6814
Gst_plugins_vaapi10:            (master)f2b0d02168e73feaae0023ccf864cea4805a0b88

log info:
----------------------------
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /opt/X11R7/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: GStreamer encountered a general stream error.
Additional debug info:
gstbaseparse.c(3038): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH264Parse:h264parse0:
streaming stopped, reason error
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 1 Gwenole Beauchesne 2014-04-26 12:44:25 UTC
*** Bug 703928 has been marked as a duplicate of this bug. ***
Comment 2 Gwenole Beauchesne 2014-04-26 12:46:42 UTC
commit 3a6f6f97ab956709d2dfa1b12ea221ecabdcb1ce
Author: Zhong Cong <congx.zhong@intel.com>
Date:   Tue Jun 4 15:01:46 2013 +0800

    decoder: h264: skip SPS extension and auxiliary slice NALs.
    
    When NAL units of type 13 (SPS extension) or type 19 (auxiliary slice)
    are present in a video, decoders shall perform the (optional) decoding
    process specified for these NAL units or shall ignore them (7.4.1).
    
    Implement option 2 (skip) for now, as alpha composition is not
    supported yet during the decoding process.
    
    This fixes decoding of the primary coded video in alphaconformanceG.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703928
    https://bugzilla.gnome.org/show_bug.cgi?id=728869
    https://bugzilla.gnome.org/show_bug.cgi?id=724518
    
    [skip NAL units earlier, i.e. at parsing time]
    Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Comment 3 zhenxiang.li 2014-04-28 02:16:21 UTC
It works and pass in the nightly testing