PMSEncoder - Web Video Streaming Plugin

Discuss third-party additions, plugins and translations for PS3 Media Server

Re: PMSEncoder - Web Video Streaming Plugin

Postby mrGrumpy » Wed Sep 03, 2014 4:55 am

I have a number of Foscam IP cameras that I am trying to stream on the LAN. PMSencoder is loaded and working and I have added the stream URLs to the Web.conf file. I can see the folders under "Video" however when I navigate there the response is "There are no titles". The cameras also stream to Surveillance software (Blue Iris) which I have also set up to re stream the video with the same result. All of these streams play properly in VLC.

The camera streams are RTSP h264 video with URLs of type rtsp://user:password@(IP address):88/videoMain, so my WEB.conf entry is "videostream.Cameras, Front Door=rtsp://user:password@(IP address):88/videoMain". The cameras cannot be set up without authentication so in case that was the issue I tried tapping the un authenticated re-stream from Blue Iris with WEB.conf entries of type "videostream.Cameras,Front Door=http://(IP address)/h264/FrontDoor/temp.ts" MPEG-2 transport stream and " videostream.Cameras,Front Door=http://(IP address)/h264/FrontDoor/temp.h264" raw h264 stream and videostream.Cameras,Front Door=http://(IP address)/h264/FrontDoor/temp.m3U8 also videostream.Cameras,Front Door=http://(IP address)/mpg/FrontDoor/video.mjpg" M-JPEG stream all with the same result.

I would prefer to get one of the above methods to work if someone has some advice. As a last resort Blue Iris is also capable of streaming Flash Media Live Encoding (RTMP). Not sure if PMSencoder can tap this directly or if I would have to install a Flash Media Server and re- stream again from there.
Posts: 3
Joined: Wed Sep 03, 2014 3:53 am

Re: PMSEncoder - Web Video Streaming Plugin

Postby killa339 » Sat Sep 20, 2014 6:04 pm

martinamw wrote:A few more questions: Is it possible for the XML playlists in WEB.conf get reloaded ? Right now, I usually just restart PMS to make it reload the playlists.

I'm curious about this as well. Is it currently possible? Or could it be? It would be very much appreciated! :)
Posts: 47
Joined: Thu Mar 17, 2011 2:46 pm

Re: PMSEncoder - Web Video Streaming Plugin

Postby mrGrumpy » Sat Sep 20, 2014 6:31 pm

I did eventually get it to work although it is pretty crappy. The syntax I was using wasn't quite right, the stream requires a name. Once I got that bit right I started to get somewhere. The only stream I could get to work even half decently is the h264 raw stream from the Blue Iris server. The stream takes about 15 seconds to load, and even when loaded is always at least 10 seconds behind real time. I was expecting a much better result especially since the Blue Iris app works flawlessly on both my iPhone & iPad. The app even works brilliantly remotely when on 3G while I am downloading torrents on my 20/1 Mb ADSL connection.
Posts: 3
Joined: Wed Sep 03, 2014 3:53 am

Re: PMSEncoder - Web Video Streaming Plugin

Postby DekeDirt » Mon Nov 24, 2014 6:13 pm

I'm having some trouble getting the PMSEncoder to work properly, I hope someone can help.

Referring to the videos in the WEB.conf file that I'm trying to stream-

NOVA works (RSS)

Washington Week works (RSS)

Frontline shows up on the PS3 and the videos appear but I get an error when I try to play them (RSS)

NewsHour shows up on the PS3 and the videos appear but I get an error when I try to play them (RSS)

NASA TV shows up on the PS3 and a video appears but I get an error when I try to play it (RTMPDump)

MLB Network does not show up on the PS3 at all (RTMPDump)

The appropriate files are here:

Debug log
PMSEncoder log

One other thing I'd like to mention: I downloaded the RTMPDump pack but neither rtmpsrv nor rtmpsuck seem to work, though they both seem to open fine. I open the appropriate .exe, begin the stream and nothing.

Sorry if I've overlooked something stupid but, to my knowledge, I've set up everything as instructed.

I hope you can help! Thanks in advance!
Posts: 1
Joined: Mon Nov 24, 2014 5:57 pm

Re: PMSEncoder - Web Video Streaming Plugin

Postby tucz » Tue Dec 09, 2014 10:30 pm

Hi Guys,

