I've been working on a channel that (at least for the moment, must access some FLV streams). Setup of my media object looks like this:
def MediaObjectsForURL(url):
return [MediaObject(container = 'flv',
audio_channels = 2,
video_codec = VideoCodec.H264,
audio_codec = AudioCodec.AAC,
optimized_for_streaming = True,
parts = [PartObject(key=Callback(PlayVideo, url=url))]
)]
PlayView is just a Redirect(url) and some logging.
So, my problems are as follows:
1. I can browse my channel, navigate, drill down to a video, and press play. This works! The issue is that the video shows the first frame, then is paused. I must unpause to resume playback. The system has no problem keeping up, so I'm assuming its not a buffering issue (and I've just let it sit there for minutes before giving up).
2. Assuming #1 can be resolved, really the channel will do what I want, and works fine on PHT. That said, it doesn't work (except for browsing and selecting) on the web or iOS. I'm trying (very hard) to understand if/how PMS should be transcoding the video automatically.
I'm just hoping for a bit of direction. I've ripped things apart, tried tons of variations based on other channels, and haven't managed to find any magic yet.
Thanks much,
John