RTMP Stream (ABC iView)

I just sent you a pull request on Github with some changes that I think *should* make playback work in non desktop clients.

Thanks mate!

I had to make a few changes to get this working, just needed to add the video duration settings to the VideoObject, this is now working on PlexWeb, but not on my iPhone (havent tested the iPad but im going to assume its the same problem) 

2013 13:04:41 [0xb0185000] DEBUG - Cookie header in secure request: SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9

Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Checking cookie 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Request range: 0 to 1
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Found session GUID of DFB93889-1200-4412-8951-104111103CE9 in session start.
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Short-circuiting silly request.
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Adding cookie for security headers: 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Request: GET /video/:/transcode/segmented/start.m3u8?session=DFB93889-1200-4412-8951-104111103CE9 [192.168.10.52:55225] (2 live)
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG -  * session => DFB93889-1200-4412-8951-104111103CE9
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Cookie header in secure request: SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Checking cookie 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Found session GUID of DFB93889-1200-4412-8951-104111103CE9 in session start.
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Using session GUID DFB93889-1200-4412-8951-104111103CE9 for new transcode session.
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Using existing transcode session.
Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Adding cookie for security headers: 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Request: GET /video/:/transcode/segmented/session/DFB93889-1200-4412-8951-104111103CE9/6/index.m3u8 [192.168.10.52:55226] (2 live)
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Starting a transcode session DFB93889-1200-4412-8951-104111103CE9 at offset -1.0 (stopped=1)
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Setting up segmented session, quality=6
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - Request: GET /video/:/transcode/segmented/stop?session=DFB93889-1200-4412-8951-104111103CE9&X-Plex-Device=iPhone&X-Plex-Client-Capabilities=protocols%3Dhttp-live-streaming%2Chttp-mp4-streaming%2Chttp-streaming-video%2Chttp-streaming-video-720p%2Chttp-mp4-video%2Chttp-mp4-video-720p%3BvideoDecoders%3Dh264%7Bprofile%3Ahigh%26resolution%3A1080%26level%3A41%7D%3BaudioDecoders%3Dmp3%2Caac%7Bbitrate%3A160000%7D&X-Plex-Client-Platform=iOS&X-Plex-Device-Name=Kyle%20iPhone&X-Plex-Model=5%2C2&X-Plex-Platform=iOS&X-Plex-Client-Identifier=DFB93889-1200-4412-8951-104111103CE9&X-Plex-Product=Plex%2FiOS&X-Plex-Platform-Version=6.1.3&X-Plex-Version=3.1.3 [192.168.10.52:55228] (3 live)
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * session => DFB93889-1200-4412-8951-104111103CE9
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Device => iPhone
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Client-Capabilities => protocols=http-live-streaming,http-mp4-streaming,http-streaming-video,http-streaming-video-720p,http-mp4-video,http-mp4-video-720p;videoDecoders=h264{profile:high&resolution:1080&level:41};audioDecoders=mp3,aac{bitrate:160000}
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Client-Platform => iOS
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Device-Name => Kyle iPhone
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Model => 5,2
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Platform => iOS
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Client-Identifier => DFB93889-1200-4412-8951-104111103CE9
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Product => Plex/iOS
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Platform-Version => 6.1.3
Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG -  * X-Plex-Version => 3.1.3
Apr 26, 2013 13:05:05 [0xb0081000] DEBUG - Request: GET / [192.168.10.10:65456] (3 live)
Apr 26, 2013 13:05:05 [0xb0081000] DEBUG - It took 0.000072 sec to serialize a list with 10 elements.
Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Computed display width of 7.8"
Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Video Stream copy => cp:av, vp:high, vr:1080, vl:41
Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Audio Stream copy => ac:mp3,aac=160000
Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Job running: /Applications/Plex Media Server.app/Contents/Resources/Plex Transcoder transcode rtmp://cp53909.edgefcs.net/ondemand?auth=daEaab1dQdradd4aAbBcRaTcqdobdcQcCbN-brEFwu-8-jlo_tHynI&aifp=v001+playpath=mp4:flash/playback/_definst_/promos/funnyaspromo_13_01_02+swfUrl=http://www.abc.net.au/iview/images/iview.jpg+swfVfy=1 /var/folders/pj/nmnk2vwd3bs910tzhqzvklr00000gn/T/plex-transcode-DFB93889-1200-4412-8951-104111103CE9-63465aa9-c0de-4ba7-8a6a-d361778b2811/media 6 6 0 any nil 0 yes UTF-8 default   0.75 av high 1080 41 mp3,aac=160000 3355443 yes  no http://127.0.0.1:32400/video/:/transcode/session/DFB93889-1200-4412-8951-104111103CE9/progress 
Apr 26, 2013 13:05:11 [0xb0b3c000] DEBUG - [Transcoder] Starting transcoder v306 (t=6s, q=6)
Apr 26, 2013 13:05:11 [0xb0081000] DEBUG - [Transcoder] Registered components, about to parse arguments.
Apr 26, 2013 13:05:11 [0xb0b3c000] DEBUG - [Transcoder] Video caps: ca=1, cv=1, ac=libmp3lame, mp3=0, aac=160000,1, ac3=-1, dts=-1, pcm=-1, vp=64, vr=1080, vl=41, mss=3355443, anam=1
Apr 26, 2013 13:05:11 [0xb0081000] DEBUG - [Transcoder] About to apply initial settings.
Apr 26, 2013 13:05:11 [0xb0b3c000] DEBUG - [Transcoder] Opening the input file.
Apr 26, 2013 13:05:12 [0xb0081000] ERROR - [Transcoder] Exiting after failure.
Apr 26, 2013 13:05:12 [0xb0bbe000] DEBUG - Stopping transcode session DFB93889-1200-4412-8951-104111103CE9
Apr 26, 2013 13:05:12 [0xb0bbe000] DEBUG - Killing job.

