avformat

package
v1.0.4-0...-72f9e0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package avformat provides some generic global options, which can be set on all the muxers and demuxers. In addition each muxer or demuxer may support so-called private options, which are specific for that component. Supported formats (muxers and demuxers) provided by the libavformat library

Index

Constants

View Source
const (
	MAX_ARRAY_SIZE       = 1<<29 - 1
	AVFMT_NOFILE         = C.AVFMT_NOFILE
	AVFMT_GLOBALHEADER   = C.AVFMT_GLOBALHEADER
	AVFMT_FLAG_CUSTOM_IO = C.AVFMT_FLAG_CUSTOM_IO
	AVIO_FLAG_WRITE      = C.AVIO_FLAG_WRITE
	FF_FDEBUG_TS         = C.FF_FDEBUG_TS
)
View Source
const (
	AVSEEK_FLAG_ANY      = C.AVSEEK_FLAG_ANY
	AVSEEK_FLAG_BACKWARD = C.AVSEEK_FLAG_BACKWARD
	AVSEEK_FLAG_BYTE     = C.AVSEEK_FLAG_BYTE
	AVSEEK_FLAG_FRAME    = C.AVSEEK_FLAG_FRAME
)

Variables

This section is empty.

Functions

func AvAddIndexEntry

func AvAddIndexEntry(st *Stream, pos, t, int64, s, d, f int) int

Add an index entry into a sorted list.

func AvCodecGetTag

func AvCodecGetTag(t **AvCodecTag, id CodecId) uint

Get the codec tag for the given codec id id.

func AvCodecGetTag2

func AvCodecGetTag2(t **AvCodecTag, id CodecId, tag *uint) int

Get the codec tag for the given codec id.

func AvFilenameNumberTest

func AvFilenameNumberTest(f string) int

Check whether filename actually is a numbered sequence generator.

func AvFindBestStream

func AvFindBestStream(ic *Context, t MediaType, ws, rs int, c **AvCodec, f int) int

Find the "best" stream in the file.

func AvGetFrameFilename

func AvGetFrameFilename(b string, bs int, pa string, n int) int

int av_get_frame_filename (char *buf, int buf_size, const char *path, int number) Return in 'buf' the path with 'd' replaced by a number.

func AvHexDump

func AvHexDump(f *File, b *uint8, s int)

Send a nice hexadecimal dump of a buffer to the specified file stream.

func AvHexDumpLog

func AvHexDumpLog(a, l int, b *uint8, s int)

Send a nice hexadecimal dump of a buffer to the log.

func AvIOClosep

func AvIOClosep(pb **AvIOContext) int

Close the resource accessed by the AVIOContext *s, free it and set the pointer pointing to it to NULL.

func AvIOOpen

func AvIOOpen(pb **AvIOContext, fi string, flags int) int

Create and initialize a AVIOContext for accessing the resource indicated by url.

func AvIndexSearchTimestamp

func AvIndexSearchTimestamp(st *Stream, t int64, f int) int

Get the index for a specific timestamp.

func AvMatchExt

func AvMatchExt(f, e string) int

int av_match_ext (const char *filename, const char *extensions) Return a positive value if the given filename has one of the given extensions, 0 otherwise.

func AvPktDump2

func AvPktDump2(f *File, pkt *Packet, dp int, st *Stream)

Send a nice dump of a packet to the specified file stream.

func AvPktDumpLog2

func AvPktDumpLog2(a int, l int, pkt *Packet, dp int, st *Stream)

Send a nice dump of a packet to the log.

func AvProbeInputBuffer

func AvProbeInputBuffer(pb *AvIOContext, f **InputFormat, fi string, l int, o, m uint) int

Like av_probe_input_buffer2() but returns 0 on success.

func AvProbeInputBuffer2

func AvProbeInputBuffer2(pb *AvIOContext, f **InputFormat, fi string, l int, o, m uint) int

Probe a bytestream to determine the input format.

func AvSdpCreate

func AvSdpCreate(ac **Context, nf int, b string, s int) int

Generate an SDP for an RTP session.

func AvUrlSplit

func AvUrlSplit(p string, ps int, a string, as int, h string, hs int, pp *int, path string, psize int, url string)

Split a URL string into components.

func AvformatAllocOutputContext2

func AvformatAllocOutputContext2(ctx **Context, o *OutputFormat, fo, fi string) int

Allocate an Context for an output format.

