#include <chrono>
#include <gst/gst.h>
#include <QtCore/QByteArray>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include "VideoReceiver.h"
Go to the source code of this file.
|
| namespace | GStreamer |
| namespace | GStreamer::SelfTest |
| | The self-test's media pipelines: decoding the embedded samples and recording and reading back a file.
|
|
| bool | GStreamer::SelfTest::hasDecoderFor (const Sample &sample) |
| | Whether decodebin3 has a decoder for sample's codec to plug: one ranked at least MARGINAL.
|
| DecodeResult | GStreamer::SelfTest::decodeSample (const Sample &sample, const QByteArray &data, std::chrono::milliseconds timeout) |
| | appsrc ! <parser> ! decodebin3 ! appsink, the sink taking raw video in system memory, which every decoder can give.
|
| QString | GStreamer::SelfTest::recordSample (const QString &file, VideoReceiver::FileFormat format, const QByteArray &h264, std::chrono::milliseconds timeout) |
| | appsrc ! RecordingBranch's file sink (h264parse ! muxer ! filesink), as a recording is muxed.
|
| QString | GStreamer::SelfTest::readBack (const QString &file, const char *demuxer, std::chrono::milliseconds timeout) |
| | filesrc ! <demuxer> ! fakesink: the recorded file opens and holds video.
|