above is and extract from the log when trying to play from iOS

I have just pushed the changes I have made to Git.

There are a few things I want to get working before I look to put this into the plex store

- Support for iOS devices

- Support for Video Playlists

- Add Series descriptions

Im still very busy and wont get much time to work on this in the next few weeks but ill try

Try enabling the "Universal Transcoder" for the iOS app. In my experience, there are cases where one transcoder seems to work while the other does not. The more info we have about which one works in which cases, the better the Plex guys can make the new transcoder.

That's not necessarily true. PMS is capable transcoding RTMP streams as long as 1.) the feed is not "live", and 2.) the video content of the stream is not encrypted. As long as the "UseRealRTMP" flag is set in the channel's Info.plist (and ServiceInfo.plist if using a URL service), the video should be transcoded for other clients.

(null)

Hi. I've noticed that the channels with RTMP all bomb on the LG platform as soon as the plugin checks for support. Example from ABC Family:

2013-04-26 12:43:58,737 (1a1c) :  DEBUG (context:198) - Checking for Real RTMP support...  Enabled:True  Platform:LGTV  Product:None  Client:2.0  Server:0.9.7.22-4b5280f
2013-04-26 12:43:58,742 (1a1c) :  ERROR (base:112) - Real RTMP is required but not supported in the current context.

LG returns "This client app is not supported."

I didn't know PMS could transcode RTMP. Do you think there's a way to check without a failure being fatal and then substitute the transcoded stream?

Pardon me if this is an ignorant newbie kinda question.

Sounds to me like there’s a failure somewhere between the LG client app and the plugin framework or perhaps PMS. I don’t think that’s something you can workaround but hopefully will get fixed (sooner or later).

I saw this same error recently with the LG client using other RealRTMP based channels, it seems like a potential issue in either the LG client or the framework, Mike is correct that there's nothing you can do in your channel to work around it, it needs to be fixed upstream.

So myself and others are no longer able to get this channel to work, as discussed in the channels forum. I don't know anything about Python so my poking around the code has been fruitless. Here's the error I get on playing a video:

2013-12-17 07:45:30,193 (1848) :  CRITICAL (core:561) - Exception (most recent call last):
  File "C:\Users\plex\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 840, in handle_request
    result = f(**d)
TypeError: GetEpisodesBySeries() got an unexpected keyword argument 'iView_Path'

2013-12-17 07:45:30,201 (1848) : DEBUG (runtime:914) - Response: [500] 505 bytes
2013-12-17 07:45:34,582 (18bc) : DEBUG (runtime:717) - Handling request GET /video/aubciview/series/featured
2013-12-17 07:45:34,585 (18bc) : DEBUG (runtime:814) - Found route matching /video/aubciview/series/featured
2013-12-17 07:45:34,592 (18bc) : DEBUG (runtime:914) - Response: [200] MediaContainer, 3024 bytes

This is with the current PMS and PHT on Windows. Browsing through the available videos works, it fails on trying to play.

FYI this has been fixed here: https://forums.plexapp.com/index.php/topic/30150-abc-iview-plugin-australia/page-4#entry532455

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.