3.1.0 OutOfMemoeryError and FFMPEG not found
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
3.1.0 OutOfMemoeryError and FFMPEG not found
When starting UMS.sh i got:
ls of ums dir
When apt-get install ffmpeg, ums use the one that is installed and not the one in dir
ums.sh
even chmoding ffmpeg to 777 dont work.
edit:
workaround with ffmpeg is set
ffmpeg_path = /home/USER/ums-3.1.0/ffmpeg
but why?! it work with default at 3.0.0
Code: Select all
ERROR 2013-11-21 17:30:20.122 [main] Error running command [Ljava.lang.String;@5302067
java.io.IOException: Cannot run program "ffmpeg": error=2, Nie ma takiego pliku ani katalogu
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) ~[na:1.7.0_25]
at net.pms.util.ProcessUtil.run(ProcessUtil.java:155) ~[ums.jar:3.1.0]
at net.pms.encoders.FFmpegOptions.getSupportedProtocols(FFmpegOptions.java:90) ~[ums.jar:3.1.0]
at net.pms.encoders.FFmpegWebVideo.<init>(FFmpegWebVideo.java:96) ~[ums.jar:3.1.0]
at net.pms.encoders.PlayerFactory.registerPlayers(PlayerFactory.java:129) ~[ums.jar:3.1.0]
at net.pms.encoders.PlayerFactory.initialize(PlayerFactory.java:109) ~[ums.jar:3.1.0]
at net.pms.PMS.init(PMS.java:691) ~[ums.jar:3.1.0]
at net.pms.PMS.createInstance(PMS.java:1075) ~[ums.jar:3.1.0]
at net.pms.PMS.main(PMS.java:1171) ~[ums.jar:3.1.0]
Caused by: java.io.IOException: error=2, Nie ma takiego pliku ani katalogu
at java.lang.UNIXProcess.forkAndExec(Native Method) ~[na:1.7.0_25]
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135) ~[na:1.7.0_25]
at java.lang.ProcessImpl.start(ProcessImpl.java:130) ~[na:1.7.0_25]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ~[na:1.7.0_25]
... 8 common frames omitted
Code: Select all
CHANGELOG.txt database documentation ffmpeg INSTALL.txt LICENSE.txt logback.headless.xml logback.xml plugins README.txt renderers tsMuxeR UMS.conf ums.jar UMS.sh WEB.conf
ums.sh
Code: Select all
exec "$JAVA" $JAVA_OPTS -Xmx768M -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath "$PMS_JARS" net.pms.PMS "$@"
edit:
workaround with ffmpeg is set
ffmpeg_path = /home/USER/ums-3.1.0/ffmpeg
but why?! it work with default at 3.0.0
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
Re: 3.1.0 OutOfMemoeryError and FFMPEG not found
Thanks for the thorough reportsapsa wrote:When apt-get install ffmpeg, ums use the one that is installed and not the one in dir

- UMS ffmpeg is found without throwing the error and used by default.
- ffmpeg_path=ffmpeg means 'use the system ffmpeg'.
Re: 3.1.0 OutOfMemoeryError and FFMPEG not found
thanks, i will narrow the outOfMemeoryError nowinfidel wrote:Thanks for the thorough reportsapsa wrote:When apt-get install ffmpeg, ums use the one that is installed and not the one in dir. It's been fixed for the next release (3.1.2) so that
- UMS ffmpeg is found without throwing the error and used by default.
- ffmpeg_path=ffmpeg means 'use the system ffmpeg'.
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit