live
H265VideoFileSink.hh
Go to the documentation of this file.
1/**********
2This library is free software; you can redistribute it and/or modify it under
3the terms of the GNU Lesser General Public License as published by the
4Free Software Foundation; either version 3 of the License, or (at your
5option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
6
7This library is distributed in the hope that it will be useful, but WITHOUT
8ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
10more details.
11
12You should have received a copy of the GNU Lesser General Public License
13along with this library; if not, write to the Free Software Foundation, Inc.,
1451 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15**********/
16// "liveMedia"
17// Copyright (c) 1996-2024 Live Networks, Inc. All rights reserved.
18// H.265 Video File Sinks
19// C++ header
20
21#ifndef _H265_VIDEO_FILE_SINK_HH
22#define _H265_VIDEO_FILE_SINK_HH
23
24#ifndef _H264_OR_5_VIDEO_FILE_SINK_HH
26#endif
27
29public:
30 static H265VideoFileSink* createNew(UsageEnvironment& env, char const* fileName,
31 char const* sPropVPSStr = NULL,
32 char const* sPropSPSStr = NULL,
33 char const* sPropPPSStr = NULL,
34 // The "sProp*Str" parameters are optional 'SDP format' strings
35 // (comma-separated Base64-encoded) representing VPS, SPS, and/or PPS NAL-units
36 // to prepend to the output
37 unsigned bufferSize = 100000,
38 Boolean oneFilePerFrame = False);
39 // See "FileSink.hh" for a description of these parameters.
40
41protected:
43 char const* sPropVPSStr,
44 char const* sPropSPSStr,
45 char const* sPropPPSStr,
46 unsigned bufferSize, char const* perFrameFileNamePrefix);
47 // called only by createNew()
49};
50
51#endif
const Boolean False
Definition: Boolean.hh:28
unsigned char Boolean
Definition: Boolean.hh:25
#define NULL
static H265VideoFileSink * createNew(UsageEnvironment &env, char const *fileName, char const *sPropVPSStr=NULL, char const *sPropSPSStr=NULL, char const *sPropPPSStr=NULL, unsigned bufferSize=100000, Boolean oneFilePerFrame=False)
virtual ~H265VideoFileSink()
H265VideoFileSink(UsageEnvironment &env, FILE *fid, char const *sPropVPSStr, char const *sPropSPSStr, char const *sPropPPSStr, unsigned bufferSize, char const *perFrameFileNamePrefix)