4#ifndef QFFMPEGENCODINGFORMATCONTEXT_P_H
5#define QFFMPEGENCODINGFORMATCONTEXT_P_H
7#include <QtFFmpegMediaPluginImpl/private/qffmpegdefs_p.h>
34 void openAVIO(
const QString &filePath);
38 bool isAVIOOpen()
const {
return m_avFormatContext->pb !=
nullptr; }
52 AVFormatContext *m_avFormatContext;
53 std::unique_ptr<QFile> m_outputFile;
AVFormatContext * avFormatContext()
void openAVIO(const QString &filePath)
EncodingFormatContext(QMediaFormat::FileFormat fileFormat)
const AVFormatContext * avFormatContext() const
void openAVIO(QIODevice *device)
Q_STATIC_LOGGING_CATEGORY(qLcEncodingFormatContext, "qt.multimedia.ffmpeg.encodingformatcontext")
std::conditional_t< QT_FFMPEG_AVIO_WRITE_CONST, const uint8_t *, uint8_t * > AvioWriteBufferType