Web content will not stream

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: Web content will not stream

Postby chocolateboy » Tue Jan 04, 2011 7:37 am

hans_gregor wrote:when I try and change to another link, the old rtmpdump process is not killed. PMSencoder is killing only cmd.exe. So, I compiled 1.3.0, modifying this line
Code: Select all
def cmdList = ([ "cmd.exe", "/C" ] + downloaderArgs + "|" + transcoderArgs) as List<String>

to this
Code: Select all
def cmdList = (downloaderArgs + "|" + transcoderArgs) as List<String>

The question is, do we need cmd.exe?


Maybe not. Can you verify that youtube-dl and get-flash-videos still work after that change?

https://github.com/chocolateboy/pmsenco ... _dl.groovy
https://github.com/chocolateboy/pmsenco ... eos.groovy
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby chocolateboy » Tue Jan 04, 2011 7:51 am

lot2smile4 wrote:Is the kino_trailer.groovy script a working script, or a work in progress?


It works for me with PMSEncoder 1.4.0, which hasn't been released yet.

I don't have time to properly version scripts at the moment, so, as a general rule, stick to scripts shipped with your version of PMSEncoder (use the "Switch Tags" menu) e.g.:

https://github.com/chocolateboy/pmsenco ... sc/scripts

All I have done with the kino_trailer.groovy script is modified the domain to just filmtrailers.com


Thanks. I'll update the script.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby lot2smile4 » Tue Jan 04, 2011 11:42 am

OK, cool... so it isn't something I have done wrong for a change... lol

I shall eagerly await the next release.

Thanks for the time and effort that you put into this and helping people too.
Running SUSE 11.3 from the PMServ distro
Updated PMS to SVN version 413 (although at the moment trialling pms-mlx)
Running Java 1.6.0 b20 (latest for SUSE that I can find!)
Rendering on PS3 or Samsung 40C7000
lot2smile4
 
Posts: 33
Joined: Fri Dec 17, 2010 4:49 pm

Re: Web content will not stream

Postby brotherjohn » Tue Jan 04, 2011 3:29 pm

chocolateboy wrote:
lot2smile4 wrote:Is the kino_trailer.groovy script a working script, or a work in progress?


It works for me with PMSEncoder 1.4.0, which hasn't been released yet.

I don't have time to properly version scripts at the moment, so, as a general rule, stick to scripts shipped with your version of PMSEncoder (use the "Switch Tags" menu) e.g.:

https://github.com/chocolateboy/pmsenco ... sc/scripts

All I have done with the kino_trailer.groovy script is modified the domain to just filmtrailers.com


Thanks. I'll update the script.

Does the german links to Kinotrailer (see my post some posts forward in this thread)
Code: Select all
videofeed.Web,FilmTrailer=http://de.rss.filmtrailer.com/default/Latest30CinemaCreated/
videofeed.Web,FilmTrailer=http://de.rss.filmtrailer.com/default/Next30InCinema/
videofeed.Web,FilmTrailer=http://de.rss.filmtrailer.com/default/Latest30InCinema/
videofeed.Web,FilmTrailer=http://de.rss.filmtrailer.com/default/latest30ondvd/
worked after that update, too? Perhaps you find a solution to support language independent links because the same links exist in french. But TAKE IT EASY and take your time .... you've already made a great job :D
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Web content will not stream

Postby AndyStewart » Tue Jan 04, 2011 8:16 pm

Subjunk and chocolateboy - 1st of all BIG THANKS for continuing the work on PS3MediaServer, and also on the PMSEncoder plugin :)

One question I have - I've added the following lines to web.conf to try and get iPlayer streams listed (yes I know its available thru the PS3 natively, but this is for another renderer)

#BBC iPlayer (UK only)
#Info taken from http://feeds.bbc.co.uk/iplayer/
videofeed.Web,iPlayer,BBC iPlayer (Most Popular)=http://feeds.bbc.co.uk/iplayer/popular/tv
videofeed.Web,iPlayer,BBC iPlayer (TV Highlights)=http://feeds.bbc.co.uk/iplayer/highlights/tv
videofeed.Web,iPlayer,BBC iPlayer (Most Popular)=http://feeds.bbc.co.uk/iplayer/popular/tv
videofeed.Web,iPlayer,BBC iPlayer (TV Drama)=http://feeds.bbc.co.uk/iplayer/categories/drama/tv/list
videofeed.Web,iPlayer,BBC iPlayer (TV Entertainment)=http://feeds.bbc.co.uk/iplayer/categories/entertainment/tv/list
videofeed.Web,iPlayer,BBC iPlayer (TV Factual)=http://feeds.bbc.co.uk/iplayer/categories/factual/tv/list
videofeed.Web,iPlayer,BBC iPlayer (BBC One Drama)=http://feeds.bbc.co.uk/iplayer/bbc_one/drama/list
videofeed.Web,iPlayer,BBC iPlayer (BBC Two Comedy)=http://feeds.bbc.co.uk/iplayer/bbc_two/comedy/list

