anying2046 发表于 2014-9-19 16:52:03

看一下。。。

andyxie5585 发表于 2014-9-19 21:45:15

楼主看看我的诊断信息,和你的有什么不一样?换了一个免费版的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.

sunlion1031 发表于 2014-9-19 22:24:30

谢谢楼主分享

天道太酬勤 发表于 2014-9-19 23:23:12

好评,投诉手机版没有回复按钮啊

antsnm 发表于 2014-9-19 23:32:31

andyxie5585 发表于 2014-9-19 21:45
楼主看看我的诊断信息,和你的有什么不一样?换了一个免费版的air video ,似乎连接上了,但看不到视频文件 ...

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的编码了吗?

antsnm 发表于 2014-9-19 23:33:35

天道太酬勤 发表于 2014-9-19 23:23
好评,投诉手机版没有回复按钮啊

没错,手机版没法回复,只能切到电脑版。手机版也没法查看消息。

ak47947 发表于 2014-9-20 00:32:00

貌似很牛逼的样子

andyxie5585 发表于 2014-9-20 00:47:10

antsnm 发表于 2014-9-19 23:32
root@HarveyDS:/home/airvideo# /usr/bin/java -jar /home/airvideo/AirVideoServerLinux.jar /home/airv ...

已搞定了,原来楼主教程中的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:53:04

另外楼主脚本中提到的是/volume1,截图上显示的却是/volume2.{:7_196:}

yk66268511 发表于 2014-9-20 01:36:28

收藏了。谢谢楼主分享

antsnm 发表于 2014-9-20 03:48:32

andyxie5585 发表于 2014-9-20 00:47
已搞定了,原来楼主教程中的airvideo-properties文件有问题,只写入了
folders = video:/volume1/video
...

非常感谢!已经修改。

不过这个错误不能完全怪我,论坛的排版恨死我了。我写的时候是全的,但保存就会缺了,你看有的代码我都分成两段,因为一段肯定出错。

建议你编码改成GBK,window-1250中文字幕不会有问题吗?

antsnm 发表于 2014-9-20 03:49:49

andyxie5585 发表于 2014-9-20 00:53
另外楼主脚本中提到的是/volume1,截图上显示的却是/volume2.

我估计大部分人都是vo1,我是因为删掉了一个磁盘,所以变成了vol2。

liuhmc@126.com 发表于 2014-9-20 06:02:42

好东西,谢谢分享折腾

fghjkls 发表于 2014-9-20 09:09:32

感谢楼主分享!

andyxie5585 发表于 2014-9-20 10:03:37

antsnm 发表于 2014-9-20 03:48
非常感谢!已经修改。

不过这个错误不能完全怪我,论坛的排版恨死我了。我写的时候是全的,但保存就会缺 ...

已改成GBK,对这个不是很了解,楼主教程不错,我这个小白都成功了,特喜欢debian chroot,谢谢!

dangerousboy 发表于 2014-9-20 10:34:45

感谢楼主无私分享,一定认真学习

bahn 发表于 2014-9-20 11:52:26

看看楼主的方案

dongdeliang 发表于 2014-9-20 12:33:11

学习一下

mybitchen 发表于 2014-9-20 12:46:54

看看怎么弄

civen 发表于 2014-9-20 16:39:31

准备入N54L,向楼主学习!
页: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17
查看完整版本: HP N54L黑群晖DSM5.0成功安装Air Video Server!1080p MKV无压力!