mencoder temp folder freebsd/freenas

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

mencoder temp folder freebsd/freenas

Postby Disgustipated » Thu Feb 16, 2012 6:49 am

ive searched around a bit on the forum and the googler
i am having some choppiness when streaming a 17gb mkv file, i suspect either the processor being overwhelmed or the temp folder is on the system drive i have which is not meant to have this sort of action on it(its a usb drive). if i let it sit for a while i see the proc spike but no network activity, then i resume play and theres no choppiness which leads me to believe there is some temp dir somewhere that needs a little love

does anyone know where the temp folder is for mencoder or mplayer on freebsd 9/freenas .7.5?
ive got the directories set up like this according to the debug.log of PMS:
[main] INFO 04:58:19.696 Working directory: /mnt/zfsPool/sys/PMS/pms-linux-1.50.1
[main] INFO 04:58:19.724 Temp folder: /mnt/zfsPool/sys/PMS/temp/ps3mediaserver
[main] INFO 04:58:19.724 Logging config file: /mnt/zfsPool/sys/PMS/pms-linux-1.50.1/logback.headless.xml
[main] INFO 04:58:19.725 debug.log: /mnt/zfsPool/sys/PMS/pms-linux-1.50.1/debug.log
[main] INFO 04:58:19.725
[main] INFO 04:58:19.725 Profile directory: /mnt/zfsPool/sys/PMS/pms-linux-1.50.1
[main] INFO 04:58:19.725 Profile path: /mnt/zfsPool/sys/PMS/pms-linux-1.50.1/PMS.conf
[main] INFO 04:58:19.725 Profile status: rw

i would like to make sure that mencoder is using a folder on my raid rather than the memory stick that hosts the OS
Disgustipated
 
Posts: 5
Joined: Sun Jul 17, 2011 7:28 pm

Re: mencoder temp folder freebsd/freenas

Postby meskibob » Thu Feb 16, 2012 1:06 pm

Remuxing/Transcoding is in memory only (if you're using the default engines)
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4784
Joined: Mon Jan 19, 2009 4:11 pm

Re: mencoder temp folder freebsd/freenas

Postby Disgustipated » Thu Feb 16, 2012 5:47 pm

Thanks, that was my other suspicion, the memory allocated only shows using about 50% and most of the activity is showing on the processor. I am getting another 4gb stick with some more reliable/faster memory today so i will have to test some more.

how much ram is typical for streaming an mkv that is a couple gigs in size?

when i ran ps with the movie playing i saw the java process for pms as well as the mencoder process running, if I allocate more ram to the java process running pms with the -Xmx switch this does not necessarily let mencoder use this memory does it?
Disgustipated
 
Posts: 5
Joined: Sun Jul 17, 2011 7:28 pm

Re: mencoder temp folder freebsd/freenas

Postby chocolateboy » Thu Feb 16, 2012 7:16 pm

meskibob wrote:Remuxing/Transcoding is in memory only (if you're using the default engines)


viewtopic.php?f=2&t=6014&p=27992#p27992
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: mencoder temp folder freebsd/freenas

Postby meskibob » Thu Feb 16, 2012 7:43 pm

Damn it, I forgot again. Thank you, once again.
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4784
Joined: Mon Jan 19, 2009 4:11 pm

Re: mencoder temp folder freebsd/freenas

Postby chocolateboy » Thu Feb 16, 2012 8:25 pm

No problem :-)
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: mencoder temp folder freebsd/freenas

Postby meskibob » Thu Feb 16, 2012 8:32 pm

While not as common a question/issue, maybe you could add it to the FAQ? Would it make sense to append it to http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=3507&start=20#p32731?
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4784
Joined: Mon Jan 19, 2009 4:11 pm

Re: mencoder temp folder freebsd/freenas

Postby chocolateboy » Thu Feb 16, 2012 9:28 pm

chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: mencoder temp folder freebsd/freenas

Postby Disgustipated » Fri Feb 17, 2012 4:39 am

looks like no more choppy playback...
i moved /tmp by doing this:
Code: Select all
mkdir /mnt/zfsPool/tmp
cd /tmp
tar cvf - . | (cd /mnt/zfsPool/tmp; tar xvf - )
cd /
chflags -R noschg /tmp
rm -rf /tmp
ln -s /mnt/zfsPool/tmp /tmp
chmod -h 777 /tmp
chmod 1777 /mnt/zfsPool/tmp


put the new corsair 2x4gb sticks of ram in

and the part that i think made the most difference, moved the box down into the basement and put it on the same wired router as the ps3. my network layout is like this : modem < router < wired in ps3 then off of the router connected to the modem i have another router upstairs acting as a wireless repeater to give internet access upstairs without wires going through the house. i think this was causing just a little too much latency. the nightly firmware on the dd-wrt release im using seems to not have the best repeater signal for some reason. i had thought the wireless-n repeater link would have been enough bandwidth, oh well...its cooler in the basement
Disgustipated
 
Posts: 5
Joined: Sun Jul 17, 2011 7:28 pm


Return to Linux/Unix Support

Who is online

Users browsing this forum: Google [Bot] and 6 guests