GNOME Bugzilla – Bug 645517
Crash for multiple videos using gstreamer-vaapi
Last modified: 2011-03-22 13:12:43 UTC
Created attachment 184056 [details] Gstreamer Sample Application Hi, I am trying to play multiple videos [mov/mp4/mpeg-ts container, H.264/MPEG2 Video Codec] using a sample gstreamer application, [This application runs as a single process spawning multiple threads] simultaneously using GStreamer-vaapi and libVA-1.0.7. The driver used for hardware acceleration of video is "i965". Following is the result of "vainfo": ------------------------------------------------------------------ libva: libva version 0.31.1 libva: va_getDriverName() returns 0 libva: Trying to open /opt/X11R7/lib/dri/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: i965 Driver 0.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD ------------------------------------------------------------------ In the sample application I am creating multiple windows using "XCreateWindow" and passing the generated window ID to vaapisink. There following is the problem that I am facing: 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. [Here one difference compared to the sample application is, these are running as separate processes] Following is the backtrace of the gdb : ------------------------------------------------------------------ 0xb7fe856c in do_bo_emit_reloc () from /opt/X11R7//lib/libdrm_intel.so.1
+ Trace 226428
I am using the following packages as mentioned on Intel Linux graphics site "http://intellinuxgraphics.org/2010Q4.html". 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 gstreamer-vaapi-latest(downloaded from http://www.splitted-desktop.com/~gbeauchesne/gstreamer-vaapi/). For reference attaching the sample application(MultiVideos.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 software decoder like ffmpeg. What could be the problem? PS: OS : Fedora Core 13 Kernel : 2.6.37 Platform: Intel i5, Sandy Bridge Regards, Jyotsana.
We don't maintain this module...