Bug 67890 - [libva]MPlayer crashed when playing mpeg2 video
Summary: [libva]MPlayer crashed when playing mpeg2 video
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-08 08:15 UTC by zhenxiang.li
Modified: 2013-08-23 02:09 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description zhenxiang.li 2013-08-08 08:15:34 UTC
Environment:
--------------
Platform:         IVB
Libva:            (staging)bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80
Intel-driver:     (staging)b3afeef8092dc4eb7cb73fce672ddf7a55205f34
mplayer:          (hwaccel-vaapi)1923fa10ed77bbf8408f2ce312d85a97dab1f0f3

Bug Info:
--------------
Mplayer cannot play sony-ct1.bits and sony-ct2.bits.

Log:
mplayer -nosound -fps 30 -vo vaapi -va vaapi bitstreams/sony-ct2.bits
MPlayer SVN-r36265-4.6 (C) 2000-2013 MPlayer Team
Playing bitstreams/sony-ct2.bits.
libavformat version 55.12.102 (internal)
libavformat file format detected.
[mpeg1video @ 0x7fc6040fc9a0]allocate dummy last picture for field based first keyframe
[lavf] stream 0: video (mpeg2video), -vid 0
VIDEO:  [MPG2]  704x480  0bpp  60.000 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in bitstreams/
libva info: VA-API version 0.34.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_34
libva info: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.19.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
FPS forced to be 30.000  (ftime: 0.033).
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vaapi] 704x480 => 704x528 MPEG-2 VA-API Acceleration
[vo_vaapi] Using 1:1 VA surface mapping
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[mpeg2video @ 0x7fc6040fc9a0]allocate dummy last picture for field based first keyframe
V:   0.1   1/  1 ??% ??% ??,?% 0 0
[mpeg2video @ 0x7fc6040fc9a0]warning: first frame is no keyframe
mplayer: libvo/vo_vaapi.c:2516: get_surface: Assertion `mpi->number < va_num_surfaces' failed.


MPlayer interrupted by signal 6 in module: decode_video
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Reproduce steps:
----------------
1. xinit &
2. mplayer -nosound -fps 30 -vo vaapi -va vaapi bitstreams/sony-ct2.bits
(you can download the video files from
.../media_tools/decoder/bitstreams/sony-ct1.bits
.../media_tools/decoder/bitstreams/sony-ct2.bits)
Comment 1 haihao 2013-08-09 01:28:32 UTC
I can't reproduce the issue on my IVB.  

BTW it is mplayer vaapi bug even if the issue exists.
Comment 2 Yang Lianyue 2013-08-12 02:49:07 UTC
Close the issue.
Comment 3 zhenxiang.li 2013-08-23 02:09:23 UTC
it has been verified, close it!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.