Skip to content

Instantly share code, notes, and snippets.

@martialgallorini
martialgallorini / ffmpeg-hap-readme.md
Created October 13, 2018 10:07 — forked from dlublin/ffmpeg-hap-readme.md
Encoding to Hap from the command line using FFmpeg

Encoding to Hap from the command line using FFmpeg

For users who prefer working with a command line or need to access advanced encoding settings for Hap the popular FFmpeg library can be used to work with Hap movies.

  1. If this is your first time using FFmpeg you may need to install it on your system, or compile it from source. In either case be sure that Snappy is enabled as part of the binary. If you already have FFmpeg on your system with Snappy enabled, you can skip this step.

    You can check that your version of FFmpeg can encode Hap using

    ffmpeg -encoders | grep hap
    
@martialgallorini
martialgallorini / Worker.cpp
Last active January 3, 2016 13:03
QML and C++ bindings
#include "worker.h"
Worker::Worker(QObject *parent) : QObject(parent)
{
}
float Worker::pixelWidth() {
return _pixelWidth;
}