Versions in this module Expand all Collapse all v0 v0.0.2 May 20, 2021 Changes in this version + const AVCOL_RANGE_JPEG + const AVCOL_RANGE_MPEG + const AVCOL_RANGE_NB + const AVCOL_RANGE_UNSPECIFIED + const AVERROR_EOF + const AVFMTCTX_NOHEADER + const AVFMT_FLAG_GENPTS + const AVIO_FLAG_READ + const AVIO_FLAG_READ_WRITE + const AVIO_FLAG_WRITE + const AV_BUFFERSINK_FLAG_NO_REQUEST + const AV_BUFFERSINK_FLAG_PEEK + const AV_BUFFERSRC_FLAG_PUSH + const AV_LOG_DEBUG + const AV_LOG_ERROR + const AV_LOG_FATAL + const AV_LOG_INFO + const AV_LOG_PANIC + const AV_LOG_QUIET + const AV_LOG_VERBOSE + const AV_LOG_WARNING + const AV_PICTURE_TYPE_B + const AV_PICTURE_TYPE_BI + const AV_PICTURE_TYPE_I + const AV_PICTURE_TYPE_NONE + const AV_PICTURE_TYPE_P + const AV_PICTURE_TYPE_S + const AV_PICTURE_TYPE_SI + const AV_PICTURE_TYPE_SP + const AV_PKT_FLAG_KEY + const FF_MOV_FLAG_FASTSTART + const PLAYLIST_TYPE_EVENT + const PLAYLIST_TYPE_NB + const PLAYLIST_TYPE_NONE + const PLAYLIST_TYPE_VOD + var AVMEDIA_TYPE_AUDIO int32 = C.AVMEDIA_TYPE_AUDIO + var AVMEDIA_TYPE_VIDEO int32 = C.AVMEDIA_TYPE_VIDEO + var AV_CODEC_FLAG_QSCALE int32 = C.AV_CODEC_FLAG_QSCALE + var AV_CODEC_ID_AAC int = C.AV_CODEC_ID_AAC + var AV_CODEC_ID_FLV1 int = C.AV_CODEC_ID_FLV1 + var AV_CODEC_ID_GIF int = C.AV_CODEC_ID_GIF + var AV_CODEC_ID_H264 int = C.AV_CODEC_ID_H264 + var AV_CODEC_ID_H265 int = C.AV_CODEC_ID_H265 + var AV_CODEC_ID_JPEG2000 int = C.AV_CODEC_ID_JPEG2000 + var AV_CODEC_ID_MJPEG int = C.AV_CODEC_ID_MJPEG + var AV_CODEC_ID_MPEG1VIDEO int = C.AV_CODEC_ID_MPEG1VIDEO + var AV_CODEC_ID_MPEG2VIDEO int = C.AV_CODEC_ID_MPEG2VIDEO + var AV_CODEC_ID_MPEG4 int = C.AV_CODEC_ID_MPEG4 + var AV_CODEC_ID_MSMPEG4V1 int = C.AV_CODEC_ID_MSMPEG4V1 + var AV_CODEC_ID_MSMPEG4V2 int = C.AV_CODEC_ID_MSMPEG4V2 + var AV_CODEC_ID_MSMPEG4V3 int = C.AV_CODEC_ID_MSMPEG4V3 + var AV_CODEC_ID_PNG int = C.AV_CODEC_ID_PNG + var AV_CODEC_ID_RAWVIDEO int = C.AV_CODEC_ID_RAWVIDEO + var AV_CODEC_ID_TIFF int = C.AV_CODEC_ID_TIFF + var AV_CODEC_ID_WMV1 int = C.AV_CODEC_ID_WMV1 + var AV_CODEC_ID_WMV2 int = C.AV_CODEC_ID_WMV2 + var AV_NOPTS_VALUE int64 = C.INT64_MAX + var AV_PIX_FMT_BGR24 int32 = C.AV_PIX_FMT_BGR24 + var AV_PIX_FMT_BGR32 int32 = C.AV_PIX_FMT_BGR32 + var AV_PIX_FMT_GRAY8 int32 = C.AV_PIX_FMT_GRAY8 + var AV_PIX_FMT_NONE int32 = C.AV_PIX_FMT_NONE + var AV_PIX_FMT_RGB24 int32 = C.AV_PIX_FMT_RGB24 + var AV_PIX_FMT_RGB32 int32 = C.AV_PIX_FMT_RGB32 + var AV_PIX_FMT_RGBA int32 = C.AV_PIX_FMT_RGBA + var AV_PIX_FMT_YUV410P int32 = C.AV_PIX_FMT_YUV410P + var AV_PIX_FMT_YUV411P int32 = C.AV_PIX_FMT_YUV411P + var AV_PIX_FMT_YUV420P int32 = C.AV_PIX_FMT_YUV420P + var AV_PIX_FMT_YUV422P int32 = C.AV_PIX_FMT_YUV422P + var AV_PIX_FMT_YUV444P int32 = C.AV_PIX_FMT_YUV444P + var AV_PIX_FMT_YUVJ420P int32 = C.AV_PIX_FMT_YUVJ420P + var AV_PIX_FMT_YUYV422 int32 = C.AV_PIX_FMT_YUYV422 + var AV_SAMPLE_FMT_DBL int32 = C.AV_SAMPLE_FMT_DBL + var AV_SAMPLE_FMT_DBLP int32 = C.AV_SAMPLE_FMT_DBLP + var AV_SAMPLE_FMT_FLT int32 = C.AV_SAMPLE_FMT_FLT + var AV_SAMPLE_FMT_FLTP int32 = C.AV_SAMPLE_FMT_FLTP + var AV_SAMPLE_FMT_S16 int32 = C.AV_SAMPLE_FMT_S16 + var AV_SAMPLE_FMT_S16P int32 = C.AV_SAMPLE_FMT_S16P + var AV_SAMPLE_FMT_S32 int32 = C.AV_SAMPLE_FMT_S32 + var AV_SAMPLE_FMT_S32P int32 = C.AV_SAMPLE_FMT_S32P + var AV_SAMPLE_FMT_U8 int32 = C.AV_SAMPLE_FMT_U8 + var AV_SAMPLE_FMT_U8P int32 = C.AV_SAMPLE_FMT_U8P + var AV_TIME_BASE int = C.AV_TIME_BASE + var AV_TIME_BASE_Q AVRational = AVRational + var CODEC_FLAG_GLOBAL_HEADER int = C.AV_CODEC_FLAG_GLOBAL_HEADER + var Codecs []*CodecDescriptor + var FF_COMPLIANCE_EXPERIMENTAL int = C.FF_COMPLIANCE_EXPERIMENTAL + var FF_COMPLIANCE_NORMAL int = C.FF_COMPLIANCE_NORMAL + var FF_COMPLIANCE_STRICT int = C.FF_COMPLIANCE_STRICT + var FF_COMPLIANCE_UNOFFICIAL int = C.FF_COMPLIANCE_UNOFFICIAL + var FF_COMPLIANCE_VERY_STRICT int = C.FF_COMPLIANCE_VERY_STRICT + var FF_MB_DECISION_BITS int = C.FF_MB_DECISION_BITS + var FF_MB_DECISION_RD int = C.FF_MB_DECISION_RD + var FF_MB_DECISION_SIMPLE int = C.FF_MB_DECISION_SIMPLE + var FF_PROFILE_AAC_ELD int = C.FF_PROFILE_AAC_ELD + var FF_PROFILE_AAC_HE int = C.FF_PROFILE_AAC_HE + var FF_PROFILE_AAC_HE_V2 int = C.FF_PROFILE_AAC_HE_V2 + var FF_PROFILE_AAC_LD int = C.FF_PROFILE_AAC_LD + var FF_PROFILE_AAC_LOW int = C.FF_PROFILE_AAC_LOW + var FF_PROFILE_AAC_LTP int = C.FF_PROFILE_AAC_LTP + var FF_PROFILE_AAC_MAIN int = C.FF_PROFILE_AAC_MAIN + var FF_PROFILE_AAC_SSR int = C.FF_PROFILE_AAC_SSR + var FF_PROFILE_DTS int = C.FF_PROFILE_DTS + var FF_PROFILE_DTS_96_24 int = C.FF_PROFILE_DTS_96_24 + var FF_PROFILE_DTS_ES int = C.FF_PROFILE_DTS_ES + var FF_PROFILE_DTS_EXPRESS int = C.FF_PROFILE_DTS_EXPRESS + var FF_PROFILE_DTS_HD_HRA int = C.FF_PROFILE_DTS_HD_HRA + var FF_PROFILE_DTS_HD_MA int = C.FF_PROFILE_DTS_HD_MA + var FF_PROFILE_H264_BASELINE int = C.FF_PROFILE_H264_BASELINE + var FF_PROFILE_H264_CAVLC_444 int = C.FF_PROFILE_H264_CAVLC_444 + var FF_PROFILE_H264_EXTENDED int = C.FF_PROFILE_H264_EXTENDED + var FF_PROFILE_H264_HIGH int = C.FF_PROFILE_H264_HIGH + var FF_PROFILE_H264_HIGH_10 int = C.FF_PROFILE_H264_HIGH_10 + var FF_PROFILE_H264_HIGH_422 int = C.FF_PROFILE_H264_HIGH_422 + var FF_PROFILE_H264_HIGH_444 int = C.FF_PROFILE_H264_HIGH_444 + var FF_PROFILE_H264_HIGH_444_PREDICTIVE int = C.FF_PROFILE_H264_HIGH_444_PREDICTIVE + var FF_PROFILE_H264_MAIN int = C.FF_PROFILE_H264_MAIN + var FF_PROFILE_HEVC_MAIN int = C.FF_PROFILE_HEVC_MAIN + var FF_PROFILE_HEVC_MAIN_10 int = C.FF_PROFILE_HEVC_MAIN_10 + var FF_PROFILE_HEVC_MAIN_STILL_PICTURE int = C.FF_PROFILE_HEVC_MAIN_STILL_PICTURE + var FF_PROFILE_HEVC_REXT int = C.FF_PROFILE_HEVC_REXT + var FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION int = C.FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION + var FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 int = C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 + var FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 int = C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 + var FF_PROFILE_JPEG2000_DCINEMA_2K int = C.FF_PROFILE_JPEG2000_DCINEMA_2K + var FF_PROFILE_JPEG2000_DCINEMA_4K int = C.FF_PROFILE_JPEG2000_DCINEMA_4K + var FF_PROFILE_MPEG2_422 int = C.FF_PROFILE_MPEG2_422 + var FF_PROFILE_MPEG2_AAC_HE int = C.FF_PROFILE_MPEG2_AAC_HE + var FF_PROFILE_MPEG2_AAC_LOW int = C.FF_PROFILE_MPEG2_AAC_LOW + var FF_PROFILE_MPEG2_HIGH int = C.FF_PROFILE_MPEG2_HIGH + var FF_PROFILE_MPEG2_MAIN int = C.FF_PROFILE_MPEG2_MAIN + var FF_PROFILE_MPEG2_SIMPLE int = C.FF_PROFILE_MPEG2_SIMPLE + var FF_PROFILE_MPEG2_SNR_SCALABLE int = C.FF_PROFILE_MPEG2_SNR_SCALABLE + var FF_PROFILE_MPEG2_SS int = C.FF_PROFILE_MPEG2_SS + var FF_PROFILE_MPEG4_ADVANCED_CODING int = C.FF_PROFILE_MPEG4_ADVANCED_CODING + var FF_PROFILE_MPEG4_ADVANCED_CORE int = C.FF_PROFILE_MPEG4_ADVANCED_CORE + var FF_PROFILE_MPEG4_ADVANCED_REAL_TIME int = C.FF_PROFILE_MPEG4_ADVANCED_REAL_TIME + var FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE int = C.FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE + var FF_PROFILE_MPEG4_ADVANCED_SIMPLE int = C.FF_PROFILE_MPEG4_ADVANCED_SIMPLE + var FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE int = C.FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE + var FF_PROFILE_MPEG4_CORE int = C.FF_PROFILE_MPEG4_CORE + var FF_PROFILE_MPEG4_CORE_SCALABLE int = C.FF_PROFILE_MPEG4_CORE_SCALABLE + var FF_PROFILE_MPEG4_HYBRID int = C.FF_PROFILE_MPEG4_HYBRID + var FF_PROFILE_MPEG4_MAIN int = C.FF_PROFILE_MPEG4_MAIN + var FF_PROFILE_MPEG4_N_BIT int = C.FF_PROFILE_MPEG4_N_BIT + var FF_PROFILE_MPEG4_SCALABLE_TEXTURE int = C.FF_PROFILE_MPEG4_SCALABLE_TEXTURE + var FF_PROFILE_MPEG4_SIMPLE int = C.FF_PROFILE_MPEG4_SIMPLE + var FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION int = C.FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION + var FF_PROFILE_MPEG4_SIMPLE_SCALABLE int = C.FF_PROFILE_MPEG4_SIMPLE_SCALABLE + var FF_PROFILE_MPEG4_SIMPLE_STUDIO int = C.FF_PROFILE_MPEG4_SIMPLE_STUDIO + var FF_PROFILE_VC1_ADVANCED int = C.FF_PROFILE_VC1_ADVANCED + var FF_PROFILE_VC1_COMPLEX int = C.FF_PROFILE_VC1_COMPLEX + var FF_PROFILE_VC1_MAIN int = C.FF_PROFILE_VC1_MAIN + var FF_PROFILE_VC1_SIMPLE int = C.FF_PROFILE_VC1_SIMPLE + var FF_PROFILE_VP9_0 int = C.FF_PROFILE_VP9_0 + var FF_PROFILE_VP9_1 int = C.FF_PROFILE_VP9_1 + var FF_PROFILE_VP9_2 int = C.FF_PROFILE_VP9_2 + var FF_PROFILE_VP9_3 int = C.FF_PROFILE_VP9_3 + var FF_QP2LAMBDA int = C.FF_QP2LAMBDA + var IO_BUFFER_SIZE int = 32768 + var SWS_AREA int = C.SWS_AREA + var SWS_BICUBIC int = C.SWS_BICUBIC + var SWS_BICUBLIN int = C.SWS_BICUBLIN + var SWS_BILINEAR int = C.SWS_BILINEAR + var SWS_FAST_BILINEAR int = C.SWS_FAST_BILINEAR + var SWS_GAUSS int = C.SWS_GAUSS + var SWS_LANCZOS int = C.SWS_LANCZOS + var SWS_POINT int = C.SWS_POINT + var SWS_SINC int = C.SWS_SINC + var SWS_SPLINE int = C.SWS_SPLINE + var SWS_X int = C.SWS_X + func AvErrno(ret int) syscall.Errno + func AvError(averr int) error + func CompareTimeStamp(aTimestamp int, aTimebase AVRational, bTimestamp int, bTimebase AVRational) int + func GenSyntVideoN(N, w, h int, fmt int32) chan *Frame + func GenSyntVideoNewFrame(w, h int, fmt int32) chan *Frame + func GetSampleFmtName(fmt int32) string + func InitDesc() + func LogSetLevel(level int) + func NewSample(nbSamples, nbChannels int, format SampleFormat) error + func Release(i CgoMemoryManager) + func Rescale(a, b, c int64) int64 + func RescaleDelta(inTb AVRational, inTs int64, fsTb AVRational, duration int, last *int64, ...) int64 + func RescaleQ(a int64, encBase AVRational, stBase AVRational) int64 + func RescaleQRnd(a int64, encBase AVRational, stBase AVRational) int64 + func RescaleTs(pkt *Packet, encBase AVRational, stBase AVRational) + type AVAudioFifo struct + func NewAVAudioFifo(sampleFormat int32, channels int, nb_samples int) *AVAudioFifo + func (this *AVAudioFifo) Free() + func (this *AVAudioFifo) Read(sampleCount int) *Frame + func (this *AVAudioFifo) SamplesCanWrite() int + func (this *AVAudioFifo) SamplesToRead() int + func (this *AVAudioFifo) Write(frame *Frame) int + type AVIOContext struct + func NewAVIOContext(ctx *FmtCtx, handlers *AVIOHandlers, size ...int) (*AVIOContext, error) + func (c *AVIOContext) Flush() + func (c *AVIOContext) Free() + type AVIOHandlers struct + ReadPacket func() ([]byte, int) + Seek func(int64, int) int64 + WritePacket func([]byte) int + type AVR struct + Den int + Num int + func (a AVR) AVRational() AVRational + func (a AVR) Av2qd() float64 + func (a AVR) Invert() AVR + func (a AVR) String() string + type AVRational C.struct_AVRational + func AvInvQ(q AVRational) AVRational + func (a AVRational) AVR() AVR + type CgoMemoryManage struct + func (c *CgoMemoryManage) Free() + func (c *CgoMemoryManage) Release() + func (c *CgoMemoryManage) Retain() + func (c *CgoMemoryManage) RetainCount() int32 + type CgoMemoryManager interface + Free func() + Release func() + Retain func() + RetainCount func() int32 + func Retain(i CgoMemoryManager) CgoMemoryManager + type Codec struct + func FindDecoder(i interface{}) (*Codec, error) + func FindEncoder(i interface{}) (*Codec, error) + func (this *Codec) Free() + func (this *Codec) Id() int + func (this *Codec) IsDecoder() bool + func (this *Codec) IsExperimental() bool + func (this *Codec) LongName() string + func (this *Codec) Name() string + func (this *Codec) Type() int + type CodecCtx struct + func NewCodecCtx(codec *Codec, options ...[]*Option) *CodecCtx + func (cc *CodecCtx) BitRate() int + func (cc *CodecCtx) ChannelLayout() int + func (cc *CodecCtx) Channels() int + func (cc *CodecCtx) Close() + func (cc *CodecCtx) CloseAndRelease() + func (cc *CodecCtx) Codec() *Codec + func (cc *CodecCtx) CopyExtra(ist *Stream) *CodecCtx + func (cc *CodecCtx) Decode(pkt *Packet) ([]*Frame, error) + func (cc *CodecCtx) Decode2(pkt *Packet) (*Frame, int) + func (cc *CodecCtx) Dump() + func (cc *CodecCtx) Encode(frames []*Frame, drain int) ([]*Packet, error) + func (cc *CodecCtx) FlushBuffers() + func (cc *CodecCtx) FrameSize() int + func (cc *CodecCtx) Free() + func (cc *CodecCtx) GetAspectRation() AVRational + func (cc *CodecCtx) GetBFrames() int + func (cc *CodecCtx) GetBitsPerSample() int + func (cc *CodecCtx) GetChannelLayoutName() string + func (cc *CodecCtx) GetCodecTag() uint32 + func (cc *CodecCtx) GetCodecTagName() string + func (cc *CodecCtx) GetCodedHeight() int + func (cc *CodecCtx) GetCodedWith() int + func (cc *CodecCtx) GetColorRangeName() string + func (cc *CodecCtx) GetDefaultChannelLayout(ac int) int + func (cc *CodecCtx) GetFrameRate() AVRational + func (cc *CodecCtx) GetGopSize() int + func (cc *CodecCtx) GetMediaType() string + func (cc *CodecCtx) GetPixFmtName() string + func (cc *CodecCtx) GetProfile() int + func (cc *CodecCtx) GetProfileName() string + func (cc *CodecCtx) GetRefs() int + func (cc *CodecCtx) GetSampleFmtName() string + func (cc *CodecCtx) GetVideoSize() string + func (cc *CodecCtx) Height() int + func (cc *CodecCtx) Id() int + func (cc *CodecCtx) IsOpen() bool + func (cc *CodecCtx) Open(dict *Dict) error + func (cc *CodecCtx) PixFmt() int32 + func (cc *CodecCtx) Profile() int + func (cc *CodecCtx) SampleFmt() int32 + func (cc *CodecCtx) SampleRate() int + func (cc *CodecCtx) SelectChannelLayout() int + func (cc *CodecCtx) SelectSampleFmt() int32 + func (cc *CodecCtx) SelectSampleRate() int + func (cc *CodecCtx) SetBitRate(val int) *CodecCtx + func (cc *CodecCtx) SetBitsPerRawSample(val int) *CodecCtx + func (cc *CodecCtx) SetChannelLayout(channelLayout int) + func (cc *CodecCtx) SetChannels(val int) *CodecCtx + func (cc *CodecCtx) SetDimension(w, h int) *CodecCtx + func (cc *CodecCtx) SetExtradata(extradata []byte) *CodecCtx + func (cc *CodecCtx) SetFlag(flag int) *CodecCtx + func (cc *CodecCtx) SetFrameRate(r AVR) *CodecCtx + func (cc *CodecCtx) SetGlobalQuality(val int) + func (cc *CodecCtx) SetGopSize(val int) *CodecCtx + func (cc *CodecCtx) SetHasBframes(val int) *CodecCtx + func (cc *CodecCtx) SetHeight(val int) *CodecCtx + func (cc *CodecCtx) SetMaxBFrames(val int) *CodecCtx + func (cc *CodecCtx) SetMbDecision(val int) *CodecCtx + func (cc *CodecCtx) SetOpt() + func (cc *CodecCtx) SetOptions(options []Option) + func (cc *CodecCtx) SetPixFmt(val int32) *CodecCtx + func (cc *CodecCtx) SetPktTimeBase(val AVR) + func (cc *CodecCtx) SetProfile(profile int) *CodecCtx + func (cc *CodecCtx) SetSampleFmt(val int32) *CodecCtx + func (cc *CodecCtx) SetSampleRate(val int) *CodecCtx + func (cc *CodecCtx) SetStrictCompliance(val int) *CodecCtx + func (cc *CodecCtx) SetThreadCount(val int) + func (cc *CodecCtx) SetTimeBase(val AVR) *CodecCtx + func (cc *CodecCtx) SetWidth(val int) *CodecCtx + func (cc *CodecCtx) SupportedSampleRate(val int) bool + func (cc *CodecCtx) TimeBase() AVRational + func (cc *CodecCtx) Type() int32 + func (cc *CodecCtx) Width() int + type CodecDescriptor struct + IsEncoder bool + func (this *CodecDescriptor) Id() int + func (this *CodecDescriptor) LongName() string + func (this *CodecDescriptor) Name() string + func (this *CodecDescriptor) Props() int + func (this *CodecDescriptor) Type() int + type CodecParameters struct + func NewCodecParameters() *CodecParameters + func (cp *CodecParameters) BitRate() int64 + func (cp *CodecParameters) CodecId() int + func (cp *CodecParameters) CodecType() int + func (cp *CodecParameters) Format() int32 + func (cp *CodecParameters) Free() + func (cp *CodecParameters) FromContext(cc *CodecCtx) error + func (cp *CodecParameters) Height() int + func (cp *CodecParameters) ToContext(cc *CodecCtx) error + func (cp *CodecParameters) Width() int + type Dict struct + func NewDict(pairs []Pair) *Dict + type Filter struct + func NewFilter(desc string, srcStreams []*Stream, ost *Stream, options []*Option) (*Filter, error) + func (f *Filter) AddFrame(frame *Frame, istIdx int, flag int) error + func (f *Filter) Close(istIdx int) error + func (f *Filter) Dump() + func (f *Filter) GetFrame() ([]*Frame, error) + func (f *Filter) Release() + func (f *Filter) RequestOldest() error + type FmtCtx struct + Filename string + func NewCtx(options ...[]Option) *FmtCtx + func NewInputCtx(filename string) (*FmtCtx, error) + func NewInputCtxWithFormatName(filename, format string) (*FmtCtx, error) + func NewOutputCtx(i interface{}, options ...[]Option) (*FmtCtx, error) + func NewOutputCtxWithFormatName(filename, format string) (*FmtCtx, error) + func (ctx *FmtCtx) AddStreamWithCodeCtx(codeCtx *CodecCtx) (*Stream, error) + func (ctx *FmtCtx) BitRate() int64 + func (ctx *FmtCtx) Close() + func (ctx *FmtCtx) CloseInput() + func (ctx *FmtCtx) CloseOutput() + func (ctx *FmtCtx) Dump() + func (ctx *FmtCtx) DumpAv() + func (ctx *FmtCtx) Duration() float64 + func (ctx *FmtCtx) FindStreamInfo() error + func (ctx *FmtCtx) Free() + func (ctx *FmtCtx) GetBestStream(typ int32) (*Stream, error) + func (ctx *FmtCtx) GetNewPackets() chan *Packet + func (ctx *FmtCtx) GetNextPacket() (*Packet, error) + func (ctx *FmtCtx) GetProbeSize() int64 + func (ctx *FmtCtx) GetSDPString() (sdp string) + func (ctx *FmtCtx) GetStream(idx int) (*Stream, error) + func (ctx *FmtCtx) IsGlobalHeader() bool + func (ctx *FmtCtx) IsNoFile() bool + func (ctx *FmtCtx) NewStream(c *Codec) *Stream + func (ctx *FmtCtx) OpenInput(filename string) error + func (ctx *FmtCtx) OpenInputWithOption(filename string, inputOptions *Option) error + func (ctx *FmtCtx) Position() int + func (ctx *FmtCtx) SeekFile(ist *Stream, minTs, maxTs int64, flag int) error + func (ctx *FmtCtx) SeekFrameAt(sec int64, streamIndex int) error + func (ctx *FmtCtx) SetDebug(val int) *FmtCtx + func (ctx *FmtCtx) SetFlag(flag int) *FmtCtx + func (ctx *FmtCtx) SetInputFormat(name string) error + func (ctx *FmtCtx) SetOformat(ofmt *OutputFmt) error + func (ctx *FmtCtx) SetOptions(options []*Option) + func (ctx *FmtCtx) SetPb(val *AVIOContext) *FmtCtx + func (ctx *FmtCtx) SetProbeSize(v int64) + func (ctx *FmtCtx) SetStartTime(val int) *FmtCtx + func (ctx *FmtCtx) StartTime() int + func (ctx *FmtCtx) StreamsCnt() int + func (ctx *FmtCtx) TsOffset(stime int) int + func (ctx *FmtCtx) WriteHeader() error + func (ctx *FmtCtx) WritePacket(p *Packet) error + func (ctx *FmtCtx) WritePacketNoBuffer(p *Packet) error + func (ctx *FmtCtx) WriteSDPFile(filename string) error + func (ctx *FmtCtx) WriteTrailer() + type Frame struct + func DefaultResampler(ost *Stream, frames []*Frame, flush bool) []*Frame + func DefaultRescaler(ctx *SwsCtx, frames []*Frame) ([]*Frame, error) + func NewAudioFrame(sampleFormat int32, channels, nb_samples int) (*Frame, error) + func NewFrame() *Frame + func (f *Frame) BestEffortTimestamp() int64 + func (f *Frame) Channels() int + func (f *Frame) ChromaLocation() string + func (f *Frame) CloneNewFrame() *Frame + func (f *Frame) CodedPictureNumber() int + func (f *Frame) DisplayPictureNumber() int + func (f *Frame) Dump() + func (f *Frame) Encode(enc *CodecCtx) (*Packet, error) + func (f *Frame) Format() int + func (f *Frame) Free() + func (f *Frame) GetChannelLayout() int + func (f *Frame) GetRawAudioData(plane int) []byte + func (f *Frame) GetRawFrame() *C.struct_AVFrame + func (f *Frame) Height() int + func (f *Frame) ImgAlloc() error + func (f *Frame) InterlacedFrame() int + func (f *Frame) IsNil() bool + func (f *Frame) KeyFrame() int + func (f *Frame) LineSize(idx int) int + func (f *Frame) NbSamples() int + func (f *Frame) PictType() byte + func (f *Frame) PktDts() int64 + func (f *Frame) PktPos() int64 + func (f *Frame) PktPts() int64 + func (f *Frame) PktSize() int + func (f *Frame) Pts() int64 + func (f *Frame) Quality() int + func (f *Frame) RepeatPict() int + func (f *Frame) SampleAspectRatio() AVRational + func (f *Frame) SetChannelLayout(val int) *Frame + func (f *Frame) SetChannels(val int) *Frame + func (f *Frame) SetData(idx int, lineSize int, data int) *Frame + func (f *Frame) SetFormat(val int32) *Frame + func (f *Frame) SetHeight(val int) *Frame + func (f *Frame) SetNbSamples(val int) *Frame + func (f *Frame) SetPictType(val uint32) + func (f *Frame) SetPktDts(val int64) + func (f *Frame) SetPktPts(val int64) + func (f *Frame) SetPts(val int64) + func (f *Frame) SetQuality(val int) *Frame + func (f *Frame) SetWidth(val int) *Frame + func (f *Frame) Time(timebase AVRational) int + func (f *Frame) TopFieldFirst() int + func (f *Frame) Unref() + func (f *Frame) Width() int + type Image struct + func NewImage(w, h int, pixFmt int32, align int) (*Image, error) + func (i *Image) Copy(frame *Frame) + func (i *Image) Free() + func (i *Image) Size() int + type Option struct + Key string + Val interface{} + func (this Option) Set(ctx interface{}) + type OutputFmt struct + Filename string + func FindOutputFmt(format string, filename string, mime string) *OutputFmt + func (f *OutputFmt) Free() + func (f *OutputFmt) Infomation() string + func (f *OutputFmt) LongName() string + func (f *OutputFmt) MimeType() string + func (f *OutputFmt) Name() string + type Packet struct + func Init() *Packet + func NewPacket() *Packet + func (p *Packet) Clone() *Packet + func (p *Packet) Data() []byte + func (p *Packet) Dts() int64 + func (p *Packet) Dump() + func (p *Packet) Duration() int64 + func (p *Packet) Flags() int + func (p *Packet) Free() + func (p *Packet) FreeData() *Packet + func (p *Packet) Pos() int64 + func (p *Packet) Pts() int64 + func (p *Packet) SetData(data []byte) *Packet + func (p *Packet) SetDts(val int64) *Packet + func (p *Packet) SetDuration(duration int64) *Packet + func (p *Packet) SetFlags(flags int) *Packet + func (p *Packet) SetPts(pts int64) *Packet + func (p *Packet) SetStreamIndex(val int) *Packet + func (p *Packet) Size() int + func (p *Packet) StreamIndex() int + func (p *Packet) Time(timebase AVRational) int + type Pair struct + Key string + Val string + type Sample struct + func (s *Sample) SampleRealloc(nbSamples, nbChannels int) error + type SampleFormat int + type Stream struct + AvFifo *AVAudioFifo + Pts int64 + SwrCtx *SwrCtx + SwsCtx *SwsCtx + func (s *Stream) CodecCtx() *CodecCtx + func (s *Stream) CodecPar() *CodecParameters + func (s *Stream) CopyCodecPar(cp *CodecParameters) error + func (s *Stream) DumpContexCodec(codec *CodecCtx) + func (s *Stream) Duration() int64 + func (s *Stream) Free() + func (s *Stream) GetAvgFrameRate() AVRational + func (s *Stream) GetCodecPar() *CodecParameters + func (s *Stream) GetRFrameRate() AVRational + func (s *Stream) GetStartTime() int64 + func (s *Stream) Id() int + func (s *Stream) Index() int + func (s *Stream) IsAudio() bool + func (s *Stream) IsCodecCtxSet() bool + func (s *Stream) IsVideo() bool + func (s *Stream) NbFrames() int + func (s *Stream) SetAvgFrameRate(val AVR) + func (s *Stream) SetCodecCtx(cc *CodecCtx) + func (s *Stream) SetCodecFlags() + func (s *Stream) SetCodecPar(cp *CodecParameters) error + func (s *Stream) SetRFrameRate(val AVR) + func (s *Stream) SetTimeBase(val AVR) *Stream + func (s *Stream) TimeBase() AVRational + func (s *Stream) Type() int32 + type SwrCtx struct + func NewSwrCtx(options []*Option, channels int, format int32) (*SwrCtx, error) + func (ctx *SwrCtx) Convert(input *Frame) (*Frame, error) + func (ctx *SwrCtx) Flush(nbSamples int) (*Frame, error) + func (ctx *SwrCtx) Free() + type SwsCtx struct + func NewSwsCtx(srcW, srcH int, srcPixFmt int32, dstW, dstH int, dstPixFmt int32, method int) (*SwsCtx, error) + func (ctx *SwsCtx) Free() + func (ctx *SwsCtx) Scale(src *Frame, dst *Frame)