Web content will not stream

For help and support with PS3 Media Server in general

Re: Web content will not stream

Postby Twosheds » Fri Feb 25, 2011 7:54 pm

chocolateboy,

I replaced RTMP.groovy with RTMPDUMP.groovy in my scripts folder in addition to updating PPLIVE.groovy & SOPCAST.groovy with the latest versions as per https://github.com/chocolateboy/pmsencoder/tree/master/src/main/resources/scripts but I'm get the following error in debug.log

Code: Select all
[main] 18:38:21.677 PMSEncoder: can't load user script: C:\Program Files\PS3 Media Server\scripts\rtmpdump.groovy: No signature of method: rtmpdump.init() is applicable for argument types: (rtmpdump$_run_closure1) values: [rtmpdump$_run_closure1@135f0a]
Possible solutions: wait(), wait(long), any(), print(java.lang.Object), print(java.io.PrintWriter), print(java.lang.Object)
groovy.lang.MissingMethodException: No signature of method: rtmpdump.init() is applicable for argument types: (rtmpdump$_run_closure1) values: [rtmpdump$_run_closure1@135f0a]
Possible solutions: wait(), wait(long), any(), print(java.lang.Object), print(java.io.PrintWriter), print(java.lang.Object)
   at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)


and

Code: Select all
[main] TRACE 18:38:21.680 groovy.lang.MissingMethodException: No signature of method: rtmpdump.init() is applicable for argument types: (rtmpdump$_run_closure1) values: [rtmpdump$_run_closure1@135f0a]
[main] TRACE 18:38:21.680 Possible solutions: wait(), wait(long), any(), print(java.lang.Object), print(java.io.PrintWriter), print(java.lang.Object)
[main] TRACE 18:38:21.680    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)




I'm using SB15, PMSEncoder 1.4 and hae downloaded the latest version of Java.

Are these error relevant and do they need to be fixed?
Twosheds
 
Posts: 37
Joined: Tue Apr 27, 2010 4:28 pm
Location: Lincolnshire, UK

Re: Web content will not stream

Postby chocolateboy » Fri Feb 25, 2011 8:18 pm

Twosheds wrote:I replaced RTMP.groovy with RTMPDUMP.groovy in my scripts folder in addition to updating PPLIVE.groovy & SOPCAST.groovy with the latest versions


viewtopic.php?f=6&t=8776&p=42244#p42244
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby Twosheds » Fri Feb 25, 2011 9:20 pm

Thanks for that. Wasn't aware that the original list of scripts didn't apply to to 1.4. I found the 'new' scripts at https://github.com/chocolateboy/pmsencoder/tree/master/src/main/resources/scripts isn't tagged so which version does this list refer to ?
Twosheds
 
Posts: 37
Joined: Tue Apr 27, 2010 4:28 pm
Location: Lincolnshire, UK

Re: Web content will not stream

Postby chocolateboy » Sat Feb 26, 2011 7:49 pm

PMSEncoder 1.5.0 has been released.

This release includes several backwards-incompatible fixes and features. Please consult the release notes before upgrading.
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby chocolateboy » Sat Feb 26, 2011 8:44 pm

PMSEncoder 1.5.1 has been released.

