Jumpy Plugin (26 October 2016)

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (2 Feb 2013)

Post by infidel »

kuroukage wrote:PMSEncoder re-enables itself at every boot and puts itself back to the top of the list as well (for web decoders)
Try adding ffmpegwebvideo-first.groovy to your pmsencoder scripts. It persuades pmsencoder to give up its front row seat, but there may be additional things to tweak before attaining perfect harmony:
ffmpegwebvideo-first.groovy.zip
unzip to your pmsencoder scripts folder
(970 Bytes) Downloaded 913 times
note that you'll see 2 FFmpeg Web Video items in the transcode tab as a side effect, but this just a beta :).
User avatar
kuroukage
Posts: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: Jumpy Plugin (2 Feb 2013)

Post by kuroukage »

Awesome, thanks for working on this.

So far I noticed that for my web.conf links they don't work now even though PMS Encoder is still enabled (and now shows as 2nd under FFmpeg Web Video). Same for my RSS feeds in web.conf as well. Most things in Jumpy seem to be working fine though. Do you think this will work better once the new version of UMS comes out? Or will it not be needed anymore? Or do you just need to do some more tweaking to it?

BTW I noticed you don't have a nifty developer icon/title next to your name yet. You should PM SubJunk and let him know you're missing it. :)
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (2 Feb 2013)

Post by infidel »

kuroukage wrote:So far I noticed that for my web.conf links they don't work now even though PMS Encoder is still enabled (and now shows as 2nd under FFmpeg Web Video). Same for my RSS feeds in web.conf as well.
It's because now it's FFmpeg Web Video that's a little too over-confident and grabs all things WEB. Once it has a more accurate understanding of what it can and can't do they should be able to coexist. Could you post some WEB.conf links for testing?

EDIT: here's a new update.jar that makes FFmpeg Web Video play a little nicer with pmsencoder (vis. TED, Onion, etc). Put it in your UMS program folder as usual:

[attachment removed] - see below

let me know of any other player mismatches you happen to run across.
Last edited by infidel on Sun Feb 10, 2013 7:35 am, edited 2 times in total.
User avatar
kuroukage
Posts: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: Jumpy Plugin (2 Feb 2013)

Post by kuroukage »

Sure, he's some examples of the types that aren't working with it:

Code: Select all

videofeed.Web,Videos,Entertainment,YouTube=http://gdata.youtube.com/feeds/base/users/AlJazeeraEnglish/uploads?alt=rss&v=2&orderby=published

videostream.Web,Live News=Al Jazeera (English),rtmpdump://rtmp2pmspl?-r=rtmp%3A%2F%2Faljazeeraflashlivefs.fplive.net%3A1935%2Faljazeeraflashlive-live&-a=aljazeeraflashlive-live%3FvideoId%3D883816736001%26lineUpId%3D%26pubId%3D665003303001%26playerId%3D751182905001%26affiliateId%3D&-f=WIN%2011%2C4%2C402%2C265&-W=http%3A%2F%2Fadmin.brightcove.com%2Fviewer%2Fus20120824.1350%2FfederatedVideoUI%2FBrightcovePlayer.swf&-p=http%3A%2F%2Fwww.aljazeera.com%2Fwatch_now%2F&--live&-y=aljazeera_eng_high%3FvideoId%3D883816736001%26lineUpId%3D%26pubId%3D665003303001%26playerId%3D751182905001%26affiliateId%3D&-o=24-08-12_03-12-18_aljazeera_eng_high.flv

videostream.Web,Live News=RT (English),rtmpdump://rtmp2pmspl?-r=rtmp%3A%2F%2Ffms5.visionip.tv%2Flive&-a=live&-f=WIN%2011%2C4%2C402%2C265&-W=http%3A%2F%2Frt.com%2Fs%2Fswf%2Fplayer5.4.viral.swf&-p=http%3A%2F%2Frt.com%2Fon-air%2F&--live&-y=RT_3&-o=24-08-12_04-25-46_RT_3.flv
Any of the live feeds with rtmpdump links wont work because they're using feeds made for PMSE. Also, none of the YouTube rss feeds will work (not that I need those now since Jumpy runs the YT video plugin perfectly, but I like to have those as a backup). As of now these all work fine using PMSE, but not FFmpeg Web Video, so I'm guessing you have to write some more code into that .groovy file telling it what types of feeds should not run on FFmpeg Web Video and what would only run on PMSE?

Thanks,
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (2 Feb 2013)

Post by infidel »

Yet another update.jar with a more comprehensive peace treaty between ffmpegwebvideo and pmsencoder :):

[attachment removed] - see below

btw this one also removes the redundant ffmpegwebvideo player in the transcode tab.
Last edited by infidel on Sun Feb 10, 2013 10:06 am, edited 1 time in total.
User avatar
kuroukage
Posts: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: Jumpy Plugin (2 Feb 2013)

Post by kuroukage »

Okay, so after doing lots of testing I was about to report about the problem with RTMP links in web.conf again, but with the 2nd update.jar you have them working perfectly. As well as the YouTube rss feeds.

This is the only thing I can't get to work in web.conf now:

Code: Select all

videofeed.Web,Videos,Trailers,Apple Trailers=http://feeds.feedburner.com/apple_trailers_mrss/720p
Also, 2 video plugins aren't working in Jumpy now.

