EDIT: I did not realise I had to create a folder in the PS3 Media Server folder called "pmsencoder" to put the rtmp.groovy file into. Now the pmsencoder log is different, but it still doesn't play.I am trying to get the basic channel plugin working with a single channel: svt. I can browse the A-Z folders, and I can see some playable files in some folders, but not others. When trying to play some I get a file corrupt error. Here is a snippet from the log:
- Code: Select all
[New I/O server worker #1-2] DEBUG 20:33:45.390 Request: HTTP/1.1 : HEAD : get/0$7$0$0$4$1$0/Elefantprinsessan
[New I/O server worker #1-2] DEBUG 20:33:45.390 Received on socket: Accept: */*
[New I/O server worker #1-2] DEBUG 20:33:45.390 Received on socket: getcontentFeatures.dlna.org: 1
[New I/O server worker #1-2] DEBUG 20:33:45.390 Received on socket: Host: 192.168.100.1:5001
[New I/O server worker #1-2] DEBUG 20:33:45.390 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"
[New I/O server worker #1-2] DEBUG 20:33:45.390 Received on socket: X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player"
[New I/O server worker #1-2] INFO 20:33:45.390 HTTP: get/0$7$0$0$4$1$0/Elefantprinsessan / 0-0
[New I/O server worker #1-2] DEBUG 20:33:45.390 Searching for objectId: 0$7$0$0$4$1$0 with children option: false
[New I/O server worker #1-2] DEBUG 20:33:45.390 Asked stream chunk [0-0] timeseek: 0.0 of Elefantprinsessan and player PMSEncoder
[New I/O server worker #1-2] TRACE 20:33:45.390 Starting transcode/remux of Elefantprinsessan
[New I/O server worker #1-2] INFO 20:33:45.390 Creating pipe \\.\pipe\pmsencoder_transcoder_out_1297755225390_38
[Thread-19] INFO 20:33:45.421 Waiting for pipe connection \\.\pipe\pmsencoder_transcoder_out_1297755225390_38
[cmd.exe] INFO 20:33:45.859 Starting cmd.exe /C C:\apps\rtmpdump-2.3\rtmpdump.exe -o - -r "rtmpe://fl11.c90909.cdn.qbrick.com/90909/_definst_/kluster/20110213/PG-1132600-010A-ELEPHANTPRINCES-02-mp4-e-v1.mp4" | win32\mencoder.exe -o \\.\pipe\pmsencoder_transcoder_out_1297755225390_38 -msglevel all=2 -quiet -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 -
[cmd.exe] INFO 20:33:45.906 Reading pipe: \\.\pipe\pmsencoder_transcoder_out_1297755225390_38
[New I/O server worker #1-2] DEBUG 20:33:46.406 Sleeping for 6000 milliseconds
[cmd.exe] INFO 20:33:46.484 Attaching thread: cmd.exe
[Timer-1] DEBUG 20:33:46.500 Buffered Space: 0 bytes / inputs: 0
[Thread-23] DEBUG 20:33:46.625 MEncoder Sherpya-SVN-r30369-4.2.5 (C) 2000-2009 MPlayer Team
[Thread-20] DEBUG 20:33:46.718 RTMPDump v2.3
[Thread-20] DEBUG 20:33:46.718 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[Thread-20] DEBUG 20:33:46.765 Connecting ...
[Timer-1] DEBUG 20:33:48.500 Buffered Space: 0 bytes / inputs: 0
[Thread-20] DEBUG 20:33:49.156 INFO: Connected...
[Thread-20] DEBUG 20:33:49.156 ERROR: rtmp server sent error
[Thread-20] DEBUG 20:33:49.156 ERROR: rtmp server requested close
[Timer-1] DEBUG 20:33:50.500 Buffered Space: 0 bytes / inputs: 0
[Thread-20] DEBUG 20:33:50.968 ============ Sorry, this file format is not recognized/supported =============
[Thread-20] DEBUG 20:33:50.968 === If this file is an AVI, ASF or MPEG stream, please contact the author! ===
[Thread-20] DEBUG 20:33:50.968 Cannot open demuxer.
[cmd.exe] DEBUG 20:33:51.968 EOF
[cmd.exe] TRACE 20:33:51.968 Process cmd.exe has a return code of 1! Maybe an error occured... check the log file
Things that I think could be more clear in the documentation:
* where to put the scripts i.e. creating a pmsencoder folder in the P3 Media Server folder.
* whether the pplive.groovy script is needed - unless one is using p2p.
* the one needs to
download rtmpdump.exe and modify the rtmp.groovy script to point to it - and to
insert "def" in line 2. And that the path
probably shouldn't have spaces in it.
pmsencoder.log zipped and attached below. It now shows that it's found rtmpdump.exe.
Any tips, greatly appreciated please. Thanks heaps.