-
public weak Caps riff_create_audio_caps (uint16 codec_id, gst_riff_strh strh, gst_riff_strf_auds strf, Buffer strf_data, Buffer strd_data, out string codec_name)
-
public weak Caps riff_create_audio_template_caps ()
-
public weak Caps riff_create_iavs_caps (uint32 codec_fcc, gst_riff_strh strh, gst_riff_strf_iavs strf, Buffer strf_data, Buffer strd_data, out string codec_name)
-
public weak Caps riff_create_iavs_template_caps ()
-
public weak Caps riff_create_video_caps (uint32 codec_fcc, gst_riff_strh strh, gst_riff_strf_vids strf, Buffer strf_data, Buffer strd_data, out string codec_name)
-
public weak Caps riff_create_video_template_caps ()
-
public void riff_init ()
Initialize riff library.
-
public bool riff_parse_chunk (Element element, Buffer buf, uint offset, uint32 fourcc, out Buffer chunk_data)
Reads a single chunk.
-
public bool riff_parse_file_header (Element element, Buffer buf, uint32 doctype)
Reads the first few bytes from the provided buffer, checks if this stream is a RIFF stream, and
determines document type. This function takes ownership of buf so it should not be used anymore after calling this
function. caller should error out; we already throw an error), or TRUE if it is.
-
public void riff_parse_info (Element element, Buffer buf, out TagList taglist)
Parses stream metadata from input data.
-
public bool riff_parse_strf_auds (Element element, Buffer buf, out gst_riff_strf_auds strf, out Buffer data)
Parses an audio stream´s strf structure plus optionally some extradata from input data. This function
takes ownership of buf. use. should be skipped on error, but it is not fatal.
-
public bool riff_parse_strf_iavs (Element element, Buffer buf, out gst_riff_strf_iavs strf, out Buffer data)
Parses a interleaved (also known as "complex") stream´s strf structure plus optionally some extradata
from input data. This function takes ownership of buf.
-
public bool riff_parse_strf_vids (Element element, Buffer buf, out gst_riff_strf_vids strf, out Buffer data)
Parses a video stream´s strf structure plus optionally some extradata from input data. This function
takes ownership of buf. should be skipped on error, but it is not fatal.
-
public bool riff_parse_strh (Element element, Buffer buf, out gst_riff_strh strh)
Parses a strh structure from input data. Takes ownership of buf. should be skipped on
error, but it is not fatal.
-
public FlowReturn riff_read_chunk (Element element, Pad pad, uint64 offset, uint32 tag, out Buffer chunk_data)
Reads a single chunk of data. Since 0.10.8 'JUNK' chunks are skipped automatically.