I have some problems with pmsencoder.
When I am trying to open any streaming on my tv (Panasonic P50St60) I received such errors:
2014-12-07 15:03:21.186 [ERROR|Plugin|match]: match error: Illegal character in path at index 36: rtmp:// live=true pageUrl=token swfUrl=94970161
2014-12-07 15:03:21.404 [INFO|Plugin|match]: 0 matches for (TRANSCODE): rtmp:// live=true pageUrl=token swfUrl=94970161
2014-12-07 15:03:21.406 [INFO|ProcessManager|handleTranscode]: transcoder command: win32\ffmpeg.exe -loglevel warning -y -threads 4 -i rtmp:// live=true pageUrl=token swfUrl=94970161 -threads 4 -c:a ac3 -f vob -q:v 3 -q:a 3 \\.\pipe\pmsencoder_transcoder_out_107_1417961000971

My configuration:
XBMC 13.2 xbmc plugin -
PMS 1.90.1
jumpy 0.3.4 plugin
pmsencoder 2.0.0


I would be apreciate for any help.

Best regards,
Piotr Pałka
Posts: 1
Joined: Tue Dec 09, 2014 4:26 pm

pmsencoder-2.0.0.jar & java 8 update 31

Postby jpgview » Fri Mar 06, 2015 11:01 am

update: PMS and PMSencoder seem to be discontinued. Moved to Universal Media Server (USM -

pmsencoder generates an error, using java 8. Java 7 will no longer be suported as of april 2015

INFO 2015-03-06 10:51:42.136 [main] PMSEncoder: initializing PMSEncoder 2.0.0
INFO 2015-03-06 10:51:42.152 [main] PMSEncoder: build: bc7c5cf (2014-04-05)
INFO 2015-03-06 10:51:42.214 [main] PMSEncoder: log directory: C:\ProgramData\PMS
INFO 2015-03-06 10:51:42.214 [main] PMSEncoder: loading built-in log4j config file: jar:file:/C:/Program%20Files/PS3%20Media%20Server/plugins/pmsencoder-2.0.0.jar!/log4j_default.xml
ERROR 2015-03-06 10:51:42.542 [main] Error instantiating plugin
java.lang.NoClassDefFoundError: java/util/HashMap$Entry
at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_31]
at java.lang.Class.privateGetDeclaredMethods(Unknown Source) ~[na:1.8.0_31]
at java.lang.Class.getDeclaredMethods(Unknown Source) ~[na:1.8.0_31]
at org.codehaus.groovy.reflection.CachedClass$3$ ~[na:na]
at Method) ~[na:1.8.0_31]
at org.codehaus.groovy.reflection.CachedClass$3.initValue( ~[na:na]
at org.codehaus.groovy.reflection.CachedClass$3.initValue( ~[na:na]
at org.codehaus.groovy.util.LazyReference.getLocked( ~[na:na]
at org.codehaus.groovy.util.LazyReference.get( ~[na:na]
at org.codehaus.groovy.reflection.CachedClass.getMethods( ~[na:na]
at groovy.lang.MetaClassImpl.populateMethods( ~[na:na]
at groovy.lang.MetaClassImpl.fillMethodIndex( ~[na:na]
at groovy.lang.MetaClassImpl.initialize( ~[na:na]
at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock( ~[na:na]
at org.codehaus.groovy.reflection.ClassInfo.getMetaClass( ~[na:na]
at com.chocolatey.pmsencoder.Stash.$getStaticMetaClass(Stash.groovy) ~[na:na]
at com.chocolatey.pmsencoder.Stash.<init>(Stash.groovy:15) ~[na:na]
at com.chocolatey.pmsencoder.Matcher.<init>(Matcher.groovy:44) ~[na:na]
at com.chocolatey.pmsencoder.Plugin.createMatcher(Plugin.groovy:254) ~[na:na]
at com.chocolatey.pmsencoder.Plugin.<init>(Plugin.groovy:182) ~[na:na]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_31]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.8.0_31]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.8.0_31]
at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.8.0_31]
at java.lang.Class.newInstance(Unknown Source) ~[na:1.8.0_31]
at net.pms.external.ExternalFactory.instantiateEarlyListeners( [pms.jar:1.90.1]
at net.pms.external.ExternalFactory.lookup( [pms.jar:1.90.1]
at net.pms.PMS.init( [pms.jar:1.90.1]
at net.pms.PMS.createInstance( [pms.jar:1.90.1]
at net.pms.PMS.main( [pms.jar:1.90.1]
Caused by: java.lang.ClassNotFoundException: java.util.HashMap$Entry
at$ Source) ~[na:1.8.0_31]
at$ Source) ~[na:1.8.0_31]
at Method) ~[na:1.8.0_31]
at Source) ~[na:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_31]
... 30 common frames omitted
User avatar
Posts: 5
Joined: Sun Jul 13, 2014 8:07 pm


Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 2 guests