Repository URL to install this package:
Version:
7:2.7.1-1ubuntu2 ▾
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>FFmpeg: AVPacket Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">2.7.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">AVPacket Struct Reference<div class="ingroups"><a class="el" href="group__lavc__packet.html">AVPacket</a></div></div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="AVPacket" -->
<p>This structure stores compressed data.
<a href="structAVPacket.html#details">More...</a></p>
<p><code>#include <<a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>></code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVBufferRef.html">AVBufferRef</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a3bf81872813551fe9343dd0e09993e38">buf</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A reference to the reference-counted buffer where the packet data is stored. <a href="#a3bf81872813551fe9343dd0e09993e38"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a73bde0a37f3b1efc839f11295bfbf42a">pts</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will be presented to the user. <a href="#a73bde0a37f3b1efc839f11295bfbf42a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a85dbbd306b44b02390cd91c45e6a0f76">dts</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed. <a href="#a85dbbd306b44b02390cd91c45e6a0f76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#aaf4fe58dfcc7c232c1f2268b539d8367">data</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a4d1ea19f63eb107111fd650ca514d1f4">size</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a0d1cb9b5a32b00fb6edc81ea3aae2a49">stream_index</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a437be96a9da675f12caa228a9c81bd82">flags</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A combination of AV_PKT_FLAG values. <a href="#a437be96a9da675f12caa228a9c81bd82"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVPacketSideData.html">AVPacketSideData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#ac55bfef91c33f02704ba76518d0f294c">side_data</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Additional packet data that can be provided by the container. <a href="#ac55bfef91c33f02704ba76518d0f294c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#af415e25244b26921e8fc249d45499b84">side_data_elems</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#af151ba1967c37038088883cd544eeacd">duration</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Duration of this packet in AVStream->time_base units, 0 if unknown. <a href="#af151ba1967c37038088883cd544eeacd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a280ad3897f11593dd65c109cf0b66fc8">destruct</a> )(struct <a class="el" href="structAVPacket.html">AVPacket</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#aeba7ec45ff7ac22381ad066f8eafdc96">priv</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#ab5793d8195cf4789dfb3913b7a693903">pos</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">byte position in stream, -1 if unknown <a href="#ab5793d8195cf4789dfb3913b7a693903"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a942409654446e8da1834c17ce69d0ce9">convergence_duration</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Time difference in AVStream->time_base units from the pts of this packet to the point at which the output from the decoder has converged independent from the availability of previous frames. <a href="#a942409654446e8da1834c17ce69d0ce9"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This structure stores compressed data. </p>
<p>It is typically exported by demuxers and then passed as input to decoders, or received as output from encoders and then passed to muxers.</p>
<p>For video, it should typically contain one compressed frame. For audio it may contain several compressed frames.</p>
<p><a class="el" href="structAVPacket.html" title="This structure stores compressed data.">AVPacket</a> is one of the few structs in FFmpeg, whose size is a part of public ABI. Thus it may be allocated on stack and no new fields can be added to it without libavcodec and libavformat major bump.</p>
<p>The semantics of data ownership depends on the buf or destruct (deprecated) fields. If either is set, the packet data is dynamically allocated and is valid indefinitely until <a class="el" href="group__lavc__packet.html#gae65881462e78f98b268f34661d921ee0" title="Free a packet.">av_free_packet()</a> is called (which in turn calls <a class="el" href="group__lavu__buffer.html#ga135e9e929b5033bb8f68322497b2effc" title="Free a given reference and automatically free the buffer if there are no more references to it...">av_buffer_unref()</a>/the destruct callback to free the data). If neither is set, the packet data is typically backed by some static buffer somewhere and is only valid for a limited time (e.g. until the next read call when demuxing).</p>
<p>The side data is always allocated with <a class="el" href="group__lavu__mem.html#ga9722446c5e310ffedfaac9489864796d" title="Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...">av_malloc()</a> and is freed in <a class="el" href="group__lavc__packet.html#gae65881462e78f98b268f34661d921ee0" title="Free a packet.">av_free_packet()</a>. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#_a15">decoding_encoding.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#_a23">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#_a70">filtering_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#_a64">filtering_video.c</a>, <a class="el" href="muxing_8c-example.html#_a16">muxing.c</a>, <a class="el" href="remuxing_8c-example.html#_a3">remuxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#_a40">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#_a90">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01138">1138</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a3bf81872813551fe9343dd0e09993e38"></a><!-- doxytag: member="AVPacket::buf" ref="a3bf81872813551fe9343dd0e09993e38" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>* <a class="el" href="structAVPacket.html#a3bf81872813551fe9343dd0e09993e38">AVPacket::buf</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A reference to the reference-counted buffer where the packet data is stored. </p>
<p>May be NULL, then the packet data is not reference-counted. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01144">1144</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a73bde0a37f3b1efc839f11295bfbf42a"></a><!-- doxytag: member="AVPacket::pts" ref="a73bde0a37f3b1efc839f11295bfbf42a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVPacket.html#a73bde0a37f3b1efc839f11295bfbf42a">AVPacket::pts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will be presented to the user. </p>
<p>Can be AV_NOPTS_VALUE if it is not stored in the file. pts MUST be larger or equal to dts as presentation cannot happen before decompression, unless one wants to view hex dumps. Some formats misuse the terms dts and pts/cts to mean something different. Such timestamps must be converted to true pts/dts before they are stored in <a class="el" href="structAVPacket.html" title="This structure stores compressed data.">AVPacket</a>. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a52">decoding_encoding.c</a>, <a class="el" href="muxing_8c-example.html#a23">muxing.c</a>, and <a class="el" href="remuxing_8c-example.html#a10">remuxing.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01154">1154</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="decoding__encoding_8c_source.html#l00242">audio_decode_example()</a>, <a class="el" href="muxing_8c_source.html#l00069">log_packet()</a>, <a class="el" href="remuxing_8c_source.html#l00046">main()</a>, and <a class="el" href="muxing_8c_source.html#l00490">write_video_frame()</a>.</p>
</div>
</div>
<a class="anchor" id="a85dbbd306b44b02390cd91c45e6a0f76"></a><!-- doxytag: member="AVPacket::dts" ref="a85dbbd306b44b02390cd91c45e6a0f76" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVPacket.html#a85dbbd306b44b02390cd91c45e6a0f76">AVPacket::dts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed. </p>
<p>Can be AV_NOPTS_VALUE if it is not stored in the file. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a51">decoding_encoding.c</a>, <a class="el" href="muxing_8c-example.html#a25">muxing.c</a>, and <a class="el" href="remuxing_8c-example.html#a12">remuxing.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01160">1160</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="decoding__encoding_8c_source.html#l00242">audio_decode_example()</a>, <a class="el" href="muxing_8c_source.html#l00069">log_packet()</a>, <a class="el" href="remuxing_8c_source.html#l00046">main()</a>, and <a class="el" href="muxing_8c_source.html#l00490">write_video_frame()</a>.</p>
</div>
</div>
<a class="anchor" id="aaf4fe58dfcc7c232c1f2268b539d8367"></a><!-- doxytag: member="AVPacket::data" ref="aaf4fe58dfcc7c232c1f2268b539d8367" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t* <a class="el" href="structAVPacket.html#aaf4fe58dfcc7c232c1f2268b539d8367">AVPacket::data</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a36">decoding_encoding.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#a87">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#a74">filtering_audio.c</a>, <a class="el" href="muxing_8c-example.html#a122">muxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#a42">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a94">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01161">1161</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="decoding__encoding_8c_source.html#l00242">audio_decode_example()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00103">audio_encode_example()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00506">decode_write_frame()</a>, <a class="el" href="transcoding_8c_source.html#l00366">encode_write_frame()</a>, <a class="el" href="transcode__aac_8c_source.html#l00214">init_packet()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00226">main()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00534">video_decode_example()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00347">video_encode_example()</a>, and <a class="el" href="muxing_8c_source.html#l00490">write_video_frame()</a>.</p>
</div>
</div>
<a class="anchor" id="a4d1ea19f63eb107111fd650ca514d1f4"></a><!-- doxytag: member="AVPacket::size" ref="a4d1ea19f63eb107111fd650ca514d1f4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVPacket.html#a4d1ea19f63eb107111fd650ca514d1f4">AVPacket::size</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a37">decoding_encoding.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#a32">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#a78">filtering_audio.c</a>, <a class="el" href="muxing_8c-example.html#a123">muxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#a43">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a95">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01162">1162</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="decoding__encoding_8c_source.html#l00242">audio_decode_example()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00103">audio_encode_example()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00070">decode_packet()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00506">decode_write_frame()</a>, <a class="el" href="transcoding_8c_source.html#l00366">encode_write_frame()</a>, <a class="el" href="transcode__aac_8c_source.html#l00214">init_packet()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00226">main()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00534">video_decode_example()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00347">video_encode_example()</a>, and <a class="el" href="muxing_8c_source.html#l00490">write_video_frame()</a>.</p>
</div>
</div>
<a class="anchor" id="a0d1cb9b5a32b00fb6edc81ea3aae2a49"></a><!-- doxytag: member="AVPacket::stream_index" ref="a0d1cb9b5a32b00fb6edc81ea3aae2a49" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVPacket.html#a0d1cb9b5a32b00fb6edc81ea3aae2a49">AVPacket::stream_index</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demuxing_decoding_8c-example.html#a33">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#a76">filtering_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#a69">filtering_video.c</a>, <a class="el" href="muxing_8c-example.html#a20">muxing.c</a>, <a class="el" href="remuxing_8c-example.html#a7">remuxing.c</a>, and <a class="el" href="transcoding_8c-example.html#a98">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01163">1163</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="demuxing__decoding_8c_source.html#l00070">decode_packet()</a>, <a class="el" href="transcoding_8c_source.html#l00366">encode_write_frame()</a>, <a class="el" href="muxing_8c_source.html#l00069">log_packet()</a>, <a class="el" href="filtering__audio_8c_source.html#l00212">main()</a>, <a class="el" href="muxing_8c_source.html#l00080">write_frame()</a>, and <a class="el" href="muxing_8c_source.html#l00490">write_video_frame()</a>.</p>
</div>
</div>
<a class="anchor" id="a437be96a9da675f12caa228a9c81bd82"></a><!-- doxytag: member="AVPacket::flags" ref="a437be96a9da675f12caa228a9c81bd82" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVPacket.html#a437be96a9da675f12caa228a9c81bd82">AVPacket::flags</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A combination of AV_PKT_FLAG values. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="muxing_8c-example.html#a120">muxing.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01167">1167</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="muxing_8c_source.html#l00490">write_video_frame()</a>.</p>
</div>
</div>
<a class="anchor" id="ac55bfef91c33f02704ba76518d0f294c"></a><!-- doxytag: member="AVPacket::side_data" ref="ac55bfef91c33f02704ba76518d0f294c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVPacketSideData.html">AVPacketSideData</a>* <a class="el" href="structAVPacket.html#ac55bfef91c33f02704ba76518d0f294c">AVPacket::side_data</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Additional packet data that can be provided by the container. </p>
<p>Packet can contain several types of side information. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01172">1172</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="af415e25244b26921e8fc249d45499b84"></a><!-- doxytag: member="AVPacket::side_data_elems" ref="af415e25244b26921e8fc249d45499b84" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVPacket.html#af415e25244b26921e8fc249d45499b84">AVPacket::side_data_elems</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01173">1173</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="af151ba1967c37038088883cd544eeacd"></a><!-- doxytag: member="AVPacket::duration" ref="af151ba1967c37038088883cd544eeacd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVPacket.html#af151ba1967c37038088883cd544eeacd">AVPacket::duration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Duration of this packet in AVStream->time_base units, 0 if unknown. </p>
<p>Equals next_pts - this_pts in presentation order. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="muxing_8c-example.html#a26">muxing.c</a>, and <a class="el" href="remuxing_8c-example.html#a13">remuxing.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01179">1179</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="muxing_8c_source.html#l00069">log_packet()</a>, and <a class="el" href="remuxing_8c_source.html#l00046">main()</a>.</p>
</div>
</div>
<a class="anchor" id="a280ad3897f11593dd65c109cf0b66fc8"></a><!-- doxytag: member="AVPacket::destruct" ref="a280ad3897f11593dd65c109cf0b66fc8" args=")(struct AVPacket *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> void(* <a class="el" href="structAVPacket.html#a280ad3897f11593dd65c109cf0b66fc8">AVPacket::destruct</a>)(struct <a class="el" href="structAVPacket.html">AVPacket</a> *)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01182">1182</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="aeba7ec45ff7ac22381ad066f8eafdc96"></a><!-- doxytag: member="AVPacket::priv" ref="aeba7ec45ff7ac22381ad066f8eafdc96" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> void* <a class="el" href="structAVPacket.html#aeba7ec45ff7ac22381ad066f8eafdc96">AVPacket::priv</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01184">1184</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab5793d8195cf4789dfb3913b7a693903"></a><!-- doxytag: member="AVPacket::pos" ref="ab5793d8195cf4789dfb3913b7a693903" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVPacket.html#ab5793d8195cf4789dfb3913b7a693903">AVPacket::pos</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>byte position in stream, -1 if unknown </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="remuxing_8c-example.html#a44">remuxing.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01186">1186</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="remuxing_8c_source.html#l00046">main()</a>.</p>
</div>
</div>
<a class="anchor" id="a942409654446e8da1834c17ce69d0ce9"></a><!-- doxytag: member="AVPacket::convergence_duration" ref="a942409654446e8da1834c17ce69d0ce9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVPacket.html#a942409654446e8da1834c17ce69d0ce9">AVPacket::convergence_duration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Time difference in AVStream->time_base units from the pts of this packet to the point at which the output from the decoder has converged independent from the availability of previous frames. </p>
<p>That is, the frames are virtually identical no matter if decoding started from the very first frame or from this keyframe. Is AV_NOPTS_VALUE if unknown. This field is not the display duration of the current packet. This field has no meaning if the packet does not have AV_PKT_FLAG_KEY set.</p>
<p>The purpose of this field is to allow seeking in streams that have no keyframes in the conventional sense. It corresponds to the recovery point SEI in H.264 and match_time_delta in NUT. It is also essential for some types of subtitle streams to ensure that all subtitles are correctly displayed after seeking. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01205">1205</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavcodec/<a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>