[mythtv-users] mythtranscode and nuvexport (memory usage and swapping)

Steve Elzinga steven_elzinga at yahoo.com
Mon Aug 29 15:13:02 UTC 2005



--- Steve Malenfant <smalenfant at gmail.com> wrote:

> I'm able to successfully export 30 minutes shows
> from HD to xvid on my 
> system. That takes about 5 hours. Anything bigger
> than that doesn't work. My 
> system is swapping like crazy and the fps drops from
> 8 to < 1. I've search 
> the archive and googled a bit but can't find the
> answer. 
>  You can see that mythtranscode grew from 372m used
> to a 1303m in virtual 
> memory. I have a gig of RAM in that machine and
> killed X so maybe the extra 
> RAM will be used and not swapped. From what I can
> see, my hard drive swapped 
> all night and I stopped my 1 encoding after 9 hours,
> which only 2% was done.
>  Anybody can help here? Memory leak in
> mythtranscode?
> 
> top - 08:15:21 up 15:11, 4 users, load average:
> 2.32, 1.80, 1.64
> Tasks: 68 total, 4 running, 64 sleeping, 0 stopped,
> 0 zombie
> Cpu(s): 0.0% us, 50.3% sy, 4.3% ni, 0.0% id, 44.7%
> wa, 0.7% hi, 0.0% si
> Mem: 1035548k total, 1022504k used, 13044k free,
> 924k buffers
> Swap: 690752k total, 546472k used, 144280k free,
> 14556k cached
> 
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
> COMMAND
> 137 root 17 0 0 0 0 R 50.1 0.0 194:02.09 kswapd0
> 353 root 35 19 28308 12m 756 R 3.3 1.3 76:51.18
> ffmpeg
> 348 root 34 19 1303m 737m 1820 S 1.7 72.9 32:26.34
> mythtranscode
> 1278 root 16 0 1956 924 748 R 0.3 0.1 0:00.01 top
> 1 root 16 0 1704 264 240 S 0.0 0.0 0:01.01 init
>  Thanks,
>  Steve M.

Steve,

I ran into similar issues with nuvexport.  What I have
done (which seems to work just fine) is to cut
commercials out with this program:

http://www.pvrguide.no-ip.com/bbs-old/viewtopic.php?t=26826

This will cut the commercials and reinsert the program
back into the database without having to transcode or
change container format.

I then transcode with mencoder which seems to do well
with the HD stream contained inside Myth's nuv
container.

Steve



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


More information about the mythtv-users mailing list