hmm, it is possible this is a buffer leak (since there should be a
dmabuf fd associated with the video buffer).. perhaps you can run
'lsof -p <your-processes-pid>' before and after, to see what fd's are
leaked?
BR,
-R
On Wed, Jan 30, 2013 at 12:40 PM, <
ayar...@gmail.com> wrote:
> Hi,
> I have a Pandaboard Rev B1 and am developing a media player for the board
> (Ubuntu), using Qt with GStreamer as backend (QtGstreamer).
> As my player plays a video file (mpeg, mp4, mov, avi), the # of file
> descriptors (sockets) on X11 increases by one or two. It does not seem to
> release them after stopping the video. When # of file descriptors reaches
> the limit (I believe 256 in my case), my player crashes with the error
> "Maximum # of clients reached". I see this problem with Totem Movie Player
> as well.
>
> My code is based
> on:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/qt-gstreamer/html/examples_2player_2main_8cpp-example.html
>
> I've been researching on this problem, assuming that the problem comes from
> GStreamer but no luck so far.
> I'm wondering if somebody else has seen this problem on Pandaboard.
>
> Here are what I installed on the board:
> - Ubuntu 12.04 Precise Pangolin desktop
> (
http://omappedia.org/wiki/Ubuntu_Pre-built_Binaries_Guide)
> - Ubuntu Precise 12.04 - TI OMAP Release PPA Update December 2012
> (
https://groups.google.com/forum/?fromgroups=#!topic/pandaboard/vKunvhMNV8k)
> - ubuntu-omap4-extras-multimedia
> - Qt 4.8.0
> - and below shows the output of the command: dpkg -l | grep "gst"
>
> ii bluez-gstreamer 4.98-2ubuntu7
> Bluetooth GStreamer support
> ii gir1.2-gst-plugins-base-0.10 0.10.36-1+ti1.6.7.1+1
> Description: GObject introspection data for the GStreamer Plugins Base
> library
> ii gir1.2-gstreamer-0.10 0.10.36-1ubuntu1+ti1.6.3.2+1
> Description: GObject introspection data for the GStreamer library
> ii gst-auto-launch 0.3.21-3
> This is an improved version of gst-launch that accepts commands.
> ii gstreamer-tools 0.10.36-1ubuntu1+ti1.6.3.2+1
> Tools for use with GStreamer
> ii gstreamer0.10-alsa 0.10.36-1+ti1.6.7.1+1
> GStreamer plugin for ALSA
> ii gstreamer0.10-faac 0.10.23-1+ti1.6.7.12+1
> FAAC plugin for GStreamer
> ii gstreamer0.10-ffmpeg 0.10.13-1+ti1.6.2.1+1
> FFmpeg plugin for GStreamer
> ii gstreamer0.10-gconf 0.10.31-1ubuntu1.1+ti1.6.7.1+1
> GStreamer plugin for getting the sink/source information from GConf
> ii gstreamer0.10-gnomevfs 0.10.36-1+ti1.6.7.1+1
> GStreamer plugin for GnomeVFS
> ii gstreamer0.10-nice 0.1.1-2ubuntu1
> ICE library (GStreamer plugin)
> ii gstreamer0.10-plugin-ducati 1.6.7.20-1
> gst-plugin-ducati is a Gstreamer plugin
> ii gstreamer0.10-plugins-bad 0.10.23-1+ti1.6.7.12+1
> GStreamer plugins from the "bad" set
> ii gstreamer0.10-plugins-bad-multiverse 0.10.21-1
> GStreamer plugins from the "bad" set (Multiverse Variant)
> ii gstreamer0.10-plugins-base 0.10.36-1+ti1.6.7.1+1
> GStreamer plugins from the "base" set
> ii gstreamer0.10-plugins-base-apps 0.10.36-1+ti1.6.7.1+1
> GStreamer helper programs from the "base" set
> ii gstreamer0.10-plugins-good 0.10.31-1ubuntu1.1+ti1.6.7.1+1
> GStreamer plugins from the "good" set
> ii gstreamer0.10-plugins-ugly 0.10.18.3-1ubuntu1+ti1.6.6.1+1
> GStreamer plugins from the "ugly" set
> ii gstreamer0.10-pulseaudio 0.10.31-1ubuntu1.1+ti1.6.7.1+1
> GStreamer plugin for PulseAudio
> ii gstreamer0.10-sdl 0.10.23-1+ti1.6.7.12+1
> GStreamer plugin for SDL output
> ii gstreamer0.10-tools 0.10.36-1ubuntu1+ti1.6.3.2+1
> Tools for use with GStreamer
> ii gstreamer0.10-x 0.10.36-1+ti1.6.7.1+1
> GStreamer plugins for X11 and Pango
> ii libgstreamer-plugins-bad0.10-0 0.10.23-1+ti1.6.7.12+1
> GStreamer development files for libraries from the "bad" set
> ii libgstreamer-plugins-bad0.10-dev 0.10.23-1+ti1.6.7.12+1
> GStreamer development files for libraries from the "bad" set
> ii libgstreamer-plugins-base0.10-0 0.10.36-1+ti1.6.7.1+1
> GStreamer libraries from the "base" set
> ii libgstreamer-plugins-base0.10-dev 0.10.36-1+ti1.6.7.1+1
> GStreamer development files for libraries from the "base" set
> ii libgstreamer0.10-0 0.10.36-1ubuntu1+ti1.6.3.2+1
> Core GStreamer libraries and elements
> ii libgstreamer0.10-dev 0.10.36-1ubuntu1+ti1.6.3.2+1
> GStreamer core development files
> ii libqtgstreamer-0.10-0 0.10.1-2ubuntu4
> C++ bindings library for GStreamer with a Qt-style API
> ii libqtgstreamer-dev 0.10.1-2ubuntu4
> Development headers for QtGStreamer
> ii libqtgstreamerui-0.10-0 0.10.1-2ubuntu4
> The QtGStreamerUi library
> ii libqtgstreamerutils-0.10-0 0.10.1-2ubuntu4
> The QtGStreamerUtils library
> ii phonon-backend-gstreamer 4:4.7.0really4.6.2-0ubuntu0.1
> Phonon GStreamer 0.10.x backend
> ii python-gst0.10 0.10.22-3ubuntu0.1
> generic media-playing framework (Python bindings)
> ii qtgstreamer-dbg 0.10.1-2ubuntu4
> Debug symbols for QtGStreamer
> ii qtgstreamer-doc 0.10.1-2ubuntu4
> QtGStreamer API documentation
> ii qtgstreamer-plugins 0.10.1-2ubuntu4
> GStreamer plugins from QtGStreamer
>
> Any thoughts/comments/suggestions would be greatly appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandaboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pandaboard+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>