Git Product home page Git Product logo

ps3mediaserver / ps3mediaserver Goto Github PK

View Code? Open in Web Editor NEW
557.0 101.0 228.0 28.37 MB

PS3 Media Server is a cross-platform DLNA-compliant UPnP Media Server. Originally written to support the PlayStation 3, PS3 Media Server has been expanded to support a range of other media renderers, including smartphones, televisions, music players and more.

Home Page: http://www.ps3mediaserver.org/

License: GNU General Public License v2.0

Shell 3.95% Java 92.10% CMake 0.88% Makefile 0.01% Batchfile 0.08% NSIS 0.81% SRecode Template 2.16%
java dlna upnp media-server ps3-media-server ps3mediaserver

ps3mediaserver's Introduction

PS3 Media Server

by shagrath

WARNING : This project may still work, but is not maintained since 2016.

Build Status

PS3 Media Server is a cross-platform DLNA-compliant UPnP Media Server. Originally written to support the PlayStation 3, PS3 Media Server has been expanded to support a range of other media renderers, including smartphones, TVs, music players and more.

Links

Thanks

Thanks to:

  • Redlum
  • tcox
  • SubJunk
  • taconaut
  • tomeko
  • lightglitch
  • chocolateboy
  • ditlew
  • Raptor399
  • renszarv
  • happy.neko

for major code contributions.

Thanks to:

  • meskibob
  • otmanix

for documentation and contributions to the community.

  • boblinds and snoots for the network test cases :)
  • sarraken, bleuecinephile, bd.azerty, fabounnet for the support and feedback
  • smo for the Jenkins server

See the CHANGELOG for more thanks.

Installation

The download site has the latest releases of PS3 Media Server for Windows and Mac OS X as well as tarballs for Linux/Unix and debs for manual installation on Debian/Ubuntu.

For Debian and Ubuntu packages, see here.

For instructions on installing and running PMS from a tarball, see INSTALL.txt.

Building

PMS can be built using the following commands:

git clone git://github.com/ps3mediaserver/ps3mediaserver.git
cd ps3mediaserver
mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external
mvn com.savage7.maven.plugins:maven-external-dependency-plugin:install-external
mvn package

See BUILD.md for detailed information on setting up a PMS build environment.

Development

If you plan to commit source code, be sure to configure git to deal properly with cross platform line endings.

On Mac OS X and Linux:

git config --global core.autocrlf input

On Windows:

git config --global core.autocrlf true

For more information, see http://help.github.com/line-endings/

See DEVELOP.md for detailed information on setting up a PMS development environment.

License

Copyright 2009-2013 shagrath.

PS3 Media Server is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

ps3mediaserver's People

Contributors

aseques avatar bogosj avatar brunoarueira avatar chocolateboy avatar coobird avatar danielditlev avatar dlineberger avatar etrunko avatar exsport avatar glebb avatar gui17aume avatar gzsombor avatar ikarsokolov avatar lightglitch avatar merelin avatar mindwarper avatar raptor399 avatar robinmulder avatar shagr4th avatar skeptical avatar smmmo avatar subjunk avatar sunghyuk avatar taconaut avatar tcox2 avatar thelq avatar thepadawan42 avatar tomeko12 avatar valib avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ps3mediaserver's Issues

Error when trying to browse mounted folder

Hello all. [Ubuntu 12.04]

I've been having an issue with my ps3mediaserver installation. Whenever I tried navigating to my media folder I would get an error on my phone or tablet. On my Xbox my media wouldn't show up. My media is on a mounted external drive.

I eventually tested reading a /test folder I created instead of my normal media folder and everything began working. I tried making a symbolic link from /test/ext to where my external drive was mounted and it stopped working again. I think it may be related to this issue: http://cephas.net/blog/2006/02/09/javalangillegalargumentexception-illegal-group-reference-replaceall-and-dollar-signs/

Here is the error:
DEBUG 2012-11-30 01:04:18.172 [New I/O server worker #1-4] Caught exception
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:725) ~[na:1.6.0_24]
at java.util.regex.Matcher.replaceAll(Matcher.java:823) ~[na:1.6.0_24]
at java.lang.String.replaceAll(String.java:2201) ~[na:1.6.0_24]
at net.pms.dlna.DLNAResource.getDisplayName(DLNAResource.java:1044) ~[pms.jar:na]
at net.pms.dlna.DLNAResource.toString(DLNAResource.java:1231) ~[pms.jar:na]
at net.pms.network.RequestV2.answer(RequestV2.java:647) ~[pms.jar:na]
at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:301) ~[pms.jar:na]
at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:256) ~[pms.jar:na]
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:149) ~[pms.jar:na]
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302) ~[pms.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:527) ~[pms.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506) ~[pms.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261) ~[pms.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:351) ~[pms.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282) ~[pms.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:202) ~[pms.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]

Please let me know if there is any other information you may need.

Thank you!

Broken link in the README file

In the readme file displayed here on github, there is a broken link located under Installation > "For Debian and Ubuntu packages, see here. "

FFMpeg not present in Ubuntu 14.10

I didn't tested the last branch but only the last stable, so, sorry if it's already corrected.

I got a few errors like those when launching PMS :

ERROR 2014-11-25 15:48:55.264 [pool-27-thread-2] Error initializing process: 
java.io.IOException: Cannot run program "ffmpeg": error=2, Aucun fichier ou dossier de ce type
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) ~[na:1.7.0_65]
        at net.pms.io.ProcessWrapperImpl.run(ProcessWrapperImpl.java:183) [pms.jar:1.90.1]
        at net.pms.io.ProcessWrapperImpl.runInSameThread(ProcessWrapperImpl.java:299) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAMediaInfo.getFFmpegThumbnail(DLNAMediaInfo.java:473) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAMediaInfo.parse(DLNAMediaInfo.java:770) [pms.jar:1.90.1]
        at net.pms.formats.Format.parse(Format.java:269) [pms.jar:1.90.1]
        at net.pms.dlna.RealFile.resolve(RealFile.java:191) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAResource.run(DLNAResource.java:837) [pms.jar:1.90.1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
Caused by: java.io.IOException: error=2, Aucun fichier ou dossier de ce type
        at java.lang.UNIXProcess.forkAndExec(Native Method) ~[na:1.7.0_65]
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:186) ~[na:1.7.0_65]
        at java.lang.ProcessImpl.start(ProcessImpl.java:130) ~[na:1.7.0_65]
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028) ~[na:1.7.0_65]
        ... 10 common frames omitted
ERROR 2014-11-25 15:48:55.267 [pool-27-thread-1] Error initializing process: 
java.io.IOException: Cannot run program "ffmpeg": error=2, Aucun fichier ou dossier de ce type
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) ~[na:1.7.0_65]
        at net.pms.io.ProcessWrapperImpl.run(ProcessWrapperImpl.java:183) [pms.jar:1.90.1]
        at net.pms.io.ProcessWrapperImpl.runInSameThread(ProcessWrapperImpl.java:299) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAMediaInfo.getFFmpegThumbnail(DLNAMediaInfo.java:473) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAMediaInfo.parse(DLNAMediaInfo.java:770) [pms.jar:1.90.1]
        at net.pms.formats.Format.parse(Format.java:269) [pms.jar:1.90.1]
        at net.pms.dlna.RealFile.resolve(RealFile.java:191) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAResource.run(DLNAResource.java:837) [pms.jar:1.90.1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
Caused by: java.io.IOException: error=2, Aucun fichier ou dossier de ce type
        at java.lang.UNIXProcess.forkAndExec(Native Method) ~[na:1.7.0_65]
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:186) ~[na:1.7.0_65]
        at java.lang.ProcessImpl.start(ProcessImpl.java:130) ~[na:1.7.0_65]
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028) ~[na:1.7.0_65]
        ... 10 common frames omitted
