FFmpeg
1.2.4
|
Get the tables mapping RIFF FourCCs to libavcodec AVCodecIDs. More...
Functions | |
struct AVCodecTag * | avformat_get_riff_video_tags (void) |
struct AVCodecTag * | avformat_get_riff_audio_tags (void) |
Get the tables mapping RIFF FourCCs to libavcodec AVCodecIDs.
The tables are meant to be passed to av_codec_get_id()/av_codec_get_tag() as in the following code:
Send a nice hexadecimal dump of a buffer to the specified file stream.
f | The file stream pointer where the dump should be sent to. |
buf | buffer |
size | buffer size |
Send a nice hexadecimal dump of a buffer to the log.
avcl | A pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct. |
level | The importance level of the message, lower values signifying higher importance. |
buf | buffer |
size | buffer size |
Send a nice dump of a packet to the specified file stream.
f | The file stream pointer where the dump should be sent to. |
pkt | packet to dump |
dump_payload | True if the payload must be displayed, too. |
st | AVStream that the packet belongs to |
Send a nice dump of a packet to the log.
avcl | A pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct. |
level | The importance level of the message, lower values signifying higher importance. |
pkt | packet to dump |
dump_payload | True if the payload must be displayed, too. |
st | AVStream that the packet belongs to |
Get the AVCodecID for the given codec tag tag. If no codec id is found returns AV_CODEC_ID_NONE.
tags | list of supported codec_id-codec_tag pairs, as stored in AVInputFormat.codec_tag and AVOutputFormat.codec_tag |
Get the codec tag for the given codec id id. If no codec tag is found returns 0.
tags | list of supported codec_id-codec_tag pairs, as stored in AVInputFormat.codec_tag and AVOutputFormat.codec_tag |
Get the codec tag for the given codec id.
tags | list of supported codec_id - codec_tag pairs, as stored in AVInputFormat.codec_tag and AVOutputFormat.codec_tag |
id | codec id that should be searched for in the list |
tag | A pointer to the found tag |
Get the index for a specific timestamp.
flags | if AVSEEK_FLAG_BACKWARD then the returned index will correspond to the timestamp which is <= the requested one, if backward is 0, then it will be >= if AVSEEK_FLAG_ANY seek to any frame, only keyframes otherwise |
Add an index entry into a sorted list. Update the entry if the list already contains it.
timestamp | timestamp in the time base of the given stream |
Split a URL string into components.
The pointers to buffers for storing individual components may be null, in order to ignore that component. Buffers for components not found are set to empty strings. If the port is not found, it is set to a negative value.
proto | the buffer for the protocol |
proto_size | the size of the proto buffer |
authorization | the buffer for the authorization |
authorization_size | the size of the authorization buffer |
hostname | the buffer for the host name |
hostname_size | the size of the hostname buffer |
port_ptr | a pointer to store the port number in |
path | the buffer for the path |
path_size | the size of the path buffer |
url | the URL to split |
Return in 'buf' the path with 'd' replaced by a number.
Also handles the '%0nd' format where 'n' is the total number of digits and '%'.
buf | destination buffer |
buf_size | destination buffer size |
path | numbered sequence string |
number | frame number |
Check whether filename actually is a numbered sequence generator.
filename | possible numbered sequence string |
Generate an SDP for an RTP session.
Note, this overwrites the id values of AVStreams in the muxer contexts for getting unique dynamic payload types.
ac | array of AVFormatContexts describing the RTP streams. If the array is composed by only one context, such context can contain multiple AVStreams (one AVStream per RTP stream). Otherwise, all the contexts in the array (an AVCodecContext per RTP stream) must contain only one AVStream. |
n_files | number of AVCodecContexts contained in ac |
buf | buffer where the SDP will be stored (must be allocated by the caller) |
size | the size of the buffer |
Return a positive value if the given filename has one of the given extensions, 0 otherwise.
extensions | a comma-separated list of filename extensions |
Test if the given container can store a codec.
std_compliance | standards compliance level, one of FF_COMPLIANCE_* |
Get the tables mapping RIFF FourCCs to libavcodec AVCodecIDs. The tables are meant to be passed to av_codec_get_id()/av_codec_get_tag() as in the following code:
|
read |
|
read |
Definition at line 4211 of file utils.c.
Referenced by dshow_add_device(), and dshow_cycle_formats().