[Intel-gfx] Crash in Gstreamer Vaapi Application for playing multiple videos

Jyotsana jyotsanasingh at tataelxsi.co.in
Wed Feb 23 10:04:35 CET 2011


Hi,

I am trying to play multiple videos simultaneously using 
GStreamer(vaapidecode and vaapisink plugins) and libVA-1.0.7.
In the sample application I am creating multiple windows using 
"XCreateWindow" and passing the generated window ID to vaapisink.
There are two problems I am facing:

1. The first video is getting rendered but the other videos are not 
getting rendered.

2. The application crashes randomly.
None of the gstreamer calls return a failure and the state is getting 
changed to play successfully. Tried the application with different 
container formats.
Also from the command line using "gst-launch" I am able to playback 
multiple videos simultaneously.

The backtrace of the gdb log is attached "CrashLog.txt". The log 
suggests the crash is in "i965_PutSurface".

I am using the following packages as mentioned on Intel Linux graphics 
site "http://intellinuxgraphics.org/2010Q4.html":

2D driver: xf86-video-intel 2.14.0 release 
<http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.14.0.tar.bz2> 

3D driver: mesa 7.10 <ftp://freedesktop.org/pub/mesa/7.10/>
Libdrm: libdrm-2.4.23 release 
<http://dri.freedesktop.org/libdrm/libdrm-2.4.23.tar.bz2>
Kernel: 2.6.37 release 
<http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.tar.bz2>
Cairo: cairo-1.10.2 release <http://cairographics.org/news/cairo-1.10.2/>
Libva: libva-1.0.7 release 
<http://cgit.freedesktop.org/libva/snapshot/libva-1.0.7.tar.bz2>
xserver: 1.9.3

Apart from this I have installed the following gstreamer packages:
gstreamer-0.10.31
gst-plugins-base-0.10.29
gst-plugins-good-0.10.22
gst-plugins-bad-0.10.19
gst-plugins-ugly-0.10.15
gst-ffmpeg-0.10.10.

For reference attaching the sample application "MultiVideo.c".

I am not sure if it is application problem or plugin or driver 
limitation or X? As the same application runs with "ximagesink"and 
decoder like ffmpeg.
What could be the problem?

PS : OS : Fedora Core 13. Platform: Sandy Bridge.Kernel : 2.6.37.

Regards,
Jyotsana.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CrashLog.txt
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110223/16b771a3/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MultiVideo.c
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110223/16b771a3/attachment.c>


More information about the Intel-gfx mailing list