ERROR 2014-11-25 15:48:55.266 [pool-27-thread-4] Error initializing process: 
java.io.IOException: Cannot run program "ffmpeg": error=2, Aucun fichier ou dossier de ce type
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) ~[na:1.7.0_65]
        at net.pms.io.ProcessWrapperImpl.run(ProcessWrapperImpl.java:183) [pms.jar:1.90.1]
        at net.pms.io.ProcessWrapperImpl.runInSameThread(ProcessWrapperImpl.java:299) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAMediaInfo.getFFmpegThumbnail(DLNAMediaInfo.java:473) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAMediaInfo.parse(DLNAMediaInfo.java:770) [pms.jar:1.90.1]
        at net.pms.formats.Format.parse(Format.java:269) [pms.jar:1.90.1]
        at net.pms.dlna.RealFile.resolve(RealFile.java:191) [pms.jar:1.90.1]
        at net.pms.dlna.DLNAResource.run(DLNAResource.java:837) [pms.jar:1.90.1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
Caused by: java.io.IOException: error=2, Aucun fichier ou dossier de ce type
        at java.lang.UNIXProcess.forkAndExec(Native Method) ~[na:1.7.0_65]
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:186) ~[na:1.7.0_65]
        at java.lang.ProcessImpl.start(ProcessImpl.java:130) ~[na:1.7.0_65]
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028) ~[na:1.7.0_65]
        ... 10 common frames omitted

And so on.

In Ubuntu 14.10, system on which those errors occured, ffmpeg is not provided anymore, but only avconv.
To solve this I only did that :
sudo ln -s /usr/bin/avconv /usr/bin/ffmpeg
But I think it would be useful to not have to do that.

Missing cuelib 1.2.1 - Maven

As i tried to install, this error came up:

$mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building PS3 Media Server 1.90.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-external-dependency-plugin:0.5:resolve-external (default-cli) @ pms --- [INFO] starting to resolve external dependencies [INFO] attempting to resolve external artifact: jwbroek.cuelib:cuelib:1.2.1-2008-06-13:jar Downloading: http://download.java.net/maven/2/jwbroek/cuelib/cuelib/1.2.1-2008-06-13/cuelib1.2.1-2008-06-13.jar Downloading: https://google-gson.googlecode.com/svn/mavenrepo/jwbroek/cuelib/cuelib/1.2.12008-06-13/cuelib-1.2.1-2008-06-13.jar Downloading: https://repository.jboss.org/nexus/content/repositories/releases/jwbroek/cuelib/cuelib/1.2.1200806-13/cuelib-1.2.1-2008-06-13.jar Downloading: http://www.mygrid.org.uk/maven/repository/jwbroek/cuelib/cuelib/1.2.1-20080613/cuelib-1.2.1-2008-06-13.jar Downloading:https://nexus.codehaus.org/content/repositories/releases/jwbroek/cuelib/cuelib/1.2.12008-0613/cuelib-1.2.1-2008-06-13.jar Downloading: https://repo.maven.apache.org/maven2/jwbroek/cuelib/cuelib/1.2.1-2008-06-13/cuelib-1.2.1-2008-06-13.jar [INFO] downloading artifact from URL: http://cuelib.googlecode.com/files/cuelib-1.2.1-2008-06-13.jar [ERROR] java.io.FileNotFoundException: http://cuelib.googlecode.com/files/cuelib-1.2.1-2008-06-13.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) at java.net.URL.openStream(URL.java:1038) at org.codehaus.plexus.util.io.URLInputStreamFacade.getInputStream(URLInputStreamFacade.java:77) at org.codehaus.plexus.util.FileUtils.copyStreamToFile(FileUtils.java:1057) at org.codehaus.plexus.util.FileUtils.copyURLToFile(FileUtils.java:1018) at com.savage7.maven.plugin.dependency.ResolveExternalDependencyMojo.execute(ResolveExternalDependencyMojo.java:155) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.563 s [INFO] Finished at: 2017-02-11T09:50:07-03:00 [INFO] Final Memory: 8M/115M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.savage7.maven.plugins:maven-external-dependency-plugin:0.5:resolve-external (default-cli) on project pms: http://cuelib.googlecode.com/files/cuelib-1.2.1-2008-06-13.jar -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Checking this line: java.io.FileNotFoundException: http://cuelib.googlecode.com/files/cuelib-1.2.1-2008-06-13.jar

And doing some research, found out that the cuelib project seems to be not available anymore.

Any workarounds?

codehaus.org no longer hosting?

I'm not a Maven/Java user normally, but from what Google has suggested the problem is predominantly that the host that it's trying to download from is either down (or the DNS entries I'm getting are wrong).

More so, it sounds like codehaus.org is no longer hosting open source/Maven stuffz? http://www.codehaus.org/
http://www.codehaus.org/mechanics/maven/.

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building PS3 Media Server 1.90.1
[INFO] ------------------------------------------------------------------------
Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/izpack/izpack-compiler/5.0.0-rc1-SNAPSHOT/maven-metadata.xml
Downloading: https://nexus.codehaus.org/content/repositories/releases/org/codehaus/izpack/izpack-compiler/5.0.0-rc1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.codehaus.izpack:izpack-compiler:5.0.0-rc1-SNAPSHOT/maven-metadata.xml from/to codehaus-releases (https://nexus.codehaus.org/content/repositories/releases): nexus.codehaus.org: unknown error
[WARNING] Could not transfer metadata org.codehaus.izpack:izpack-compiler:5.0.0-rc1-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (https://nexus.codehaus.org/content/repositories/snapshots): nexus.codehaus.org
[WARNING] Failure to transfer org.codehaus.izpack:izpack-compiler:5.0.0-rc1-SNAPSHOT/maven-metadata.xml from https://nexus.codehaus.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of codehaus-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.izpack:izpack-compiler:5.0.0-rc1-SNAPSHOT/maven-metadata.xml from/to codehaus-releases (https://nexus.codehaus.org/content/repositories/releases): nexus.codehaus.org: unknown error
[WARNING] Failure to transfer org.codehaus.izpack:izpack-compiler:5.0.0-rc1-SNAPSHOT/maven-metadata.xml from https://nexus.codehaus.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of codehaus-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.izpack:izpack-compiler:5.0.0-rc1-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (https://nexus.codehaus.org/content/repositories/snapshots): nexus.codehaus.org
Downloading: https://nexus.codehaus.org/content/repositories/releases/org/codehaus/izpack/izpack-compiler/5.0.0-rc1-SNAPSHOT/izpack-compiler-5.0.0-rc1-SNAPSHOT.pom
Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/izpack/izpack-compiler/5.0.0-rc1-SNAPSHOT/izpack-compiler-5.0.0-rc1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.049 s
[INFO] Finished at: 2016-02-01T20:46:46-05:00
[INFO] Final Memory: 12M/153M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project pms: Could not resolve dependencies for project net.pms:pms:jar:1.90.1: Failed to collect dependencies at org.codehaus.izpack:izpack-compiler:jar:5.0.0-rc1-SNAPSHOT: Failed to read artifact descriptor for org.codehaus.izpack:izpack-compiler:jar:5.0.0-rc1-SNAPSHOT: Could not transfer artifact org.codehaus.izpack:izpack-compiler:pom:5.0.0-rc1-SNAPSHOT from/to codehaus-releases (https://nexus.codehaus.org/content/repositories/releases): nexus.codehaus.org: Unknown host nexus.codehaus.org -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Sounds similar in nature to this hinting towards not depending on third party hosts: Multibit-Legacy/multibit#284. Are these third parties required?

An "Resource Not Found" issue when streaming mp3 file to Samsung TV

I tried to steam a mp3 music item to my Samsung TV, but the TV returned a "Resource Not Found" issue, I checked the PS3 media server logs, and found a null pointer exception at:

java.lang.NullPointerException: null
at net.pms.network.RequestV2.answer(RequestV2.java:340) ~[pms.jar:1.90.1]
at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:300) ~[pms.jar:1.90.1]
at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:258) ~[pms.jar:1.90.1]
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:149) ~[netty.jar:na]
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116) ~[netty.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302) ~[netty.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:527) ~[netty.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506) ~[netty.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443) ~[netty.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274) ~[netty.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261) ~[netty.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:351) ~[netty.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282) ~[netty.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:202) ~[netty.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]

