Versions in this module Expand all Collapse all v0 v0.2.0 Jul 22, 2019 Changes in this version + const AVIO_FLAG_READ + const AVIO_FLAG_READ_WRITE + const AVIO_FLAG_WRITE + const AVMEDIA_TYPE_ATTACHMENT + const AVMEDIA_TYPE_AUDIO + const AVMEDIA_TYPE_DATA + const AVMEDIA_TYPE_NB + const AVMEDIA_TYPE_SUBTITLE + const AVMEDIA_TYPE_UNKNOWN + const AVMEDIA_TYPE_VIDEO + const AvseekFlagAny + const AvseekFlagBackward + const AvseekFlagByte + const AvseekFlagFrame + func AvAddIndexEntry(st *Stream, pos, t, int64, s, d, f int) int + func AvCodecGetTag(t **AvCodecTag, id CodecId) uint + func AvCodecGetTag2(t **AvCodecTag, id CodecId, tag *uint) int + func AvFilenameNumberTest(filename string) int + func AvFindBestStream(ic *Context, t MediaType, ws, rs int, c **AvCodec, f int) int + func AvGetFrameFilename(buf_size int, path string, number int) (int, string) + func AvHexDump(f *File, b *uint8, s int) + func AvHexDumpLog(a, l int, b *uint8, s int) + func AvIndexSearchTimestamp(st *Stream, t int64, f int) int + func AvMatchExt(filename, extensions string) int + func AvPktDump2(f *File, pkt *avcodec.Packet, dp int, st *Stream) + func AvPktDumpLog2(a int, l int, pkt *avcodec.Packet, dp int, st *Stream) + func AvProbeInputBuffer(pb *AvIOContext, f **InputFormat, fi string, l int, o, m uint) int + func AvProbeInputBuffer2(pb *AvIOContext, f **InputFormat, fi string, l int, o, m uint) int + func AvRegisterAll() + func AvSdpCreate(ac **Context, n_files int, buf_size int) (int, string) + func AvUrlSplit(proto_size, authorization_size, hostname_size int, pp *int, path_size int, ...) (proto, authorization, hostname, path string) + func AvformatAllocOutputContext2(ctx **Context, o *OutputFormat, fo, fi string) int + func AvformatConfiguration() string + func AvformatLicense() string + func AvformatNetworkDeinit() int + func AvformatNetworkInit() int + func AvformatOpenInput(ps **Context, fi string, fmt *InputFormat, d **avutil.Dictionary) int + func AvformatQueryCodec(o *OutputFormat, cd CodecId, sc int) int + func AvformatVersion() uint + type AvChapter C.struct_AVChapter + type AvCodec C.struct_AVCodec + type AvCodecTag C.struct_AVCodecTag + func AvformatGetMovAudioTags() *AvCodecTag + func AvformatGetMovVideoTags() *AvCodecTag + func AvformatGetRiffAudioTags() *AvCodecTag + func AvformatGetRiffVideoTags() *AvCodecTag + type AvDiscard C.enum_AVDiscard + type AvDurationEstimationMethod C.enum_AVDurationEstimationMethod + type AvFormatInternal C.struct_AVFormatInternal + type AvIOContext C.struct_AVIOContext + func AvIOOpen(url string, flags int) (res *AvIOContext, err error) + func (ctxt *AvIOContext) AvAppendPacket(pkt *avcodec.Packet, s int) int + func (ctxt *AvIOContext) AvGetPacket(pkt *avcodec.Packet, s int) int + func (ctxt *AvIOContext) Close() error + type AvIOInterruptCB C.struct_AVIOInterruptCB + type AvIndexEntry C.struct_AVIndexEntry + type AvPacketList C.struct_AVPacketList + type AvPacketSideData C.struct_AVPacketSideData + type AvPacketSideDataType C.enum_AVPacketSideDataType + type AvProbeData C.struct_AVProbeData + type AvProgram C.struct_AVProgram + type AvStreamParseType C.enum_AVStreamParseType + type Class C.struct_AVClass + func AvformatGetClass() *Class + type CodecContext C.struct_AVCodecContext + func (cctx *CodecContext) GetExtraData() []byte + func (cctx *CodecContext) GetFlags() int + func (cctx *CodecContext) GetHeight() int + func (cctx *CodecContext) GetMaxQDiff() int + func (cctx *CodecContext) GetMeRange() int + func (cctx *CodecContext) GetPixelFormat() avcodec.PixelFormat + func (cctx *CodecContext) GetQCompress() float32 + func (cctx *CodecContext) GetQMax() int + func (cctx *CodecContext) GetQMin() int + func (cctx *CodecContext) GetWidth() int + func (cctx *CodecContext) Release() + func (cctx *CodecContext) SetExtraData(data []byte) + func (cctx *CodecContext) SetFlags(flags int) + func (cctx *CodecContext) SetHeight(h int) + func (cctx *CodecContext) SetMaxQDiff(v int) + func (cctx *CodecContext) SetMeRange(r int) + func (cctx *CodecContext) SetPixelFormat(fmt avcodec.PixelFormat) + func (cctx *CodecContext) SetQCompress(v float32) + func (cctx *CodecContext) SetQMax(v int) + func (cctx *CodecContext) SetQMin(v int) + func (cctx *CodecContext) SetWidth(w int) + func (cctxt *CodecContext) GetCodecId() CodecId + func (cctxt *CodecContext) GetCodecType() MediaType + func (cctxt *CodecContext) GetTimeBase() avcodec.Rational + func (cctxt *CodecContext) SetBitRate(br int64) + func (cctxt *CodecContext) SetCodecId(codecId CodecId) + func (cctxt *CodecContext) SetCodecType(ctype MediaType) + func (cctxt *CodecContext) SetTimeBase(timeBase avcodec.Rational) + func (cctxt *CodecContext) Type() MediaType + type CodecId C.enum_AVCodecID + func AvCodecGetId(t **AvCodecTag, tag uint) CodecId + func AvGuessCodec(fmt *OutputFormat, sn, f, mt string, t MediaType) CodecId + type CodecParserContext C.struct_AVCodecParserContext + type Context C.struct_AVFormatContext + func AvformatAllocContext() *Context + func (ctxt *Context) AudioCodec() *AvCodec + func (ctxt *Context) AudioCodecId() CodecId + func (ctxt *Context) AudioPreload() int + func (ctxt *Context) AvioFlags() int + func (ctxt *Context) AvoidNegativeTs() int + func (ctxt *Context) BitRate() int + func (ctxt *Context) Chapters() **AvChapter + func (ctxt *Context) CorrectTsOverflow() int + func (ctxt *Context) CtxFlags() int + func (ctxt *Context) Debug() int + func (ctxt *Context) Duration() int64 + func (ctxt *Context) DurationEstimationMethod() AvDurationEstimationMethod + func (ctxt *Context) ErrorRecognition() int + func (ctxt *Context) EventFlags() int + func (ctxt *Context) Filename() string + func (ctxt *Context) Flags() int + func (ctxt *Context) FlushPackets() int + func (ctxt *Context) FormatProbesize() int + func (ctxt *Context) FpsProbeSize() int + func (ctxt *Context) Iformat() *InputFormat + func (ctxt *Context) Internal() *AvFormatInternal + func (ctxt *Context) InterruptCallback() AvIOInterruptCB + func (ctxt *Context) IoRepositioned() int + func (ctxt *Context) Keylen() int + func (ctxt *Context) MaxAnalyzeDuration2() int64 + func (ctxt *Context) MaxChunkDuration() int + func (ctxt *Context) MaxChunkSize() int + func (ctxt *Context) MaxDelay() int + func (ctxt *Context) MaxIndexSize() uint + func (ctxt *Context) MaxInterleaveDelta() int64 + func (ctxt *Context) MaxPictureBuffer() uint + func (ctxt *Context) MaxTsProbe() int + func (ctxt *Context) Metadata() *avutil.Dictionary + func (ctxt *Context) MetadataHeaderPadding() int + func (ctxt *Context) NbChapters() uint + func (ctxt *Context) NbPrograms() uint + func (ctxt *Context) NbStreams() uint + func (ctxt *Context) Oformat() *OutputFormat + func (ctxt *Context) OutputTsOffset() int64 + func (ctxt *Context) PacketSize() uint + func (ctxt *Context) Pb() *AvIOContext + func (ctxt *Context) Pb2() **AvIOContext + func (ctxt *Context) ProbeScore() int + func (ctxt *Context) Probesize() uint + func (ctxt *Context) Probesize2() int64 + func (ctxt *Context) Programs() []*AvProgram + func (ctxt *Context) Seek2any() int + func (ctxt *Context) SetPb(pb *AvIOContext) + func (ctxt *Context) SkipInitialBytes() int64 + func (ctxt *Context) StartTime() int64 + func (ctxt *Context) StartTimeRealtime() int64 + func (ctxt *Context) Streams() []*Stream + func (ctxt *Context) StrictStdCompliance() int + func (ctxt *Context) SubtitleCodec() *AvCodec + func (ctxt *Context) SubtitleCodecId() CodecId + func (ctxt *Context) TsId() int + func (ctxt *Context) UseWallclockAsTimestamps() int + func (ctxt *Context) VideoCodec() *AvCodec + func (ctxt *Context) VideoCodecId() CodecId + func (s *Context) AvDumpFormat(i int, url string, io int) + func (s *Context) AvFindDefaultStreamIndex() int + func (s *Context) AvFindProgramFromStream(l *AvProgram, su int) *AvProgram + func (s *Context) AvFmtCtxGetDurationEstimationMethod() AvDurationEstimationMethod + func (s *Context) AvFormatGetAudioCodec() *AvCodec + func (s *Context) AvFormatGetMetadataHeaderPadding() int + func (s *Context) AvFormatGetOpaque() + func (s *Context) AvFormatGetProbeScore() int + func (s *Context) AvFormatGetSubtitleCodec() *AvCodec + func (s *Context) AvFormatGetVideoCodec() *AvCodec + func (s *Context) AvFormatInjectGlobalSideData() + func (s *Context) AvFormatSetAudioCodec(c *AvCodec) + func (s *Context) AvFormatSetMetadataHeaderPadding(c int) + func (s *Context) AvFormatSetOpaque(o int) + func (s *Context) AvFormatSetSubtitleCodec(c *AvCodec) + func (s *Context) AvFormatSetVideoCodec(c *AvCodec) + func (s *Context) AvGetOutputTimestamp(st int, dts, wall *int) int + func (s *Context) AvGuessFrameRate(st *Stream, fr *Frame) avcodec.Rational + func (s *Context) AvGuessSampleAspectRatio(st *Stream, fr *Frame) avcodec.Rational + func (s *Context) AvInterleavedWriteFrame(pkt *avcodec.Packet) int + func (s *Context) AvInterleavedWriteUncodedFrame(si int, f *Frame) int + func (s *Context) AvNewProgram(id int) *AvProgram + func (s *Context) AvReadFrame(pkt *avcodec.Packet) int + func (s *Context) AvReadPause() int + func (s *Context) AvReadPlay() int + func (s *Context) AvSeekFrame(st int, t int64, f int) int + func (s *Context) AvSeekFrameTime(st int, at time.Duration, timebase avcodec.Rational) int + func (s *Context) AvWriteFrame(pkt *avcodec.Packet) int + func (s *Context) AvWriteTrailer() int + func (s *Context) AvWriteUncodedFrame(si int, f *Frame) int + func (s *Context) AvWriteUncodedFrameQuery(si int) int + func (s *Context) AvformatCloseInput() + func (s *Context) AvformatFindStreamInfo(d **avutil.Dictionary) int + func (s *Context) AvformatFreeContext() + func (s *Context) AvformatMatchStreamSpecifier(st *Stream, spec string) int + func (s *Context) AvformatNewStream(c *AvCodec) *Stream + func (s *Context) AvformatNewStream2(c *AvCodec) *Stream + func (s *Context) AvformatQueueAttachedPictures() int + func (s *Context) AvformatSeekFile(si int, mit, ts, mat int64, f int) int + func (s *Context) AvformatWriteHeader(o **avutil.Dictionary) int + func (s *Context) SetProtocolWhitelist(pw string) + type FFFrac C.struct_FFFrac + type File C.FILE + type Frame C.struct_AVFrame + type InputFormat C.struct_AVInputFormat + func AvFindInputFormat(s string) *InputFormat + func AvProbeInputFormat(pd *AvProbeData, i int) *InputFormat + func AvProbeInputFormat2(pd *AvProbeData, o int, sm *int) *InputFormat + func AvProbeInputFormat3(pd *AvProbeData, o int, sl *int) *InputFormat + func (f *InputFormat) AvIformatNext() *InputFormat + func (f *InputFormat) AvRegisterInputFormat() + type MediaType C.enum_AVMediaType + type OutputFormat C.struct_AVOutputFormat + func AvGuessFormat(sn, f, mt string) *OutputFormat + func (f *OutputFormat) AvOformatNext() *OutputFormat + func (f *OutputFormat) AvRegisterOutputFormat() + type Stream C.struct_AVStream + func (avs *Stream) AttachedPic() avcodec.Packet + func (avs *Stream) AvgFrameRate() avcodec.Rational + func (avs *Stream) Codec() *CodecContext + func (avs *Stream) CodecInfoNbFrames() int + func (avs *Stream) CodecParameters() *avcodec.AvCodecParameters + func (avs *Stream) CurDts() int64 + func (avs *Stream) Discard() AvDiscard + func (avs *Stream) Disposition() int + func (avs *Stream) DtsMisordered() uint8 + func (avs *Stream) DtsOrdered() uint8 + func (avs *Stream) Duration() int64 + func (avs *Stream) EventFlags() int + func (avs *Stream) FirstDts() int64 + func (avs *Stream) Free() + func (avs *Stream) Id() int + func (avs *Stream) Index() int + func (avs *Stream) IndexEntries() *AvIndexEntry + func (avs *Stream) IndexEntriesAllocatedSize() uint + func (avs *Stream) InjectGlobalSideData() int + func (avs *Stream) InterleaverChunkDuration() int64 + func (avs *Stream) InterleaverChunkSize() int64 + func (avs *Stream) LastDtsForOrderCheck() int64 + func (avs *Stream) LastInPacketBuffer() *AvPacketList + func (avs *Stream) LastIpDuration() int + func (avs *Stream) LastIpPts() int64 + func (avs *Stream) Metadata() *avutil.Dictionary + func (avs *Stream) MuxTsOffset() int64 + func (avs *Stream) NbDecodedFrames() int + func (avs *Stream) NbFrames() int64 + func (avs *Stream) NbIndexEntries() int + func (avs *Stream) NbSideData() int + func (avs *Stream) NeedParsing() AvStreamParseType + func (avs *Stream) Parser() *CodecParserContext + func (avs *Stream) ProbeData() AvProbeData + func (avs *Stream) ProbePackets() int + func (avs *Stream) PtsBuffer() int64 + func (avs *Stream) PtsReorderError() int64 + func (avs *Stream) PtsReorderErrorCount() uint8 + func (avs *Stream) PtsWrapBehavior() int + func (avs *Stream) PtsWrapReference() int64 + func (avs *Stream) RFrameRate() avcodec.Rational + func (avs *Stream) RequestProbe() int + func (avs *Stream) SampleAspectRatio() avcodec.Rational + func (avs *Stream) SideData() *AvPacketSideData + func (avs *Stream) SkipSamples() int + func (avs *Stream) SkipToKeyframe() int + func (avs *Stream) StartTime() int64 + func (avs *Stream) StreamIdentifier() int + func (avs *Stream) TimeBase() avcodec.Rational + func (avs *Stream) UpdateInitialDurationsDone() int + func (s *Stream) AvStreamGetEndPts() int64 + func (s *Stream) AvStreamGetParser() *CodecParserContext + func (s *Stream) AvStreamGetRFrameRate() avcodec.Rational + func (s *Stream) AvStreamGetSideData(t AvPacketSideDataType, z int) *uint8 + func (s *Stream) AvStreamSetRFrameRate(r avcodec.Rational)