Repository URL to install this package:
|
Version:
8:3.0.2-1ubuntu3 ▾
|
<!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.6"/>
<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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">3.0.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<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)">
<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>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Pages</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>
</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__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="avcodec_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:a622e758be29fd500aed0ffdc069550f7"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a622e758be29fd500aed0ffdc069550f7">duration</a></td></tr>
<tr class="memdesc:a622e758be29fd500aed0ffdc069550f7"><td class="mdescLeft"> </td><td class="mdescRight">Duration of this packet in AVStream->time_base units, 0 if unknown. <a href="#a622e758be29fd500aed0ffdc069550f7">More...</a><br/></td></tr>
<tr class="separator:a622e758be29fd500aed0ffdc069550f7"><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:a06d8ce396bab5e9756f8cc4f0bb93d53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPacket.html#a06d8ce396bab5e9756f8cc4f0bb93d53">convergence_duration</a></td></tr>
<tr class="separator:a06d8ce396bab5e9756f8cc4f0bb93d53"><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. Encoders are allowed to output empty packets, with no compressed data, containing only side data (e.g. to update some stream parameters at the end of encoding).</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 field. If it is set, the packet data is dynamically allocated and is valid indefinitely until a call to <a class="el" href="group__lavc__packet.html#ga63d5a489b419bd5d45cfd09091cbcbc2" title="Wipe the packet. ">av_packet_unref()</a> reduces the reference count to 0.</p>
<p>If the buf field is not set <a class="el" href="group__lavc__packet.html#gadb05d71fa2ea7b7fd3e8cfc6d9065a47" title="Setup a new reference to the data described by a given packet. ">av_packet_ref()</a> would make a copy instead of increasing the reference count.</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>, copied by <a class="el" href="group__lavc__packet.html#gadb05d71fa2ea7b7fd3e8cfc6d9065a47" title="Setup a new reference to the data described by a given packet. ">av_packet_ref()</a> and freed by <a class="el" href="group__lavc__packet.html#ga63d5a489b419bd5d45cfd09091cbcbc2" title="Wipe the packet. ">av_packet_unref()</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__lavc__packet.html#gadb05d71fa2ea7b7fd3e8cfc6d9065a47" title="Setup a new reference to the data described by a given packet. ">av_packet_ref</a> </dd>
<dd>
<a class="el" href="group__lavc__packet.html#ga63d5a489b419bd5d45cfd09091cbcbc2" title="Wipe the packet. ">av_packet_unref</a> </dd></dl>
<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#_a90">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avcodec_8h_source.html#l01444">1444</a> of file <a class="el" href="avcodec_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="avcodec_8h_source.html#l01450">1450</a> of file <a class="el" href="avcodec_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="avcodec_8h_source.html#l01460">1460</a> of file <a class="el" href="avcodec_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>, and <a class="el" href="remuxing_8c_source.html#l00046">main()</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="avcodec_8h_source.html#l01466">1466</a> of file <a class="el" href="avcodec_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>, and <a class="el" href="remuxing_8c_source.html#l00046">main()</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#a84">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#a74">filtering_audio.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#a94">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avcodec_8h_source.html#l01467">1467</a> of file <a class="el" href="avcodec_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#l00365">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#l00219">main()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00534">video_decode_example()</a>, and <a class="el" href="decoding__encoding_8c_source.html#l00347">video_encode_example()</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#a29">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#a78">filtering_audio.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#a95">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avcodec_8h_source.html#l01468">1468</a> of file <a class="el" href="avcodec_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#l00064">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#l00365">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#l00219">main()</a>, <a class="el" href="decoding__encoding_8c_source.html#l00534">video_decode_example()</a>, and <a class="el" href="decoding__encoding_8c_source.html#l00347">video_encode_example()</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#a30">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="avcodec_8h_source.html#l01469">1469</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="transcoding_8c_source.html#l00365">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#l00211">main()</a>, and <a class="el" href="muxing_8c_source.html#l00080">write_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>
<p>Definition at line <a class="el" href="avcodec_8h_source.html#l01473">1473</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</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="avcodec_8h_source.html#l01478">1478</a> of file <a class="el" href="avcodec_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="avcodec_8h_source.html#l01479">1479</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a622e758be29fd500aed0ffdc069550f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t 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="avcodec_8h_source.html#l01485">1485</a> of file <a class="el" href="avcodec_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="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="avcodec_8h_source.html#l01487">1487</a> of file <a class="el" href="avcodec_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="a06d8ce396bab5e9756f8cc4f0bb93d53"></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> int64_t AVPacket::convergence_duration</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000034">Deprecated:</a></b></dt><dd>Same as the duration field, but as int64_t. This was required for Matroska subtitles, whose duration values could overflow when the duration field was still an int. </dd></dl>
<p>Definition at line <a class="el" href="avcodec_8h_source.html#l01496">1496</a> of file <a class="el" href="avcodec_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="avcodec_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.6
</small></address>
</body>
</html>