Installation trouble - ffmpeg not found
After 3 days of trying to get a JRE onto my QNAP TS410
(all the installers/guides pointed to a old version - new version is 1.6.0_25 - had troubles finding the old version - anyways: solved),
I have the issue that everything runs (yeah!) but the Server does not find the ffmeg and quits.
Initially, I followed the instructions of viewtopic.php?f=14&t=2263, but those lead to an empty box with the need to factory reset because it installs it all into the tmp directories - which are RAM discs...great for newbies to find out!!! Or did I miss something? Anyways - solved.
Next, I followed viewtopic.php?f=14&t=2443.
This worked! Up to step 7.
This is because the server goes down because ffmpeg can't be found and before the console can connect.
Here is my log from the server:
2011-06-04 22:26:54,608 INFO [MediaServer] ------------------------------------------------------------------------
2011-06-04 22:26:54,616 INFO [MediaServer] Serviio DLNA media streaming server v 0.5.2 (rev. 4e3210bd9ff3)
2011-06-04 22:26:54,617 INFO [MediaServer] Petr Nejedly 2009-2011
2011-06-04 22:26:54,617 INFO [MediaServer] http://www.serviio.org
2011-06-04 22:26:54,617 INFO [MediaServer]
2011-06-04 22:26:54,618 INFO [MediaServer] Java 1.6.0_10-ea-Sun Microsystems Inc.
2011-06-04 22:26:54,618 INFO [MediaServer] OS Linux arm 2.6.33.2
2011-06-04 22:26:54,619 INFO [MediaServer] File encoding: UTF-8
2011-06-04 22:26:54,619 INFO [MediaServer] ------------------------------------------------------------------------
2011-06-04 22:26:55,451 INFO [RestletServer] Starting Restlet server exposed on 192.168.0.3:23423
2011-06-04 22:26:55,912 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2011-06-04 22:27:04,928 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2011-06-04 22:27:10,384 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2011-06-04 22:27:12,777 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2011-06-04 22:27:14,352 INFO [UpdateChecker] Checking if a new version is available
2011-06-04 22:27:14,770 INFO [ProfilesDefinitionParser] Added profile 'XBox 360' (id=3)
2011-06-04 22:27:15,745 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2011-06-04 22:27:17,840 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2011-06-04 22:27:19,050 INFO [WebServer] Socket buffer set to 65535 bytes
2011-06-04 22:27:19,052 INFO [Device] Created UPnP Device with UUID: c5db91ac-54f5-3daa-b7ba-6fea634c26b1, bound address: 192.168.0.3
2011-06-04 22:27:19,583 INFO [CompositeCacheManager] Creating cache manager from config file: /cache.ccf
2011-06-04 22:27:19,658 INFO [ThreadPoolManager] thread_pool.default PoolConfiguration = useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
2011-06-04 22:27:19,708 INFO [CompositeCacheConfigurator] Setting default auxiliaries to null
2011-06-04 22:27:19,709 INFO [CompositeCacheConfigurator] No special CompositeCacheAttributes class defined for key [jcs.default.cacheattributes], using default class.
2011-06-04 22:27:19,730 INFO [CompositeCacheConfigurator] setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-06-04 22:27:19,731 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class.
2011-06-04 22:27:19,733 INFO [CompositeCacheConfigurator] setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1307226439732, LastAccessTime = 1307226439732, getTimeToLiveSeconds() = -1, createTime = 1307226439732 ]
2011-06-04 22:27:19,779 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_resetafterplay.elementattributes], using default class.
2011-06-04 22:27:19,881 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2011-06-04 22:27:20,003 INFO [LRUMemoryCache] initialized LRUMemoryCache for local_resetafterplay
2011-06-04 22:27:20,004 INFO [CompositeCache] Constructed cache with name [local_resetafterplay] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-06-04 22:27:20,006 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_default.elementattributes], using default class.
2011-06-04 22:27:20,007 INFO [LRUMemoryCache] initialized LRUMemoryCache for local_default
2011-06-04 22:27:20,007 INFO [CompositeCache] Constructed cache with name [local_default] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-06-04 22:27:20,008 INFO [CompositeCacheConfigurator] Parsed regions [local_resetafterplay, local_default]
2011-06-04 22:27:20,008 INFO [CompositeCacheConfigurator] Finished configuration in 327 ms.
2011-06-04 22:27:22,491 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2011-06-04 22:27:22,952 INFO [ProfilesDefinitionParser] Added profile 'LG BD player' (id=8)
2011-06-04 22:27:26,799 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV' (id=9)
2011-06-04 22:27:30,294 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
2011-06-04 22:27:35,434 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player' (id=10)
2011-06-04 22:27:38,154 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera' (id=12)
2011-06-04 22:27:40,073 INFO [ProfilesDefinitionParser] Added profile 'Toshiba Rezga' (id=13)
2011-06-04 22:27:40,224 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "/share/MD0_DATA/.qpkg/ffmpeg/ffmpeg": java.io.IOException: error=2, No such file or directory
2011-06-04 22:27:40,226 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: null
2011-06-04 22:27:40,233 INFO [DatabaseManager] Shutting down database
2011-06-04 22:27:40,674 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
Here is where ffmpeg is:
[/] # find -name ffmpeg
./mnt/ext/opt/ffmpeg
./mnt/ext/opt/ffmpeg/usr/bin/ffmpeg
./mnt/ext/usr/bin/ffmpeg
./share/MD0_DATA/.qpkg/ffmpeg
Here is the listing of ./share/MD0_DATA/.qpkg/ffmpeg:
[/share/MD0_DATA/.qpkg/ffmpeg] # ls -al
drwxr-xr-x 14 1000 1000 4096 Jan 10 22:23 ./
drwxrwxrwx 6 admin administ 4096 Jun 4 23:49 ../
-rw-r--r-- 1 1000 1000 0 Jun 4 21:54 .config
-rw-r--r-- 1 1000 1000 210 Jan 13 2010 .project
-rw-r--r-- 1 1000 1000 0 Jun 4 21:54 .version
-rw-rw-rw- 1 1000 1000 18092 Jan 13 2010 COPYING.GPLv2
-rw-rw-rw- 1 1000 1000 35147 Jan 13 2010 COPYING.GPLv3
-rw-rw-rw- 1 1000 1000 27032 Jan 13 2010 COPYING.LGPLv2.1
-rw-rw-rw- 1 1000 1000 7651 Jan 13 2010 COPYING.LGPLv3
-rw-rw-rw- 1 1000 1000 930 May 3 2010 CREDITS
-rw-rw-rw- 1 1000 1000 22696 Jan 10 21:58 Changelog
-rw-rw-rw- 1 1000 1000 60484 Jul 14 2010 Doxyfile
-rw-rw-rw- 1 1000 1000 491 Jan 13 2010 INSTALL
-rw-rw-rw- 1 1000 1000 2034 Jan 1 20:14 LICENSE
-rw-rw-rw- 1 1000 1000 18524 Jan 10 21:58 MAINTAINERS
-rw-rw-rw- 1 1000 1000 9577 Jan 10 21:57 Makefile
-rw-rw-rw- 1 1000 1000 176 Jan 13 2010 README
-rw-rw-rw- 1 1000 1000 30137 Jan 5 23:35 cmdutils.c
-rw-rw-rw- 1 1000 1000 9614 Jan 1 20:14 cmdutils.h
-rw-rw-rw- 1 1000 1000 975 Jan 13 2010 cmdutils_common_opts.h
-rw-rw-rw- 1 1000 1000 3318 Jan 1 20:14 common.mak
-rw-rw-rw- 1 1000 1000 22660 Jun 4 21:54 config.asm
-rw-rw-rw- 1 1000 1000 234 Jun 4 21:51 config.fate
-rw-rw-rw- 1 1000 1000 29799 Jun 4 21:54 config.h
-rw-rw-rw- 1 1000 1000 130941 Jun 4 21:51 config.log
-rw-rw-rw- 1 1000 1000 29337 Jun 4 21:54 config.mak
-rwxrwxrwx 1 1000 1000 101049 Jan 10 22:29 configure*
drwxrwxrwx 2 1000 1000 4096 Jan 10 22:23 doc/
-rw-rw-rw- 1 1000 1000 167410 Jan 10 21:58 ffmpeg.c
-rw-rw-rw- 1 1000 1000 104425 Jan 10 21:58 ffplay.c
drwxrwxrwx 2 1000 1000 4096 Jan 10 22:23 ffpresets/
-rw-rw-rw- 1 1000 1000 14833 Jan 1 20:14 ffprobe.c
-rw-rw-rw- 1 1000 1000 163779 Jan 10 21:57 ffserver.c
-rw-rw-rw- 1 1000 1000 1032 Jan 13 2010 ffserver.h
drwxrwxrwx 13 1000 1000 20480 Jan 10 22:23 libavcodec/
drwxrwxrwx 2 1000 1000 4096 Jan 10 22:23 libavcore/
drwxrwxrwx 2 1000 1000 4096 Jun 4 21:54 libavdevice/
drwxrwxrwx 3 1000 1000 4096 Jun 4 21:55 libavfilter/
drwxrwxrwx 2 1000 1000 12288 Jan 10 22:23 libavformat/
drwxrwxrwx 10 1000 1000 4096 Jan 10 22:23 libavutil/
drwxrwxrwx 2 1000 1000 4096 Jan 10 22:23 libpostproc/
drwxrwxrwx 7 1000 1000 4096 Jan 10 22:23 libswscale/
-rw-rw-rw- 1 1000 1000 3297 Jan 1 20:14 subdir.mak
drwxrwxrwx 4 1000 1000 4096 Jan 10 22:23 tests/
drwxrwxrwx 2 1000 1000 4096 Jan 10 22:23 tools/
-rw-rw-rw- 1 1000 1000 33 Jun 4 21:54 version.h
-rwxrwxrwx 1 1000 1000 1362 Jan 10 22:30 version.sh*
Where can I configure this, and what should I do. Pls note, that I am an absolute LINUX Newbee and have no clue on about 98% of all commands. But I usually find my way around. Can you guys help me out?
Thanks,
Stefan.