HP N54L黑群晖DSM5.0成功安装Air Video Server!1080p MKV无压力! |
楼主看看我的诊断信息,和你的有什么不一样?换了一个免费版的air video ,似乎连接上了,但看不到视频文件。
root@DiskStation:/# /usr/bin/java -jar /home/airvideo/AirVideoServerLinux.jar /home/airvideo/airvideo-properties Sep 19, 2014 9:34:54 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: SHA1-Digest. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Sep 19, 2014 9:34:54 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: SHA1-Digest. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. DEBUG: SnapshotCache: Initializing Thumbnail Cache; Java Version: 1.6.0_32 DEBUG: SnapshotCache: Created new Snapshot Index BTree2014-09-19 21:34:54.599::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2014-09-19 21:34:54.628::INFO: jetty-6.1.x Sep 19, 2014 9:34:54 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: SHA1-Digest. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. 2014-09-19 21:34:54.683::INFO: Started SocketConnector@0.0.0.0:45631 DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (5739699) DEBUG: StatusReportAction: Scheduling task StatusReportAction$2 (1396169)Exception in thread "main" java.lang.NullPointerException: charsetName at java.lang.String.<init>(String.java:449) at java.lang.String.<init>(String.java:523) at com.inmethod.air.video.common.subtitle.SubtitleStateManager.setDefaultEncoding(SubtitleStateManager.java:73) at com.inmethod.air.video.Cli.main(Cli.java:74) Exception in thread "Overlay Socket Thread" java.lang.OutOfMemoryError: Java heap space at com.inmethod.air.video.common.subtitle.server.SubtitleServer.parseRequest(SubtitleServer.java:29) at com.inmethod.air.video.common.subtitle.server.SubtitleServer.access$0(SubtitleServer.java:23) at com.inmethod.air.video.common.subtitle.server.SubtitleServer$SocketThread.run(SubtitleServer.java:143) Sep 19, 2014 9:37:03 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: SHA1-Digest. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. |
andyxie5585 发表于 2014-9-19 21:45 root@HarveyDS:/home/airvideo# /usr/bin/java -jar /home/airvideo/AirVideoServerLinux.jar /home/airvideo/airvideo-properties Sep 19, 2014 11:29:03 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: SHA1-Digest. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Sep 19, 2014 11:29:03 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: SHA1-Digest. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. DEBUG: SnapshotCache: Initializing Thumbnail Cache; Java Version: 1.6.0_32 DEBUG: SnapshotCache: Loaded existing Snapshot Index BTree with with 207 items.2014-09-19 23:29:03.390::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2014-09-19 23:29:03.416::INFO: jetty-6.1.x Sep 19, 2014 11:29:03 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: SHA1-Digest. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. 2014-09-19 23:29:03.464::INFO: Started SocketConnector@0.0.0.0:45631 DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (5377956) DEBUG: StatusReportAction: Scheduling task StatusReportAction$2 (21172596) 我的调试信息,似乎没有报错的。我看你的报错信息好像是字幕的缺省编码出错,你已经修改了chroot的编码了吗? |
天道太酬勤 发表于 2014-9-19 23:23 没错,手机版没法回复,只能切到电脑版。手机版也没法查看消息。 |
antsnm 发表于 2014-9-19 23:32 已搞定了,原来楼主教程中的airvideo-properties文件有问题,只写入了 folders = video:/volume1/video #subtitles.encoding = windows-1250 后来参照原文,改成如下: folders = video:/volume1/video subtitles.encoding = windows-1250 subtitles.font = ttf-wqy-zenhei password = password path.ffmpeg = /home/airvideo/libav/avconv 成功列出目录,顺便提下安卓手机可以用airvid进行测试。 |
andyxie5585 发表于 2014-9-20 00:47 非常感谢!已经修改。 不过这个错误不能完全怪我,论坛的排版恨死我了。我写的时候是全的,但保存就会缺了,你看有的代码我都分成两段,因为一段肯定出错。 建议你编码改成GBK,window-1250中文字幕不会有问题吗? |
andyxie5585 发表于 2014-9-20 00:53 我估计大部分人都是vo1,我是因为删掉了一个磁盘,所以变成了vol2。 |
antsnm 发表于 2014-9-20 03:48 已改成GBK,对这个不是很了解,楼主教程不错,我这个小白都成功了,特喜欢debian chroot,谢谢! |