Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
PvMp4Writer.h
1// *****************************************************************************
2//
3// Copyright (c) 2015, Pleora Technologies Inc., All rights reserved.
4//
5// *****************************************************************************
6
7#ifndef __PVMP4WRITER_H__
8#define __PVMP4WRITER_H__
9
10#include <PvAppUtilsLib.h>
11#include <PvBuffer.h>
12
13
14namespace PvAppUtilsLib
15{
16 class IMp4Writer;
17}
18
19
20class PV_APPUTILS_API PvMp4Writer
21{
22public:
23
26
27 bool IsAvailable() const;
28 bool IsOpened();
29
30 PvResult Open( const PvString &aFilename, PvImage *aImage );
31 PvResult WriteFrame( PvImage *aImage, uint32_t *aFileSizeDelta );
32 PvResult Close();
33
34 uint32_t GetAvgBitrate() const;
35 PvResult SetAvgBitrate( uint32_t aValue );
36
37 void GetLastError( PvString &aString ) const;
38 void ResetLastError();
39
40private:
41
42 PvAppUtilsLib::IMp4Writer *mThis;
43
44 // Not implemented
45 PvMp4Writer( const PvMp4Writer & );
46 const PvMp4Writer &operator=( const PvMp4Writer & );
47
48};
49
50#endif
Image interface to a PvBuffer.
Definition PvImage.h:176
Performs H.264 encoding and writing to an MP4 container from PvBuffers.
Definition PvMp4Writer.h:21
Result information.
Definition PvResult.h:30
String class.
Definition PvString.h:26

Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com