func AvformatCloseInput

func AvformatCloseInput(ctxt *Context)

Close an opened input Context.

func AvformatConfiguration

func AvformatConfiguration() string

Return the libavformat build-time configuration.

func AvformatLicense

func AvformatLicense() string

Return the libavformat license.

func AvformatNetworkDeinit

func AvformatNetworkDeinit() int

Undo the initialization done by avformat_network_init.

func AvformatNetworkInit

func AvformatNetworkInit() int

Do global initialization of network components.

func AvformatOpenInput

func AvformatOpenInput(ps **Context, fi string, fmt *InputFormat, d **avutil.Dictionary) int

Open an input stream and read the header.

func AvformatQueryCodec

func AvformatQueryCodec(o *OutputFormat, cd CodecId, sc int) int

Test if the given container can store a codec.

func AvformatVersion

func AvformatVersion() uint

Return the LIBAvFORMAT_VERSION_INT constant.

Types

type AvChapter

type AvChapter C.struct_AVChapter

type AvCodec

type AvCodec C.struct_AVCodec

type AvCodecTag

type AvCodecTag C.struct_AVCodecTag

func AvformatGetMovAudioTags

func AvformatGetMovAudioTags() *AvCodecTag

func AvformatGetMovVideoTags

func AvformatGetMovVideoTags() *AvCodecTag

func AvformatGetRiffAudioTags

func AvformatGetRiffAudioTags() *AvCodecTag

struct AvCodecTag * avformat_get_riff_audio_tags (void)

func AvformatGetRiffVideoTags

func AvformatGetRiffVideoTags() *AvCodecTag

type AvDiscard

type AvDiscard C.enum_AVDiscard

type AvDurationEstimationMethod

type AvDurationEstimationMethod C.enum_AVDurationEstimationMethod

type AvFormatInternal

type AvFormatInternal C.struct_AVFormatInternal

type AvIOContext

type AvIOContext C.struct_AVIOContext

func (*AvIOContext) AvAppendPacket

func (ctxt *AvIOContext) AvAppendPacket(pkt *Packet, s int) int

Read data and append it to the current content of the Packet.

func (*AvIOContext) AvGetPacket

func (ctxt *AvIOContext) AvGetPacket(pkt *Packet, s int) int

Allocate and read the payload of a packet and initialize its fields with default values.

type AvIOInterruptCB

type AvIOInterruptCB C.struct_AVIOInterruptCB

type AvIndexEntry

type AvIndexEntry C.struct_AVIndexEntry

type AvPacketList

type AvPacketList C.struct_AVPacketList

type AvPacketSideData

type AvPacketSideData C.struct_AVPacketSideData

type AvPacketSideDataType

type AvPacketSideDataType C.enum_AVPacketSideDataType

type AvProbeData

type AvProbeData C.struct_AVProbeData

type AvProgram

type AvProgram C.struct_AVProgram

type AvStreamParseType

type AvStreamParseType C.enum_AVStreamParseType

type Class

type Class C.struct_AVClass

func AvformatGetClass

func AvformatGetClass() *Class

Get the Class for Context.

type CodecContext

type CodecContext C.struct_AVCodecContext

type CodecId

type CodecId C.enum_AVCodecID

func AvCodecGetId

func AvCodecGetId(t **AvCodecTag, tag uint) CodecId

enum CodecId av_codec_get_id (const struct AvCodecTag *const *tags, unsigned int tag) Get the CodecId for the given codec tag tag.

func AvGuessCodec

func AvGuessCodec(fmt *OutputFormat, sn, f, mt string, t MediaType) CodecId

Guess the codec ID based upon muxer and filename.

type CodecParserContext

type CodecParserContext C.struct_AVCodecParserContext

type Context

type Context C.struct_AVFormatContext

func AvformatAllocContext

func AvformatAllocContext() *Context

Allocate an Context.

func (*Context) AudioCodec

func (ctxt *Context) AudioCodec() *AvCodec

func (*Context) AudioCodecId

func (ctxt *Context) AudioCodecId() CodecId

func (*Context) AudioPreload

func (ctxt *Context) AudioPreload() int

func (*Context) AvDumpFormat

func (s *Context) AvDumpFormat(i int, url string, io int)

Print detailed information about the input or output format, such as duration, bitrate, streams, container, programs, metadata, side data, codec and time base.

func (*Context) AvFindDefaultStreamIndex