But none of them is showing up on the PS3 screen when I go to Videos, Web ...

Have latest SB10 installed, and the 1.3.0 PMSEncoder .jar in the plugins subdirectory.

debug log and pmsencoder logs aren't showing any errors...

Sorry tried to add logs to post but it says "Sorry, the board attachment quota has been reached"

I can mail if needed to someone...
AndyStewart
 
Posts: 11
Joined: Sun Oct 04, 2009 12:49 pm

Re: Web content will not stream

Postby chocolateboy » Tue Jan 04, 2011 8:47 pm

AndyStewart wrote:yes I know its available thru the PS3 natively, but this is for another renderer



AndyStewart wrote:But none of them is showing up on the PS3 screen when I go to Videos, Web ...


Config files for that build are in the AppData directory on Windows.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby hans_gregor » Wed Jan 05, 2011 2:28 am

chocolateboy wrote:
Maybe not. Can you verify that youtube-dl and get-flash-videos still work after that change?


I tested them on boxee and BDP-S370 (I don't own PS3) and the conclusion is this

youtube_dl groovy is working as is. no changes needed
get_flash_video, the script has to be changed as below
Code: Select all
$DOWNLOADER = "cmd.exe /C $PERL $GET_FLASH_VIDEOS --quality high --quiet --yes --filename $DOWNLOADER_OUT ${$URI} "


else, if I don't touch the groovy script, I get this error in debug.log

Code: Select all
[Thread-15] INFO  18:51:58.354 Waiting for pipe connection \\.\pipe\pmsencoder_transcoder_out_1294185118338_34
[perl] INFO  18:51:58.825 Starting perl c:\Perl64\combined-get_flash_videos --quality high --quiet --yes --filename - http://www.wimp.com/radiovoice/ | C:\pms3\PS3MediaServer\win32\mencoder.exe -prefer-ipv4 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -ofps 25 -cache 16384 -vf harddup -o \\.\pipe\pmsencoder_transcoder_out_1294185118338_34 -
[perl] INFO  18:51:58.836 Reading pipe: \\.\pipe\pmsencoder_transcoder_out_1294185118338_34
[perl] INFO  18:51:58.873 Attaching thread: perl
[Timer-0] DEBUG 18:51:58.873 Buffered Space: 0 bytes / inputs: 0
......
[Thread-16] DEBUG 18:51:59.330 Unknown option: prefer-ipv4
[Thread-16] DEBUG 18:51:59.330 Unknown option: oac
[Thread-16] DEBUG 18:51:59.330 Unknown option: of
[Thread-16] DEBUG 18:51:59.330 Unknown option: lavfopts
[Thread-16] DEBUG 18:51:59.330 Unknown option: ovc
[Thread-16] DEBUG 18:51:59.330 Unknown option: lavcopts
[Thread-16] DEBUG 18:51:59.330 Unknown option: ofps
[Thread-16] DEBUG 18:51:59.330 Unknown option: cache
[Thread-16] DEBUG 18:51:59.330 Unknown option: vf
[Thread-16] DEBUG 18:51:59.331 Unknown option: o
[Thread-16] DEBUG 18:51:59.331 Try c:\Perl64\combined-get_flash_videos --help for more information.
[perl] DEBUG 18:52:00.356 EOF
[perl] TRACE 18:52:00.356 Process perl has a return code of 255! Maybe an error occured... check the log file


it looks to me is passing the arguments, instead to mencoder, into get_flash_video???
hans_gregor
 
Posts: 11
Joined: Thu Dec 23, 2010 1:00 pm

Re: Web content will not stream

Postby Olof » Sun Jan 23, 2011 10:10 am

Hi

Having som trouble with PMSEncoder (I think..), or rather the giantbomb.groovy but didn't that come with PMSEncoder?
Any ideas about the log report? (pmsencoder.log doesn't report anything regarding this problem)
Looking at the giantbomb.groovy, I can see it doesn't look anything like what I thought a .groovy should look like (More lika a standard XML file...)

Code: Select all
[main] TRACE 10:05:11.729 PMSEncoder: initializing PMSEncoder 1.3.0
[main] TRACE 10:05:11.904 PMSEncoder: script directory: C:\Program Files (x86)\PS3 Media Server\pmsencoder
[main] TRACE 10:05:11.910 PMSEncoder: loading built-in log4j config file: jar:file:/C:/Program%20Files%20(x86)/PS3%20Media%20Server/plugins/pmsencoder-1.3.0.jar!/default_log4j.xml
[main] TRACE 10:05:11.930 PMSEncoder: loading built-in script: jar:file:/C:/Program%20Files%20(x86)/PS3%20Media%20Server/plugins/pmsencoder-1.3.0.jar!/pmsencoder.groovy
[main] TRACE 10:05:12.446 PMSEncoder: loading scripts from: C:\Program Files (x86)\PS3 Media Server\pmsencoder
[main] TRACE 10:05:12.447 PMSEncoder: loading user script: C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy
[main] 10:05:12.449 PMSEncoder: can't load user script: C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy: startup failed:
C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy: 1: unexpected token: < @ line 1, column 1.
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   ^

1 error
[main] TRACE 10:05:12.451 org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[main] TRACE 10:05:12.451 C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy: 1: unexpected token: < @ line 1, column 1.
[main] TRACE 10:05:12.451    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
[main] TRACE 10:05:12.451    ^
[main] TRACE 10:05:12.452
[main] TRACE 10:05:12.452 1 error
[main] TRACE 10:05:12.452
[main] TRACE 10:05:12.452    at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
[main] TRACE 10:05:12.452    at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:143)
[main] TRACE 10:05:12.453    at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:113)
[main] TRACE 10:05:12.453    at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:125)
[main] TRACE 10:05:12.453    at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:337)
[main] TRACE 10:05:12.453    at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:104)
[main] TRACE 10:05:12.453    at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:71)
[main] TRACE 10:05:12.454    at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236)
[main] TRACE 10:05:12.454    at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:158)
[main] TRACE 10:05:12.454    at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:814)
[main] TRACE 10:05:12.455    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
[main] TRACE 10:05:12.455    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
[main] TRACE 10:05:12.455    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
[main] TRACE 10:05:12.455    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
[main] TRACE 10:05:12.455    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287)
[main] TRACE 10:05:12.456    at groovy.lang.GroovyShell.parseClass(GroovyShell.java:727)
[main] TRACE 10:05:12.456    at groovy.lang.GroovyShell.parse(GroovyShell.java:739)
[main] TRACE 10:05:12.456    at groovy.lang.GroovyShell.parse(GroovyShell.java:694)
[main] TRACE 10:05:12.456    at groovy.lang.GroovyShell.evaluate(GroovyShell.java:644)
[main] TRACE 10:05:12.456    at com.chocolatey.pmsencoder.Matcher.load(Matcher.groovy:37)
[main] TRACE 10:05:12.457    at com.chocolatey.pmsencoder.Matcher.load(Matcher.groovy:30)
[main] TRACE 10:05:12.457    at com.chocolatey.pmsencoder.Matcher.load(Matcher.groovy:26)
[main] TRACE 10:05:12.457    at com.chocolatey.pmsencoder.Matcher.load(Matcher.groovy)
[main] TRACE 10:05:12.457    at com.chocolatey.pmsencoder.Plugin.loadScript(Plugin.groovy:225)
[main] TRACE 10:05:12.457    at com.chocolatey.pmsencoder.Plugin.delegate1982(Plugin.groovy)
[main] TRACE 10:05:12.458    at com.chocolatey.pmsencoder.Plugin$loadScripts$1.doCall(Plugin.groovy:201)
[main] TRACE 10:05:12.458    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[main] TRACE 10:05:12.458    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[main] TRACE 10:05:12.458    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[main] TRACE 10:05:12.458    at java.lang.reflect.Method.invoke(Unknown Source)
[main] TRACE 10:05:12.459    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
[main] TRACE 10:05:12.459    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
[main] TRACE 10:05:12.459    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273)
[main] TRACE 10:05:12.459    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
[main] TRACE 10:05:12.459    at groovy.lang.Closure.call(Closure.java:276)
[main] TRACE 10:05:12.460    at groovy.lang.Closure.call(Closure.java:289)
[main] TRACE 10:05:12.460    at org.codehaus.groovy.runtime.DefaultGroovyMethods.eachFileRecurse(DefaultGroovyMethods.java:12090)
[main] TRACE 10:05:12.460    at com.chocolatey.pmsencoder.Plugin.loadScripts(Plugin.groovy:198)
[main] TRACE 10:05:12.460    at com.chocolatey.pmsencoder.Plugin.createMatcher(Plugin.groovy:176)
[main] TRACE 10:05:12.460    at com.chocolatey.pmsencoder.Plugin.<init>(Plugin.groovy:130)
[main] TRACE 10:05:12.460    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[main] TRACE 10:05:12.461    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[main] TRACE 10:05:12.461    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[main] TRACE 10:05:12.461    at java.lang.reflect.Constructor.newInstance(Unknown Source)
[main] TRACE 10:05:12.461    at java.lang.Class.newInstance0(Unknown Source)
[main] TRACE 10:05:12.461    at java.lang.Class.newInstance(Unknown Source)
[main] TRACE 10:05:12.462    at net.pms.external.ExternalFactory.lookup(ExternalFactory.java:41)
[main] TRACE 10:05:12.462    at net.pms.PMS.init(PMS.java:435)
[main] TRACE 10:05:12.462    at net.pms.PMS.get(PMS.java:1341)
[main] TRACE 10:05:12.462    at net.pms.PMS.main(PMS.java:1405)
[main] TRACE 10:05:12.462 [main] 10:05:12.449 PMSEncoder: can't load user script: C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy: startup failed:
[main] TRACE 10:05:12.463 C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy: 1: unexpected token: < @ line 1, column 1.
[main] TRACE 10:05:12.463    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
[main] TRACE 10:05:12.463    ^
[main] TRACE 10:05:12.463
[main] TRACE 10:05:12.463 1 error
[main] TRACE 10:05:12.463
[main] TRACE 10:05:12.465 Registering transcoding engine PMSEncoder
Olof
 
