GNOME Bugzilla – Bug 634620
Rendering video in WebM muxer causes memory leak when settings are changed
Last modified: 2011-08-19 04:54:04 UTC
Rendering a video with the stock settings works fine. When the parameter under the video codec settings is changed to "encode on last pass of multi-pass" is selected, 8 GB of system memory are used within a few seconds. This does not happen when "encode on first pass of multi-pass" is selected
If I set the encode to "encode on the first pass", start the encoding process, cancel, and then change the encoding scheme to "encode on the last pass" everything continues as normal.
Hmmm, could this be due to bug #603070 ? But at the same time, I guess it surely shouldn't cause a giant memory leak... Pitivi issue or gstreamer issue?
I'm unable to reproduce this on pitivi git. If I only set "encode on last pass of multi-pass", the render process simply sits there but the RAM usage doesn't go up. Instead, I get this in the terminal: ERROR [18990] [0x -48737940] "<Pipeline at 0x9e5c44c>" pipeline May 25 11:03:44 _handleErrorMessage: error from /GstPipeline:pipeline1/GstBin:bin7/GstBin:bin8/GstBin:bin9/GstVP8Enc:vp8enc0 (__main__.GstVP8Enc): Could not open resource for reading. (gstvp8enc.c(770): gst_vp8_enc_handle_frame (): /GstPipeline:pipeline1/GstBin:bin7/GstBin:bin8/GstBin:bin9/GstVP8Enc:vp8enc0: Failed to open file '': No such file or directory) (pitivi/pipeline.py:852) Which means that I did not specify a pass cache file in the setting right below. Can you reproduce the memory usage problem? Otherwise I'm tempted to simply say "multi pass encoding sucks and that's a duplicate of bug #603070".
Kyle Bentley, can you still reproduce the problem ? Please respond to comment#3.
Please feel free to reopen the bug if you still face the problem with pitivi 0.14.0 or later.