func (s *Context) AvFindDefaultStreamIndex() int

func (*Context) AvFindProgramFromStream

func (s *Context) AvFindProgramFromStream(l *AvProgram, su int) *AvProgram

Find the programs which belong to a given stream.

func (*Context) AvFmtCtxGetDurationEstimationMethod

func (s *Context) AvFmtCtxGetDurationEstimationMethod() AvDurationEstimationMethod

Returns the method used to set ctx->duration.

func (*Context) AvFormatGetAudioCodec

func (s *Context) AvFormatGetAudioCodec() *AvCodec

func (*Context) AvFormatGetMetadataHeaderPadding

func (s *Context) AvFormatGetMetadataHeaderPadding() int

func (*Context) AvFormatGetOpaque

func (s *Context) AvFormatGetOpaque()

func (*Context) AvFormatGetProbeScore

func (s *Context) AvFormatGetProbeScore() int

func (*Context) AvFormatGetSubtitleCodec

func (s *Context) AvFormatGetSubtitleCodec() *AvCodec

func (*Context) AvFormatGetVideoCodec

func (s *Context) AvFormatGetVideoCodec() *AvCodec

func (*Context) AvFormatInjectGlobalSideData

func (s *Context) AvFormatInjectGlobalSideData()

This function will cause global side data to be injected in the next packet of each stream as well as after any subsequent seek.

func (*Context) AvFormatSetAudioCodec

func (s *Context) AvFormatSetAudioCodec(c *AvCodec)

func (*Context) AvFormatSetMetadataHeaderPadding

func (s *Context) AvFormatSetMetadataHeaderPadding(c int)

func (*Context) AvFormatSetOpaque

func (s *Context) AvFormatSetOpaque(o int)

func (*Context) AvFormatSetSubtitleCodec

func (s *Context) AvFormatSetSubtitleCodec(c *AvCodec)

func (*Context) AvFormatSetVideoCodec

func (s *Context) AvFormatSetVideoCodec(c *AvCodec)

func (*Context) AvGetOutputTimestamp

func (s *Context) AvGetOutputTimestamp(st int, dts, wall *int) int

Get timing information for the data currently output.

func (*Context) AvGuessFrameRate

func (s *Context) AvGuessFrameRate(st *Stream, fr *Frame) avutil.Rational

Guess the frame rate, based on both the container and codec information.

func (*Context) AvGuessSampleAspectRatio

func (s *Context) AvGuessSampleAspectRatio(st *Stream, fr *Frame) avutil.Rational

Guess the sample aspect ratio of a frame, based on both the stream and the frame aspect ratio.

func (*Context) AvInterleavedWriteFrame

func (s *Context) AvInterleavedWriteFrame(pkt *avcodec.Packet) int

Write a packet to an output media file ensuring correct interleaving.

func (*Context) AvInterleavedWriteUncodedFrame

func (s *Context) AvInterleavedWriteUncodedFrame(si int, f *Frame) int

Write a uncoded frame to an output media file.

func (*Context) AvNewProgram

func (s *Context) AvNewProgram(id int) *AvProgram

func (*Context) AvReadFrame

func (s *Context) AvReadFrame(pkt *avcodec.Packet) int

Return the next frame of a stream.

func (*Context) AvReadPause

func (s *Context) AvReadPause() int