The Joe Rogan Experience:

Code: Select all

Settings: {}
Traceback (most recent call last):
  File "C:\Users\kuroukage\AppData\Roaming\XBMC\addons\plugin.video.joeroganexperience\default.py", line 7, in <module>
    from resources.lib import joerogan
  File "C:\Users\kuroukage\AppData\Roaming\XBMC\addons\plugin.video.joeroganexperience\resources\lib\joerogan.py", line 6, in <module>
    from BeautifulSoup import BeautifulSoup
  File "C:\Program Files (x86)\Universal Media Server\plugins\jumpy\xbmc\xbmcinit.py", line 209, in find_module
    pms.addPath(lib)
NameError: global name 'pms' is not defined
I'm not sure why the Joe Rogan Experience is having problems getting links, but it's just loading up blank folders now.

The Trailers:

Code: Select all

*** setResolvedUrl ***
raw : http://trailers.apple.com/405/us/media/trailers/wb/argo/argo-tlr1_h1080p.mov?|User-Agent=QuickTime/7.6.5 (qtver=7.6.5;os=Windows NT 5.1Service Pack 3)
name: Argo
type: 4
url : http://trailers.apple.com/405/us/media/trailers/wb/argo/argo-tlr1_h1080p.mov?|User-Agent=QuickTime/7.6.5 (qtver=7.6.5;os=Windows NT 5.1Service Pack 3)
It seems to be having trouble playing .mov files now. As the Quicktime feed in web.conf and the video plugin The Trailers both will not play links.

I'm also seeing a bunch of spam in my debug.log when loading up UMS. This code repeats itself for awhile before UMS finishes loading:

Code: Select all

INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
INFO  2013-02-09 11:58:51.486 [main] host=rtmp2pmspl
INFO  2013-02-09 11:58:51.486 [main] protocol=rtmpdump
That's what I have to report for now. Excellent work. Looks like you've almost got it working perfectly. :)

Oh, one last thing. I'm still using this build of FFmpeg. Are the newer builds still having the same crashing issue?

Thanks,
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (2 Feb 2013)

Post by infidel »

kuroukage wrote:This is the only thing I can't get to work in web.conf now:
fixed. see below.
kuroukage wrote:Also, 2 video plugins aren't working in Jumpy now.
I'll have to give you a raincheck on these :).
kuroukage wrote:I'm also seeing a bunch of spam in my debug.log
just some debug statements I forgot to remove, fixed now.

+ I don't know about the recent ffmpeg binaries. you can always try one and see :).
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (2 Feb 2013)

Post by infidel »

Ok, I think this is it for now, as a complete package for anyone who wants to try web subtitles + ffmpegwebvideo/pmsencoder coexistence:
  • put the enclosed update.jar in your UMS program folder
  • put the enclosed ffmpegwebvideo-first.groovy in your pmsencoder scripts folder
  • replace win32/ffmpeg.exe with an rtmp/subs-enabled version such as this one.
update-ffmpegwebvideo5.zip
(48.21 KiB) Downloaded 897 times
EDIT: bugfix
Last edited by infidel on Mon Feb 11, 2013 2:36 am, edited 2 times in total.
User avatar
kuroukage
Posts: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: Jumpy Plugin (2 Feb 2013)

Post by kuroukage »

kuroukage wrote:Also, 2 video plugins aren't working in Jumpy now.
infidel wrote:I'll have to give you a raincheck on these :).
Okay, thanks. Yeah I know the new build of UMS is coming out shortly, so I'll have to give them a go again once it's released.
kuroukage wrote:I'm also seeing a bunch of spam in my debug.log
infidel wrote:just some debug statements I forgot to remove, fixed now.
+ I don't know about the recent ffmpeg binaries. you can always try one and see :).
Awesome, glad that's fixed. There was a ton of stuff scrolling through the debug.log window which was kind of annoying. I'll give the newer builds a try to see if they work. I know there are a few newer final versions he released, but they wouldn't work last time I tried (would just keep crashing). I'm pretty sure SubJunk is going to release a new build of his FFmpeg along with UMS 2.4.0 final. I prefer to stick to using those if they're working for everything since he customizes them just for UMS.

EDIT: I tried some of the newer builds of FFmpeg and I still get the crash on CR Takeout. Do you think this has to do with UMS not using the right commands on the newer builds of FFmpeg? Something that needs to be updated in UMS perhaps?
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
User avatar
kuroukage
Posts: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: Jumpy Plugin (2 Feb 2013)

Post by kuroukage »

After testing 2.4.0 I'm still having to use your workaround to get subtitles to work in Jumpy. Is an update to Jumpy needed to solve this? His build of FFmpeg supports subtitles now, but I had to go back to the 11-25 FFmpeg build for subs to work in Jumpy again. What do you think the final solution to this is going to be?

EDIT: I tested a newer build of FFmpeg (v1.1.1) and the external subtitles will work if just playing a regular video from my HDD. The only one that will work with Crunchyroll Takeout is the 11-25 build. If i use any other version (his new one SB6) or anything past the 11-25 build it doesn't work right. I either get a crash of FFmpeg (v1.1.1) or it not loading the video (SB6).

EDIT2: I grabbed Update 4 and the log spam is back again. Which bug did you fix?
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
Post Reply