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 704849 - Failed with creating wrong WxH surface
Failed with creating wrong WxH surface
Status: VERIFIED DUPLICATE of bug 704848
Product: gstreamer-vaapi
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-07-25 05:24 UTC by Yang Lianyue
Modified: 2013-07-25 07:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yang Lianyue 2013-07-25 05:24:21 UTC
Environment:
--------------------------
libva:           (master)d2dbc3f69c69e5933e7b3da429c0fb0cae5b98b0
intel_driver:    (master)8bf807539c1790d6eee531373131672d38c82b31
Gstreamer:       (1.0)   80431b497d2b1530b9f4d2988956ba5669ee2eac
gst-plugins-base:(1.0)   d11092d478aa9118d0b6aebcfebeedd06e7bc12e
gst-plugins-bad: (1.0)   cbd83678103e9d8417e2e4905b9fa5e8d20c547a
gst-plugins-good:(1.0)   82c342f83bfdc8e57ee29e72aad848ba200443fc
gst-plugins-ugly:(1.0)   b31e84d5f7c4c6eddcf1b955d131d223fa1929c0
Gst-vaapi:       (master)0b1a97cbf93846eb7cc03d46d0eb8a04244fb8ab


Comments:
--------------------------
For files: 
sony-ct1.bits 
sony-ct2.bits 
sony-ct3.bs 
sony-ct4.bs
MPEG2 conformance video url: 
"Fedora.FrameWork/MPEG2_conformance/bitstreams/" under Media repo.

mpegvideoparse read the right WxH, but when create Surface, WxH is wrong.

For example, sony-ct1.bits 352x224, I print WxH by vaPutSurface, print srcw = 120 srch = 120, and the display video is not right. 

export GST_DEBUG=*base*:5
basesink gstbasesink.c:3025:gst_base_sink_event:<vaapisink0>^[[00m received event 0x7f23d8004300 caps event at time 99:99:99.999999999: GstEventCaps, caps=(GstCaps)video/x-surface, type=(string)vaapi, opengl=(boolean)false, width=(int)352, height=(int)224, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)4/3, interlace-mode=(string)interleaved;
Comment 1 André Klapper 2013-07-25 06:13:32 UTC

*** This bug has been marked as a duplicate of bug 704848 ***