/usr/share/doc/ffmpeg/api/structAVPacket.html is in ffmpeg-doc 7:2.8.6-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 | <!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"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>FFmpeg: AVPacket Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">2.8.6</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<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>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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>
</div><!-- top -->
<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__libavc.html">Encoding/Decoding Library</a> » <a class="el" href="group__lavc__core.html">Core functions/structures.</a> » <a class="el" href="group__lavc__packet.html">AVPacket</a></div></div> </div>
</div><!--header-->
<div class="contents">
<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 class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a3bf81872813551fe9343dd0e09993e38"><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 class="memdesc:a3bf81872813551fe9343dd0e09993e38"><td class="mdescLeft"> </td><td class="mdescRight">A reference to the reference-counted buffer where the packet data is stored. <a href="#a3bf81872813551fe9343dd0e09993e38">More...</a><br /></td></tr>
<tr class="separator:a3bf81872813551fe9343dd0e09993e38"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a73bde0a37f3b1efc839f11295bfbf42a"><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 class="memdesc:a73bde0a37f3b1efc839f11295bfbf42a"><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">More...</a><br /></td></tr>
<tr class="separator:a73bde0a37f3b1efc839f11295bfbf42a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a85dbbd306b44b02390cd91c45e6a0f76"><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 class="memdesc:a85dbbd306b44b02390cd91c45e6a0f76"><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">More...</a><br /></td></tr>
<tr class="separator:a85dbbd306b44b02390cd91c45e6a0f76"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf4fe58dfcc7c232c1f2268b539d8367"><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 class="separator:aaf4fe58dfcc7c232c1f2268b539d8367"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4d1ea19f63eb107111fd650ca514d1f4"><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 class="separator:a4d1ea19f63eb107111fd650ca514d1f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0d1cb9b5a32b00fb6edc81ea3aae2a49"><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 class="separator:a0d1cb9b5a32b00fb6edc81ea3aae2a49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a437be96a9da675f12caa228a9c81bd82"><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 class="memdesc:a437be96a9da675f12caa228a9c81bd82"><td class="mdescLeft"> </td><td class="mdescRight">A combination of AV_PKT_FLAG values. <a href="#a437be96a9da675f12caa228a9c81bd82">More...</a><br /></td></tr>
<tr class="separator:a437be96a9da675f12caa228a9c81bd82"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac55bfef91c33f02704ba76518d0f294c"><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 class="memdesc:ac55bfef91c33f02704ba76518d0f294c"><td class="mdescLeft"> </td><td class="mdescRight">Additional packet data that can be provided by the container. <a href="#ac55bfef91c33f02704ba76518d0f294c">More...</a><br /></td></tr>
<tr class="separator:ac55bfef91c33f02704ba76518d0f294c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af415e25244b26921e8fc249d45499b84"><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 class="separator:af415e25244b26921e8fc249d45499b84"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af151ba1967c37038088883cd544eeacd"><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 class="memdesc:af151ba1967c37038088883cd544eeacd"><td class="mdescLeft"> </td><td class="mdescRight">Duration of this packet in AVStream->time_base units, 0 if unknown. <a href="#af151ba1967c37038088883cd544eeacd">More...</a><br /></td></tr>
<tr class="separator:af151ba1967c37038088883cd544eeacd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6441dd4a01abd03fdd05141e6bc4d6d"><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#ad6441dd4a01abd03fdd05141e6bc4d6d">destruct</a> )(struct <a class="el" href="structAVPacket.html">AVPacket</a> *)</td></tr>
<tr class="separator:ad6441dd4a01abd03fdd05141e6bc4d6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeba7ec45ff7ac22381ad066f8eafdc96"><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 class="separator:aeba7ec45ff7ac22381ad066f8eafdc96"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab5793d8195cf4789dfb3913b7a693903"><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 class="memdesc:ab5793d8195cf4789dfb3913b7a693903"><td class="mdescLeft"> </td><td class="mdescRight">byte position in stream, -1 if unknown <a href="#ab5793d8195cf4789dfb3913b7a693903">More...</a><br /></td></tr>
<tr class="separator:ab5793d8195cf4789dfb3913b7a693903"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a942409654446e8da1834c17ce69d0ce9"><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 class="memdesc:a942409654446e8da1834c17ce69d0ce9"><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">More...</a><br /></td></tr>
<tr class="separator:a942409654446e8da1834c17ce69d0ce9"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">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#_a41">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#_a87">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01400">1400</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a3bf81872813551fe9343dd0e09993e38"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>* AVPacket::buf</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#l01406">1406</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a73bde0a37f3b1efc839f11295bfbf42a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVPacket::pts</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#a54">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#l01416">1416</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>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVPacket::dts</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#a53">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#l01422">1422</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>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t* AVPacket::data</td>
</tr>
</table>
</div><div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a38">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#a43">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a91">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01423">1423</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>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVPacket::size</td>
</tr>
</table>
</div><div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a39">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#a44">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a92">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01424">1424</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>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVPacket::stream_index</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#a95">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01425">1425</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>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVPacket::flags</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#l01429">1429</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>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVPacketSideData.html">AVPacketSideData</a>* AVPacket::side_data</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#l01434">1434</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="af415e25244b26921e8fc249d45499b84"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVPacket::side_data_elems</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01435">1435</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="af151ba1967c37038088883cd544eeacd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVPacket::duration</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#l01441">1441</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="ad6441dd4a01abd03fdd05141e6bc4d6d"></a>
<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(* AVPacket::destruct) (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#l01444">1444</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="aeba7ec45ff7ac22381ad066f8eafdc96"></a>
<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* AVPacket::priv</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l01446">1446</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab5793d8195cf4789dfb3913b7a693903"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVPacket::pos</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#l01448">1448</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>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVPacket::convergence_duration</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#l01467">1467</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 -->
<!-- start footer part -->
<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.8.11
</small></address>
</body>
</html>
|