[dvd::rip] dvdrip should not write to /tmp
|
Subject: |
[dvd::rip] dvdrip should not write to /tmp |
|
From: |
Michael Renner <michael.renner@xxxxxx> |
|
Date: |
Fri, 13 Feb 2009 12:07:33 +0100 |
Moin,
I'm using dvd::rip since years with my old Pentium III notebook (it took one
day to rip a dvd, but I am a patient man).
Now I bought a new notebook with a solid state disk instead of an 'real' hard
disk drive.. Therefore, /tmp is a ramdisk now with only 50MB space.
But drv::dip is writing to /tmp somehow; I can see this at the console:
Executing command: execflow tcprobe -H 25 -i /home/renner/dvd/Pigor/vob/003/
&& echo EXECFLOW_OK
Fri Feb 13 11:29:24 2009 Program stream units calculated
Fri Feb 13 11:29:24 2009 Start job 'Process preview frame - title #3'
Fri Feb 13 11:29:24 2009 Start job 'Grab preview - title #3'
Fri Feb 13 11:29:24 2009 Executing command: mkdir -m
0775 /tmp/dvdrip14120.snap; cd /tmp/dvdrip14120.snap; execflow tccat -i
\/home\/renner\/dvd\/Pigor\/vob\/003\/ -t vob -S 1186656 -d 0 | tcdemux -s
0x80 -x mpeg2 -S 0 -M 0 -d 0 -P /dev/null | tcextract -t vob -a 0 -x mpeg2 -d
0 | ffmpeg -r 25.000 -i - -an -r 1 -ss '0.320' -vframes 1 snapshot%03d.png
&& execflow convert -size
720x576 /tmp/dvdrip14120.snap/snapshot*.png
/home/renner/dvd/Pigor/tmp/Pigor-003-preview-orig.jpg
&& execflow convert -size 720x576 /tmp/dvdrip14120.snap/snapshot*.png
gray:/home/renner/dvd/Pigor/tmp/Pigor-003-preview-orig.raw &&
rm -r /tmp/dvdrip14120.snap && echo EXECFLOW_OK
But /tmp/ is full in a little while.
I searched the perl code for 'tmp' and 'snap', and found a fragment in
Title.pm.
But what is the best way to change this? just replacing
my $tmp_dir = "/tmp/dvdrip$$.snap";
by
$HOME/dvd/$PROJECT/tmp/ (what is the right variable?)?
Thanks
PS: I'm using kubuntu at a dual core ADM 64, but I am willing to to give
solaris a change, where /tmp is also in ram.
--
|Michael Renner E-mail: michael.renner@xxxxxx |
|D-81541 Munich Germany ICQ: #112280325 |
|Germany Don't drink as root! ESC:wq
|
| <Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [dvd::rip] dvdrip should not write to /tmp,
Michael Renner <=
|
|