[mythtv-users] Ia mythfrontend leaking memory in a big way?

JCA 1.41421 at gmail.com
Mon Nov 27 16:36:53 UTC 2006


  I have some NUV files that I would like to convert into MPEG2
streams that I can burn to a DVD to be played on run-of-the-mill DVD
players. In order to do so I first invoke mythfrontend and pipe its
output to ffmpeg as follows:

mythtranscode -c 1295 -s 2006-11-25-04-30-00 -f /home/TV -p autodetect
| ffmpeg -y -f s16le -ar 48000 -ac 2 -i /home/jca/TV/audout -ab 384
-ar 48000 -ac 2
"/home/TV/Barney_and_Friends_2006-11-25_04:30_to_05:00.ac3" -f
rawvideo -pix_fmt yuv420p -s 720x480 -i /home/TV/vidout -aspect 4:3 -b
5000 -bufsize 224 -maxrate 7000 -s 720x480 -r ntsc -f mpeg2video
"/home/TV/Barney_and_Friends_2006-11-25_04:30_to_05:00.m2v"

   This works fine, in that ffmpeg indeed reads and processes the data
being written by mythfrontend to the audio and video pipes. However,
mythfrontend seems to allocate more and more memory, apparently
without releasing it. The upshot is that even for a relatively
modest-sized input NUV file (less than 512 MB) mythfrontend exhausts
all the memory available in my system (512 MB RAM plus 1 GB swap).

   Is this is a problem with mythfrontend, or am I perhaps doing
something stupid? I am running mythtv 0.19 on Slackware 10.2.


More information about the mythtv-users mailing list