In the source code, the error seems happened when PS3 is trying to load subtitle for Samsung TV, so I tried to disable subtitle, then the mp3 can be streamed properly. It is annoying because the default setting is enable subtitle, which make mp3 music streaming not usable.

Could you please check and make some fix for it? Thanks.

FileUtilTest failure on OSX

I'm getting test failures on OSX for FileUtilTest.java on line 190 and line 201.
The test report is below:

-------------------------------------------------------------------------------
Test set: net.pms.util.FileUtilTest
-------------------------------------------------------------------------------
Tests run: 23, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec <<< FAILURE!
testConvertFileFromUtf16ToUtf8_inputFileIsUTF16LE(net.pms.util.FileUtilTest)  Time elapsed: 0.009 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[tru]e> but was:<[fals]e>
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.fest.assertions.ConstructorInvoker.newInstance(ConstructorInvoker.java:36)
        at org.fest.assertions.ComparisonFailureFactory.newComparisonFailure(ComparisonFailureFactory.java:60)
        at org.fest.assertions.ComparisonFailureFactory.comparisonFailure(ComparisonFailureFactory.java:46)
        at org.fest.assertions.Fail.comparisonFailed(Fail.java:83)
        at org.fest.assertions.Fail.failIfNotEqual(Fail.java:71)
        at org.fest.assertions.GenericAssert.isEqualTo(GenericAssert.java:217)
        at org.fest.assertions.BooleanAssert.isEqualTo(BooleanAssert.java:73)
        at org.fest.assertions.BooleanAssert.isTrue(BooleanAssert.java:55)
        at net.pms.util.FileUtilTest.testConvertFileFromUtf16ToUtf8_inputFileIsUTF16LE(FileUtilTest.java:190)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
testConvertFileFromUtf16ToUtf8_inputFileIsUTF16BE(net.pms.util.FileUtilTest)  Time elapsed: 0.01 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[tru]e> but was:<[fals]e>
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.fest.assertions.ConstructorInvoker.newInstance(ConstructorInvoker.java:36)
        at org.fest.assertions.ComparisonFailureFactory.newComparisonFailure(ComparisonFailureFactory.java:60)
        at org.fest.assertions.ComparisonFailureFactory.comparisonFailure(ComparisonFailureFactory.java:46)
        at org.fest.assertions.Fail.comparisonFailed(Fail.java:83)
        at org.fest.assertions.Fail.failIfNotEqual(Fail.java:71)
        at org.fest.assertions.GenericAssert.isEqualTo(GenericAssert.java:217)
        at org.fest.assertions.BooleanAssert.isEqualTo(BooleanAssert.java:73)
        at org.fest.assertions.BooleanAssert.isTrue(BooleanAssert.java:55)
        at net.pms.util.FileUtilTest.testConvertFileFromUtf16ToUtf8_inputFileIsUTF16BE(FileUtilTest.java:201)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

The issue with the connection

Hello,

I experience this issue https://www.dropbox.com/s/j9d1c1260z5tst0/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202017-10-27%2010.39.02.png?dl=0

debug.log if helpful:
INFO 2017-10-27 10:33:59.892 [main] Created socket: /192.168.1.140:5001
DEBUG 2017-10-27 10:33:59.985 [main] Sending ALIVE...
DEBUG 2017-10-27 10:33:59.988 [main] Reading uuid: default: null, current: "37067e5e-3ea1-44cc-8953-eb7fc5923c29"
INFO 2017-10-27 10:33:59.988 [main] Using the following UUID configured in PMS.conf: 37067e5e-3ea1-44cc-8953-eb7fc5923c29
INFO 2017-10-27 10:34:00.244 [main] The server should now appear on your renderer
DEBUG 2017-10-27 10:34:10.249 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-10-27 10:34:30.252 [UPNP-AliveMessageSender] Sending ALIVE...
INFO 2017-10-27 10:34:59.172 [UPNPHelper] No IP filter specified, access granted to /192.168.1.140
DEBUG 2017-10-27 10:37:30.264 [UPNP-AliveMessageSender] Sending ALIVE...

Environment:
MacOS Sierra 10.12.6

How can this issue be fixed?

bug when running on systems with multiple network cards

   When running pms on a system with virtual network cards (with virtualbox, for example). PMS ignores the setting on general settings tab, and do not use the specified network card.
    It should force the use of that network, or search for renderers on all network interfaces. Don't you agree?

Huge images in id3tag gives segfault

Here an error in ps3mediaserver:

Version: PS3 Media Server 1.50.2+svn1092+mplayer34587-2
Codename: natty
java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (6b22-1.10.4-0ubuntu1~11.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode).
ps3mediaserver packaged in launchpad/ppa

  • go to Navigation/Share Settings.
  • Enable the cache
  • Choose a shared directory with a mp3 file with at least one image tag wich is large (I used one 2847x1898 px .- for editing id3 tags kid3-qt package may be used)
  • Then Segfault

This test file should be enoght http://www.mediafire.com/file/wrz4bcdhlm6ymnq/Beeper.mp3

Please sayme how should I continue or which information is needed.

Thanks

Need translatability for "By Letter/Artist/Album"

Another string for translation:

