After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164256 - Memory leaks when using theoraenc with swfdec
Memory leaks when using theoraenc with swfdec
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.7
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-16 14:21 UTC by gnome
Modified: 2005-08-29 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnome 2005-01-16 14:21:14 UTC
using this flash animation:
 http://www.themeatrix.com/meatrix.swf

with this pipeline:
gst-launch-0.8  { filesrc location=meatrix.swf ! swfdec name=decode } { decode.
! queue max-size-buffers=500 max-size-time=0 max-size-bytes=0 ! ffcolorspace !
theoraenc ! oggmux name=mux ! filesink location=test.ogg decode. ! queue
max-size-buffers=500 max-size-bytes=0 max-size-time=0 ! audioconvert !
rawvorbisenc ! mux. }

the resulting ogg theora will have a distorted image, cause by not
properly handling frame sizes that are not a multiple of 16.

in adition there seems to be a memory leak causing gst-launch to use up alle
available memory quite fast
Comment 1 gnome 2005-01-16 14:32:02 UTC
sorry for the noise looks - like a bug in ffcolorspace 
it works with ffmpegcolorspace.

the memleak still exists.
Comment 2 Maciej Katafiasz 2005-01-17 00:34:55 UTC
Changing summary to something more appropriate, didn't actually check it though,
so leaving UNCONFIRMED
Comment 3 Stephane Loeuillet 2005-01-17 00:52:00 UTC
reporter : please open another bug report for the ffcolorspace bug (even if
ffmpegcolorspace is the best choice and what totem uses)

i can't reproduce it with current CVS (resulting video looks good. audio is ok too)

the pipeline has been running for quite 5 minutes and still not a memory hog

please try CVS if you can (gst-core and plugins). also use libtheora alpha4 (if
it is not the one you're using)
Comment 4 Ronald Bultje 2005-01-17 21:56:13 UTC
How much memory does it eat?

queue max-size-buffers=500 max-size-time=0 max-size-bytes=0

That is a horrible max., since frames are RGB24 and can be up to (e.g.) 800x600,
which eats up to 800x600x500x3 bytes, which is 720 MB. I'm tempted to mark this
as NOTABUG.
Comment 5 gnome 2005-01-18 03:49:32 UTC
i was using that part from http://www.linuxrising.org/files/qt2oggt

but you are right using 100 it stays at ~140MB.
without max-size-buffers or values <100 the pipeline will not
do anything.