This release fixes a bug in pseudo-protocol (rtmpdump:// and navix://) handling. Please consult the release notes before upgrading.
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby brotherjohn » Sun Feb 27, 2011 12:02 am

Hi chocolateboy,
I always get the same error with playing videos from Gamestar, Gameswelt, PCGames, WinFuture, GameTrailers.
Here is the snippet from debug.log:
Code: Select all
[New I/O server worker #1-4] TRACE 23:37:24.088 Starting transcode/remux of Crysis 2 - »Be Invisible«-Trailer
[New I/O server worker #1-4] INFO  23:37:24.090 Creating pipe \\.\pipe\pmsencoder_transcoder_out_1298759844088_36
[Thread-19] INFO  23:37:24.093 Waiting for pipe connection \\.\pipe\pmsencoder_transcoder_out_1298759844088_36
[win32\ffmpeg.exe] INFO  23:37:25.670 Starting C:\Program Files\PS3 Media Server\win32\ffmpeg.exe -v 0 -y -threads 2 -i "http://download.gamestar.de/public/53500/53577/Crysis-2-Be-Invisible-Trailer.mp4" -threads 2 -target pal-dvd \\.\pipe\pmsencoder_transcoder_out_1298759844088_36
[win32\ffmpeg.exe] INFO  23:37:25.678 Reading pipe: \\.\pipe\pmsencoder_transcoder_out_1298759844088_36
[win32\ffmpeg.exe] INFO  23:37:25.795 Attaching thread: win32\ffmpeg.exe
[Timer-1] DEBUG 23:37:25.800 Buffered Space: 0 bytes / inputs: 0
[New I/O server worker #1-4] DEBUG 23:37:25.870 Sleeping for 6000 milliseconds
[Timer-1] DEBUG 23:37:27.804 Buffered Space: 0 bytes / inputs: 0
[Timer-1] DEBUG 23:37:29.804 Buffered Space: 0 bytes / inputs: 0
[Timer-1] DEBUG 23:37:31.804 Buffered Space: 0 bytes / inputs: 0
[New I/O server worker #1-4] DEBUG 23:37:31.871 Finished sleeping for 6000 milliseconds
[New I/O server worker #1-4] DEBUG 23:37:31.871 Ready to Stop: true
[New I/O server worker #1-4] DEBUG 23:37:31.871 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-4] DEBUG 23:37:31.871 Sent to socket: Connection: keep-alive
[New I/O server worker #1-4] DEBUG 23:37:31.871 Sent to socket: Content-Type: video/mpeg
[New I/O server worker #1-4] DEBUG 23:37:31.871 Sent to socket: ContentFeatures.DLNA.ORG: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
[New I/O server worker #1-4] DEBUG 23:37:31.871 Sent to socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.21.0
[New I/O server worker #1-4] DEBUG 23:37:31.871 Sent to socket: TransferMode.DLNA.ORG: Streaming
[New I/O server worker #1-1] DEBUG 23:37:31.881 Opened request handler on socket /192.168.178.90:57771 // Sony Bravia EX
[New I/O server worker #1-1] DEBUG 23:37:31.881 Request: HTTP/1.1 : GET : get/0$8$4$0$0/Crysis+2+-+%C2%BBBe+Invisible%C2%AB-Trailer
[New I/O server worker #1-1] DEBUG 23:37:31.881 Received on socket: getcontentFeatures.dlna.org: 1
[New I/O server worker #1-1] DEBUG 23:37:31.881 Received on socket: Host: 192.168.178.109:5001
[New I/O server worker #1-1] DEBUG 23:37:31.881 Received on socket: Pragma: getIfoFileURI.dlna.org
[New I/O server worker #1-1] DEBUG 23:37:31.881 Received on socket: Range: bytes=0-
[New I/O server worker #1-1] DEBUG 23:37:31.881 Received on socket: transferMode.dlna.org: Streaming
[New I/O server worker #1-1] DEBUG 23:37:31.881 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40EX505"; mv="1.7";
[New I/O server worker #1-1] DEBUG 23:37:31.881 Received on socket: X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40EX505";
[New I/O server worker #1-1] INFO  23:37:31.881 HTTP: get/0$8$4$0$0/Crysis+2+-+%C2%BBBe+Invisible%C2%AB-Trailer / 0-100000000000
[New I/O server worker #1-1] DEBUG 23:37:31.881 Searching for objectId: 0$8$4$0$0 with children option: false
[New I/O server worker #1-1] DEBUG 23:37:31.881 Asked stream chunk [0-100000000000] timeseek: 0.0 of Crysis 2 - »Be Invisible«-Trailer and player PMSEncoder
[New I/O server worker #1-1] DEBUG 23:37:31.881 Ready to Stop: false
[New I/O server worker #1-1] DEBUG 23:37:31.881 Suspend Read: readCount=0 / writeCount=0
[Timer-1] DEBUG 23:37:33.804 Buffered Space: 0 bytes / inputs: 1
[Timer-1] DEBUG 23:37:35.804 Buffered Space: 0 bytes / inputs: 1
[Timer-1] DEBUG 23:37:37.804 Buffered Space: 0 bytes / inputs: 1
[New I/O server worker #1-1] DEBUG 23:37:39.381 Resume Read: readCount=0 / writeCount=0
[New I/O server worker #1-1] DEBUG 23:37:39.381 Suspend Read: readCount=1 / writeCount=0
[Timer-1] DEBUG 23:37:39.804 Buffered Space: -1 bytes / inputs: 1
[Timer-1] DEBUG 23:37:41.804 Buffered Space: -1 bytes / inputs: 1
[Timer-1] DEBUG 23:37:43.804 Buffered Space: -1 bytes / inputs: 1
[win32\ffmpeg.exe] DEBUG 23:37:45.735 EOF
[win32\ffmpeg.exe] TRACE 23:37:45.735 Process C:\Program Files\PS3 Media Server\win32\ffmpeg.exe has a return code of -1073741819! Maybe an error occured... check the log file

Another thing is, in the log tab, I can't see the messages of loading the .groovy scripts. Could you please help me?
EDIT: I've taken the scripts from here.
EDIT 2.: I see. The messages of loading the scripts is now in the pmsencoder.log. But the ffmpeg error is still present.
Last edited by brotherjohn on Sun Feb 27, 2011 9:49 am, edited 1 time in total.
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Web content will not stream

Postby dushashi » Sun Feb 27, 2011 12:33 am

How can I pass my premium account password to megaupload/megavideo ?

EDIT
never mind. I fixed it :)
dushashi
 
Posts: 148
Joined: Sun Feb 13, 2011 11:11 pm

Re: Web content will not stream

Postby dushashi » Sun Feb 27, 2011 1:43 pm

Chocolateboy how can I disable transcoding? PMSEncoder transcodes directly to mpeg2. How can I disable it?

I am using 1.4.0

Code: Select all
script {

    def WGET = 'wget'
   
    profile ('WGET') {
        pattern {
            match { WGET }
            domains([ 'wimp.com', 'megaupload.com' ]) // &c.
        }

        action {

            $DOWNLOADER = "$WGET --load-cookies=cookies.txt --quiet --output-document=$DOWNLOADER_OUT ${$URI}"
         
        }
    }
}
dushashi
 
Posts: 148
Joined: Sun Feb 13, 2011 11:11 pm

Re: Web content will not stream

Postby chocolateboy » Sun Feb 27, 2011 5:07 pm

dushashi wrote:Chocolateboy how can I disable transcoding? PMSEncoder transcodes directly to mpeg2. How can I disable it?


You can set the $MIME_TYPE for a profile and you can replace $DOWNLOADER with $TRANSCODER (and $DOWNLOADER_OUT with $TRANSCODER_OUT) in your example, but it probably won't work on most renderers (you might get lucky with something like XBMC) as a) there's a bug in PMS's buffer handling which that (wget) solution triggered the last time I tried it and b) the kind of video files posted to Megaupload (e.g. AVIs and MP4s) aren't (generically) streamable:

viewtopic.php?f=11&t=5732&p=26619#p26349
viewtopic.php?f=11&t=5732&p=26619#p26619
http://www.adobe.com/devnet/video/artic ... _atom.html
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby Twosheds » Sun Feb 27, 2011 9:20 pm

I've upgraded pmsencoder to 1.51 and tried to run a working sopcast feed in XBMC thru PMS but I'm getting an error message 'ffmpegvideo has stopped working'. The relevant entries in my WEB.conf are

Code: Select all
#p2p
videostream.Web,P2P=Sopcast,http://127.0.0.1:8902/stream


i've attached my pmsencoder.log and debug.log
Attachments
debug.zip
(13.73 KiB) Downloaded 41 times
Twosheds
 
Posts: 37
Joined: Tue Apr 27, 2010 4:28 pm
Location: Lincolnshire, UK

PreviousNext

Return to General Help and Support

Who is online

Users browsing this forum: cura and 21 guests