DebianWheezy armhf package
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
DebianWheezy armhf package
Hi, I'm trying to move my server to a cubieboard with an arm arquitecture.
How can I install filebot on this device?
Thanks
How can I install filebot on this device?
Thanks
Re: DebianWheezy armhf package
If Java works, FileBot will work.
You can just grab the portable package and run filebot.sh and see what happens. You'll you need to figure out how to make java work first though I guess.
You can just grab the portable package and run filebot.sh and see what happens. You'll you need to figure out how to make java work first though I guess.
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: DebianWheezy armhf package
I installed OpenJava7 through the package manager and it works.
I had the x11 warnings problem described here http://www.filebot.net/forums/viewtopic.php?f=4&t=500 but the options fixed it.
Now I just have this warning: WARNING: Failed to preload libzen
Also it runs very slow, but I already had that problem in my old server. It's my sorrow with filebot. It took 40 seconds just to startup and show:
I took in total 3m18s to complete, at 99% cpu usage 
The functionality is great, I just wish it was written in another language or something which made it less resource intensive and faster.
Cheers
FileBot 3.61 (r1646) / OpenJDK Runtime Environment 1.7.0_25 (headless)
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1)
OpenJDK Zero VM (build 22.0-b10, mixed mode)
I had the x11 warnings problem described here http://www.filebot.net/forums/viewtopic.php?f=4&t=500 but the options fixed it.
Now I just have this warning: WARNING: Failed to preload libzen
Also it runs very slow, but I already had that problem in my old server. It's my sorrow with filebot. It took 40 seconds just to startup and show:
Code: Select all
Parameter: artwork = false
Parameter: subtitles = true
Parameter: ut_kind = multi
Parameter: ut_dir = Fight.Club.avi
Input: /home/user/FileBot_3.61-portable/Fight.Club.avi

The functionality is great, I just wish it was written in another language or something which made it less resource intensive and faster.
Cheers
FileBot 3.61 (r1646) / OpenJDK Runtime Environment 1.7.0_25 (headless)
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1)
OpenJDK Zero VM (build 22.0-b10, mixed mode)
Re: DebianWheezy armhf package
I remember someone with a Rasp Pi saying things are extremely slow on ARM with OpenJDK... and that the Oracle Java 8 Embedded EA is 100x faster.
Kind what it says here so should be worth a try:
http://raspberrypi.stackexchange.com/qu ... spberry-pi
Kind what it says here so should be worth a try:
http://raspberrypi.stackexchange.com/qu ... spberry-pi
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: DebianWheezy armhf package
Yes, it is considerably faster, now it runs as fast as my old server.
25 seconds to startup
1 minute to finish running
Still, quite slow, nevertheless is runs fine as long as one doesn't download files in batch.
Do you know how to fix this?
25 seconds to startup
1 minute to finish running
Still, quite slow, nevertheless is runs fine as long as one doesn't download files in batch.
Do you know how to fix this?
Code: Select all
Jul 22, 2013 6:01:31 PM net.sourceforge.filebot.mediainfo.MediaInfo <clinit>
WARNING: Failed to preload libzen
Re: DebianWheezy armhf package
That's libzen is a dependency of libmediainfo. I don't have libmediainfo natives compiled for ARM. Ignore the warning and accept that libmediainfo is not gonna work.
Just out of interest. Try this:
How long does it take to get the first output?
How much longer does it take until it prints Hello World?
Also are you using the --log-file option? If you do something like --log-file amc.log it'll lock on the log file so if you start multiple filebot processes at the same time with the same --log-file they will wait for each other and the waiting processes will be barely initialized and use very little memory.
Just out of interest. Try this:
Code: Select all
filebot -clear-prefs -script "g:println 'Hello World'"
How much longer does it take until it prints Hello World?
Also are you using the --log-file option? If you do something like --log-file amc.log it'll lock on the log file so if you start multiple filebot processes at the same time with the same --log-file they will wait for each other and the waiting processes will be barely initialized and use very little memory.
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: DebianWheezy armhf package
It takes 2s for "Reset preferences" to appear and 19s to finish.
So.. using --log-file is a desirable option so the processes don't compete with each other?
What is libmediainfo used for?
So.. using --log-file is a desirable option so the processes don't compete with each other?
What is libmediainfo used for?
Re: DebianWheezy armhf package
So that means:
2s => Load Java
19s => Load Groovy
Could probably make Groovy twice as fast by enabling the Java 7 optimizations, but I need to keep compatibility with Java 6 so you'll have to live with it.
If you're using AMC you definitely wanna set --log-file amc.log like in my samples. Mainly for caching and flood limits which I can only control per process.
If you wanna use bindings like {vc} {ac} etc that need to get any kind of media info (like codecs, video fps, etc) you'd need libmediainfo.
2s => Load Java
19s => Load Groovy
Could probably make Groovy twice as fast by enabling the Java 7 optimizations, but I need to keep compatibility with Java 6 so you'll have to live with it.
If you're using AMC you definitely wanna set --log-file amc.log like in my samples. Mainly for caching and flood limits which I can only control per process.
If you wanna use bindings like {vc} {ac} etc that need to get any kind of media info (like codecs, video fps, etc) you'd need libmediainfo.
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: DebianWheezy armhf package
Wow, only now I understood what you mean with AMC. Didn't notice you changed the name of the script, still using the utorrent, did you introduce changes since then?
Would it be hard for me to enable Java7 optimizations?
Thanks
Would it be hard for me to enable Java7 optimizations?
Thanks
Re: DebianWheezy armhf package
Yep. AMC is constantly updated. But if you call fn:utorrent-postprocess it'll redirect to fn:amc so don't worry. You're using the latest AMC. 
You'd have to recompile and package filebot and replace the groovy lib with the one that uses invokedynamic. Might not even make much of a difference for loading Groovy though. Probably a bit hard.

You'd have to recompile and package filebot and replace the groovy lib with the one that uses invokedynamic. Might not even make much of a difference for loading Groovy though. Probably a bit hard.