Posts: 13
Joined: Tue Jan 19, 2010 9:56 am

Re: Web content will not stream

Postby chocolateboy » Sun Jan 23, 2011 10:20 am

Olof wrote:Having som trouble with PMSEncoder (I think..), or rather the giantbomb.groovy but didn't that come with PMSEncoder?


No.

Code: Select all
[main] 10:05:12.449 PMSEncoder: can't load user script: C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy: startup failed:
C:\Program Files (x86)\PS3 Media Server\pmsencoder\giantbomb.groovy: 1: unexpected token: < @ line 1, column 1.
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   ^

1 error


You downloaded a HTML file instead of a plain text file (click the "raw" link on GitHub to get the text version of a script):

Image
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby maccroche » Sun Jan 23, 2011 8:12 pm

Hello,

the following videofeed are not working, what can be the correct configuration, profile for the pmsencoder.conf file?
In advance thank you!

videofeed.Video,Vimeo=http://www.vimeo.com/channels/documentaryfilm/videos/rss
videofeed.Video,Sciences=http://www.palais-decouverte.fr/index.php?id=313&type=100
videofeed.Video,Sciences=http://www.universcience-vod.fr/rss/les-plus-recentes/9/images-de-science.xml
videofeed.Video,Sciences=http://rss.sciam.com/sciam/global-videos
videofeed.Video,Sciences=http://www.vodsavoir.com/video/9425-la-machine-electrostatique-de-wimshurst?utm_source=-ws-rss-author-id-33453&utm_medium=feed
videofeed.Video,DailyMotion=http://www.dailymotion.com/rss/user/einstein-rosen-podolsky/1
videofeed.Video,INA=http://www.ina.fr/fictions-et-animations.rss/video/vus/desc
videofeed.Video,TV5=http://www.tv5.org/data/tv5/rss/rssjtmonde.xml
videofeed.Video,Test=http://www.rss-one.com/rss-3950-Canal-Plus---Le-Zapping
videofeed.Video,Arte=http://www.arte.tv/de/europa/karambolage/2552282,templateId=render,CmPage=70.2151238.2151236.104016,CmPart=com.arte-tv.www.xml
* Current version installed: pms-setup-windows-1.21.0-SB16.exe
* XP with SP 3
* Sony Bravia KDL 32V5500, firmware PKG1.741EA
* Java build 1.6.0_24-b07
* PMSencoder 1.4.0
maccroche
 
Posts: 95
Joined: Wed Jan 20, 2010 4:44 pm

PreviousNext

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], meskibob and 16 guests