[Bug 629244] [opencv] Add motion detection element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 5 12:05:41 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=629244
  GStreamer | gst-plugins-bad | git

--- Comment #77 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-06-05 19:05:36 UTC ---
(In reply to comment #75)
> HI Nicola,
> 
> 
> I always run valgrind and check memory leaks but usually log file is empty ...
> :(
> 
> I tried this command :
> 
> valgrind --log-file=/var/tmp/motioncells.out --track-fds=yes --leak-check=full
> --show-reachable=yes --tool=memcheck gst-launch v4l2src !
> video/x-raw-yuv,width=320,height=240,framerate=5/1 ! ffmpegcolorspace !
> motioncells ! ffmpegcolorspace ! xvimagesink
> 
> but it didnt give any warning or mem leak, it made an empty log file.
> 

A few comments:
- gst-launch spawns gst-launch-0.10, when valgrinding call gst-launch-0.10
directly or use --trace-children=yes.
- also export some env-vars for good reports. I use a shell alias:
alias vg_memcheck='G_SLICE=always-malloc G_DEBUG=gc-friendly
GLIBCPP_FORCE_NEW=1 GLIBCXX_FORCE_NEW=1 valgrind --tool=memcheck
--leak-check=full --leak-resolution=high --trace-children=yes --num-callers=20
-v'

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list