Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Cupertino VOD from FLV with data events

  1. #1
    Join Date
    May 2013
    Posts
    18

    Default Cupertino VOD from FLV with data events

    We are using custom AMF events in RTMP streams and converting them to ID3 for live Cupertino streaming (as per here). Using live-record, Wowza writes an FLV recording that also contains these events. Is there any way to re-play the Cupertino-muxed version of this with the events intact?

    I have added the VOD version of the AMF to ID3 conversion detailed in the above link, however in my searching it seems that Wowza does not support Cupertino streaming of FLV files. This seems incredibly strange to me, considering FLV is basically the same container format as the video streaming in RTMP, which Wowza clearly does support re-muxing to Cupertino streaming.

    Since MP4 doesn't support AMF data events, I can't just remux the source file to the supported MP4 container format. And I'm not aware of a tool that can stream an FLV while preserving AMF data events.

    Any suggestions?
    Last edited by johnsterling; 11-25-2013 at 09:18 AM.

  2. #2

    Default

    You can use this module to inject cue points server-side which get recorded, then triggered client-side:
    How to inject cue points or metadata

    Salvadore
    Last edited by salvadore; 11-25-2013 at 10:22 AM.

  3. #3
    Join Date
    May 2013
    Posts
    18

    Default

    I'm not sure that will help much - I already have the cue points recorded. My problem is getting them triggered client-side from the VOD recording rather than live.

  4. #4

    Default

    The client-side AS3 handler is the same for live as the handler for VOD streams.

    Salvadore

  5. #5
    Join Date
    May 2013
    Posts
    18

    Default

    Sorry, I think I got my terminology wrong. We are not using a Flash client to interpret AMF data events/cuepoints. We are using AMF data events/cuepoints inserted by the encoder into the RTMP stream. The clients play only HLS and get the events via the ID3 timed metadata. This works great for live via RTMP. What I'm looking for is to be able to play back a VOD FLV that has these events, and have the same HLS clients get the same translated ID3 timed metadata.

  6. #6

    Default

    Sorry, FLV is not supported for HLS streaming. You can record the stream as H264/AAC or mp3 to an .mp4 container by prefixing the stream name.
    In the encoder give the stream name an mp4: prefix
    Stream: mp4:myStream
    Salvadore

  7. #7
    Join Date
    May 2013
    Posts
    18

    Default

    Yes, as I stated, I had already discovered that FLV is not supported as VOD source for HLS. I still don't understand why, since the format is not drastically different from RTMP, but you can count this as another vote to add this capability.

    Anyway, I take your response to indicate that there is no way to re-play a recorded RTMP stream with metadata. Thanks for your time.

  8. #8

    Default

    .flv typically contains Spark or VP6 video, and NellyMoser or Speex audio. These are not supported in iOS devices. So there is not a whole lot Wowza can do to add this functionality.

    You can follow this guide to encode the .flv files to .mp4 files:
    How to encode video on demand content

    Salvadore

  9. #9

    Default

    I believe the cuepoints will be preserved after transcodeing the .flv files .mp4, but I will test and get back to you.

    Salvadore

  10. #10
    Join Date
    May 2013
    Posts
    18

    Default

    Thanks for the link; we are fully capable of transmuxing between formats. However, as to your follow-up post, in our experience the AMF cuepoints as included in FLV or RTMP are not supported in the MP4 container and re-muxing an FLV with these cuepoints with ffmpeg (our primary tool for video manipulation) does not preserve them.

    As far as the video codec, the FLVs in question have H.264 video streams, exactly like MP4 might. To reiterate, these FLVs are written by Wowza itself from an RTMP source stream. I apologize that I didn't specify earlier that this is an H.264/AAC stream. But Wowza's default live-record container is FLV for these codecs, which is why it baffles me as to why it can't stream HLS from it.

Page 1 of 2 12 LastLast

Similar Threads

  1. Handle Cupertino Streams play, seek events
    By herkules in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 01-23-2012, 09:03 AM
  2. HTTP Cupertino stream play/stop events
    By alexitekako in forum General Forum
    Replies: 3
    Last Post: 12-06-2011, 07:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •