Class PutMediaDemo


  • @Deprecated
    public final class PutMediaDemo
    extends Object
    Deprecated.
    An example on how to send an MKV file to Kinesis Video Streams. If you have other video formats, you can use ffmpeg to convert to MKV. Only H264 videos are playable in the console. Steps to convert MP4 to MKV: 1. Install ffmpeg if not yet done so already: Mac OS X: brew install ffmpeg --with-opus --with-fdk-aac --with-tools --with-freetype --with-libass --with-libvorbis --with-libvpx --with-x265 --with-libopus Others: git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg ./configure make make install 2. Convert MP4 to MKV ffmpeg -i input.mp4 -b:v 10M -minrate 10M -maxrate 10M -bufsize 10M -bf 0 input.mkv