Channel plugin (Updated 12-06-23)

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

Re: Chanel plugin

Postby SharkHunter » Fri Feb 18, 2011 8:45 am

dushashi - Good. I'll have a new version in the pipe, actually with a new feature this time (rather than just some fixes). Hopefully out tonight....
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Chanel plugin

Postby dushashi » Fri Feb 18, 2011 8:58 am

SharkHunter

Forgot to mention that TV4Play still fails. The reason is that it is RTMPE and the tv4.ch doesn't format correctly parameters for RTMDUMP on Linux.
dushashi
 
Posts: 148
Joined: Sun Feb 13, 2011 11:11 pm

Re: Chanel plugin

Postby SharkHunter » Fri Feb 18, 2011 9:03 am

What is your URL on TV4 then? And why are there diffrences between linux and windows here? These are just simple strings that we pass around?
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Chanel plugin

Postby grolschie » Fri Feb 18, 2011 9:08 am

Hi SharkHunter. Thanks for that.

Can I use another matcher to pass another value to one of these parameters somehow?

Can I simply use append_url to add a string like "--flashVer \"WIN 10,2,152,26\" -a \"example.com\""
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

Re: Chanel plugin

Postby dushashi » Fri Feb 18, 2011 9:14 am

SharkHunter

This is how it looks

Code: Select all
[rtmpdump] INFO  09:09:40.159 Starting rtmpdump -o /tmp/ps3mediaserver/pmsencoder_downloader_out_1298016579263_42 -r rtmpe://cp70051.edgefcs.net/tv4ondemand" -y "mp4:/mp4root/2011-02-11/did2964477_1223552_T3MP415_.mp4" -W "http://cdn01.tv4.se/polopoly_fs/1.1615597.1280745068!approot/tv4video.swf


this is the RTMPDUMP error:
Code: Select all
[Thread-22] DEBUG 09:09:40.221 RTMPDump v2.3
[Thread-22] DEBUG 09:09:40.222 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[Thread-22] DEBUG 09:09:40.227 ERROR: RTMP_HashSWF: couldn't contact swfurl "http://cdn01.tv4.se/polopoly_fs/1.1615597.1280745068!approot/tv4video.swf (HTTP error -1)
[Thread-22] DEBUG 09:09:40.236 Connecting ...
[Thread-22] DEBUG 09:09:40.302 WARNING: HandShake: Type mismatch: client sent 6, server answered 8
[Thread-22] DEBUG 09:09:40.325 INFO: Connected...
[New I/O server worker #1-1] DEBUG 09:09:40.360 Sleeping for 6000 milliseconds
[Thread-22] DEBUG 09:09:40.460 ERROR: rtmp server sent error
[Thread-22] DEBUG 09:09:40.461 ERROR: rtmp server requested close
[rtmpdump] TRACE 09:09:40.472 Process rtmpdump has a return code of 1! Maybe an error occured... check the log file
dushashi
 
Posts: 148
Joined: Sun Feb 13, 2011 11:11 pm

Re: Chanel plugin

Postby dushashi » Fri Feb 18, 2011 9:17 am

rtmpdump -o /tmp/ps3mediaserver/pmsencoder_downloader_out_1298016579263_42 -r rtmpe://cp70051.edgefcs.net/tv4ondemand -y mp4:/mp4root/2011-02-11/did2964477_1223552_T3MP415_.mp4

works fine.
so if you remove "" and then remove the -W option, I think it will work just fine.
dushashi
 
Posts: 148
Joined: Sun Feb 13, 2011 11:11 pm

Re: Chanel plugin

Postby SharkHunter » Fri Feb 18, 2011 9:22 am

dushashi - That error was easy to spot. -r rtmpe://cp70051.edgefcs.net/tv4ondemand" and -W "http://cdn01.tv4.se/polopoly_fs/1.1615597.1280745068!approot/tv4video.swf. There is a mismatch of ".
Modify your rtmp.groovy script and remove all " I'll think it will work then.

grolschie - The append_* properties should be used for this purpose yes. I don't understand what you mean by "another matcher"
Each "object" is unique so if you have two medias those can have different sets of properties etc.
media {
# Media 1
matcher=xxxx
prop=append_url=fjfgjgfhd,
}
media {
# Media 2
matcher=yyyyy
}
for example. One media which you need to append something to url and one where you don't append anything. Again as long as the match expressions don't overlap this should work.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Chanel plugin

Postby grolschie » Fri Feb 18, 2011 9:27 am

Thanks. I mean if there is another string I need to search for within an smil file that is needed to make up a url for a parameter, can I do this? e.g. I need to make up "http://www.example.com/directory/XXXXXX" for the -p parameter, and I need to obtain XXXXXX from with the same file as I find the media url.
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

Re: Chanel plugin

Postby dushashi » Fri Feb 18, 2011 9:33 am

...
Last edited by dushashi on Fri Feb 18, 2011 9:48 am, edited 1 time in total.
dushashi
 
Posts: 148
Joined: Sun Feb 13, 2011 11:11 pm

Re: Chanel plugin

Postby dushashi » Fri Feb 18, 2011 9:35 am

SharkHunter

It is the

Code: Select all
url_separator


in
Code: Select all
prop=url_separator=!!!pms_ch_dash_y!!!,append_url=!!!pms_ch_dash_w!!!http://cdn01.tv4.se/polopoly_fs/1.1615597.1280745068!approot/tv4video.swf

that messes it up.

How do I replace =url_separator with just a whitespace?
dushashi
 
Posts: 148
Joined: Sun Feb 13, 2011 11:11 pm

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 5 guests