Top |
void flu_stream_info_clear (FluStreamInfo *sinfo
);
Clear (initialize to default values) a FluStreamInfo structure and frees associated memory.
void flu_stream_info_copy (FluStreamInfo *target
,const FluStreamInfo *src
);
Copy the information of a stream This function will copy data from a source FluStreamInfo into a target structure. While doing so it will first free the members of target to avoid memory leaks. Target does not need to be of the same type as src.
WARNING: Use flu_stream_info_clear()
to clear and free the
information of the struct
target |
The FluStreamInfo to write the information to |
|
src |
The FluStreamInfo to copy the information from |
void flu_stream_info_merge (FluStreamInfo *target
,const FluStreamInfo *src
);
Merge the information of a stream with another information.
This function will merge data from a source FluStreamInfo into a
target structure. Merging means copying fields that are present
in source but not in target. Both src
and target
should be of the same
type or target should be of unknown type.
target |
The FluStreamInfo to merge the information into |
|
src |
The FluStreamInfo to merge the information from |
Enum values used to describe different type of text data that can be received by a text FluStream.
Enum values used to describe different type of data stream that can be received by a data FluStream.
Enum values to describe different type of frame formats used when exporting to a file.
Enum values used to describe different video orientations
Unknown video orientation |
||
No rotation |
||
90 degrees clockwise rotation |
||
180 degrees clockwise rotation |
||
270 degrees clockwise rotation |
||
No rotation and horizontal mirroring |
||
90 degrees clockwise rotation and horizontal mirroring |
||
180 degrees clockwise rotation and horizontal mirroring |
||
270 degrees clockwise rotation and horizontal mirroring |
typedef struct { guint keyframe_period_ms; FluStreamH264Profile profile; } FluStreamVideoCodecSettingsH264;
Distance between keyframes in miliseconds (zero means auto-detection) |
||
FluStreamH264Profile |
Profile selected Configuration related to FLU_STREAM_VIDEO_CODEC_H264 |
typedef struct { FluStreamVideoCodecType type; FluStreamVideoCodecSettings settings; } FluStreamVideoCodec;
FluStreamVideoCodecType |
video codec used |
|
FluStreamVideoCodecSettings |
specific settings for eeach video codec |
typedef struct { gint width; gint height; gint fps_n; gint fps_d; gint par_n; gint par_d; gint bitrate; gchar *codec; FluStreamVideoOrientation orientation; FluStreamVideoCodec vcodec; } FluStreamVideoInfo;
Video specific information about an FluStream.
Video width in pixels |
||
Video height in pixels |
||
Video framerate, fraction numerator |
||
Video framerate, fraction denominator |
||
Video pixel aspect ratio, fraction numerator |
||
Video pixel aspect ratio, fraction denominator |
||
Video compression bitrate in bits per seconds |
||
Video codec name used for compression |
||
FluStreamVideoOrientation |
Orientation information |
|
FluStreamVideoCodec |
Struct describing the codec used to encode this stream. If the stream belongs to an FluPlayer, it describes the original codec used. If the stream belongs to an FluRecorder, it describes the desired codec to use when encoding. |
typedef struct { gint features; gint channels; gint rate; gint width; gint depth; gint bitrate; gchar *language; gchar *iso; gchar *codec; guint extension; gboolean audio_description; FluStreamAudioCodec acodec; } FluStreamAudioInfo;
Audio specific information about an FluStream.
For optional fields, this mask specified which ones are set |
||
Number of audio channels |
||
Audio sampling rate in Hz |
||
Audio sample size in bits |
||
Meaningful bits in an audio sample |
||
Audio compression bitrate in bits per second |
||
Audio language name |
||
Audio language ISO 639-2T code |
||
Audio codec name used for compression |
||
Audio extension |
||
FluStreamAudioCodec |
The audio codec used to encode this stream. If the stream belongs to an FluPlayer, it describes the original codec used. If the stream belongs to an FluRecorder, it describes the desired codec to use when encoding. |
typedef struct { FluStreamTextType type; gint features; gchar *language; gchar *iso; gchar *codec; guint extension; gboolean external; gboolean hearing_impaired; } FluStreamTextInfo;
FluStreamTextType |
An FluStreamTextType describing text data format for that stream |
|
Text language name |
||
Text language ISO 639-2T code |
||
Text codec name used for encoding |
||
Text extension |
||
|
||
typedef struct { FluStreamDataType type; gchar *mime; gchar *content; } FluStreamDataInfo;
FluStreamDataType |
An FluStreamDataType describing data format for that stream |
|
mimetype of the content inside the stream. |
||
content type specific used by that stream. of being embedded in the media Text specific information about an FluStream. |
Generic "stream info data" type, used only in FluStreamInfo;
FluStreamVideoInfo |
use as FluStreamVideoInfo |
|
FluStreamAudioInfo |
use as FluStreamAudioInfo |
|
FluStreamTextInfo |
use as FluStreamTextInfo |
|
FluStreamDataInfo |
use as FluStreamDataInfo |
typedef struct { FluStreamType type; gint features; gint index; guint group_index; guint component_tag; guint av_pid; gboolean is_encrypted; gchar *hbbtv_kind; FluStreamInfoData data; } FluStreamInfo;
Generic structure providing information about an FluStream. Use the type
field to know how to access data in the FluStreamInfoData union .
FluStreamType |
FluStreamType describing the stream type |
|
Stream index |
||
Common index number between streams of the same group |
||
FluStreamInfoData |
Union providing type specific information about the stream |