SharkHunter wrote:SHB35 seems to have some issues. I blame maven! I'll try and make a new one. For now stick with SHB34 and maybe update Channels...
Doing everything from scratch (PS3 + PMSEncoder + Channels + Perl + Python + get_flash_video.pl + youtube-dl.py + curl + ....) I think I have pinpointed and worked out most of the issues .. Most of them have to do with incorrect paths and cmd.exe escaping paths that include spaces. Maybe it would be a good idea to "force" paths without spaces and specific locations for all the prerequisites. For example, rtmp groovy script points to c:\rtmpdump.exe ignoring PMS.conf or the actual location of the rtmpdump instaled by PMS-SHB), python.path is incorrectly setup or not setup at all, etc ..
But .. After solving all those issues, there seems to be one more with channels plugin and/or PMS-SHB.
It has to do with rtmp streams. For example, Navix -> NaviX Networks -> TheStreamDB -> ... -> English / News
http://navix.turner3d.net/playlist/5024 ... l_home.plx ->
http://navi-x.googlecode.com/svn/trunk/ ... /index.txt -> ... ->
http://navix.turner3d.net/cgi-bin/json2 ... ut2%3DNewsThe Entries there are in the form of
type=video
name=+ UK / BBC World News
thumb=http://thestreamdb.googlecode.com/svn/logos/8gbjlj.png
URL=rtmp://media2.lsops.net/live/ playpath=bbcworld1_en_high.sdp swfUrl="http://www.livestation.com/flash/player/5.4/player.swf" swfVfy=true live=true timeout=60
After manually testing may streams on command line
a) without using channels plugin scripts (rtmp.groovy and rtmpdump.groovy) the commands constructed are obviously wrong
b) using channels plugin scripts (after correcting the reference to rtmpdump) the constructed rtmp commands are wrong
For example,
[cmd.exe] DEBUG 13:56:34.803 Starting cmd.exe /C D:\pms\rtmpdump\rtmpdump.exe -o - -r "rtmp://media2.lsops.net/live/ playpath=bbcnews_en_high.sdp swfUrl="http://www.livestation.com/flash/player/5.4/player.swf" swfVfy=true live=true timeout=60" | win32\ffmpeg.exe -v 0 -y -threads 4 -i - -threads 4 -target ntsc-dvd \\.\pipe\pmsencoder_transcoder_out_1329306994561_218
The full line containing an already decoded rtmp URL is passed as URL at rtmpdump. On the command line, when run correctly with rtmpdump.exe -o - -r
rtmp://media2.lsops.net/live/ --playpath=bbcnews_en_high.sdp --swfUrl=http://www.livestation.com/flash/player/5.4/player.swf swfVfy=true it works fine
It seems to me that neither "plain" PMSEncoder built in scripts nor channels groovy scripts are able to handle input like above.
All channels (manually checking the existence of the stream beforehand) that I tried to watch and relied on rtmp failed to stream due to the same issue. rtmpdump was run with malformed command. Maybe there are some rtmp streams that do really work but there are so many channels I could not debug all. NaviX StreamDB and some users live tv channels relying to rtmp that I tried did not work.
Am I missing something obvious and the scripts do not work in their intended way due to some miss-configuration ? Can other users watch live rtmp streams using channels ?
Is there something more I could do to debug further ?
The default scripts handle only URL encoded, one liner input and then "deconstruct" the appropriate fields to contruct rtmpdump arguments ?
Thanks in advance.
Sorry if that should be posted to Channels Plugin thread, thought it fits here also since it affects PMS-SHB and continuing a previous post.