Results 1 to 4 of 4

Thread: Injecting AMF onTextData into a VOD RTMP stream?

  1. #1
    Join Date
    Feb 2014
    Posts
    5

    Default Injecting AMF onTextData into a VOD RTMP stream?

    Howdy folks,
    I am using JW Player to play VOD MBR streams via AMLST. My source files are F4V and have no captions embedded, rather they are in a database. I am interested in injecting my captions as onTextData events into the VOD stream for RTMP, and converting the events to CEA-608 type captions for HLS viewers. There are examples for injecting onTextData into a live application, but what about VOD? I would think the example might be easily modified to work with VOD but am hesitant to dive in until I know I'm not wasting my time.

    Here are the examples I am referring to:
    http://www.wowza.com/forums/content....point-MetaData
    http://www.wowza.com/forums/content.php?447

    If this is indeed possible, any pointers on converting the sample code to work in live app space would be well appreciated!

    Thanks!
    Dylan

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Hi, Dylan,

    Wowza can record cuepoints and metadata that are injected into a live stream that is being recorded, but Wowza cannot inject data into an existing file. There are 3rd party tools, e.g. Captionate, that will add cuepoints to files.

    Richard

  3. #3

    Default

    Richard is correct regarding injecting into a VOD file.

    JWPlayer can use side-car files (separate URL that pulls a caption file to merge it with a VOD asset). I don't remember which file formats it supports off the top of my head, but you could pull your captions from the database ahead of time, or even as needed and generate this file. Wowza has an HTTP Provider to download side-car files that could them be used to download them to JWPlayer.

    Scott

  4. #4
    Join Date
    Feb 2014
    Posts
    5

    Default

    Thank for the clarification on that guys!
    I was down this rabbit hole after trying to stream RTMP VOD to JW Player 6 along with a WebVTT sidecar file. The captions list event was dispatched, the CC button illuminated, but no captions appeared, so I suspected JW Player might be ignoring sidecar files when its file source was SMIL. Nope. The fix was to feed JW Player a SRT instead. Now VOD captions are working in Winders, iOS and even some recent Android devices I was able to test.
    Now I can focus on live services (looking forward to upcoming JW/Wowza/Live Webinar)!

    Thanks again!
    Dylan

Similar Threads

  1. Injecting "closely synced" live captions via AMF onTextData: Timecode alignment?
    By videodoctor in forum Server-side Modules and Code Samples Discussion
    Replies: 2
    Last Post: 02-14-2014, 02:19 PM
  2. Injecting cue points into incoming stream and retranslating them to RTMP/nDVR
    By ai212983 in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 05-11-2012, 07:55 AM

Posting Permissions

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