Skip to content

pylon/_VideoWriterParams.h#

A parameter class containing all parameters as members that are available for Video Writer. More…

Namespaces#

Name
Basler_VideoWriterParams

Classes#

Name
class Basler_VideoWriterParams::CVideoWriterParams_Params_v7_1_0
A parameter class containing all parameters as members that are available for Video Writer.
class Basler_VideoWriterParams::CVideoWriterParams_Params
A parameter class containing all parameters as members that are available for Video Writer.

Detailed Description#

A parameter class containing all parameters as members that are available for Video Writer.

The parameter class is used by the Pylon::CVideoWriter class. The Pylon::CVideoWriter can be used to create video files in the MP4 format. The Utility_GrabVideo code sample shows the use of the Video Writer class.

Source code#

//-----------------------------------------------------------------------------
//  Basler pylon SDK
//  Copyright (c) 2018-2022 Basler AG
//  http://www.baslerweb.com
//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------
//  This file is generated automatically
//  Do not modify!
//-----------------------------------------------------------------------------

#ifndef BASLER_PYLON_VIDEOWRITERPARAMS_H
#define BASLER_PYLON_VIDEOWRITERPARAMS_H

#pragma once

// common parameter types
#include <pylon/ParameterIncludes.h>
#include <pylon/EnumParameterT.h>

namespace Basler_VideoWriterParams
{
    //**************************************************************************************************
    // Enumerations
    //**************************************************************************************************
    enum CompressionModeEnums
    {
        CompressionMode_Bitrate,  
        CompressionMode_Quality  
    };




    //**************************************************************************************************
    // Parameter class CVideoWriterParams_Params_v7_1_0
    //**************************************************************************************************


    class PYLONBASE_API CVideoWriterParams_Params_v7_1_0
    {
    //----------------------------------------------------------------------------------------------------------------
    // Implementation
    //----------------------------------------------------------------------------------------------------------------
    protected:
    // If you want to show the following methods in the help file
    // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file

        CVideoWriterParams_Params_v7_1_0( void );

        ~CVideoWriterParams_Params_v7_1_0( void );

        void _Initialize( GENAPI_NAMESPACE::INodeMap* );


    private:
        class CVideoWriterParams_Params_v7_1_0_Data;
        CVideoWriterParams_Params_v7_1_0_Data* m_pCVideoWriterParams_Params_v7_1_0_Data;


    //----------------------------------------------------------------------------------------------------------------
    // References to features
    //----------------------------------------------------------------------------------------------------------------
    public:


        Pylon::IIntegerEx& Bitrate;





        Pylon::IIntegerEx& BytesWritten;





        Pylon::IEnumParameterT<CompressionModeEnums>& CompressionMode;





        Pylon::IIntegerEx& FrameCount;





        Pylon::IIntegerEx& Height;





        Pylon::IFloatEx& PlaybackFrameRate;





        Pylon::IFloatEx& Quality;





        Pylon::IIntegerEx& ThreadCount;





        Pylon::IIntegerEx& Width;



    private:

        CVideoWriterParams_Params_v7_1_0(CVideoWriterParams_Params_v7_1_0&);

        CVideoWriterParams_Params_v7_1_0& operator=(CVideoWriterParams_Params_v7_1_0&);

    };


    class CVideoWriterParams_Params : public CVideoWriterParams_Params_v7_1_0
    {
    //----------------------------------------------------------------------------------------------------------------
    // Implementation
    //----------------------------------------------------------------------------------------------------------------
    protected:
        // If you want to show the following methods in the help file
        // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file

        CVideoWriterParams_Params( void )
        {
        }

        ~CVideoWriterParams_Params( void )
        {
        }

        void _Initialize( GENAPI_NAMESPACE::INodeMap* pNodeMap )
        {
            CVideoWriterParams_Params_v7_1_0::_Initialize( pNodeMap );
        }
    };
} // namespace Basler_VideoWriterParams

#endif // BASLER_PYLON_VIDEOWRITERPARAMS_H

Updated on 5 July 2022 at 15:30:01