Repository URL to install this package:
Version:
7:2.7.1-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"/>
<title>FFmpeg: AVStream 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">AVStream Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="AVStream" -->
<p>Stream structure.
<a href="structAVStream.html#details">More...</a></p>
<p><code>#include <<a class="el" href="avformat_8h_source.html">avformat.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">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a6ca823054632821e085377f7d371a2d1">index</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">stream index in <a class="el" href="structAVFormatContext.html" title="Format I/O context.">AVFormatContext</a> <a href="#a6ca823054632821e085377f7d371a2d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a6873ed62f196c24e8bf282609231786f">id</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Format-specific stream ID. <a href="#a6873ed62f196c24e8bf282609231786f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVCodecContext.html">AVCodecContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a56f20051fb99339cc588cd3a07ab8c96">codec</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Codec context associated with this stream. <a href="#a56f20051fb99339cc588cd3a07ab8c96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a61b61b0d009be377ebcfdc30ea053d27">priv_data</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a9db755451f14e2bf590d4b85d82b32e6">time_base</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented. <a href="#a9db755451f14e2bf590d4b85d82b32e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a7c67ae70632c91df8b0f721658ec5377">start_time</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decoding: pts of the first frame of the stream in presentation order, in stream time base. <a href="#a7c67ae70632c91df8b0f721658ec5377"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a4e04af7a5a4d8298649850df798dd0bc">duration</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decoding: duration of the stream, in stream time base. <a href="#a4e04af7a5a4d8298649850df798dd0bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a4382c3064df1c9eb232ac198dec067f9">nb_frames</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">number of frames in this stream if known or 0 <a href="#a4382c3064df1c9eb232ac198dec067f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#aea05abdb8e45405048d7923a68c23ef5">disposition</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">AV_DISPOSITION_* bit field. <a href="#aea05abdb8e45405048d7923a68c23ef5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavc__decoding.html#ga352363bce7d3ed82c101b3bc001d1c16">AVDiscard</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a492fcecc45dbbd8da51edd0124e9dd30">discard</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Selects which packets can be discarded at will and do not need to be demuxed. <a href="#a492fcecc45dbbd8da51edd0124e9dd30"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a3f19c60ac6da237cd10e4d97150c118e">sample_aspect_ratio</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">sample aspect ratio (0 if unknown) <a href="#a3f19c60ac6da237cd10e4d97150c118e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__lavu__dict.html#ga1d7cc0833bee918994a600556410315f">AVDictionary</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a50d250a128a3da9ce3d135e84213fb82">metadata</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a946e1e9b89eeeae4cab8a833b482c1ad">avg_frame_rate</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Average framerate. <a href="#a946e1e9b89eeeae4cab8a833b482c1ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVPacket.html">AVPacket</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a8c689ee00c0dfe4313891f8a2ea21f4d">attached_pic</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet will contain the attached picture. <a href="#a8c689ee00c0dfe4313891f8a2ea21f4d"></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="structAVStream.html#a069da4bb2fba6871858065fdf25fe3b3">side_data</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">An array of side data that applies to the whole stream (i.e. <a href="#a069da4bb2fba6871858065fdf25fe3b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ad2d413a504862fdfcf84105e898deb88">nb_side_data</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of elements in the <a class="el" href="structAVStream.html#a069da4bb2fba6871858065fdf25fe3b3" title="An array of side data that applies to the whole stream (i.e.">AVStream.side_data</a> array. <a href="#ad2d413a504862fdfcf84105e898deb88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ab76e176c2a1d1ff09ec9c0bb88dc25e9">event_flags</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Flags for the user to detect events happening on the stream. <a href="#ab76e176c2a1d1ff09ec9c0bb88dc25e9"></a><br/></td></tr>
<tr><td class="memItemLeft" >struct {</td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#a1c89d3d6eedba5bab6e3e12f0d6fb70e">last_dts</a></td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#a0074e905c9fdbd79d2ecd623361ec4f8">duration_gcd</a></td></tr>
<tr><td class="memItemLeft" >   int   <a class="el" href="structAVStream.html#ab1dc61f4f5b3bd8e1211c022aa04d588">duration_count</a></td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#afeec9883900710b1e9fc241dd6c32a20">rfps_duration_sum</a></td></tr>
<tr><td class="memItemLeft" >   double(*   <a class="el" href="structAVStream.html#a5364ec3acec412b24d225152cf1c0fd6">duration_error</a> )[2][<a class="el" href="avformat_8h.html#a79d6ee9e699fd534e85543752f3cb775">MAX_STD_TIMEBASES</a>]</td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#a55fa61f39b931338e5ba270f3be7a28e">codec_info_duration</a></td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#a5cf5e17cd1a56b141b588225fe7cf272">codec_info_duration_fields</a></td></tr>
<tr><td class="memItemLeft" >   int   <a class="el" href="structAVStream.html#aa209c846f64d54a7d73fcfdea0d3df94">found_decoder</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">0 -> decoder has not been searched for yet. <a href="#a043b4a137d28f52f08d9e83646e29b6e"></a><br/></td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#af2a160604ac831709bc4f011a3a38410">last_duration</a></td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#a00f9cfd6b94390286360f004af7882a3">fps_first_dts</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Those are used for average framerate estimation. <a href="#ac310513dfa6246dd671031bad6d95dc6"></a><br/></td></tr>
<tr><td class="memItemLeft" >   int   <a class="el" href="structAVStream.html#a7c3c240bfa2e64162c3811ffc33207ff">fps_first_dts_idx</a></td></tr>
<tr><td class="memItemLeft" >   int64_t   <a class="el" href="structAVStream.html#a4ec56efe4892728d0b767d55c1238faa">fps_last_dts</a></td></tr>
<tr><td class="memItemLeft" >   int   <a class="el" href="structAVStream.html#ac815be62a9c05f7da2e2665ee058014b">fps_last_dts_idx</a></td></tr>
<tr><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a62e1aa916a2af1f2c2458fe446e7fa4f">info</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a6cdb0c90a69899f4e1e54704bb654936">pts_wrap_bits</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">number of bits in pts (used for wrapping control) <a href="#a6cdb0c90a69899f4e1e54704bb654936"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a1e341587fa92b173a0d6ae73fadb0409">first_dts</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Timestamp corresponding to the last dts sync point. <a href="#a1e341587fa92b173a0d6ae73fadb0409"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ad552f602c2113bd5152cff3c58ba1f9f">cur_dts</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#af8e7b1373292e393ed210dc15aa8d2ca">last_IP_pts</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a5764343a4d348f453933bf73c26f84c3">last_IP_duration</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a1cd124860be31d0d275bb838ace6a98c">probe_packets</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#adc161a5c5773d42cea315a5ad0454cf2">codec_info_nb_frames</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of frames that have been demuxed during av_find_stream_info() <a href="#adc161a5c5773d42cea315a5ad0454cf2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="avformat_8h.html#afacbc85f23a50771e3801bda0a353d91">AVStreamParseType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#acd70b72d0c0514643a5c11b2c7c8202c">need_parsing</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structAVCodecParserContext.html">AVCodecParserContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a5b1079c1e244d644a86457e7e27545c1">parser</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structAVPacketList.html">AVPacketList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ab8d53bc29f0761a3f87ec0b5ed7dc8d4">last_in_packet_buffer</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">last packet in packet_buffer for this stream when muxing. <a href="#ab8d53bc29f0761a3f87ec0b5ed7dc8d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVProbeData.html">AVProbeData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a9749c451ce3c41a2345933252c4f96c6">probe_data</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ac13a11eddbc6618f2a7cb66b75f6eb68">pts_buffer</a> [<a class="el" href="avformat_8h.html#a1a5362deb573c857ad801ec212ef3583">MAX_REORDER_DELAY</a>+1]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVIndexEntry.html">AVIndexEntry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#abd901928978d19dc6dee65e88f28c6ad">index_entries</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Only used if the format does not support seeking natively. <a href="#abd901928978d19dc6dee65e88f28c6ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a79b269ebc3f36441cf8e8a8e8ea347f8">nb_index_entries</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a03161c9bc3f6339876506750a9c8681f">index_entries_allocated_size</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ad63fb11cc1415e278e09ddc676e8a1ad">r_frame_rate</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Real base framerate of the stream. <a href="#ad63fb11cc1415e278e09ddc676e8a1ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a1f5662cbf07c0b0d6a190f040ba93e16">stream_identifier</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown. <a href="#a1f5662cbf07c0b0d6a190f040ba93e16"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#af131ef55cdd62eebd3b337c6eb261007">interleaver_chunk_size</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a56c15542ff9ba2e0ee860cbb7532600a">interleaver_chunk_duration</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ab31d9fb6014bb52726ec3144a5d11218">request_probe</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">stream probing state <a href="#ab31d9fb6014bb52726ec3144a5d11218"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a097cabf56050028604b398d097c2a5a5">skip_to_keyframe</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates that everything up to the next keyframe should be discarded. <a href="#a097cabf56050028604b398d097c2a5a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a50093ce4f0989bfbcac3d04fedc2093a">skip_samples</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of samples to skip at the start of the frame decoded from the next packet. <a href="#a50093ce4f0989bfbcac3d04fedc2093a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a8e462c640917bd7058ac3cf716564cd8">start_skip_samples</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">If not 0, the number of samples that should be skipped from the start of the stream (the samples are removed from packets with pts==0, which also assumes negative timestamps do not happen). <a href="#a8e462c640917bd7058ac3cf716564cd8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ad40dedb50c20e0669176e257eedf1bc0">first_discard_sample</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">If not 0, the first audio sample that should be discarded from the stream. <a href="#ad40dedb50c20e0669176e257eedf1bc0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a9c52fc235fbdf30acd2d817824f3289a">last_discard_sample</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The sample after last sample that is intended to be discarded after first_discard_sample. <a href="#a9c52fc235fbdf30acd2d817824f3289a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a8937969e00c765697d7a8e55a0221e04">nb_decoded_frames</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of internally decoded frames, used internally in libavformat, do not access its lifetime differs from info which is why it is not in that structure. <a href="#a8937969e00c765697d7a8e55a0221e04"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ae0598c5dc8ff45ac6cb56a7a23847a37">mux_ts_offset</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Timestamp offset added to timestamps before muxing NOT PART OF PUBLIC API. <a href="#ae0598c5dc8ff45ac6cb56a7a23847a37"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a5456b9e13c27ed10d42259f46297da5d">pts_wrap_reference</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal data to check for wrapping of the time stamp. <a href="#a5456b9e13c27ed10d42259f46297da5d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#aeb3eeb80578432b07b73cb5951c07c5c">pts_wrap_behavior</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Options for behavior, when a wrap is detected. <a href="#aeb3eeb80578432b07b73cb5951c07c5c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a93fae347b93594cbe8ce7d414519b78a">update_initial_durations_done</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal data to prevent doing update_initial_durations() twice. <a href="#a93fae347b93594cbe8ce7d414519b78a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ad3e2b5f6e98424f1e5e5bfc909cee38b">pts_reorder_error</a> [<a class="el" href="avformat_8h.html#a1a5362deb573c857ad801ec212ef3583">MAX_REORDER_DELAY</a>+1]</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal data to generate dts from pts. <a href="#ad3e2b5f6e98424f1e5e5bfc909cee38b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#acd6fe77bbabf1ad6727492a2749e5275">pts_reorder_error_count</a> [<a class="el" href="avformat_8h.html#a1a5362deb573c857ad801ec212ef3583">MAX_REORDER_DELAY</a>+1]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ada8c3bd5c2de4c1b5f0895e088167e03">last_dts_for_order_check</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal data to analyze DTS and detect faulty mpeg streams. <a href="#ada8c3bd5c2de4c1b5f0895e088167e03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a936ec7b1aa699303d20e4489ad4054e3">dts_ordered</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a02b107869ea9e14c784d1bfdade3ebf2">dts_misordered</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#ab266c3ac8277c4bdf1199b5b1b2b1873">inject_global_side_data</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal data to inject global side data. <a href="#ab266c3ac8277c4bdf1199b5b1b2b1873"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a990a5b024db89126b507197ebc4de4d0">recommended_encoder_configuration</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">String containing paris of key and values describing recommended encoder configuration. <a href="#a990a5b024db89126b507197ebc4de4d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVStream.html#a36740140a5b28afefab96c546e268df3">display_aspect_ratio</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">display aspect ratio (0 if unknown) <a href="#a36740140a5b28afefab96c546e268df3"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Stream structure. </p>
<p>New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVStream) must not be used outside libav*. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demuxing_decoding_8c-example.html#_a8">demuxing_decoding.c</a>, <a class="el" href="muxing_8c-example.html#_a1">muxing.c</a>, <a class="el" href="remuxing_8c-example.html#_a25">remuxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#_a15">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#_a16">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00834">834</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a6ca823054632821e085377f7d371a2d1"></a><!-- doxytag: member="AVStream::index" ref="a6ca823054632821e085377f7d371a2d1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a6ca823054632821e085377f7d371a2d1">AVStream::index</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>stream index in <a class="el" href="structAVFormatContext.html" title="Format I/O context.">AVFormatContext</a> </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="muxing_8c-example.html#a29">muxing.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00835">835</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
<p>Referenced by <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="a6873ed62f196c24e8bf282609231786f"></a><!-- doxytag: member="AVStream::id" ref="a6873ed62f196c24e8bf282609231786f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a6873ed62f196c24e8bf282609231786f">AVStream::id</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Format-specific stream ID. </p>
<p>decoding: set by libavformat encoding: set by the user, replaced by libavformat if left unset </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="muxing_8c-example.html#a37">muxing.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00841">841</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
<p>Referenced by <a class="el" href="muxing_8c_source.html#l00092">add_stream()</a>.</p>
</div>
</div>
<a class="anchor" id="a56f20051fb99339cc588cd3a07ab8c96"></a><!-- doxytag: member="AVStream::codec" ref="a56f20051fb99339cc588cd3a07ab8c96" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVCodecContext.html">AVCodecContext</a>* <a class="el" href="structAVStream.html#a56f20051fb99339cc588cd3a07ab8c96">AVStream::codec</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Codec context associated with this stream. </p>
<p>Allocated and freed by libavformat.</p>
<ul>
<li>decoding: The demuxer exports codec information stored in the headers here.</li>
<li>encoding: The user sets codec information, the muxer writes it to the output. Mandatory fields as specified in <a class="el" href="structAVCodecContext.html" title="main external API structure.">AVCodecContext</a> documentation must be set even if this <a class="el" href="structAVCodecContext.html" title="main external API structure.">AVCodecContext</a> is not actually used for encoding. </li>
</ul>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demuxing_decoding_8c-example.html#a59">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#a21">filtering_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#a22">filtering_video.c</a>, <a class="el" href="muxing_8c-example.html#a39">muxing.c</a>, <a class="el" href="remuxing_8c-example.html#a27">remuxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#a24">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a19">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00853">853</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
<p>Referenced by <a class="el" href="muxing_8c_source.html#l00092">add_stream()</a>, <a class="el" href="muxing_8c_source.html#l00544">close_stream()</a>, <a class="el" href="transcoding_8c_source.html#l00366">encode_write_frame()</a>, <a class="el" href="transcoding_8c_source.html#l00446">flush_encoder()</a>, <a class="el" href="muxing_8c_source.html#l00267">get_audio_frame()</a>, <a class="el" href="muxing_8c_source.html#l00449">get_video_frame()</a>, <a class="el" href="transcoding_8c_source.html#l00336">init_filters()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00226">main()</a>, <a class="el" href="muxing_8c_source.html#l00209">open_audio()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00156">open_codec_context()</a>, <a class="el" href="filtering__audio_8c_source.html#l00051">open_input_file()</a>, <a class="el" href="transcode__aac_8c_source.html#l00120">open_output_file()</a>, <a class="el" href="muxing_8c_source.html#l00383">open_video()</a>, <a class="el" href="muxing_8c_source.html#l00296">write_audio_frame()</a>, and <a class="el" href="muxing_8c_source.html#l00490">write_video_frame()</a>.</p>
</div>
</div>
<a class="anchor" id="a61b61b0d009be377ebcfdc30ea053d27"></a><!-- doxytag: member="AVStream::priv_data" ref="a61b61b0d009be377ebcfdc30ea053d27" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="structAVStream.html#a61b61b0d009be377ebcfdc30ea053d27">AVStream::priv_data</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00854">854</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9db755451f14e2bf590d4b85d82b32e6"></a><!-- doxytag: member="AVStream::time_base" ref="a9db755451f14e2bf590d4b85d82b32e6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> <a class="el" href="structAVStream.html#a9db755451f14e2bf590d4b85d82b32e6">AVStream::time_base</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented. </p>
<p>decoding: set by libavformat encoding: May be set by the caller before <a class="el" href="group__lavf__encoding.html#ga78d4e734fecb1d2385536e6dd5b7b9f5" title="Allocate the stream private data and write the stream header to an output media file.">avformat_write_header()</a> to provide a hint to the muxer about the desired timebase. In <a class="el" href="group__lavf__encoding.html#ga78d4e734fecb1d2385536e6dd5b7b9f5" title="Allocate the stream private data and write the stream header to an output media file.">avformat_write_header()</a>, the muxer will overwrite this field with the timebase that will actually be used for the timestamps written into the file (which may or may not be related to the user-provided one, depending on the format). </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="filtering_audio_8c-example.html#a33">filtering_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#a31">filtering_video.c</a>, <a class="el" href="muxing_8c-example.html#a21">muxing.c</a>, <a class="el" href="remuxing_8c-example.html#a8">remuxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#a32">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a100">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00876">876</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
<p>Referenced by <a class="el" href="muxing_8c_source.html#l00092">add_stream()</a>, <a class="el" href="transcoding_8c_source.html#l00366">encode_write_frame()</a>, <a class="el" href="filtering__audio_8c_source.html#l00085">init_filters()</a>, <a class="el" href="muxing_8c_source.html#l00069">log_packet()</a>, <a class="el" href="remuxing_8c_source.html#l00046">main()</a>, <a class="el" href="transcode__aac_8c_source.html#l00120">open_output_file()</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="a7c67ae70632c91df8b0f721658ec5377"></a><!-- doxytag: member="AVStream::start_time" ref="a7c67ae70632c91df8b0f721658ec5377" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a7c67ae70632c91df8b0f721658ec5377">AVStream::start_time</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Decoding: pts of the first frame of the stream in presentation order, in stream time base. </p>
<p>Only set this if you are absolutely 100% sure that the value you set it to really is the pts of the first frame. This may be undefined (AV_NOPTS_VALUE). </p>
<dl class="note"><dt><b>Note:</b></dt><dd>The ASF header does NOT contain a correct start_time the ASF demuxer must NOT set this. </dd></dl>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00886">886</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4e04af7a5a4d8298649850df798dd0bc"></a><!-- doxytag: member="AVStream::duration" ref="a4e04af7a5a4d8298649850df798dd0bc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a4e04af7a5a4d8298649850df798dd0bc">AVStream::duration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Decoding: duration of the stream, in stream time base. </p>
<p>If a source file does not specify a duration, but does specify a bitrate, this value will be estimated from bitrate and file size. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00893">893</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4382c3064df1c9eb232ac198dec067f9"></a><!-- doxytag: member="AVStream::nb_frames" ref="a4382c3064df1c9eb232ac198dec067f9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a4382c3064df1c9eb232ac198dec067f9">AVStream::nb_frames</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>number of frames in this stream if known or 0 </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00895">895</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="aea05abdb8e45405048d7923a68c23ef5"></a><!-- doxytag: member="AVStream::disposition" ref="aea05abdb8e45405048d7923a68c23ef5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#aea05abdb8e45405048d7923a68c23ef5">AVStream::disposition</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>AV_DISPOSITION_* bit field. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00897">897</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a492fcecc45dbbd8da51edd0124e9dd30"></a><!-- doxytag: member="AVStream::discard" ref="a492fcecc45dbbd8da51edd0124e9dd30" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__lavc__decoding.html#ga352363bce7d3ed82c101b3bc001d1c16">AVDiscard</a> <a class="el" href="structAVStream.html#a492fcecc45dbbd8da51edd0124e9dd30">AVStream::discard</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Selects which packets can be discarded at will and do not need to be demuxed. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00899">899</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3f19c60ac6da237cd10e4d97150c118e"></a><!-- doxytag: member="AVStream::sample_aspect_ratio" ref="a3f19c60ac6da237cd10e4d97150c118e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> <a class="el" href="structAVStream.html#a3f19c60ac6da237cd10e4d97150c118e">AVStream::sample_aspect_ratio</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>sample aspect ratio (0 if unknown) </p>
<ul>
<li>encoding: Set by user.</li>
<li>decoding: Set by libavformat. </li>
</ul>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00906">906</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a50d250a128a3da9ce3d135e84213fb82"></a><!-- doxytag: member="AVStream::metadata" ref="a50d250a128a3da9ce3d135e84213fb82" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__lavu__dict.html#ga1d7cc0833bee918994a600556410315f">AVDictionary</a>* <a class="el" href="structAVStream.html#a50d250a128a3da9ce3d135e84213fb82">AVStream::metadata</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00908">908</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a946e1e9b89eeeae4cab8a833b482c1ad"></a><!-- doxytag: member="AVStream::avg_frame_rate" ref="a946e1e9b89eeeae4cab8a833b482c1ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> <a class="el" href="structAVStream.html#a946e1e9b89eeeae4cab8a833b482c1ad">AVStream::avg_frame_rate</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Average framerate. </p>
<ul>
<li>demuxing: May be set by libavformat when creating the stream or in <a class="el" href="group__lavf__decoding.html#gad42172e27cddafb81096939783b157bb" title="Read packets of a media file to get stream information.">avformat_find_stream_info()</a>.</li>
<li>muxing: May be set by the caller before <a class="el" href="group__lavf__encoding.html#ga78d4e734fecb1d2385536e6dd5b7b9f5" title="Allocate the stream private data and write the stream header to an output media file.">avformat_write_header()</a>. </li>
</ul>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00917">917</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8c689ee00c0dfe4313891f8a2ea21f4d"></a><!-- doxytag: member="AVStream::attached_pic" ref="a8c689ee00c0dfe4313891f8a2ea21f4d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVPacket.html">AVPacket</a> <a class="el" href="structAVStream.html#a8c689ee00c0dfe4313891f8a2ea21f4d">AVStream::attached_pic</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet will contain the attached picture. </p>
<p>decoding: set by libavformat, must not be modified by the caller. encoding: unused </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00926">926</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a069da4bb2fba6871858065fdf25fe3b3"></a><!-- doxytag: member="AVStream::side_data" ref="a069da4bb2fba6871858065fdf25fe3b3" 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="structAVStream.html#a069da4bb2fba6871858065fdf25fe3b3">AVStream::side_data</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>An array of side data that applies to the whole stream (i.e. </p>
<p>the container does not allow it to change between packets).</p>
<p>There may be no overlap between the side data in this array and side data in the packets. I.e. a given side data is either exported by the muxer (demuxing) / set by the caller (muxing) in this array, then it never appears in the packets, or the side data is exported / sent through the packets (always in the first packet where the value becomes known or changes), then it does not appear in this array.</p>
<ul>
<li>demuxing: Set by libavformat when the stream is created.</li>
<li>muxing: May be set by the caller before <a class="el" href="group__lavf__encoding.html#ga78d4e734fecb1d2385536e6dd5b7b9f5" title="Allocate the stream private data and write the stream header to an output media file.">avformat_write_header()</a>.</li>
</ul>
<p>Freed by libavformat in <a class="el" href="group__lavf__core.html#gac2990b13b68e831a408fce8e1d0d6445" title="Free an AVFormatContext and all its streams.">avformat_free_context()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="avformat_8h.html#aa3a096ee52bc6b1e0f31278d26996777" title="This function will cause global side data to be injected in the next packet of each stream as well as...">av_format_inject_global_side_data()</a> </dd></dl>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00946">946</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad2d413a504862fdfcf84105e898deb88"></a><!-- doxytag: member="AVStream::nb_side_data" ref="ad2d413a504862fdfcf84105e898deb88" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#ad2d413a504862fdfcf84105e898deb88">AVStream::nb_side_data</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The number of elements in the <a class="el" href="structAVStream.html#a069da4bb2fba6871858065fdf25fe3b3" title="An array of side data that applies to the whole stream (i.e.">AVStream.side_data</a> array. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00950">950</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab76e176c2a1d1ff09ec9c0bb88dc25e9"></a><!-- doxytag: member="AVStream::event_flags" ref="ab76e176c2a1d1ff09ec9c0bb88dc25e9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#ab76e176c2a1d1ff09ec9c0bb88dc25e9">AVStream::event_flags</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Flags for the user to detect events happening on the stream. </p>
<p>Flags must be cleared by the user once the event has been handled. A combination of AVSTREAM_EVENT_FLAG_*. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00957">957</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1c89d3d6eedba5bab6e3e12f0d6fb70e"></a><!-- doxytag: member="AVStream::last_dts" ref="a1c89d3d6eedba5bab6e3e12f0d6fb70e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a1c89d3d6eedba5bab6e3e12f0d6fb70e">AVStream::last_dts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00973">973</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0074e905c9fdbd79d2ecd623361ec4f8"></a><!-- doxytag: member="AVStream::duration_gcd" ref="a0074e905c9fdbd79d2ecd623361ec4f8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a0074e905c9fdbd79d2ecd623361ec4f8">AVStream::duration_gcd</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00974">974</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab1dc61f4f5b3bd8e1211c022aa04d588"></a><!-- doxytag: member="AVStream::duration_count" ref="ab1dc61f4f5b3bd8e1211c022aa04d588" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#ab1dc61f4f5b3bd8e1211c022aa04d588">AVStream::duration_count</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00975">975</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="afeec9883900710b1e9fc241dd6c32a20"></a><!-- doxytag: member="AVStream::rfps_duration_sum" ref="afeec9883900710b1e9fc241dd6c32a20" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#afeec9883900710b1e9fc241dd6c32a20">AVStream::rfps_duration_sum</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00976">976</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5364ec3acec412b24d225152cf1c0fd6"></a><!-- doxytag: member="AVStream::duration_error" ref="a5364ec3acec412b24d225152cf1c0fd6" args=")[2][MAX_STD_TIMEBASES]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double(* <a class="el" href="structAVStream.html#a5364ec3acec412b24d225152cf1c0fd6">AVStream::duration_error</a>)[2][<a class="el" href="avformat_8h.html#a79d6ee9e699fd534e85543752f3cb775">MAX_STD_TIMEBASES</a>]</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00977">977</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a55fa61f39b931338e5ba270f3be7a28e"></a><!-- doxytag: member="AVStream::codec_info_duration" ref="a55fa61f39b931338e5ba270f3be7a28e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a55fa61f39b931338e5ba270f3be7a28e">AVStream::codec_info_duration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00978">978</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5cf5e17cd1a56b141b588225fe7cf272"></a><!-- doxytag: member="AVStream::codec_info_duration_fields" ref="a5cf5e17cd1a56b141b588225fe7cf272" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a5cf5e17cd1a56b141b588225fe7cf272">AVStream::codec_info_duration_fields</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00979">979</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa209c846f64d54a7d73fcfdea0d3df94"></a><!-- doxytag: member="AVStream::found_decoder" ref="aa209c846f64d54a7d73fcfdea0d3df94" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#aa209c846f64d54a7d73fcfdea0d3df94">AVStream::found_decoder</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>0 -> decoder has not been searched for yet. </p>
<p>>0 -> decoder found <0 -> decoder with codec_id == -found_decoder has not been found </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00986">986</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="af2a160604ac831709bc4f011a3a38410"></a><!-- doxytag: member="AVStream::last_duration" ref="af2a160604ac831709bc4f011a3a38410" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#af2a160604ac831709bc4f011a3a38410">AVStream::last_duration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00988">988</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a00f9cfd6b94390286360f004af7882a3"></a><!-- doxytag: member="AVStream::fps_first_dts" ref="a00f9cfd6b94390286360f004af7882a3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a00f9cfd6b94390286360f004af7882a3">AVStream::fps_first_dts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Those are used for average framerate estimation. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00993">993</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7c3c240bfa2e64162c3811ffc33207ff"></a><!-- doxytag: member="AVStream::fps_first_dts_idx" ref="a7c3c240bfa2e64162c3811ffc33207ff" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a7c3c240bfa2e64162c3811ffc33207ff">AVStream::fps_first_dts_idx</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00994">994</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4ec56efe4892728d0b767d55c1238faa"></a><!-- doxytag: member="AVStream::fps_last_dts" ref="a4ec56efe4892728d0b767d55c1238faa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a4ec56efe4892728d0b767d55c1238faa">AVStream::fps_last_dts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00995">995</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac815be62a9c05f7da2e2665ee058014b"></a><!-- doxytag: member="AVStream::fps_last_dts_idx" ref="ac815be62a9c05f7da2e2665ee058014b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#ac815be62a9c05f7da2e2665ee058014b">AVStream::fps_last_dts_idx</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l00996">996</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a62e1aa916a2af1f2c2458fe446e7fa4f"></a><!-- doxytag: member="AVStream::info" ref="a62e1aa916a2af1f2c2458fe446e7fa4f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct { ... } * <a class="el" href="structAVStream.html#a62e1aa916a2af1f2c2458fe446e7fa4f">AVStream::info</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a6cdb0c90a69899f4e1e54704bb654936"></a><!-- doxytag: member="AVStream::pts_wrap_bits" ref="a6cdb0c90a69899f4e1e54704bb654936" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a6cdb0c90a69899f4e1e54704bb654936">AVStream::pts_wrap_bits</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>number of bits in pts (used for wrapping control) </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01000">1000</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1e341587fa92b173a0d6ae73fadb0409"></a><!-- doxytag: member="AVStream::first_dts" ref="a1e341587fa92b173a0d6ae73fadb0409" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a1e341587fa92b173a0d6ae73fadb0409">AVStream::first_dts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Timestamp corresponding to the last dts sync point. </p>
<p>Initialized when <a class="el" href="structAVCodecParserContext.html#af966b95c5e701aacc4feffd678d4e4ba" title="Synchronization point for start of timestamp generation.">AVCodecParserContext.dts_sync_point</a> >= 0 and a DTS is received from the underlying container. Otherwise set to AV_NOPTS_VALUE by default. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01010">1010</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad552f602c2113bd5152cff3c58ba1f9f"></a><!-- doxytag: member="AVStream::cur_dts" ref="ad552f602c2113bd5152cff3c58ba1f9f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#ad552f602c2113bd5152cff3c58ba1f9f">AVStream::cur_dts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01011">1011</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="af8e7b1373292e393ed210dc15aa8d2ca"></a><!-- doxytag: member="AVStream::last_IP_pts" ref="af8e7b1373292e393ed210dc15aa8d2ca" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#af8e7b1373292e393ed210dc15aa8d2ca">AVStream::last_IP_pts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01012">1012</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5764343a4d348f453933bf73c26f84c3"></a><!-- doxytag: member="AVStream::last_IP_duration" ref="a5764343a4d348f453933bf73c26f84c3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a5764343a4d348f453933bf73c26f84c3">AVStream::last_IP_duration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01013">1013</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1cd124860be31d0d275bb838ace6a98c"></a><!-- doxytag: member="AVStream::probe_packets" ref="a1cd124860be31d0d275bb838ace6a98c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a1cd124860be31d0d275bb838ace6a98c">AVStream::probe_packets</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01019">1019</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="adc161a5c5773d42cea315a5ad0454cf2"></a><!-- doxytag: member="AVStream::codec_info_nb_frames" ref="adc161a5c5773d42cea315a5ad0454cf2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#adc161a5c5773d42cea315a5ad0454cf2">AVStream::codec_info_nb_frames</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Number of frames that have been demuxed during av_find_stream_info() </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01024">1024</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="acd70b72d0c0514643a5c11b2c7c8202c"></a><!-- doxytag: member="AVStream::need_parsing" ref="acd70b72d0c0514643a5c11b2c7c8202c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="avformat_8h.html#afacbc85f23a50771e3801bda0a353d91">AVStreamParseType</a> <a class="el" href="structAVStream.html#acd70b72d0c0514643a5c11b2c7c8202c">AVStream::need_parsing</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01027">1027</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5b1079c1e244d644a86457e7e27545c1"></a><!-- doxytag: member="AVStream::parser" ref="a5b1079c1e244d644a86457e7e27545c1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="structAVCodecParserContext.html">AVCodecParserContext</a>* <a class="el" href="structAVStream.html#a5b1079c1e244d644a86457e7e27545c1">AVStream::parser</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01028">1028</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab8d53bc29f0761a3f87ec0b5ed7dc8d4"></a><!-- doxytag: member="AVStream::last_in_packet_buffer" ref="ab8d53bc29f0761a3f87ec0b5ed7dc8d4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="structAVPacketList.html">AVPacketList</a>* <a class="el" href="structAVStream.html#ab8d53bc29f0761a3f87ec0b5ed7dc8d4">AVStream::last_in_packet_buffer</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>last packet in packet_buffer for this stream when muxing. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01033">1033</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9749c451ce3c41a2345933252c4f96c6"></a><!-- doxytag: member="AVStream::probe_data" ref="a9749c451ce3c41a2345933252c4f96c6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVProbeData.html">AVProbeData</a> <a class="el" href="structAVStream.html#a9749c451ce3c41a2345933252c4f96c6">AVStream::probe_data</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01034">1034</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac13a11eddbc6618f2a7cb66b75f6eb68"></a><!-- doxytag: member="AVStream::pts_buffer" ref="ac13a11eddbc6618f2a7cb66b75f6eb68" args="[MAX_REORDER_DELAY+1]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#ac13a11eddbc6618f2a7cb66b75f6eb68">AVStream::pts_buffer</a>[<a class="el" href="avformat_8h.html#a1a5362deb573c857ad801ec212ef3583">MAX_REORDER_DELAY</a>+1]</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01036">1036</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="abd901928978d19dc6dee65e88f28c6ad"></a><!-- doxytag: member="AVStream::index_entries" ref="abd901928978d19dc6dee65e88f28c6ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVIndexEntry.html">AVIndexEntry</a>* <a class="el" href="structAVStream.html#abd901928978d19dc6dee65e88f28c6ad">AVStream::index_entries</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Only used if the format does not support seeking natively. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01038">1038</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a79b269ebc3f36441cf8e8a8e8ea347f8"></a><!-- doxytag: member="AVStream::nb_index_entries" ref="a79b269ebc3f36441cf8e8a8e8ea347f8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a79b269ebc3f36441cf8e8a8e8ea347f8">AVStream::nb_index_entries</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01040">1040</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a03161c9bc3f6339876506750a9c8681f"></a><!-- doxytag: member="AVStream::index_entries_allocated_size" ref="a03161c9bc3f6339876506750a9c8681f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="structAVStream.html#a03161c9bc3f6339876506750a9c8681f">AVStream::index_entries_allocated_size</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01041">1041</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad63fb11cc1415e278e09ddc676e8a1ad"></a><!-- doxytag: member="AVStream::r_frame_rate" ref="ad63fb11cc1415e278e09ddc676e8a1ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> <a class="el" href="structAVStream.html#ad63fb11cc1415e278e09ddc676e8a1ad">AVStream::r_frame_rate</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Real base framerate of the stream. </p>
<p>This is the lowest framerate with which all timestamps can be represented accurately (it is the least common multiple of all framerates in the stream). Note, this value is just a guess! For example, if the time base is 1/90000 and all frames have either approximately 3600 or 1800 timer ticks, then r_frame_rate will be 50/1.</p>
<p>Code outside avformat should access this field using: av_stream_get/set_r_frame_rate(stream) </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01054">1054</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1f5662cbf07c0b0d6a190f040ba93e16"></a><!-- doxytag: member="AVStream::stream_identifier" ref="a1f5662cbf07c0b0d6a190f040ba93e16" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a1f5662cbf07c0b0d6a190f040ba93e16">AVStream::stream_identifier</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01061">1061</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="af131ef55cdd62eebd3b337c6eb261007"></a><!-- doxytag: member="AVStream::interleaver_chunk_size" ref="af131ef55cdd62eebd3b337c6eb261007" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#af131ef55cdd62eebd3b337c6eb261007">AVStream::interleaver_chunk_size</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01063">1063</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a56c15542ff9ba2e0ee860cbb7532600a"></a><!-- doxytag: member="AVStream::interleaver_chunk_duration" ref="a56c15542ff9ba2e0ee860cbb7532600a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a56c15542ff9ba2e0ee860cbb7532600a">AVStream::interleaver_chunk_duration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01064">1064</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab31d9fb6014bb52726ec3144a5d11218"></a><!-- doxytag: member="AVStream::request_probe" ref="ab31d9fb6014bb52726ec3144a5d11218" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#ab31d9fb6014bb52726ec3144a5d11218">AVStream::request_probe</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>stream probing state </p>
<p>-1 -> probing finished 0 -> no probing requested rest -> perform probing with request_probe being the minimum score to accept. NOT PART OF PUBLIC API </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01073">1073</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a097cabf56050028604b398d097c2a5a5"></a><!-- doxytag: member="AVStream::skip_to_keyframe" ref="a097cabf56050028604b398d097c2a5a5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a097cabf56050028604b398d097c2a5a5">AVStream::skip_to_keyframe</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Indicates that everything up to the next keyframe should be discarded. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01078">1078</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a50093ce4f0989bfbcac3d04fedc2093a"></a><!-- doxytag: member="AVStream::skip_samples" ref="a50093ce4f0989bfbcac3d04fedc2093a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a50093ce4f0989bfbcac3d04fedc2093a">AVStream::skip_samples</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Number of samples to skip at the start of the frame decoded from the next packet. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01083">1083</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8e462c640917bd7058ac3cf716564cd8"></a><!-- doxytag: member="AVStream::start_skip_samples" ref="a8e462c640917bd7058ac3cf716564cd8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a8e462c640917bd7058ac3cf716564cd8">AVStream::start_skip_samples</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If not 0, the number of samples that should be skipped from the start of the stream (the samples are removed from packets with pts==0, which also assumes negative timestamps do not happen). </p>
<p>Intended for use with formats such as mp3 with ad-hoc gapless audio support. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01092">1092</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad40dedb50c20e0669176e257eedf1bc0"></a><!-- doxytag: member="AVStream::first_discard_sample" ref="ad40dedb50c20e0669176e257eedf1bc0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#ad40dedb50c20e0669176e257eedf1bc0">AVStream::first_discard_sample</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If not 0, the first audio sample that should be discarded from the stream. </p>
<p>This is broken by design (needs global sample count), but can't be avoided for broken by design formats such as mp3 with ad-hoc gapless audio support. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01100">1100</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9c52fc235fbdf30acd2d817824f3289a"></a><!-- doxytag: member="AVStream::last_discard_sample" ref="a9c52fc235fbdf30acd2d817824f3289a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a9c52fc235fbdf30acd2d817824f3289a">AVStream::last_discard_sample</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The sample after last sample that is intended to be discarded after first_discard_sample. </p>
<p>Works on frame boundaries only. Used to prevent early EOF if the gapless info is broken (considered concatenated mp3s). </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01107">1107</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8937969e00c765697d7a8e55a0221e04"></a><!-- doxytag: member="AVStream::nb_decoded_frames" ref="a8937969e00c765697d7a8e55a0221e04" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a8937969e00c765697d7a8e55a0221e04">AVStream::nb_decoded_frames</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Number of internally decoded frames, used internally in libavformat, do not access its lifetime differs from info which is why it is not in that structure. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01113">1113</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae0598c5dc8ff45ac6cb56a7a23847a37"></a><!-- doxytag: member="AVStream::mux_ts_offset" ref="ae0598c5dc8ff45ac6cb56a7a23847a37" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#ae0598c5dc8ff45ac6cb56a7a23847a37">AVStream::mux_ts_offset</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Timestamp offset added to timestamps before muxing NOT PART OF PUBLIC API. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01119">1119</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5456b9e13c27ed10d42259f46297da5d"></a><!-- doxytag: member="AVStream::pts_wrap_reference" ref="a5456b9e13c27ed10d42259f46297da5d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#a5456b9e13c27ed10d42259f46297da5d">AVStream::pts_wrap_reference</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Internal data to check for wrapping of the time stamp. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01124">1124</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="aeb3eeb80578432b07b73cb5951c07c5c"></a><!-- doxytag: member="AVStream::pts_wrap_behavior" ref="aeb3eeb80578432b07b73cb5951c07c5c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#aeb3eeb80578432b07b73cb5951c07c5c">AVStream::pts_wrap_behavior</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Options for behavior, when a wrap is detected. </p>
<p>Defined by AV_PTS_WRAP_ values.</p>
<p>If correction is enabled, there are two possibilities: If the first time stamp is near the wrap point, the wrap offset will be subtracted, which will create negative time stamps. Otherwise the offset will be added. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01136">1136</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a93fae347b93594cbe8ce7d414519b78a"></a><!-- doxytag: member="AVStream::update_initial_durations_done" ref="a93fae347b93594cbe8ce7d414519b78a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#a93fae347b93594cbe8ce7d414519b78a">AVStream::update_initial_durations_done</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Internal data to prevent doing update_initial_durations() twice. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01141">1141</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad3e2b5f6e98424f1e5e5bfc909cee38b"></a><!-- doxytag: member="AVStream::pts_reorder_error" ref="ad3e2b5f6e98424f1e5e5bfc909cee38b" args="[MAX_REORDER_DELAY+1]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#ad3e2b5f6e98424f1e5e5bfc909cee38b">AVStream::pts_reorder_error</a>[<a class="el" href="avformat_8h.html#a1a5362deb573c857ad801ec212ef3583">MAX_REORDER_DELAY</a>+1]</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Internal data to generate dts from pts. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01146">1146</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="acd6fe77bbabf1ad6727492a2749e5275"></a><!-- doxytag: member="AVStream::pts_reorder_error_count" ref="acd6fe77bbabf1ad6727492a2749e5275" args="[MAX_REORDER_DELAY+1]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structAVStream.html#acd6fe77bbabf1ad6727492a2749e5275">AVStream::pts_reorder_error_count</a>[<a class="el" href="avformat_8h.html#a1a5362deb573c857ad801ec212ef3583">MAX_REORDER_DELAY</a>+1]</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01147">1147</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ada8c3bd5c2de4c1b5f0895e088167e03"></a><!-- doxytag: member="AVStream::last_dts_for_order_check" ref="ada8c3bd5c2de4c1b5f0895e088167e03" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t <a class="el" href="structAVStream.html#ada8c3bd5c2de4c1b5f0895e088167e03">AVStream::last_dts_for_order_check</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Internal data to analyze DTS and detect faulty mpeg streams. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01152">1152</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a936ec7b1aa699303d20e4489ad4054e3"></a><!-- doxytag: member="AVStream::dts_ordered" ref="a936ec7b1aa699303d20e4489ad4054e3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structAVStream.html#a936ec7b1aa699303d20e4489ad4054e3">AVStream::dts_ordered</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01153">1153</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a02b107869ea9e14c784d1bfdade3ebf2"></a><!-- doxytag: member="AVStream::dts_misordered" ref="a02b107869ea9e14c784d1bfdade3ebf2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structAVStream.html#a02b107869ea9e14c784d1bfdade3ebf2">AVStream::dts_misordered</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01154">1154</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab266c3ac8277c4bdf1199b5b1b2b1873"></a><!-- doxytag: member="AVStream::inject_global_side_data" ref="ab266c3ac8277c4bdf1199b5b1b2b1873" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVStream.html#ab266c3ac8277c4bdf1199b5b1b2b1873">AVStream::inject_global_side_data</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Internal data to inject global side data. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01159">1159</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a990a5b024db89126b507197ebc4de4d0"></a><!-- doxytag: member="AVStream::recommended_encoder_configuration" ref="a990a5b024db89126b507197ebc4de4d0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* <a class="el" href="structAVStream.html#a990a5b024db89126b507197ebc4de4d0">AVStream::recommended_encoder_configuration</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>String containing paris of key and values describing recommended encoder configuration. </p>
<p>Paris are separated by ','. Keys are separated from values by '='. </p>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01166">1166</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<a class="anchor" id="a36740140a5b28afefab96c546e268df3"></a><!-- doxytag: member="AVStream::display_aspect_ratio" ref="a36740140a5b28afefab96c546e268df3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> <a class="el" href="structAVStream.html#a36740140a5b28afefab96c546e268df3">AVStream::display_aspect_ratio</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>display aspect ratio (0 if unknown) </p>
<ul>
<li>encoding: unused</li>
<li>decoding: Set by libavformat to calculate sample_aspect_ratio internally </li>
</ul>
<p>Definition at line <a class="el" href="avformat_8h_source.html#l01173">1173</a> of file <a class="el" href="avformat_8h_source.html">avformat.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavformat/<a class="el" href="avformat_8h_source.html">avformat.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>