Pause a network-based stream (e.g.

func (*Context) AvReadPlay

func (s *Context) AvReadPlay() int

Start playing a network-based stream (e.g.

func (*Context) AvSeekFrame

func (s *Context) AvSeekFrame(st int, t int64, f int) int

Seek to the keyframe at timestamp.

func (*Context) AvWriteFrame

func (s *Context) AvWriteFrame(pkt *avcodec.Packet) int

Write a packet to an output media file.

func (*Context) AvWriteTrailer

func (s *Context) AvWriteTrailer() int

Write the stream trailer to an output media file and free the file private data.

func (*Context) AvWriteUncodedFrame

func (s *Context) AvWriteUncodedFrame(si int, f *Frame) int

Write a uncoded frame to an output media file.

func (*Context) AvWriteUncodedFrameQuery

func (s *Context) AvWriteUncodedFrameQuery(si int) int

Test whether a muxer supports uncoded frame.

func (*Context) AvformatFindStreamInfo

func (s *Context) AvformatFindStreamInfo(d **avutil.Dictionary) int

Read packets of a media file to get stream information.

func (*Context) AvformatFreeContext

func (s *Context) AvformatFreeContext()

Free an Context and all its streams.

func (*Context) AvformatMatchStreamSpecifier

func (s *Context) AvformatMatchStreamSpecifier(st *Stream, spec string) int

Check if the stream st contained in s is matched by the stream specifier spec.

func (*Context) AvformatNewStream

func (s *Context) AvformatNewStream(c *AvCodec) *Stream

Add a new stream to a media file.

func (*Context) AvformatQueueAttachedPictures

func (s *Context) AvformatQueueAttachedPictures() int

func (*Context) AvformatSeekFile

func (s *Context) AvformatSeekFile(si int, mit, ts, mat int64, f int) int

Seek to timestamp ts.

func (*Context) AvformatWriteHeader

func (s *Context) AvformatWriteHeader(o **avutil.Dictionary) int

Allocate the stream private data and write the stream header to an output media file.

func (*Context) AvioFlags

func (ctxt *Context) AvioFlags() int

func (*Context) AvoidNegativeTs

func (ctxt *Context) AvoidNegativeTs() int

func (*Context) BitRate

func (ctxt *Context) BitRate() int

func (*Context) Chapters

func (ctxt *Context) Chapters() **AvChapter

func (*Context) CorrectTsOverflow

func (ctxt *Context) CorrectTsOverflow() int

func (*Context) CtxFlags

func (ctxt *Context) CtxFlags() int

func (*Context) Debug

func (ctxt *Context) Debug() int

func (*Context) Duration

func (ctxt *Context) Duration() int64

func (*Context) DurationEstimationMethod

func (ctxt *Context) DurationEstimationMethod() AvDurationEstimationMethod

func (*Context) ErrorRecognition

func (ctxt *Context) ErrorRecognition() int

func (*Context) EventFlags

func (ctxt *Context) EventFlags() int

func (*Context) Filename

func (ctxt *Context) Filename() string

func (*Context) Flags

func (ctxt *Context) Flags() int

func (*Context) FlushPackets

func (ctxt *Context) FlushPackets() int

func (*Context) FormatProbesize

func (ctxt *Context) FormatProbesize() int

func (*Context) FpsProbeSize

func (ctxt *Context) FpsProbeSize() int

func (*Context) Iformat

func (ctxt *Context) Iformat() *InputFormat

func (*Context) Internal

func (ctxt *Context) Internal() *AvFormatInternal

func (*Context) InterruptCallback

func (ctxt *Context) InterruptCallback() AvIOInterruptCB

func (*Context) IoRepositioned

func (ctxt *Context) IoRepositioned() int

func (*Context) Keylen

func (ctxt *Context) Keylen() int

func (*Context) MaxAnalyzeDuration2

func (ctxt *Context) MaxAnalyzeDuration2() int64

func (*Context) MaxChunkDuration

func (ctxt *Context) MaxChunkDuration() int

func (*Context) MaxChunkSize

func (ctxt *Context) MaxChunkSize() int

func (*Context) MaxDelay

func (ctxt *Context) MaxDelay() int

func (*Context) MaxIndexSize

func (ctxt *Context) MaxIndexSize() uint

func (*Context) MaxInterleaveDelta

func (ctxt *Context) MaxInterleaveDelta() int64

func (*Context) MaxPictureBuffer

func (ctxt *Context) MaxPictureBuffer() uint

func (*Context) MaxTsProbe

func (ctxt *Context) MaxTsProbe() int

func (*Context) Metadata

func (ctxt *Context) Metadata() *avutil.Dictionary

func (*Context) MetadataHeaderPadding

func (ctxt *Context) MetadataHeaderPadding() int

func (*Context) NbChapters

func (ctxt *Context) NbChapters() uint

func (*Context) NbPrograms

func (ctxt *Context) NbPrograms() uint

func (*Context) NbStreams

func (ctxt *Context) NbStreams() uint

func (*Context) Oformat

func (ctxt *Context) Oformat() *OutputFormat

func (*Context) OutputTsOffset

func (ctxt *Context) OutputTsOffset() int64

func (*Context) PacketSize

func (ctxt *Context) PacketSize() uint

func (*Context) Pb

func (ctxt *Context) Pb() *AvIOContext

func (*Context) ProbeScore

func (ctxt *Context) ProbeScore() int

func (*Context) Probesize

func (ctxt *Context) Probesize() uint

func (*Context) Probesize2

func (ctxt *Context) Probesize2() int64

func (*Context) Programs

func (ctxt *Context) Programs() **AvProgram

func (*Context) Seek2any

func (ctxt *Context) Seek2any() int

func (*Context) SetInterruptCallback

func (ctxt *Context) SetInterruptCallback() *int

func (*Context) SetPb

func (ctxt *Context) SetPb(ctxAvIO *AvIOContext)

func (*Context) SetStrictStdCompliance

func (ctxt *Context) SetStrictStdCompliance(s int)

func (*Context) SkipInitialBytes

func (ctxt *Context) SkipInitialBytes() int64

func (*Context) StartTime

func (ctxt *Context) StartTime() int64

func (*Context) StartTimeRealtime

func (ctxt *Context) StartTimeRealtime() int64

func (*Context) Streams

func (ctxt *Context) Streams() []*Stream

func (*Context) StrictStdCompliance

func (ctxt *Context) StrictStdCompliance() int

func (*Context) SubtitleCodec

func (ctxt *Context) SubtitleCodec() *AvCodec

func (*Context) SubtitleCodecId

func (ctxt *Context) SubtitleCodecId() CodecId

func (*Context) TsId

func (ctxt *Context) TsId() int

func (*Context) UseWallclockAsTimestamps

func (ctxt *Context) UseWallclockAsTimestamps() int

func (*Context) VideoCodec

func (ctxt *Context) VideoCodec() *AvCodec

func (*Context) VideoCodecId

func (ctxt *Context) VideoCodecId() CodecId

type FFFrac

type FFFrac C.struct_FFFrac

type File

type File C.FILE

type Frame

type Frame C.struct_AVFrame

type InputFormat

type InputFormat C.struct_AVInputFormat

func AvFindInputFormat

func AvFindInputFormat(s string) *InputFormat

Find InputFormat based on the short name of the input format.

func AvProbeInputFormat

func AvProbeInputFormat(pd *AvProbeData, i int) *InputFormat

Guess the file format.

func AvProbeInputFormat2

func AvProbeInputFormat2(pd *AvProbeData, o int, sm *int) *InputFormat

Guess the file format.

func AvProbeInputFormat3

func AvProbeInputFormat3(pd *AvProbeData, o int, sl *int) *InputFormat

Guess the file format.

func (*InputFormat) AvIformatNext

func (f *InputFormat) AvIformatNext() *InputFormat

If f is NULL, returns the first registered input format, if f is non-NULL, returns the next registered input format after f or NULL if f is the last one.

func (*InputFormat) AvRegisterInputFormat

func (f *InputFormat) AvRegisterInputFormat()

type MediaType

type MediaType C.enum_AVMediaType

type OutputFormat

type OutputFormat C.struct_AVOutputFormat

func AvGuessFormat

func AvGuessFormat(sn, f, mt string) *OutputFormat

Return the output format in the list of registered output formats which best matches the provided parameters, or return NULL if there is no match.

func (*OutputFormat) AvOformatNext

func (f *OutputFormat) AvOformatNext() *OutputFormat

If f is NULL, returns the first registered output format, if f is non-NULL, returns the next registered output format after f or NULL if f is the last one.

func (*OutputFormat) AvRegisterOutputFormat

func (f *OutputFormat) AvRegisterOutputFormat()

func (*OutputFormat) Flags

func (f *OutputFormat) Flags() int

type Packet

type Packet C.struct_AVPacket

type Stream

type Stream C.struct_AVStream

func (*Stream) AttachedPic

func (avs *Stream) AttachedPic() Packet

func (*Stream) AvStreamGetEndPts

func (s *Stream) AvStreamGetEndPts() int64

int64_t av_stream_get_end_pts (const Stream *st) Returns the pts of the last muxed packet + its duration.

func (*Stream) AvStreamGetParser

func (s *Stream) AvStreamGetParser() *CodecParserContext

struct CodecParserContext * av_stream_get_parser (const Stream *s)

func (*Stream) AvStreamGetRFrameRate

func (s *Stream) AvStreamGetRFrameRate() avutil.Rational

Rational av_stream_get_r_frame_rate (const Stream *s)

func (*Stream) AvStreamGetSideData

func (s *Stream) AvStreamGetSideData(t AvPacketSideDataType, z int) *uint8

Get side information from stream.

func (*Stream) AvgFrameRate

func (avs *Stream) AvgFrameRate() avutil.Rational

func (*Stream) Codec

func (avs *Stream) Codec() *avcodec.Context

func (*Stream) CodecInfoNbFrames

func (avs *Stream) CodecInfoNbFrames() int

func (*Stream) CodecParameters

func (avs *Stream) CodecParameters() *avcodec.CodecParameters

func (*Stream) CurDts

func (avs *Stream) CurDts() int64

func (*Stream) Discard

func (avs *Stream) Discard() AvDiscard

func (*Stream) Disposition

func (avs *Stream) Disposition() int

func (*Stream) DtsMisordered

func (avs *Stream) DtsMisordered() uint8

func (*Stream) DtsOrdered

func (avs *Stream) DtsOrdered() uint8

func (*Stream) Duration

func (avs *Stream) Duration() int64

func (*Stream) EventFlags

func (avs *Stream) EventFlags() int

func (*Stream) FirstDts

func (avs *Stream) FirstDts() int64

func (*Stream) Id

func (avs *Stream) Id() int

func (*Stream) Index

func (avs *Stream) Index() int

func (*Stream) IndexEntries

func (avs *Stream) IndexEntries() *AvIndexEntry

func (*Stream) IndexEntriesAllocatedSize

func (avs *Stream) IndexEntriesAllocatedSize() uint

func (*Stream) InjectGlobalSideData

func (avs *Stream) InjectGlobalSideData() int

func (*Stream) InterleaverChunkDuration

func (avs *Stream) InterleaverChunkDuration() int64

func (*Stream) InterleaverChunkSize

func (avs *Stream) InterleaverChunkSize() int64

func (*Stream) LastDtsForOrderCheck

func (avs *Stream) LastDtsForOrderCheck() int64

func (*Stream) LastInPacketBuffer

func (avs *Stream) LastInPacketBuffer() *AvPacketList

func (*Stream) LastIpDuration

func (avs *Stream) LastIpDuration() int

func (*Stream) LastIpPts

func (avs *Stream) LastIpPts() int64

func (*Stream) Metadata

func (avs *Stream) Metadata() *avutil.Dictionary

func (*Stream) MuxTsOffset

func (avs *Stream) MuxTsOffset() int64

func (*Stream) NbDecodedFrames

func (avs *Stream) NbDecodedFrames() int

func (*Stream) NbFrames

func (avs *Stream) NbFrames() int64

func (*Stream) NbIndexEntries

func (avs *Stream) NbIndexEntries() int

func (*Stream) NbSideData

func (avs *Stream) NbSideData() int

func (*Stream) NeedParsing

func (avs *Stream) NeedParsing() AvStreamParseType

func (*Stream) Parser

func (avs *Stream) Parser() *CodecParserContext

func (*Stream) ProbeData

func (avs *Stream) ProbeData() AvProbeData

func (*Stream) ProbePackets

func (avs *Stream) ProbePackets() int

func (*Stream) PtsBuffer

func (avs *Stream) PtsBuffer() int64

func (*Stream) PtsReorderError

func (avs *Stream) PtsReorderError() int64

func (*Stream) PtsReorderErrorCount

func (avs *Stream) PtsReorderErrorCount() uint8

func (*Stream) PtsWrapBehavior

func (avs *Stream) PtsWrapBehavior() int

func (*Stream) PtsWrapReference

func (avs *Stream) PtsWrapReference() int64

func (*Stream) RFrameRate

func (avs *Stream) RFrameRate() avutil.Rational

func (*Stream) RequestProbe

func (avs *Stream) RequestProbe() int

func (*Stream) SampleAspectRatio

func (avs *Stream) SampleAspectRatio() avutil.Rational

func (*Stream) SetTimeBase

func (avs *Stream) SetTimeBase(r avutil.Rational)

func (*Stream) SideData

func (avs *Stream) SideData() *AvPacketSideData

func (*Stream) SkipSamples

func (avs *Stream) SkipSamples() int

func (*Stream) SkipToKeyframe

func (avs *Stream) SkipToKeyframe() int

func (*Stream) StartTime

func (avs *Stream) StartTime() int64

func (*Stream) StreamIdentifier

func (avs *Stream) StreamIdentifier() int

func (*Stream) TimeBase

func (avs *Stream) TimeBase() avutil.Rational

func (*Stream) UpdateInitialDurationsDone

func (avs *Stream) UpdateInitialDurationsDone() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL