Lines Matching refs:stream

97  * single elementary stream. In the lavf API this process is represented by the
169 * pts/dts, 0 for duration) if the stream does not provide them. The timing
199 * - Unless the format is of the AVFMT_NOSTREAMS type, at least one stream must
201 * the @ref AVStream.codecpar "stream codec parameters" information, such as the
204 * etc.) as known. The @ref AVStream.time_base "stream timebase" should
205 * be set to the timebase that the caller desires to use for this stream (note
213 * AVFormatContext.metadata "global" or @ref AVStream.metadata "per-stream"
373 * changes on a stream, you need to loop through all streams in the AVFormatContext
406 variant_bitrate -- the total bitrate of the bitrate variant that the current stream is part of
479 #define AVFMT_SHOW_IDS 0x0008 /**< Show format stream IDs numbers. */
594 void (*get_output_timestamp)(struct AVFormatContext *s, int stream,
643 * Return 0 if more packets from this stream must be checked; 1 if not.
742 * Close the stream. The AVFormatContext and AVStreams are not
749 * stream component stream_index.
759 * Get the next timestamp in stream[stream_index].time_base units.
825 * The stream should be chosen by default among other streams of the same type,
830 * The stream is not in original language.
834 * @note This disposition may apply to any stream type, not just audio.
838 * The stream is in original language.
844 * The stream is a commentary track.
848 * The stream contains song lyrics.
852 * The stream contains karaoke audio.
863 * The stream is intended for hearing impaired audiences.
867 * The stream is intended for visually impaired audiences.
871 * The audio stream contains music and sound effects without voice.
875 * The stream is stored in the file as an attached picture/"cover art" (e.g.
883 * The stream is sparse, and contains thumbnail images, often corresponding
889 * The stream is intended to be mixed with a spatial audio track. For example,
896 * The subtitle stream contains captions, providing a transcription and possibly
901 * The subtitle stream contains a textual description of the video content.
907 * The subtitle stream contains time-aligned metadata that is not intended to be
912 * The audio stream is intended to be mixed with another stream before
918 * The video stream contains still images.
924 * code if disp does not correspond to a known stream disposition.
963 * A class for @ref avoptions. Set on stream creation.
968 int index; /**< stream index in AVFormatContext */
970 * Format-specific stream ID.
993 * Decoding: pts of the first frame of the stream in presentation order, in stream time base.
1003 * Decoding: duration of the stream, in stream time base.
1012 int64_t nb_frames; ///< number of frames in this stream if known or 0
1016 * - demuxing: set by libavformat when creating the stream or in
1036 * - demuxing: May be set by libavformat when creating the stream or in
1052 * An array of side data that applies to the whole stream (i.e. the
1062 * - demuxing: Set by libavformat when the stream is created.
1076 * Flags indicating events happening on the stream, a combination of
1095 * - demuxing: new packets for this stream were read from the file. This
1097 * for this stream will necessarily be returned from av_read_frame().
1102 * Real base framerate of the stream.
1105 * framerates in the stream). Note, this value is just a guess!
1112 * Codec parameters associated with this stream. Allocated and freed by
1116 * - demuxing: filled by libavformat on stream creation or in
1191 #define AVFMTCTX_UNSEEKABLE 0x0002 /**< signal that the stream is definitely
1220 AVFMT_DURATION_FROM_STREAM, ///< Duration estimated from a stream with a known duration
1282 /* stream info */
1284 * Flags signalling stream properties. A combination of AVFMTCTX_*.
1333 * Duration of the stream, in AV_TIME_BASE fractional
1334 * seconds. Only set this value if you know none of the individual stream
1343 * Total stream bitrate in bit/s, 0 if not
1379 #define AVFMT_FLAG_SHORTEST 0x100000 ///< Stop muxing when the shortest stream stops.
1383 * Maximum number of bytes read from input in order to determine stream
1428 * Maximum amount of memory in bytes to use for the index of each stream.
1470 * Start time of the stream in real world time, in microseconds
1472 * stream was captured at this real world time.
1518 * for each stream before actually writing any packets to the output file.
1577 * Transport stream id.
1630 * Skip initial bytes when opening stream
1781 * Whenever a muxer or a demuxer needs to open an IO stream (typically from
1850 * of each stream as well as after any subsequent seek.
1959 * Add a new stream to a media file.
1973 * @return newly created stream or NULL on error.
1978 * Wrap an existing array as stream side data.
1980 * @param st stream
1987 * the stream is unchanged and the data remains owned by the caller.
1993 * Allocate new information from stream.
1995 * @param stream stream
2000 uint8_t *av_stream_new_side_data(AVStream *stream,
2003 * Get side information from stream.
2005 * @param stream stream
2011 uint8_t *av_stream_get_side_data(const AVStream *stream,
2092 * @param url the url of the stream
2112 * Open an input stream and read the header. The codecs are not opened.
2113 * The stream must be closed with avformat_close_input().
2119 * @param url URL of the stream to open.
2134 * Read packets of a media file to get stream information. This
2144 * codec corresponding to i-th stream.
2157 * Find the programs which belong to a given stream.
2162 * @param s stream index
2171 * Find the "best" stream in the file.
2172 * The best stream is determined according to various heuristics as the most
2175 * default decoder for the stream's codec; streams for which no decoder can
2179 * @param type stream type: video, audio, subtitles, etc.
2180 * @param wanted_stream_nb user-requested stream number,
2182 * @param related_stream try to find a stream related (eg. in the same
2185 * selected stream
2187 * @return the non-negative stream number in case of success,
2188 * AVERROR_STREAM_NOT_FOUND if no stream with the requested type
2202 * Return the next frame of a stream.
2236 * stream is selected, and timestamp is automatically converted
2237 * from AV_TIME_BASE units to the stream specific time_base.
2239 * or, if no stream is specified, in AV_TIME_BASE units.
2255 * in the stream with stream_index (this may not be supported by all demuxers).
2256 * Otherwise all timestamps are in units of the stream selected by stream_index
2263 * @param stream_index index of the stream which is used as time base reference
2276 * discontinuities in the byte stream. Generally works only with formats that
2280 * The set of streams, the detected duration, stream parameters and codecs do
2293 * Start playing a network-based stream (e.g. RTSP stream) at the
2299 * Pause a network-based stream (e.g. RTSP stream).
2324 #define AVSTREAM_INIT_IN_WRITE_HEADER 0 ///< stream parameters initialized in avformat_write_header
2325 #define AVSTREAM_INIT_IN_INIT_OUTPUT 1 ///< stream parameters initialized in avformat_init_output
2328 * Allocate the stream private data and write the stream header to
2348 * Allocate the stream private data and initialize the codec, but do not write the header.
2349 * May optionally be used before avformat_write_header to initialize stream parameters
2390 * set to the index of the corresponding stream in @ref
2394 * must be set to correct values in the stream's timebase (unless the
2434 * set to the index of the corresponding stream in @ref
2438 * must be set to correct values in the stream's timebase (unless the
2441 * The dts for subsequent packets in one stream must be strictly
2469 * video or PCM data and will not serialize it into a byte stream.
2471 * To test whether it is possible to use it with a given muxer and stream,
2485 * @return >=0 if an uncoded frame can be written to that muxer and stream,
2491 * Write the stream trailer to an output media file and free the
2530 * @param stream stream in the media file
2531 * @param[out] dts DTS of the last packet output for the stream, in stream
2539 int av_get_output_timestamp(struct AVFormatContext *s, int stream,
2558 * Send a nice hexadecimal dump of a buffer to the specified file stream.
2560 * @param f The file stream pointer where the dump should be sent to.
2583 * Send a nice dump of a packet to the specified file stream.
2585 * @param f The file stream pointer where the dump should be sent to.
2644 * @param st stream that the timestamp belongs to
2657 * @param st stream
2658 * @return the number of index entries in the stream
2670 * until any function that takes the stream or the parent AVFormatContext
2687 * until any function that takes the stream or the parent AVFormatContext
2697 * @param timestamp timestamp in the time base of the given stream
2736 * @param index index of the stream to dump information about
2783 * multiple AVStreams (one AVStream per RTP stream). Otherwise,
2784 * all the contexts in the array (an AVCodecContext per RTP stream)
2850 * Guess the sample aspect ratio of a frame, based on both the stream and the
2853 * Since the frame aspect ratio is set by the codec but the stream aspect ratio
2857 * Basic logic is to use the stream aspect ratio if it is set to something sane
2861 * @param format the format context which the stream is part of
2862 * @param stream the stream which the frame is part of
2866 AVRational av_guess_sample_aspect_ratio(AVFormatContext *format, AVStream *stream, AVFrame *frame);
2871 * @param ctx the format context which the stream is part of
2872 * @param stream the stream which the frame is part of
2876 AVRational av_guess_frame_rate(AVFormatContext *ctx, AVStream *stream, AVFrame *frame);
2879 * Check if the stream st contained in s is matched by the stream specifier
2882 * See the "stream specifiers" chapter in the documentation for the syntax
2889 * @note A stream specifier can match several streams in the format.
2906 * Transfer internal timing information from one stream to another.
2908 * This function is useful when doing stream copy.
2911 * @param ost output stream which needs timings copy and adjustments
2912 * @param ist reference input stream to copy timings from
2913 * @param copy_tb define from where the stream codec timebase needs to be imported
2920 * Get the internal codec timebase from a stream.
2922 * @param st input stream to extract the timebase from
2935 * @param st input stream to extract the position for every key frame