diff --git a/src/main/java/net/pms/dlna/virtual/MediaLibrary.java b/src/main/java/net/pms/dlna/virtual/MediaLibrary.java
index 0b65511..6a0544c 100644
--- a/src/main/java/net/pms/dlna/virtual/MediaLibrary.java
+++ b/src/main/java/net/pms/dlna/virtual/MediaLibrary.java
@@ -45,10 +45,10 @@ public class MediaLibrary extends VirtualFolder {
"SELECT DISTINCT A.ALBUM FROM FILES F, AUDIOTRACKS A WHERE F.ID = A.FILEID AND F.TYPE = 1 AND A.GENRE = '${1}' AND A.ARTIST = '${0}' ORDER BY A.ALBUM ASC",
"select FILENAME, MODIFIED from FILES F, AUDIOTRACKS A where F.ID = A.FILEID AND F.TYPE = 1 AND A.GENRE = '${2}' AND A.ARTIST = '${1}' AND A.ALBUM = '${0}' ORDER BY A.TRACK ASC, F.FILENAME ASC"}, new int[]{MediaLibraryFolder.TEXTS, MediaLibraryFolder.TEXTS, MediaLibraryFolder.TEXTS, MediaLibraryFolder.FILES});
vfAudio.addChild(mlf7);
MediaLibraryFolder mlfAudioDate = new MediaLibraryFolder(Messages.getString("PMS.12"), new String[]{"SELECT FORMATDATETIME(MODIFIED, 'd MMM yyyy') FROM FILES F, AUDIOTRACKS A WHERE F.ID = A.FILEID AND F.TYPE = 1 ORDER BY F.MODIFIED DESC", "select FILENAME, MODIFIED from FILES F, AUDIOTRACKS A where F.ID = A.FILEID AND F.TYPE = 1 AND FORMATDATETIME(MODIFIED, 'd MMM yyyy') = '${0}' ORDER BY A.TRACK ASC, F.FILENAME ASC"}, new int[]{MediaLibraryFolder.TEXTS, MediaLibraryFolder.FILES});
vfAudio.addChild(mlfAudioDate);

  •           MediaLibraryFolder mlf8 = new MediaLibraryFolder("By Letter/Artist/Album", new String[]{
    
  •           MediaLibraryFolder mlf8 = new MediaLibraryFolder(Messages.getString("PMS.28"), new String[]{
                            "SELECT ID FROM REGEXP_RULES ORDER BY ORDR ASC",
                            "SELECT DISTINCT A.ARTIST FROM FILES F, AUDIOTRACKS A WHERE F.ID = A.FILEID AND F.TYPE = 1 AND A.ARTIST REGEXP (SELECT RULE FROM REGEXP_RULES WHERE ID = '${0}') ORDER BY A.ARTIST ASC",
                            "SELECT DISTINCT A.ALBUM FROM FILES F, AUDIOTRACKS A WHERE F.ID = A.FILEID AND F.TYPE = 1 AND A.ARTIST = '${0}' ORDER BY A.ALBUM ASC",
    

diff --git a/src/main/java/net/pms/messages.properties b/src/main/java/net/pms/messages.properties
index f72b975..63caf9d 100644
--- a/src/main/java/net/pms/messages.properties
+++ b/src/main/java/net/pms/messages.properties
@@ -172,6 +172,7 @@ PMS.22=By Artist/Album
PMS.25=By ISO settings
PMS.26=By Genre/Artist/Album
PMS.27=Save configuration
+PMS.28=By Letter/Artist/Album
PMS.31=Photo
PMS.32=All Photos
PMS.34=Video

Renderer recognition per IP address

There are situations where renderers cannot be told apart by their headers. The only way to discern between them is by their IP address. It would be nice to have the possibility to force renderer recognition per IP address.

PS3 to Showtime

When using a PS3 it automatically associates with PMS. Then upon launch of Showtime, the PS3 configuration is still used due to the IP address. I was looking at ways to fix this. The IP address is the preferred method of recognition. Perhaps there should be a new option added to the renderer configuration file to have PMS check the header each time. Thoughts?

3D Video Improvements

I suggest several features to improve the handling of SBS (Side by side) 3D videos.
Such as:

  • Ability to stream as 2D (Cut & Stretch)
  • Ability to stream Anaglyphically
  • List each mode as a different video

I have 3D videos in my collection, but do not have a 3D TV. I convert the videos to Anaglyph when I want to watch them. An on-the-fly conversion would be extremely convenient. On the other hand, often I would just rather watch it in 2D, but storing each version takes up more space than I'd like to allocate for movie storage.

Catalan syntax error

There is some catalan syntax errors on file /src/main/resources/i18n/messages_ca.properties
For instance, the following line 120, should be like this:
NetworkTab.6=Tamany m\u00e0axim del buffer de transcodificaci\u00f3, en Megabytes (m\u00e0axim MAX_BUFFER_SIZE):
I could fix them.

When building "By Letter/Artist/Album" there are other letters than A-Z

This will add the danish letters ร†ร˜ร… to the overview

This is clearly not the right solution, but it Works For Me :-)

diff --git a/src/main/java/net/pms/dlna/DLNAMediaDatabase.java b/src/main/java/net/pms/dlna/DLNAMediaDatabase.java
index b9efdc0..0d49c48 100644
--- a/src/main/java/net/pms/dlna/DLNAMediaDatabase.java
+++ b/src/main/java/net/pms/dlna/DLNAMediaDatabase.java
@@ -192,6 +192,15 @@ public class DLNAMediaDatabase implements Runnable {
for (int i = 65; i <= 90; i++) {
executeUpdate(conn, "INSERT INTO REGEXP_RULES VALUES ( '" + ((char) i) + "', '(?i)^" + ((char) i) + ".+', " + (i - 63) + " );");
}

  •                           {
    
  •                                   int i, j;
    
  •                                   i = 198; j = 28;
    
  •                                   executeUpdate(conn, "INSERT INTO REGEXP_RULES VALUES ( '" + ((char) i) + "', '(?i)^" + ((char) i) + ".+', " + j + " );");
    
  •                                   i = 216; j = 29;
    
  •                                   executeUpdate(conn, "INSERT INTO REGEXP_RULES VALUES ( '" + ((char) i) + "', '(?i)^" + ((char) i) + ".+', " + j + " );");
    
  •                                   i = 197; j = 30;
    
  •                                   executeUpdate(conn, "INSERT INTO REGEXP_RULES VALUES ( '" + ((char) i) + "', '(?i)^" + ((char) i) + ".+', " + j + " );");
    
  •                           }
                            logger.debug("Database initialized");
                    } catch (SQLException se) {
                            logger.info("Error in table creation: " + se.getMessage());
    

Persian subtitle problem in Windows 8

in windows 7 everything's ok but in windows 8, persian subtitle are broken, shown but reversed.
control panel -> region: all settings same in win 7

Playstation 4 Support

The PS4 currently supports streaming video content from your computer via its built-in HTML5-compliant web browser.

This is accomplished through using the HTML5 video tag, saved into an HTML document on your computer and hosted via a file server. The video source in the document points to the video file, which is also hosted on the file server. The video must be MP4 (v:h264 a:aac). You then point the PS4's web browser to your computer's file server via LAN IP address and the HTML5 player will stream the video file. The built-in player allows for fullscreen, which works perfectly. In my testing I haven't encountered a single issue, and it even works flawlessly for high-bitrate 1080p video. I've also found that Cinavia protection is not in use here.

The feature suggestion I would make is a built-in paged web server for accommodating the PS4, which you can browse your shared folders and upon choosing a file, it loads a new page with an HTML5 player and begins transcoding the file (when necessary) to MP4 for streaming within the player. This would also require a new transcoding profile for H264AAC (v:h264 a:aac c:mp4).

media container not filled in media parser v1

It seems that the v1 media parser is not filling the container field for the DLNAMediaInfo, which cause problems, because that mediainfo is put it into the database, and if a renderer use the v2 media parser, in :
https://github.com/ps3mediaserver/ps3mediaserver/blob/master/src/main/java/net/pms/dlna/RealFile.java#L60
will call 'run' which will retrieve a DLNAMediaInfo here:
https://github.com/ps3mediaserver/ps3mediaserver/blob/master/src/main/java/net/pms/dlna/RealFile.java#L164
First time, it will be that DLNAMediaInfo which created by the v1 parser, but this will result in a 'file badly parsed' here:
https://github.com/ps3mediaserver/ps3mediaserver/blob/master/src/main/java/net/pms/dlna/RealFile.java#L67 because the getContainer() is null.

I'm not sure what could be the correct fix, and how the two different parser outputs is compatible, but we can
1, ensure that media container is filled in v1 too
2, if the container field in the db container is null, we should skip that, re-parse with v2, insert the new record, and delete the old

Thoughts?

Cannot find Render on LAN

I have a Core 2 Quad 2.83 Ghz with 4 GB of Ram
Running under Windows XP

The nic card is an Atheros AR8121 .. If I run it under my wireless N Belkin USB its fine but im not getting good speeds and tried everything. I tried switching to lan but for some reason it cannot find the renderer (my ps3). I tried to make the ip static and tried changing ports but still no luck. Any suggestions? is lan support gone?

Enabling MEncoder ASS subtitle support for embedded subtitles.

MPlayer/MEncoder has had support for this for a while now and I'm wondering why it's been blocked. To show the difference during playback I ran this under MPlayer (the only difference between the runs was the '-ass' flag):

http://s14.postimage.org/nfojh6v69/Non_ASS_Subtitles.png
http://s16.postimage.org/bcwjfb7ad/ASS_Subtitles.png

Most Anime (usually in MKV containers) or other subtitled shows tend to contain embedded subtitles that display in the maner shown in the first screenshot and make it very difficult to watch. I've made the following change (I guess I should have made this a pull request?) that makes the subtitles render as they do in the second screenshot:

https://github.com/XenoPhex/ps3mediaserver/commit/538f87bc960042ecb58cc1cf1ef72ee841122dda

I know I've had to make this change on a few of my friend's copies of PMS and I think it's worth looking at if you guys have the time.

Fatal error when building. Forked VM terminated. ARM device.

I'm building the package with 'mvn package' according to build.md. At the end, it runs the tests and most of them pass, but then I get the following error:

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The forked VM terminated without saying properly goodbye. VM crash or Sys
tem.exit called ?
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: The forked VM terminated without saying properly goo
dbye. VM crash or System.exit called ?
at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.close
(ForkClient.java:257)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkSt
arter.java:301)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkSta
rter.java:116)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider
(AbstractSurefireMojo.java:740)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProvi
ders(AbstractSurefireMojo.java:682)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPre
conditionsChecked(AbstractSurefireMojo.java:648)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(Abstrac
tSurefireMojo.java:586)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41 seconds
[INFO] Finished at: Fri Mar 29 13:25:52 UTC 2013
[INFO] Final Memory: 41M/99M
[INFO] ------------------------------------------------------------------------

After this, I check the target/ directory, and there is no binary.
Is this an issue with my configuration?

I am compiling on an Odroid-X ARM cpu. Ubuntu 12.10 Linaro

Here is the version of Java I am running:
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.4) (7u9-2.3.4-0ubuntu1.12.04.1)

The POM for com.jgoodies:common:jar:1.2.1 is missing, no dependency information available

I did a clean clone and now I.'m trying to build with this command line :

mvn install --fae

$ mvn install --fae
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building PS3 Media Server 1.60.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.jgoodies:common:jar:1.2.1 is missing, no dependency information available
[WARNING] The POM for com.jgoodies:forms:jar:1.4.2 is missing, no dependency information available
[WARNING] The POM for com.jgoodies:looks:jar:2.4.2 is missing, no dependency information available
[WARNING] The POM for de.innosystec:java-unrar:jar:0.5 is missing, no dependency information available
[WARNING] The POM for jwbroek.cuelib:cuelib:jar:1.2.1-2008-06-13 is missing, no dependency information availab
le
[WARNING] The POM for mediautil:mediautil:jar:1.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.970s
[INFO] Finished at: Sat Jul 14 18:18:42 EDT 2012
[INFO] Final Memory: 7M/152M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project pms: Could not resolve dependencies for project net.pms:pms:jar:1.60
.0-SNAPSHOT: The following artifacts could not be resolved: com.jgoodies:common:jar:1.2.1, com.jgoodies:forms:
jar:1.4.2, com.jgoodies:looks:jar:2.4.2, de.innosystec:java-unrar:jar:0.5, jwbroek.cuelib:cuelib:jar:1.2.1-200
8-06-13, mediautil:mediautil:jar:1.0: Failure to find com.jgoodies:common:jar:1.2.1 in http://download.java.ne
t/maven/2/ was cached in the local repository, resolution will not be reattempted until the update interval of
 java.net has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

jerabi@jerabi-THINK /cygdrive/d/workspaces/opensource/workspace_pms/ps3mediaserver

Should save music genre in mediadatabase

As I mostly use ps3mediaserver as a musicplayer for my tv, here is a patch:

diff --git a/src/main/java/net/pms/dlna/MediaInfoParser.java b/src/main/java/net/pms/dlna/MediaInfoParser.java
index f1b6f6c..4731a76 100644
--- a/src/main/java/net/pms/dlna/MediaInfoParser.java
+++ b/src/main/java/net/pms/dlna/MediaInfoParser.java
@@ -152,6 +152,8 @@ public class MediaInfoParser {
currentAudioTrack.setAlbum(ovalue);
} else if (key.equals("Performer") && step == MediaInfo.StreamKind.General) {
currentAudioTrack.setArtist(ovalue);

  •                                                   } else if (key.equals("Genre") && step == MediaInfo.StreamKind.General) {
    
  •                                                           currentAudioTrack.setGenre(ovalue);
                                                    } else if (key.equals("Recorded_Date") && step == MediaInfo.StreamKind.General) {
                                                            try {
                                                                    currentAudioTrack.setYear(Integer.parseInt(value));
    

Pes packet len too large ( >100Mb). Bad stream or invalid codec speciffed

The error is happening on some MKV

it's exactly like explained here:
http://code.google.com/p/ps3mediaserver/issues/detail?id=1019

don't know about that file... but I have one giving the same error on Linux, mencoder / fmpeg compiled from today revisions

debug log:

INFO  2012-07-18 23:48:34.735 [New I/O server worker #1-4] Starting transcode/remux of video.mkv
INFO  2012-07-18 23:48:34.737 [New I/O server worker #1-4] The video will not play or show a black screen on the ps3...
DEBUG 2012-07-18 23:48:34.738 [mkfifo-90] Starting mkfifo --mode=777 /tmp/ps3mediaserver/1342648114737tsmuxerout.ts
DEBUG 2012-07-18 23:48:34.738 [mkfifo-90] Unix process ID (mkfifo): 31197
DEBUG 2012-07-18 23:48:34.788 [mkfifo-91] Starting mkfifo --mode=777 /tmp/ps3mediaserver/1342648114737ffmpegvideo
DEBUG 2012-07-18 23:48:34.788 [mkfifo-92] Starting mkfifo --mode=777 /tmp/ps3mediaserver/1342648114737videoout
DEBUG 2012-07-18 23:48:34.791 [mkfifo-92] Unix process ID (mkfifo): 31205
DEBUG 2012-07-18 23:48:34.791 [mkfifo-91] Unix process ID (mkfifo): 31204
DEBUG 2012-07-18 23:48:34.989 [mencoder-87] Starting mencoder -ss 0 /media/video.mkv -quiet -quiet -really-quiet -msglevel statusline=2 -ovc copy -nosound -mc 0 -noskip -of rawvideo -o /tmp/ps3mediaserver/1342648114737ffmpegvideo
DEBUG 2012-07-18 23:48:34.990 [mencoder-87] Attaching thread: mencoder-87
DEBUG 2012-07-18 23:48:34.990 [mencoder-87] Unix process ID (mencoder): 31213
DEBUG 2012-07-18 23:48:35.039 [mkfifo-93] Starting mkfifo --mode=777 /tmp/ps3mediaserver/1342648114737ffmpegaudio01
DEBUG 2012-07-18 23:48:35.039 [mkfifo-94] Starting mkfifo --mode=777 /tmp/ps3mediaserver/1342648114737audioout
DEBUG 2012-07-18 23:48:35.040 [mkfifo-93] Unix process ID (mkfifo): 31221
DEBUG 2012-07-18 23:48:35.040 [mkfifo-94] Unix process ID (mkfifo): 31222
DEBUG 2012-07-18 23:48:35.240 [mencoder-88] Starting mencoder -ss 0 /media/video.mkv -quiet -quiet -really-quiet -msglevel statusline=2 -channels 6 -ovc copy -of rawaudio -mc 0 -noskip -oac lavc -quiet -quiet -lavcopts acodec=ac3:abitrate=448 -af lavcresample=48000 -srate 48000 -aid 0 -o /tmp/ps3mediaserver/1342648114737ffmpegaudio01
DEBUG 2012-07-18 23:48:35.243 [mencoder-88] Attaching thread: mencoder-88
DEBUG 2012-07-18 23:48:35.245 [mencoder-88] Unix process ID (mencoder): 31230
DEBUG 2012-07-18 23:48:35.340 [tsMuxeR-89] Starting tsMuxeR /tmp/ps3mediaserver/pms-tsmuxer.meta /tmp/ps3mediaserver/1342648114737tsmuxerout.ts
DEBUG 2012-07-18 23:48:35.343 [tsMuxeR-89] Reading pipe: /tmp/ps3mediaserver/1342648114737tsmuxerout.ts
DEBUG 2012-07-18 23:48:35.537 [tsMuxeR-89] Attaching thread: tsMuxeR-89
DEBUG 2012-07-18 23:48:35.555 [Thread-281] SmartLabs tsMuxeR.  Version 1.10.6  http://www.smlabs.net
DEBUG 2012-07-18 23:48:35.556 [Thread-281] 100.0% complete
DEBUG 2012-07-18 23:48:35.559 [tsMuxeR-89] 100.0% complete (tsMuxeR): 31236
INFO  2012-07-18 23:48:35.856 [StartPlaying100.0% completer: 192.168.1.17, file: /media/video.mkv
DEBUG 2012-07-18 23:48:36.809 [Thread-278] Pes packet len too large ( >100Mb). Bad stream or invalid codec speciffed.
INFO  2012-07-18 23:48:36.810 [tsMuxeR-89] Process tsMuxeR has a return code of 254! Maybe an error occurred... check the log file
DEBUG 2012-07-18 23:48:36.811 [tsMuxeR-89] Stopping Unix process 31197: mkfifo-90
DEBUG 2012-07-18 23:48:36.811 [tsMuxeR-89] Stopping Unix process 31213: mencoder-87
DEBUG 2012-07-18 23:48:36.811 [tsMuxeR-89] Stopping Unix process 31230: mencoder-88
DEBUG 2012-07-18 23:48:38.353 [Buffered IO End Checker] Stopping Unix process 31236: tsMuxeR-89
INFO  2012-07-18 23:48:40.874 [StopPlaying Event] renderer: 192.168.1.17, file: /media/video.mkv
WARN  2012-07-18 23:48:46.816 [Process Destroyer] Sending kill -14 to the Unix process: 31230
DEBUG 2012-07-18 23:48:46.847 [Process Destroyer] Successfully sent kill -14 to the Unix process: 31230

and the file information, as you see is a matroska with only open source codecs

$ mediainfo -F video.mkv

General
Count                                    : 279
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 138777459134151343768215361678160745752
Unique ID                                : 138777459134151343768215361678160745752 (0x6867910096E412FE01BEB067C060D518)
Count of video streams                   : 1
Count of audio streams                   : 2
Video_Format_List                        : MPEG-4 Visual
Video_Format_WithHint_List               : MPEG-4 Visual (XviD)
Codecs Video                             : XviD
Video_Language_List                      : English
Audio_Format_List                        : Vorbis / Vorbis
Audio_Format_WithHint_List               : Vorbis / Vorbis
Audio codecs                             : Vorbis / Vorbis
Audio_Language_List                      :  / English
Complete name                            : video.mkv
File name                                : video
File extension                           : mkv
Format                                   : Matroska
Format                                   : Matroska
Format/Url                               : http://packs.matroska.org/
Format/Extensions usually used           : mkv mk3d mka mks
Commercial name                          : Matroska
Format version                           : Version 2
Codec                                    : Matroska
Codec                                    : Matroska
Codec/Url                                : http://packs.matroska.org/
Codec/Extensions usually used            : mkv mk3d mka mks
File size                                : 1199252409
File size                                : 1.12 GiB
File size                                : 1 GiB
File size                                : 1.1 GiB
File size                                : 1.12 GiB
File size                                : 1.117 GiB
Duration                                 : 9489160
Duration                                 : 2h 38mn
Duration                                 : 2h 38mn 9s 160ms
Duration                                 : 2h 38mn
Duration                                 : 02:38:09.160
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 1011050
Overall bit rate                         : 1 011 Kbps
Stream size                              : 23865620
Stream size                              : 22.8 MiB (2%)
Stream size                              : 23 MiB
Stream size                              : 23 MiB
Stream size                              : 22.8 MiB
Stream size                              : 22.76 MiB
Stream size                              : 22.8 MiB (2%)
Proportion of this stream                : 0.01990
Encoded date                             : UTC 2012-06-03 21:57:22
File last modification date              : UTC 2012-06-03 21:58:56
File last modification date (local)      : 2012-06-03 23:58:56
Writing application                      : mkvmerge v5.6.0 ('Kenya Kane') built on Jun  3 2012 23:47:28
Writing library                          : libebml v1.2.2 + libmatroska v1.3.0
Writing library                          : libebml v1.2.2 + libmatroska v1.3.0

Video
Count                                    : 248
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 2562218792
Format                                   : MPEG-4 Visual
Commercial name                          : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings                          : BVOP
Format settings, BVOP                    : Yes
Format settings, BVOP                    : Yes
Format settings, QPel                    : No
Format settings, QPel                    : No
Format settings, GMC                     : 0
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Format settings, Matrix                  : Default (H.263)
Internet media type                      : video/MP4V-ES
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Codec ID/Url                             : http://mediaarea.net/XVID
Codec                                    : XVID
Codec                                    : XviD
Codec/Family                             : MPEG-4V
Codec/Info                               : XviD project
Codec/Url                                : http://www.xvid.org/Downloads.15.0.html
Codec/CC                                 : XVID
Codec profile                            : Advanced Simple@L5
Codec settings                           : BVOP
Codec settings, Packet bitstream         : No
Codec settings, BVOP                     : Yes
Codec settings, QPel                     : No
Codec settings, GMC                      : 0
Codec settings, GMC                      : No warppoints
Codec settings, Matrix                   : Default (H.263)
Duration                                 : 9489160
Duration                                 : 2h 38mn
Duration                                 : 2h 38mn 9s 160ms
Duration                                 : 2h 38mn
Duration                                 : 02:38:09.160
Bit rate                                 : 734930
Bit rate                                 : 735 Kbps
Width                                    : 720
Width                                    : 720 pixels
Height                                   : 576
Height                                   : 576 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.250
Display aspect ratio                     : 5:4
Frame rate mode                          : VFR
Frame rate mode                          : Variable
Frame rate                               : 25.000
Frame rate                               : 25.000 fps
Frame count                              : 237229
Standard                                 : PAL
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Compression mode                         : Lossy
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.071
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 871733669
Stream size                              : 831 MiB (73%)
Stream size                              : 831 MiB
Stream size                              : 831 MiB
Stream size                              : 831 MiB
Stream size                              : 831.4 MiB
Stream size                              : 831 MiB (73%)
Proportion of this stream                : 0.72690
Writing library                          : XviD0064
Writing library                          : XviD 64
Writing library/Name                     : XviD
Writing library/Version                  : 64
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Audio #1
Count                                    : 217
Count of stream of this kind             : 2
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
Stream identifier                        : 1
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Unique ID                                : 2596662202
Format                                   : Vorbis
Format/Url                               : http://www.vorbis.com/
Commercial name                          : Vorbis
Format settings, Floor                   : 1
Internet media type                      : audio/vorbis
Codec ID                                 : A_VORBIS
Codec ID/Url                             : http://www.vorbis.com
Codec                                    : Vorbis
Codec                                    : Vorbis
Codec/Family                             : Vorbis
Codec/Url                                : http://www.vorbis.com
Codec settings, Floor                    : 1
Duration                                 : 9489160
Duration                                 : 2h 38mn
Duration                                 : 2h 38mn 9s 160ms
Duration                                 : 2h 38mn
Duration                                 : 02:38:09.160
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 128000
Bit rate                                 : 128 Kbps
Channel(s)                               : 2
Channel(s)                               : 2 channels
Sampling rate                            : 48000
Sampling rate                            : 48.0 KHz
Samples count                            : 455479680
Compression mode                         : Lossy
Compression mode                         : Lossy
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Video0 delay                             : 0
Stream size                              : 151826560
Stream size                              : 145 MiB (13%)
Stream size                              : 145 MiB
Stream size                              : 145 MiB
Stream size                              : 145 MiB
Stream size                              : 144.8 MiB
Stream size                              : 145 MiB (13%)
Proportion of this stream                : 0.12660
Writing library                          : Xiph.Org libVorbis I 20120203 (Omnipresent)
Writing library                          : libVorbis (Omnipresent) (20120203 (Omnipresent))
Writing library/Name                     : libVorbis
Writing library/Version                  : (Omnipresent)
Writing library/Date                     : 20120203 (Omnipresent)
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Audio #2
Count                                    : 217
Count of stream of this kind             : 2
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 1
Stream identifier                        : 2
StreamOrder                              : 2
ID                                       : 3
ID                                       : 3
Unique ID                                : 1846434075
Format                                   : Vorbis
Format/Url                               : http://www.vorbis.com/
Commercial name                          : Vorbis
Format settings, Floor                   : 1
Internet media type                      : audio/vorbis
Codec ID                                 : A_VORBIS
Codec ID/Url                             : http://www.vorbis.com
Codec                                    : Vorbis
Codec                                    : Vorbis
Codec/Family                             : Vorbis
Codec/Url                                : http://www.vorbis.com
Codec settings, Floor                    : 1
Duration                                 : 9489160
Duration                                 : 2h 38mn
Duration                                 : 2h 38mn 9s 160ms
Duration                                 : 2h 38mn
Duration                                 : 02:38:09.160
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 128000
Bit rate                                 : 128 Kbps
Channel(s)                               : 2
Channel(s)                               : 2 channels
Sampling rate                            : 48000
Sampling rate                            : 48.0 KHz
Samples count                            : 455479680
Compression mode                         : Lossy
Compression mode                         : Lossy
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Video0 delay                             : 0
Stream size                              : 151826560
Stream size                              : 145 MiB (13%)
Stream size                              : 145 MiB
Stream size                              : 145 MiB
Stream size                              : 145 MiB
Stream size                              : 144.8 MiB
Stream size                              : 145 MiB (13%)
Proportion of this stream                : 0.12660
Writing library                          : Xiph.Org libVorbis I 20120203 (Omnipresent)
Writing library                          : libVorbis (Omnipresent) (20120203 (Omnipresent))
Writing library/Name                     : libVorbis
Writing library/Version                  : (Omnipresent)
Writing library/Date                     : 20120203 (Omnipresent)
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No

Environment:

PS3 Media Server 1.54.0
Build: 37c80caa1 (2012-06-25)

MEncoder SVN-r35034 (Gentoo)-4.6.3 (C) 2000-2012 MPlayer Team


ffmpeg version N-42606-gc66978e Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 18 2012 22:11:18 with gcc 4.6.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --enable-libmp3lame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora --enable-libx264 --enable-libxvid --enable-libaacplus --enable-nonfree --enable-libfaac --enable-nonfree --enable-libcdio --enable-libdc1394 --enable-openal --disable-indev=v4l --disable-indev=oss --disable-indev=jack --enable-x11grab --enable-libpulse --enable-libv4l2 --disable-outdev=oss --enable-fontconfig --enable-libfreetype --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libbluray --enable-libgsm --enable-libmodplug --enable-libschroedinger --enable-libs  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Hyper fast Audio and Video encoder

.srt subtitles won't show if .mkv file has multiple subtitle

Hi

couple days ago i've encountered a problem regardin playing (Serving) mkv file with build in subtitle tracks and external subtitle track (srt).

The problem is, that the srt file is not correctly served for showtime - the link generates blank site.

When I delete all the subtitles from mkv file, external subtitles works fine.

The same happens on UMS and PSM.

I've posted this on Showtime tracker with needed logs and also on UMS tracker, links below.

Showtime tracker https://showtimemediacenter.com/issues/1835
UMS tracker UniversalMediaServer/UniversalMediaServer#225
UMS forum topic http://www.universalmediaserver.com/forum/viewtopic.php?f=9&t=1516&p=9067
Attached also my renderes conf in topic on Your forum : http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=17656&p=82462

.
Pastebin from UMS and "content-length:0" in srt section

00:00:30.514: HTTP [DEBUG]:http://192.168.1.46:5001/get/0$2$2/subtitle0000.srt: Response: 00:00:30.515: HTTP [DEBUG]: HTTP/1.1 200 OK 00:00:30.516: HTTP [DEBUG]: Content-Type: text/plain 00:00:30.516: HTTP [DEBUG]: Expires: Sat, 03 May 2014 08:13:50 GMT 00:00:30.517: HTTP [DEBUG]: Server: Windows_7-x86-6.1, UPnP/1.0, UMS/3.3.0 00:00:30.517: HTTP [DEBUG]: Content-Length: 0 00:00:30.518: HTTP [DEBUG]: 00:00:30.518: HTTP [DEBUG]:Reading 0 bytes 00:00:30.518: HTTP [DEBUG]:Parking connection to 192.168.1.46:5001 (id=13)

http://pastebin.com/TPMYC8HM
Pastebin for showtime log
http://pastebin.com/ZneLDSVQ
Can anyone help me and tell me what's wrong ?

I've reproduce this bug/stuff on a clean VM with Win7, and also on clean Ubuntu.
Newest Java update 45.

Attached trace log from PMS on SamsungAllShare

TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Opened request handler on socket /192.168.1.23:59429 TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Request: HTTP/1.0 : GET : get/0$2$3$12$16$1/subtitle0000 TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Matched media renderer "Samsung AllShare" based on address /192.168.1.23 TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Received on socket: ACCEPT-LANGUAGE: en-us TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Received on socket: getcontentFeatures.dlna.org: 1 TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Received on socket: HOST: 192.168.1.26:5001 TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Received on socket: transferMode.dlna.org: Background TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] Recognized media renderer: Samsung AllShare TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] HTTP: get/0$2$3$12$16$1/subtitle0000 / 0-0 TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] discover 0 refresh forced: false TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] discover 0$2 refresh forced: false TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] discover 0$2$3 refresh forced: false TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] discover 0$2$3$12 refresh forced: false TRACE 2014-01-07 22:10:13.108 [New I/O server worker #1-1] discover 0$2$3$12$16 refresh forced: false TRACE 2014-01-07 22:10:13.109 [New I/O server worker #1-1] Sent to socket: Content-Length: 0 TRACE 2014-01-07 22:10:13.109 [New I/O server worker #1-1] Sent to socket: Content-Type: text/plain TRACE 2014-01-07 22:10:13.109 [New I/O server worker #1-1] Sent to socket: Expires: Sat, 03 May 2014 14:56:53 GMT TRACE 2014-01-07 22:10:13.109 [New I/O server worker #1-1] Sent to socket: Server: Windows_7-amd64-6.1, UPnP/1.0, PMS/1.90.1 TRACE 2014-01-07 22:10:13.109 [New I/O server worker #1-1] Sent to socket: TransferMode.DLNA.ORG: Background TRACE 2014-01-07 22:10:28.056 [New I/O server boss #1 ([id: 0x44844212, /192.168.1.26:5001])] Creating new pipeline

ffmpeg segfaults on OS X 10.7.5 with latest stable PMS 1.82.0

PS3 Media Server.app/Contents/Resources/Java/osx โฎ€
./ffmpeg
[1] 75639 segmentation fault ./ffmpeg

This is the internal ffmpeg that comes with PMS, here is the md5 sum:

MD5 (ffmpeg) = bfdec4bb74fa1960cbd93b96b24ce372

I had to manually replace it with a build I got from: http://ffmpegmac.net/

I looked into the issues and couldn't find anyone mentioning this bug, not sure if it works on other OS X versions..

New refresh method doesn't work

The complete rewrite of how DLNAResource finds stuff in r900+ is not working. Any plugin/feture that uses refreshChildren has no chance of working more. This old construct
refreshChildren() {
children.clear();
discoverChildren();
}

is not going to work anymore since the new search ALWAYS does a refresh when something is searched for. It is impossible to know if a refresh is needed since no args are passed to the isRefreshNeeded function so plugins that updates based on dynamic content will have to return true there leading to mayhem. Why was this change needed? Search doesn't work neither the folderlimit type of stuff does.

"A required class is missing" Error

Hi,
First of all I congratulate all those who contributed to this project.
When I try to compile the project I get A required class is missing: org/apache/maven/plugin/install/AbstractInstallMojo

I am on Ubuntu 14.04 platform and I have java version "1.7.0_75"

I issued below commands to compile it:

 mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external
 mvn com.savage7.maven.plugins:maven-external-dependency-plugin:install-external
 mvn package

Would you help me fix it?

Regards.
Kenn

ffmpeg command is wrong for some files..

The ps3 media player will not play certain files.. The launch command looks like:
/usr/bin/ffmpeg -y -loglevel fatal -threads 2 -i /home/turgut/Desktop/Ghost.mkv -threads 2 -bufsize 7000000 -maxrate 499000000 -g 25 -q:v 1 -qmin 2 -qmax 3 -c:a copy -c:v copy -bsf h264_mp4toannexb -fflags +genpts -f mpegts pipe:

and this gives an error of:
[AVBSFContext @ 0x2275060] Codec 'ac3' (86019) is not supported by the bitstream filter 'h264_mp4toannexb'. Supported codecs are: h264 (28)
Error initializing bitstream filter: h264_mp4toannexb

However if -vbsf is use instead of -bsf, then ffmpeg works fine with this file.

No subtitles when transcoding with ffmpeg

I've tried everything I can. Doesn't matter which container, or if subs are internal or external, FFMpeg does not render subtitles into the video frame. Mencoder does, but breaks A/V sync with some files.

Playing MKV file doesn't work

When I tried to play MKV file I got error...

INFO 2012-10-06 12:47:41.089 [StartPlaying Event] renderer: 192.168.0.2, file: F:\filmy HD\AVATAR\AVATAR_BD.mkv
DEBUG 2012-10-06 12:47:41.333 [New I/O server worker #1-7] Setting InputStream new position to: 99,999,750,000
DEBUG 2012-10-06 12:47:46.346 [New I/O server worker #1-8] Setting InputStream new position to: 99,999,500,000
DEBUG 2012-10-06 12:47:48.838 [New I/O server worker #1-7] Caught exception
java.lang.ArrayIndexOutOfBoundsException: 175314800
at net.pms.io.BufferedOutputFileImpl.read(BufferedOutputFileImpl.java:726) ~[pms.jar:na]
at net.pms.io.WaitBufferedInputStream.read(WaitBufferedInputStream.java:43) ~[pms.jar:na]
at java.io.FilterInputStream.read(Unknown Source) ~[na:1.7.0_07]
at java.io.PushbackInputStream.read(Unknown Source) ~[na:1.7.0_07]
at org.jboss.netty.handler.stream.ChunkedStream.hasNextChunk(ChunkedStream.java:78) ~[pms.jar:na]
at org.jboss.netty.handler.stream.ChunkedStream.nextChunk(ChunkedStream.java:96) ~[pms.jar:na]
at org.jboss.netty.handler.stream.ChunkedWriteHandler.flush(ChunkedWriteHandler.java:208) ~[pms.jar:na]
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleDownstream(ChunkedWriteHandler.java:124) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.write(Channels.java:611) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.write(Channels.java:578) ~[pms.jar:na]
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:259) ~[pms.jar:na]
at net.pms.network.RequestV2.answer(RequestV2.java:815) ~[pms.jar:na]
at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:300) ~[pms.jar:na]
at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:255) ~[pms.jar:na]
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:148) ~[pms.jar:na]
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302) ~[pms.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:522) ~[pms.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506) ~[pms.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274) ~[pms.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261) ~[pms.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:349) ~[pms.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:280) ~[pms.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:200) ~[pms.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_07]
at java.lang.Thread.run(Unknown Source) [na:1.7.0_07]

System info:
Build: 66096b6 (2012-09-01)
Java: 1.7.0_07-Oracle Corporation
OS: Windows 7 x86 6.1
Encoding: UTF-8
Memory: 742 MB

Debug.log: http://pastebin.com/JaNRixtc
Mediainfo: http://pastebin.com/WiXs6uF3

Adjust tab widths to match application

The contents of some tabs (e.g. the "Transcoding Settings > Common transcode settings") are too wide to fit the application screen, for no apparent reason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.