SYMBOL INDEX (1164 symbols across 58 files) FILE: av/av.go type SampleFormat (line 11) | type SampleFormat method BytesPerSample (line 27) | func (self SampleFormat) BytesPerSample() int { method String (line 42) | func (self SampleFormat) String() string { method IsPlanar (line 70) | func (self SampleFormat) IsPlanar() bool { constant U8 (line 14) | U8 = SampleFormat(iota + 1) constant S16 (line 15) | S16 constant S32 (line 16) | S32 constant FLT (line 17) | FLT constant DBL (line 18) | DBL constant U8P (line 19) | U8P constant S16P (line 20) | S16P constant S32P (line 21) | S32P constant FLTP (line 22) | FLTP constant DBLP (line 23) | DBLP constant U32 (line 24) | U32 type ChannelLayout (line 80) | type ChannelLayout method String (line 82) | func (self ChannelLayout) String() string { method Count (line 107) | func (self ChannelLayout) Count() (n int) { constant CH_FRONT_CENTER (line 87) | CH_FRONT_CENTER = ChannelLayout(1 << iota) constant CH_FRONT_LEFT (line 88) | CH_FRONT_LEFT constant CH_FRONT_RIGHT (line 89) | CH_FRONT_RIGHT constant CH_BACK_CENTER (line 90) | CH_BACK_CENTER constant CH_BACK_LEFT (line 91) | CH_BACK_LEFT constant CH_BACK_RIGHT (line 92) | CH_BACK_RIGHT constant CH_SIDE_LEFT (line 93) | CH_SIDE_LEFT constant CH_SIDE_RIGHT (line 94) | CH_SIDE_RIGHT constant CH_LOW_FREQ (line 95) | CH_LOW_FREQ constant CH_NR (line 96) | CH_NR constant CH_MONO (line 98) | CH_MONO = ChannelLayout(CH_FRONT_CENTER) constant CH_STEREO (line 99) | CH_STEREO = ChannelLayout(CH_FRONT_LEFT | CH_FRONT_RIGHT) constant CH_2_1 (line 100) | CH_2_1 = ChannelLayout(CH_STEREO | CH_BACK_CENTER) constant CH_2POINT1 (line 101) | CH_2POINT1 = ChannelLayout(CH_STEREO | CH_LOW_FREQ) constant CH_SURROUND (line 102) | CH_SURROUND = ChannelLayout(CH_STEREO | CH_FRONT_CENTER) constant CH_3POINT1 (line 103) | CH_3POINT1 = ChannelLayout(CH_SURROUND | CH_LOW_FREQ) type CodecType (line 116) | type CodecType method String (line 130) | func (self CodecType) String() string { method IsAudio (line 148) | func (self CodecType) IsAudio() bool { method IsVideo (line 152) | func (self CodecType) IsVideo() bool { constant codecTypeAudioBit (line 127) | codecTypeAudioBit = 0x1 constant codecTypeOtherBits (line 128) | codecTypeOtherBits = 1 function MakeAudioCodecType (line 157) | func MakeAudioCodecType(base uint32) (c CodecType) { function MakeVideoCodecType (line 163) | func MakeVideoCodecType(base uint32) (c CodecType) { constant avCodecTypeMagic (line 168) | avCodecTypeMagic = 233333 type CodecData (line 176) | type CodecData interface type VideoCodecData (line 180) | type VideoCodecData interface type AudioCodecData (line 186) | type AudioCodecData interface type PacketWriter (line 194) | type PacketWriter interface type PacketReader (line 198) | type PacketReader interface type Muxer (line 205) | type Muxer interface type MuxCloser (line 212) | type MuxCloser interface type Demuxer (line 218) | type Demuxer interface type DemuxCloser (line 224) | type DemuxCloser interface type Packet (line 230) | type Packet struct type AudioFrame (line 239) | type AudioFrame struct method Duration (line 247) | func (self AudioFrame) Duration() time.Duration { method HasSameFormat (line 252) | func (self AudioFrame) HasSameFormat(other AudioFrame) bool { method Slice (line 266) | func (self AudioFrame) Slice(start int, end int) (out AudioFrame) { method Concat (line 281) | func (self AudioFrame) Concat(in AudioFrame) (out AudioFrame) { type AudioEncoder (line 293) | type AudioEncoder interface type AudioDecoder (line 307) | type AudioDecoder interface type AudioResampler (line 313) | type AudioResampler interface FILE: av/avconv/avconv.go type Option (line 15) | type Option struct type Options (line 20) | type Options struct type Demuxer (line 24) | type Demuxer struct method Close (line 31) | func (self *Demuxer) Close() (err error) { method Streams (line 38) | func (self *Demuxer) Streams() (streams []av.CodecData, err error) { method ReadPacket (line 46) | func (self *Demuxer) ReadPacket() (pkt av.Packet, err error) { method prepare (line 53) | func (self *Demuxer) prepare() (err error) { function ConvertCmdline (line 121) | func ConvertCmdline(args []string) (err error) { FILE: av/avutil/avutil.go type HandlerDemuxer (line 14) | type HandlerDemuxer struct method Close (line 19) | func (self *HandlerDemuxer) Close() error { type HandlerMuxer (line 23) | type HandlerMuxer struct method WriteHeader (line 29) | func (self *HandlerMuxer) WriteHeader(streams []av.CodecData) (err err... method WriteTrailer (line 39) | func (self *HandlerMuxer) WriteTrailer() (err error) { method Close (line 49) | func (self *HandlerMuxer) Close() (err error) { type RegisterHandler (line 56) | type RegisterHandler struct type Handlers (line 71) | type Handlers struct method Add (line 75) | func (self *Handlers) Add(fn func(*RegisterHandler)) { method openUrl (line 81) | func (self *Handlers) openUrl(u *url.URL, uri string) (r io.ReadCloser... method createUrl (line 98) | func (self *Handlers) createUrl(u *url.URL, uri string) (w io.WriteClo... method NewAudioEncoder (line 103) | func (self *Handlers) NewAudioEncoder(typ av.CodecType) (enc av.AudioE... method NewAudioDecoder (line 115) | func (self *Handlers) NewAudioDecoder(codec av.AudioCodecData) (dec av... method Open (line 127) | func (self *Handlers) Open(uri string) (demuxer av.DemuxCloser, err er... method Create (line 210) | func (self *Handlers) Create(uri string) (muxer av.MuxCloser, err erro... method FindCreate (line 215) | func (self *Handlers) FindCreate(uri string) (handler RegisterHandler,... function Open (line 270) | func Open(url string) (demuxer av.DemuxCloser, err error) { function Create (line 274) | func Create(url string) (muxer av.MuxCloser, err error) { function CopyPackets (line 278) | func CopyPackets(dst av.PacketWriter, src av.PacketReader) (err error) { function CopyFile (line 294) | func CopyFile(dst av.Muxer, src av.Demuxer) (err error) { FILE: av/pktque/buf.go type Buf (line 7) | type Buf struct method Pop (line 20) | func (self *Buf) Pop() av.Packet { method grow (line 35) | func (self *Buf) grow() { method Push (line 43) | func (self *Buf) Push(pkt av.Packet) { method Get (line 53) | func (self *Buf) Get(pos BufPos) av.Packet { method IsValidPos (line 57) | func (self *Buf) IsValidPos(pos BufPos) bool { function NewBuf (line 14) | func NewBuf() *Buf { type BufPos (line 61) | type BufPos method LT (line 63) | func (self BufPos) LT(pos BufPos) bool { method GE (line 67) | func (self BufPos) GE(pos BufPos) bool { method GT (line 71) | func (self BufPos) GT(pos BufPos) bool { FILE: av/pktque/filters.go type Filter (line 10) | type Filter interface type Filters (line 16) | type Filters method ModifyPacket (line 18) | func (self Filters) ModifyPacket(pkt *av.Packet, streams []av.CodecDat... type FilterDemuxer (line 31) | type FilterDemuxer struct method ReadPacket (line 39) | func (self FilterDemuxer) ReadPacket() (pkt av.Packet, err error) { type WaitKeyFrame (line 70) | type WaitKeyFrame struct method ModifyPacket (line 74) | func (self *WaitKeyFrame) ModifyPacket(pkt *av.Packet, streams []av.Co... type FixTime (line 83) | type FixTime struct method ModifyPacket (line 91) | func (self *FixTime) ModifyPacket(pkt *av.Packet, streams []av.CodecDa... type AVSync (line 115) | type AVSync struct method ModifyPacket (line 120) | func (self *AVSync) ModifyPacket(pkt *av.Packet, streams []av.CodecDat... method check (line 144) | func (self *AVSync) check(i int) (start time.Duration, end time.Durati... type Walltime (line 174) | type Walltime struct method ModifyPacket (line 178) | func (self *Walltime) ModifyPacket(pkt *av.Packet, streams []av.CodecD... FILE: av/pktque/timeline.go type tlSeg (line 17) | type tlSeg struct type Timeline (line 21) | type Timeline struct method Push (line 26) | func (self *Timeline) Push(tm time.Duration, dur time.Duration) { method Pop (line 37) | func (self *Timeline) Pop(dur time.Duration) (tm time.Duration) { FILE: av/pubsub/queue.go type Queue (line 23) | type Queue struct method SetMaxGopCount (line 44) | func (self *Queue) SetMaxGopCount(n int) { method WriteHeader (line 51) | func (self *Queue) WriteHeader(streams []av.CodecData) error { method WriteTrailer (line 67) | func (self *Queue) WriteTrailer() error { method Close (line 72) | func (self *Queue) Close() (err error) { method WritePacket (line 83) | func (self *Queue) WritePacket(pkt av.Packet) (err error) { method newCursor (line 115) | func (self *Queue) newCursor() *QueueCursor { method Latest (line 122) | func (self *Queue) Latest() *QueueCursor { method Oldest (line 131) | func (self *Queue) Oldest() *QueueCursor { method DelayedTime (line 140) | func (self *Queue) DelayedTime(dur time.Duration) *QueueCursor { method DelayedGopCount (line 159) | func (self *Queue) DelayedGopCount(n int) *QueueCursor { function NewQueue (line 34) | func NewQueue() *Queue { type QueueCursor (line 108) | type QueueCursor struct method Streams (line 176) | func (self *QueueCursor) Streams() (streams []av.CodecData, err error) { method ReadPacket (line 191) | func (self *QueueCursor) ReadPacket() (pkt av.Packet, err error) { FILE: av/transcode/transcode.go type tStream (line 14) | type tStream struct method audioDecodeAndEncode (line 67) | func (self *tStream) audioDecodeAndEncode(inpkt av.Packet) (outpkts []... type Options (line 22) | type Options struct type Transcoder (line 29) | type Transcoder struct method Do (line 114) | func (self *Transcoder) Do(pkt av.Packet) (out []av.Packet, err error) { method Streams (line 127) | func (self *Transcoder) Streams() (streams []av.CodecData, err error) { method Close (line 135) | func (self *Transcoder) Close() (err error) { function NewTranscoder (line 33) | func NewTranscoder(streams []av.CodecData, options Options) (_self *Tran... type Muxer (line 152) | type Muxer struct method WriteHeader (line 158) | func (self *Muxer) WriteHeader(streams []av.CodecData) (err error) { method WritePacket (line 172) | func (self *Muxer) WritePacket(pkt av.Packet) (err error) { method Close (line 185) | func (self *Muxer) Close() (err error) { type Demuxer (line 194) | type Demuxer struct method prepare (line 201) | func (self *Demuxer) prepare() (err error) { method ReadPacket (line 214) | func (self *Demuxer) ReadPacket() (pkt av.Packet, err error) { method Streams (line 235) | func (self *Demuxer) Streams() (streams []av.CodecData, err error) { method Close (line 242) | func (self *Demuxer) Close() (err error) { FILE: cgo/ffmpeg/audio.go constant debug (line 24) | debug = false type Resampler (line 26) | type Resampler struct method Resample (line 33) | func (self *Resampler) Resample(in av.AudioFrame) (out av.AudioFrame, ... method Close (line 153) | func (self *Resampler) Close() { type AudioEncoder (line 157) | type AudioEncoder struct method SetSampleFormat (line 221) | func (self *AudioEncoder) SetSampleFormat(fmt av.SampleFormat) (err er... method SetSampleRate (line 226) | func (self *AudioEncoder) SetSampleRate(rate int) (err error) { method SetChannelLayout (line 231) | func (self *AudioEncoder) SetChannelLayout(ch av.ChannelLayout) (err e... method SetBitrate (line 236) | func (self *AudioEncoder) SetBitrate(bitrate int) (err error) { method SetOption (line 241) | func (self *AudioEncoder) SetOption(key string, val interface{}) (err ... method GetOption (line 258) | func (self *AudioEncoder) GetOption(key string, val interface{}) (err ... method Setup (line 277) | func (self *AudioEncoder) Setup() (err error) { method prepare (line 332) | func (self *AudioEncoder) prepare() (err error) { method CodecData (line 344) | func (self *AudioEncoder) CodecData() (codec av.AudioCodecData, err er... method encodeOne (line 352) | func (self *AudioEncoder) encodeOne(frame av.AudioFrame) (gotpkt bool,... method resample (line 390) | func (self *AudioEncoder) resample(in av.AudioFrame) (out av.AudioFram... method Encode (line 404) | func (self *AudioEncoder) Encode(frame av.AudioFrame) (pkts [][]byte, ... method Close (line 442) | func (self *AudioEncoder) Close() { function sampleFormatAV2FF (line 169) | func sampleFormatAV2FF(sampleFormat av.SampleFormat) (ffsamplefmt int32) { function sampleFormatFF2AV (line 195) | func sampleFormatFF2AV(ffsamplefmt int32) (sampleFormat av.SampleFormat) { function audioFrameAssignToAVParams (line 450) | func audioFrameAssignToAVParams(f *C.AVFrame, frame *av.AudioFrame) { function audioFrameAssignToAVData (line 456) | func audioFrameAssignToAVData(f *C.AVFrame, frame *av.AudioFrame) { function audioFrameAssignToAV (line 464) | func audioFrameAssignToAV(f *C.AVFrame, frame *av.AudioFrame) { function audioFrameAssignToFFParams (line 469) | func audioFrameAssignToFFParams(frame av.AudioFrame, f *C.AVFrame) { function audioFrameAssignToFFData (line 476) | func audioFrameAssignToFFData(frame av.AudioFrame, f *C.AVFrame) { function audioFrameAssignToFF (line 484) | func audioFrameAssignToFF(frame av.AudioFrame, f *C.AVFrame) { function channelLayoutFF2AV (line 489) | func channelLayoutFF2AV(layout C.uint64_t) (channelLayout av.ChannelLayo... function channelLayoutAV2FF (line 520) | func channelLayoutAV2FF(channelLayout av.ChannelLayout) (layout C.uint64... type AudioDecoder (line 551) | type AudioDecoder struct method Setup (line 559) | func (self *AudioDecoder) Setup() (err error) { method Decode (line 588) | func (self *AudioDecoder) Decode(pkt []byte) (gotframe bool, frame av.... method Close (line 611) | func (self *AudioDecoder) Close() { function NewAudioEncoderByCodecType (line 615) | func NewAudioEncoderByCodecType(typ av.CodecType) (enc *AudioEncoder, er... function NewAudioEncoderByName (line 641) | func NewAudioEncoderByName(name string) (enc *AudioEncoder, err error) { function NewAudioDecoder (line 657) | func NewAudioDecoder(codec av.AudioCodecData) (dec *AudioDecoder, err er... type audioCodecData (line 711) | type audioCodecData struct method Type (line 719) | func (self audioCodecData) Type() av.CodecType { method SampleRate (line 723) | func (self audioCodecData) SampleRate() int { method SampleFormat (line 727) | func (self audioCodecData) SampleFormat() av.SampleFormat { method ChannelLayout (line 731) | func (self audioCodecData) ChannelLayout() av.ChannelLayout { method PacketDuration (line 735) | func (self audioCodecData) PacketDuration(data []byte) (dur time.Durat... function AudioCodecHandler (line 741) | func AudioCodecHandler(h *avutil.RegisterHandler) { FILE: cgo/ffmpeg/ffmpeg.go constant QUIET (line 17) | QUIET = int(C.AV_LOG_QUIET) constant PANIC (line 18) | PANIC = int(C.AV_LOG_PANIC) constant FATAL (line 19) | FATAL = int(C.AV_LOG_FATAL) constant ERROR (line 20) | ERROR = int(C.AV_LOG_ERROR) constant WARNING (line 21) | WARNING = int(C.AV_LOG_WARNING) constant INFO (line 22) | INFO = int(C.AV_LOG_INFO) constant VERBOSE (line 23) | VERBOSE = int(C.AV_LOG_VERBOSE) constant DEBUG (line 24) | DEBUG = int(C.AV_LOG_DEBUG) constant TRACE (line 25) | TRACE = int(C.AV_LOG_TRACE) function HasEncoder (line 28) | func HasEncoder(name string) bool { function HasDecoder (line 32) | func HasDecoder(name string) bool { function SetLogLevel (line 39) | func SetLogLevel(level int) { function init (line 43) | func init() { type ffctx (line 47) | type ffctx struct function newFFCtxByCodec (line 51) | func newFFCtxByCodec(codec *C.AVCodec) (ff *ffctx, err error) { function freeFFCtx (line 60) | func freeFFCtx(self *ffctx) { FILE: cgo/ffmpeg/ffmpeg.h type FFCtx (line 10) | typedef struct { function avcodec_profile_name_to_int (line 18) | static inline int avcodec_profile_name_to_int(AVCodec *codec, const char... FILE: cgo/ffmpeg/video.go type VideoDecoder (line 21) | type VideoDecoder struct method Setup (line 26) | func (self *VideoDecoder) Setup() (err error) { method Decode (line 61) | func (self *VideoDecoder) Decode(pkt []byte) (img *VideoFrame, err err... function fromCPtr (line 39) | func fromCPtr(buf unsafe.Pointer, size int) (ret []uint8) { type VideoFrame (line 47) | type VideoFrame struct method Free (line 52) | func (self *VideoFrame) Free() { function freeVideoFrame (line 57) | func freeVideoFrame(self *VideoFrame) { function NewVideoDecoder (line 93) | func NewVideoDecoder(stream av.CodecData) (dec *VideoDecoder, err error) { FILE: codec/aacparser/parser.go constant AOT_AAC_MAIN (line 14) | AOT_AAC_MAIN = 1 + iota constant AOT_AAC_LC (line 15) | AOT_AAC_LC constant AOT_AAC_SSR (line 16) | AOT_AAC_SSR constant AOT_AAC_LTP (line 17) | AOT_AAC_LTP constant AOT_SBR (line 18) | AOT_SBR constant AOT_AAC_SCALABLE (line 19) | AOT_AAC_SCALABLE constant AOT_TWINVQ (line 20) | AOT_TWINVQ constant AOT_CELP (line 21) | AOT_CELP constant AOT_HVXC (line 22) | AOT_HVXC constant AOT_TTSI (line 23) | AOT_TTSI = 12 + iota constant AOT_MAINSYNTH (line 24) | AOT_MAINSYNTH constant AOT_WAVESYNTH (line 25) | AOT_WAVESYNTH constant AOT_MIDI (line 26) | AOT_MIDI constant AOT_SAFX (line 27) | AOT_SAFX constant AOT_ER_AAC_LC (line 28) | AOT_ER_AAC_LC constant AOT_ER_AAC_LTP (line 29) | AOT_ER_AAC_LTP = 19 + iota constant AOT_ER_AAC_SCALABLE (line 30) | AOT_ER_AAC_SCALABLE constant AOT_ER_TWINVQ (line 31) | AOT_ER_TWINVQ constant AOT_ER_BSAC (line 32) | AOT_ER_BSAC constant AOT_ER_AAC_LD (line 33) | AOT_ER_AAC_LD constant AOT_ER_CELP (line 34) | AOT_ER_CELP constant AOT_ER_HVXC (line 35) | AOT_ER_HVXC constant AOT_ER_HILN (line 36) | AOT_ER_HILN constant AOT_ER_PARAM (line 37) | AOT_ER_PARAM constant AOT_SSC (line 38) | AOT_SSC constant AOT_PS (line 39) | AOT_PS constant AOT_SURROUND (line 40) | AOT_SURROUND constant AOT_ESCAPE (line 41) | AOT_ESCAPE constant AOT_L1 (line 42) | AOT_L1 constant AOT_L2 (line 43) | AOT_L2 constant AOT_L3 (line 44) | AOT_L3 constant AOT_DST (line 45) | AOT_DST constant AOT_ALS (line 46) | AOT_ALS constant AOT_SLS (line 47) | AOT_SLS constant AOT_SLS_NON_CORE (line 48) | AOT_SLS_NON_CORE constant AOT_ER_AAC_ELD (line 49) | AOT_ER_AAC_ELD constant AOT_SMR_SIMPLE (line 50) | AOT_SMR_SIMPLE constant AOT_SMR_MAIN (line 51) | AOT_SMR_MAIN constant AOT_USAC_NOSBR (line 52) | AOT_USAC_NOSBR constant AOT_SAOC (line 53) | AOT_SAOC constant AOT_LD_SURROUND (line 54) | AOT_LD_SURROUND constant AOT_USAC (line 55) | AOT_USAC type MPEG4AudioConfig (line 58) | type MPEG4AudioConfig struct method IsValid (line 202) | func (self MPEG4AudioConfig) IsValid() bool { method Complete (line 206) | func (self *MPEG4AudioConfig) Complete() { function ParseADTSHeader (line 94) | func ParseADTSHeader(frame []byte) (config MPEG4AudioConfig, hdrlen int,... constant ADTSHeaderLength (line 120) | ADTSHeaderLength = 7 function FillADTSHeader (line 122) | func FillADTSHeader(header []byte, config MPEG4AudioConfig, samples int,... function readObjectType (line 144) | func readObjectType(r *bits.Reader) (objectType uint, err error) { function writeObjectType (line 158) | func writeObjectType(w *bits.Writer, objectType uint) (err error) { function readSampleRateIndex (line 174) | func readSampleRateIndex(r *bits.Reader) (index uint, err error) { function writeSampleRateIndex (line 186) | func writeSampleRateIndex(w *bits.Writer, index uint) (err error) { function ParseMPEG4AudioConfigBytes (line 216) | func ParseMPEG4AudioConfigBytes(data []byte) (config MPEG4AudioConfig, e... function WriteMPEG4AudioConfig (line 233) | func WriteMPEG4AudioConfig(w io.Writer, config MPEG4AudioConfig) (err er... type CodecData (line 267) | type CodecData struct method Type (line 272) | func (self CodecData) Type() av.CodecType { method MPEG4AudioConfigBytes (line 276) | func (self CodecData) MPEG4AudioConfigBytes() []byte { method ChannelLayout (line 280) | func (self CodecData) ChannelLayout() av.ChannelLayout { method SampleRate (line 284) | func (self CodecData) SampleRate() int { method SampleFormat (line 288) | func (self CodecData) SampleFormat() av.SampleFormat { method PacketDuration (line 292) | func (self CodecData) PacketDuration(data []byte) (dur time.Duration, ... function NewCodecDataFromMPEG4AudioConfig (line 297) | func NewCodecDataFromMPEG4AudioConfig(config MPEG4AudioConfig) (self Cod... function NewCodecDataFromMPEG4AudioConfigBytes (line 303) | func NewCodecDataFromMPEG4AudioConfigBytes(config []byte) (self CodecDat... FILE: codec/codec.go type PCMUCodecData (line 9) | type PCMUCodecData struct method Type (line 13) | func (self PCMUCodecData) Type() av.CodecType { method SampleRate (line 17) | func (self PCMUCodecData) SampleRate() int { method ChannelLayout (line 21) | func (self PCMUCodecData) ChannelLayout() av.ChannelLayout { method SampleFormat (line 25) | func (self PCMUCodecData) SampleFormat() av.SampleFormat { method PacketDuration (line 29) | func (self PCMUCodecData) PacketDuration(data []byte) (time.Duration, ... function NewPCMMulawCodecData (line 33) | func NewPCMMulawCodecData() av.AudioCodecData { function NewPCMAlawCodecData (line 39) | func NewPCMAlawCodecData() av.AudioCodecData { type SpeexCodecData (line 45) | type SpeexCodecData struct method PacketDuration (line 49) | func (self SpeexCodecData) PacketDuration(data []byte) (time.Duration,... function NewSpeexCodecData (line 56) | func NewSpeexCodecData(sr int, cl av.ChannelLayout) SpeexCodecData { FILE: codec/fake/fake.go type CodecData (line 7) | type CodecData struct method Type (line 14) | func (self CodecData) Type() av.CodecType { method SampleFormat (line 18) | func (self CodecData) SampleFormat() av.SampleFormat { method ChannelLayout (line 22) | func (self CodecData) ChannelLayout() av.ChannelLayout { method SampleRate (line 26) | func (self CodecData) SampleRate() int { FILE: codec/h264parser/parser.go constant NALU_SEI (line 13) | NALU_SEI = 6 constant NALU_PPS (line 14) | NALU_PPS = 7 constant NALU_SPS (line 15) | NALU_SPS = 8 constant NALU_AUD (line 16) | NALU_AUD = 9 function IsDataNALU (line 19) | func IsDataNALU(b []byte) bool { function CheckNALUsType (line 205) | func CheckNALUsType(b []byte) (typ int) { constant NALU_RAW (line 211) | NALU_RAW = iota constant NALU_AVCC (line 212) | NALU_AVCC constant NALU_ANNEXB (line 213) | NALU_ANNEXB function SplitNALUs (line 216) | func SplitNALUs(b []byte) (nalus [][]byte, typ int) { type SPSInfo (line 293) | type SPSInfo struct function ParseSPS (line 309) | func ParseSPS(data []byte) (self SPSInfo, err error) { type CodecData (line 501) | type CodecData struct method Type (line 507) | func (self CodecData) Type() av.CodecType { method AVCDecoderConfRecordBytes (line 511) | func (self CodecData) AVCDecoderConfRecordBytes() []byte { method SPS (line 515) | func (self CodecData) SPS() []byte { method PPS (line 519) | func (self CodecData) PPS() []byte { method Width (line 523) | func (self CodecData) Width() int { method Height (line 527) | func (self CodecData) Height() int { function NewCodecDataFromAVCDecoderConfRecord (line 531) | func NewCodecDataFromAVCDecoderConfRecord(record []byte) (self CodecData... function NewCodecDataFromSPSAndPPS (line 551) | func NewCodecDataFromSPSAndPPS(sps, pps []byte) (self CodecData, err err... type AVCDecoderConfRecord (line 572) | type AVCDecoderConfRecord struct method Unmarshal (line 583) | func (self *AVCDecoderConfRecord) Unmarshal(b []byte) (n int, err erro... method Len (line 638) | func (self AVCDecoderConfRecord) Len() (n int) { method Marshal (line 649) | func (self AVCDecoderConfRecord) Marshal(b []byte) (n int) { type SliceType (line 678) | type SliceType method String (line 680) | func (self SliceType) String() string { constant SLICE_P (line 693) | SLICE_P = iota+1 constant SLICE_B (line 694) | SLICE_B constant SLICE_I (line 695) | SLICE_I function ParseSliceHeaderFromNALU (line 698) | func ParseSliceHeaderFromNALU(packet []byte) (sliceType SliceType, err e... FILE: codec/h264parser/parser_test.go function TestParser (line 9) | func TestParser(t *testing.T) { FILE: examples/audio_decode/main.go function init (line 13) | func init() { function main (line 17) | func main() { FILE: examples/http_flv_and_rtmp_server/main.go function init (line 14) | func init() { type writeFlusher (line 18) | type writeFlusher struct method Flush (line 23) | func (self writeFlusher) Flush() error { function main (line 28) | func main() { FILE: examples/open_probe_file/main.go function init (line 10) | func init() { function main (line 14) | func main() { FILE: examples/rtmp_publish/main.go function init (line 10) | func init() { function main (line 16) | func main() { FILE: examples/rtmp_server_channels/main.go function init (line 15) | func init() { type FrameDropper (line 19) | type FrameDropper struct method ModifyPacket (line 30) | func (self *FrameDropper) ModifyPacket(pkt *av.Packet, streams []av.Co... function main (line 75) | func main() { FILE: examples/rtmp_server_proxy/main.go function init (line 11) | func init() { function main (line 15) | func main() { FILE: examples/rtmp_server_speex_to_aac/main.go function init (line 18) | func init() { function main (line 22) | func main() { FILE: examples/transcode/main.go function init (line 13) | func init() { function main (line 17) | func main() { FILE: format/aac/aac.go type Muxer (line 14) | type Muxer struct method WriteHeader (line 27) | func (self *Muxer) WriteHeader(streams []av.CodecData) (err error) { method WritePacket (line 39) | func (self *Muxer) WritePacket(pkt av.Packet) (err error) { method WriteTrailer (line 50) | func (self *Muxer) WriteTrailer() (err error) { function NewMuxer (line 20) | func NewMuxer(w io.Writer) *Muxer { type Demuxer (line 54) | type Demuxer struct method Streams (line 67) | func (self *Demuxer) Streams() (streams []av.CodecData, err error) { method ReadPacket (line 85) | func (self *Demuxer) ReadPacket() (pkt av.Packet, err error) { function NewDemuxer (line 61) | func NewDemuxer(r io.Reader) *Demuxer { function Handler (line 107) | func Handler(h *avutil.RegisterHandler) { FILE: format/flv/flv.go function NewMetadataByStreams (line 19) | func NewMetadataByStreams(streams []av.CodecData) (metadata flvio.AMFMap... type Prober (line 62) | type Prober struct method CacheTag (line 71) | func (self *Prober) CacheTag(_tag flvio.Tag, timestamp int32) { method PushTag (line 76) | func (self *Prober) PushTag(tag flvio.Tag, timestamp int32) (err error) { method Probed (line 152) | func (self *Prober) Probed() (ok bool) { method TagToPacket (line 165) | func (self *Prober) TagToPacket(tag flvio.Tag, timestamp int32) (pkt a... method Empty (line 201) | func (self *Prober) Empty() bool { method PopPacket (line 205) | func (self *Prober) PopPacket() av.Packet { function CodecDataToTag (line 211) | func CodecDataToTag(stream av.CodecData) (_tag flvio.Tag, ok bool, err e... function PacketToTag (line 259) | func PacketToTag(pkt av.Packet, stream av.CodecData) (tag flvio.Tag, tim... type Muxer (line 316) | type Muxer struct method WriteHeader (line 340) | func (self *Muxer) WriteHeader(streams []av.CodecData) (err error) { method WritePacket (line 372) | func (self *Muxer) WritePacket(pkt av.Packet) (err error) { method WriteTrailer (line 382) | func (self *Muxer) WriteTrailer() (err error) { type writeFlusher (line 322) | type writeFlusher interface function NewMuxerWriteFlusher (line 327) | func NewMuxerWriteFlusher(w writeFlusher) *Muxer { function NewMuxer (line 334) | func NewMuxer(w io.Writer) *Muxer { type Demuxer (line 389) | type Demuxer struct method prepare (line 404) | func (self *Demuxer) prepare() (err error) { method Streams (line 444) | func (self *Demuxer) Streams() (streams []av.CodecData, err error) { method ReadPacket (line 452) | func (self *Demuxer) ReadPacket() (pkt av.Packet, err error) { function NewDemuxer (line 396) | func NewDemuxer(r io.Reader) *Demuxer { function Handler (line 478) | func Handler(h *avutil.RegisterHandler) { FILE: format/flv/flvio/amf0.go type AMF0ParseError (line 11) | type AMF0ParseError struct method Error (line 17) | func (self *AMF0ParseError) Error() string { function amf0ParseErr (line 25) | func amf0ParseErr(message string, offset int, err error) error { type AMFMap (line 34) | type AMFMap type AMFArray (line 35) | type AMFArray type AMFECMAArray (line 36) | type AMFECMAArray function parseBEFloat64 (line 38) | func parseBEFloat64(b []byte) float64 { function fillBEFloat64 (line 42) | func fillBEFloat64(b []byte, f float64) int { constant lenAMF0Number (line 47) | lenAMF0Number = 9 function fillAMF0Number (line 49) | func fillAMF0Number(b []byte, f float64) int { constant amf3undefinedmarker (line 56) | amf3undefinedmarker = iota constant amf3nullmarker (line 57) | amf3nullmarker constant amf3falsemarker (line 58) | amf3falsemarker constant amf3truemarker (line 59) | amf3truemarker constant amf3integermarker (line 60) | amf3integermarker constant amf3doublemarker (line 61) | amf3doublemarker constant amf3stringmarker (line 62) | amf3stringmarker constant amf3xmldocmarker (line 63) | amf3xmldocmarker constant amf3datemarker (line 64) | amf3datemarker constant amf3arraymarker (line 65) | amf3arraymarker constant amf3objectmarker (line 66) | amf3objectmarker constant amf3xmlmarker (line 67) | amf3xmlmarker constant amf3bytearraymarker (line 68) | amf3bytearraymarker constant amf3vectorintmarker (line 69) | amf3vectorintmarker constant amf3vectoruintmarker (line 70) | amf3vectoruintmarker constant amf3vectordoublemarker (line 71) | amf3vectordoublemarker constant amf3vectorobjectmarker (line 72) | amf3vectorobjectmarker constant amf3dictionarymarker (line 73) | amf3dictionarymarker constant numbermarker (line 77) | numbermarker = iota constant booleanmarker (line 78) | booleanmarker constant stringmarker (line 79) | stringmarker constant objectmarker (line 80) | objectmarker constant movieclipmarker (line 81) | movieclipmarker constant nullmarker (line 82) | nullmarker constant undefinedmarker (line 83) | undefinedmarker constant referencemarker (line 84) | referencemarker constant ecmaarraymarker (line 85) | ecmaarraymarker constant objectendmarker (line 86) | objectendmarker constant strictarraymarker (line 87) | strictarraymarker constant datemarker (line 88) | datemarker constant longstringmarker (line 89) | longstringmarker constant unsupportedmarker (line 90) | unsupportedmarker constant recordsetmarker (line 91) | recordsetmarker constant xmldocumentmarker (line 92) | xmldocumentmarker constant typedobjectmarker (line 93) | typedobjectmarker constant avmplusobjectmarker (line 94) | avmplusobjectmarker function LenAMF0Val (line 97) | func LenAMF0Val(_val interface{}) (n int) { function FillAMF0Val (line 170) | func FillAMF0Val(b []byte, _val interface{}) (n int) { function ParseAMF0Val (line 282) | func ParseAMF0Val(b []byte) (val interface{}, n int, err error) { function parseAMF0Val (line 286) | func parseAMF0Val(b []byte, offset int) (val interface{}, n int, err err... FILE: format/flv/flvio/flvio.go function TsToTime (line 11) | func TsToTime(ts int32) time.Duration { function TimeToTs (line 15) | func TimeToTs(tm time.Duration) int32 { constant MaxTagSubHeaderLength (line 19) | MaxTagSubHeaderLength = 16 constant TAG_AUDIO (line 22) | TAG_AUDIO = 8 constant TAG_VIDEO (line 23) | TAG_VIDEO = 9 constant TAG_SCRIPTDATA (line 24) | TAG_SCRIPTDATA = 18 constant SOUND_MP3 (line 28) | SOUND_MP3 = 2 constant SOUND_NELLYMOSER_16KHZ_MONO (line 29) | SOUND_NELLYMOSER_16KHZ_MONO = 4 constant SOUND_NELLYMOSER_8KHZ_MONO (line 30) | SOUND_NELLYMOSER_8KHZ_MONO = 5 constant SOUND_NELLYMOSER (line 31) | SOUND_NELLYMOSER = 6 constant SOUND_ALAW (line 32) | SOUND_ALAW = 7 constant SOUND_MULAW (line 33) | SOUND_MULAW = 8 constant SOUND_AAC (line 34) | SOUND_AAC = 10 constant SOUND_SPEEX (line 35) | SOUND_SPEEX = 11 constant SOUND_5_5Khz (line 37) | SOUND_5_5Khz = 0 constant SOUND_11Khz (line 38) | SOUND_11Khz = 1 constant SOUND_22Khz (line 39) | SOUND_22Khz = 2 constant SOUND_44Khz (line 40) | SOUND_44Khz = 3 constant SOUND_8BIT (line 42) | SOUND_8BIT = 0 constant SOUND_16BIT (line 43) | SOUND_16BIT = 1 constant SOUND_MONO (line 45) | SOUND_MONO = 0 constant SOUND_STEREO (line 46) | SOUND_STEREO = 1 constant AAC_SEQHDR (line 48) | AAC_SEQHDR = 0 constant AAC_RAW (line 49) | AAC_RAW = 1 constant AVC_SEQHDR (line 53) | AVC_SEQHDR = 0 constant AVC_NALU (line 54) | AVC_NALU = 1 constant AVC_EOS (line 55) | AVC_EOS = 2 constant FRAME_KEY (line 57) | FRAME_KEY = 1 constant FRAME_INTER (line 58) | FRAME_INTER = 2 constant VIDEO_H264 (line 60) | VIDEO_H264 = 7 type Tag (line 63) | type Tag struct method ChannelLayout (line 155) | func (self Tag) ChannelLayout() av.ChannelLayout { method audioParseHeader (line 163) | func (self *Tag) audioParseHeader(b []byte) (n int, err error) { method audioFillHeader (line 189) | func (self Tag) audioFillHeader(b []byte) (n int) { method videoParseHeader (line 207) | func (self *Tag) videoParseHeader(b []byte) (n int, err error) { method videoFillHeader (line 232) | func (self Tag) videoFillHeader(b []byte) (n int) { method FillHeader (line 243) | func (self Tag) FillHeader(b []byte) (n int) { method ParseHeader (line 255) | func (self *Tag) ParseHeader(b []byte) (n int, err error) { constant FILE_HAS_AUDIO (line 272) | FILE_HAS_AUDIO = 0x4 constant FILE_HAS_VIDEO (line 273) | FILE_HAS_VIDEO = 0x1 constant TagHeaderLength (line 276) | TagHeaderLength = 11 constant TagTrailerLength (line 277) | TagTrailerLength = 4 function ParseTagHeader (line 279) | func ParseTagHeader(b []byte) (tag Tag, ts int32, datalen int, err error) { function ReadTag (line 302) | func ReadTag(r io.Reader, b []byte) (tag Tag, ts int32, err error) { function FillTagHeader (line 328) | func FillTagHeader(b []byte, tagtype uint8, datalen int, ts int32) (n in... function FillTagTrailer (line 342) | func FillTagTrailer(b []byte, datalen int) (n int) { function WriteTag (line 348) | func WriteTag(w io.Writer, tag Tag, ts int32, b []byte) (err error) { constant FileHeaderLength (line 372) | FileHeaderLength = 9 function FillFileHeader (line 374) | func FillFileHeader(b []byte, flags uint8) (n int) { function ParseFileHeader (line 394) | func ParseFileHeader(b []byte) (flags uint8, skip int, err error) { FILE: format/format.go function RegisterAll (line 13) | func RegisterAll() { FILE: format/mp4/demuxer.go type Demuxer (line 15) | type Demuxer struct method Streams (line 27) | func (self *Demuxer) Streams() (streams []av.CodecData, err error) { method readat (line 37) | func (self *Demuxer) readat(pos int64, b []byte) (err error) { method probe (line 47) | func (self *Demuxer) probe() (err error) { method ReadPacket (line 300) | func (self *Demuxer) ReadPacket() (pkt av.Packet, err error) { method CurrentTime (line 329) | func (self *Demuxer) CurrentTime() (tm time.Duration) { method SeekToTime (line 337) | func (self *Demuxer) SeekToTime(tm time.Duration) (err error) { function NewDemuxer (line 21) | func NewDemuxer(r io.ReadSeeker) *Demuxer { method setSampleIndex (line 105) | func (self *Stream) setSampleIndex(index int) (err error) { method isSampleValid (line 202) | func (self *Stream) isSampleValid() bool { method incSampleIndex (line 230) | func (self *Stream) incSampleIndex() (duration int64) { method sampleCount (line 282) | func (self *Stream) sampleCount() int { method readPacket (line 359) | func (self *Stream) readPacket() (pkt av.Packet, err error) { method seekToTime (line 397) | func (self *Stream) seekToTime(tm time.Duration) (err error) { method timeToSampleIndex (line 408) | func (self *Stream) timeToSampleIndex(tm time.Duration) int { FILE: format/mp4/handler.go function Handler (line 11) | func Handler(h *avutil.RegisterHandler) { FILE: format/mp4/mp4io/atoms.go constant MOOF (line 6) | MOOF = Tag(0x6d6f6f66) constant HDLR (line 12) | HDLR = Tag(0x68646c72) constant AVC1 (line 18) | AVC1 = Tag(0x61766331) constant URL (line 24) | URL = Tag(0x75726c20) constant TREX (line 30) | TREX = Tag(0x74726578) constant ESDS (line 36) | ESDS = Tag(0x65736473) method Tag (line 38) | func (self ElemStreamDesc) Tag() Tag { constant MDHD (line 42) | MDHD = Tag(0x6d646864) constant STTS (line 48) | STTS = Tag(0x73747473) constant STSS (line 54) | STSS = Tag(0x73747373) constant MFHD (line 60) | MFHD = Tag(0x6d666864) constant MVHD (line 66) | MVHD = Tag(0x6d766864) constant MINF (line 72) | MINF = Tag(0x6d696e66) constant MOOV (line 78) | MOOV = Tag(0x6d6f6f76) constant MVEX (line 84) | MVEX = Tag(0x6d766578) constant STSD (line 90) | STSD = Tag(0x73747364) constant MP4A (line 96) | MP4A = Tag(0x6d703461) constant CTTS (line 102) | CTTS = Tag(0x63747473) constant STCO (line 108) | STCO = Tag(0x7374636f) constant TRUN (line 114) | TRUN = Tag(0x7472756e) constant TRAK (line 120) | TRAK = Tag(0x7472616b) constant MDIA (line 126) | MDIA = Tag(0x6d646961) constant STSC (line 132) | STSC = Tag(0x73747363) constant VMHD (line 138) | VMHD = Tag(0x766d6864) constant STBL (line 144) | STBL = Tag(0x7374626c) constant AVCC (line 150) | AVCC = Tag(0x61766343) constant TFDT (line 156) | TFDT = Tag(0x74666474) constant DINF (line 162) | DINF = Tag(0x64696e66) constant DREF (line 168) | DREF = Tag(0x64726566) constant TRAF (line 174) | TRAF = Tag(0x74726166) constant STSZ (line 180) | STSZ = Tag(0x7374737a) constant TFHD (line 186) | TFHD = Tag(0x74666864) constant TKHD (line 192) | TKHD = Tag(0x746b6864) constant SMHD (line 198) | SMHD = Tag(0x736d6864) constant MDAT (line 204) | MDAT = Tag(0x6d646174) type Movie (line 206) | type Movie struct method Tag (line 80) | func (self Movie) Tag() Tag { method Marshal (line 214) | func (self Movie) Marshal(b []byte) (n int) { method marshal (line 220) | func (self Movie) marshal(b []byte) (n int) { method Len (line 235) | func (self Movie) Len() (n int) { method Unmarshal (line 251) | func (self *Movie) Unmarshal(b []byte, offset int) (n int, err error) { method Children (line 303) | func (self Movie) Children() (r []Atom) { type MovieHeader (line 317) | type MovieHeader struct method Tag (line 68) | func (self MovieHeader) Tag() Tag { method Marshal (line 337) | func (self MovieHeader) Marshal(b []byte) (n int) { method marshal (line 343) | func (self MovieHeader) marshal(b []byte) (n int) { method Len (line 381) | func (self MovieHeader) Len() (n int) { method Unmarshal (line 402) | func (self *MovieHeader) Unmarshal(b []byte, offset int) (n int, err e... method Children (line 506) | func (self MovieHeader) Children() (r []Atom) { type Track (line 510) | type Track struct method Tag (line 122) | func (self Track) Tag() Tag { method Marshal (line 517) | func (self Track) Marshal(b []byte) (n int) { method marshal (line 523) | func (self Track) marshal(b []byte) (n int) { method Len (line 535) | func (self Track) Len() (n int) { method Unmarshal (line 548) | func (self *Track) Unmarshal(b []byte, offset int) (n int, err error) { method Children (line 591) | func (self Track) Children() (r []Atom) { type TrackHeader (line 602) | type TrackHeader struct method Tag (line 194) | func (self TrackHeader) Tag() Tag { method Marshal (line 618) | func (self TrackHeader) Marshal(b []byte) (n int) { method marshal (line 624) | func (self TrackHeader) marshal(b []byte) (n int) { method Len (line 656) | func (self TrackHeader) Len() (n int) { method Unmarshal (line 675) | func (self *TrackHeader) Unmarshal(b []byte, offset int) (n int, err e... method Children (line 757) | func (self TrackHeader) Children() (r []Atom) { type HandlerRefer (line 761) | type HandlerRefer struct method Tag (line 14) | func (self HandlerRefer) Tag() Tag { method Marshal (line 770) | func (self HandlerRefer) Marshal(b []byte) (n int) { method marshal (line 776) | func (self HandlerRefer) marshal(b []byte) (n int) { method Len (line 789) | func (self HandlerRefer) Len() (n int) { method Unmarshal (line 798) | func (self *HandlerRefer) Unmarshal(b []byte, offset int) (n int, err ... method Children (line 829) | func (self HandlerRefer) Children() (r []Atom) { type Media (line 833) | type Media struct method Tag (line 128) | func (self Media) Tag() Tag { method Marshal (line 841) | func (self Media) Marshal(b []byte) (n int) { method marshal (line 847) | func (self Media) marshal(b []byte) (n int) { method Len (line 862) | func (self Media) Len() (n int) { method Unmarshal (line 878) | func (self *Media) Unmarshal(b []byte, offset int) (n int, err error) { method Children (line 930) | func (self Media) Children() (r []Atom) { type MediaHeader (line 944) | type MediaHeader struct method Tag (line 44) | func (self MediaHeader) Tag() Tag { method Marshal (line 956) | func (self MediaHeader) Marshal(b []byte) (n int) { method marshal (line 962) | func (self MediaHeader) marshal(b []byte) (n int) { method Len (line 981) | func (self MediaHeader) Len() (n int) { method Unmarshal (line 993) | func (self *MediaHeader) Unmarshal(b []byte, offset int) (n int, err e... method Children (line 1046) | func (self MediaHeader) Children() (r []Atom) { type MediaInfo (line 1050) | type MediaInfo struct method Tag (line 74) | func (self MediaInfo) Tag() Tag { method Marshal (line 1059) | func (self MediaInfo) Marshal(b []byte) (n int) { method marshal (line 1065) | func (self MediaInfo) marshal(b []byte) (n int) { method Len (line 1083) | func (self MediaInfo) Len() (n int) { method Unmarshal (line 1102) | func (self *MediaInfo) Unmarshal(b []byte, offset int) (n int, err err... method Children (line 1163) | func (self MediaInfo) Children() (r []Atom) { type DataInfo (line 1180) | type DataInfo struct method Tag (line 164) | func (self DataInfo) Tag() Tag { method Marshal (line 1186) | func (self DataInfo) Marshal(b []byte) (n int) { method marshal (line 1192) | func (self DataInfo) marshal(b []byte) (n int) { method Len (line 1201) | func (self DataInfo) Len() (n int) { method Unmarshal (line 1211) | func (self *DataInfo) Unmarshal(b []byte, offset int) (n int, err erro... method Children (line 1245) | func (self DataInfo) Children() (r []Atom) { type DataRefer (line 1253) | type DataRefer struct method Tag (line 170) | func (self DataRefer) Tag() Tag { method Marshal (line 1260) | func (self DataRefer) Marshal(b []byte) (n int) { method marshal (line 1266) | func (self DataRefer) marshal(b []byte) (n int) { method Len (line 1282) | func (self DataRefer) Len() (n int) { method Unmarshal (line 1292) | func (self *DataRefer) Unmarshal(b []byte, offset int) (n int, err err... method Children (line 1330) | func (self DataRefer) Children() (r []Atom) { type DataReferUrl (line 1337) | type DataReferUrl struct method Tag (line 26) | func (self DataReferUrl) Tag() Tag { method Marshal (line 1343) | func (self DataReferUrl) Marshal(b []byte) (n int) { method marshal (line 1349) | func (self DataReferUrl) marshal(b []byte) (n int) { method Len (line 1356) | func (self DataReferUrl) Len() (n int) { method Unmarshal (line 1362) | func (self *DataReferUrl) Unmarshal(b []byte, offset int) (n int, err ... method Children (line 1379) | func (self DataReferUrl) Children() (r []Atom) { type SoundMediaInfo (line 1383) | type SoundMediaInfo struct method Tag (line 200) | func (self SoundMediaInfo) Tag() Tag { method Marshal (line 1390) | func (self SoundMediaInfo) Marshal(b []byte) (n int) { method marshal (line 1396) | func (self SoundMediaInfo) marshal(b []byte) (n int) { method Len (line 1406) | func (self SoundMediaInfo) Len() (n int) { method Unmarshal (line 1414) | func (self *SoundMediaInfo) Unmarshal(b []byte, offset int) (n int, er... method Children (line 1438) | func (self SoundMediaInfo) Children() (r []Atom) { type VideoMediaInfo (line 1442) | type VideoMediaInfo struct method Tag (line 140) | func (self VideoMediaInfo) Tag() Tag { method Marshal (line 1450) | func (self VideoMediaInfo) Marshal(b []byte) (n int) { method marshal (line 1456) | func (self VideoMediaInfo) marshal(b []byte) (n int) { method Len (line 1469) | func (self VideoMediaInfo) Len() (n int) { method Unmarshal (line 1477) | func (self *VideoMediaInfo) Unmarshal(b []byte, offset int) (n int, er... method Children (line 1508) | func (self VideoMediaInfo) Children() (r []Atom) { type SampleTable (line 1512) | type SampleTable struct method Tag (line 146) | func (self SampleTable) Tag() Tag { method Marshal (line 1523) | func (self SampleTable) Marshal(b []byte) (n int) { method marshal (line 1529) | func (self SampleTable) marshal(b []byte) (n int) { method Len (line 1553) | func (self SampleTable) Len() (n int) { method Unmarshal (line 1578) | func (self *SampleTable) Unmarshal(b []byte, offset int) (n int, err e... method Children (line 1657) | func (self SampleTable) Children() (r []Atom) { type SampleDesc (line 1682) | type SampleDesc struct method Tag (line 92) | func (self SampleDesc) Tag() Tag { method Marshal (line 1690) | func (self SampleDesc) Marshal(b []byte) (n int) { method marshal (line 1696) | func (self SampleDesc) marshal(b []byte) (n int) { method Len (line 1721) | func (self SampleDesc) Len() (n int) { method Unmarshal (line 1737) | func (self *SampleDesc) Unmarshal(b []byte, offset int) (n int, err er... method Children (line 1788) | func (self SampleDesc) Children() (r []Atom) { type MP4ADesc (line 1799) | type MP4ADesc struct method Tag (line 98) | func (self MP4ADesc) Tag() Tag { method Marshal (line 1813) | func (self MP4ADesc) Marshal(b []byte) (n int) { method marshal (line 1819) | func (self MP4ADesc) marshal(b []byte) (n int) { method Len (line 1846) | func (self MP4ADesc) Len() (n int) { method Unmarshal (line 1866) | func (self *MP4ADesc) Unmarshal(b []byte, offset int) (n int, err erro... method Children (line 1950) | func (self MP4ADesc) Children() (r []Atom) { type AVC1Desc (line 1958) | type AVC1Desc struct method Tag (line 20) | func (self AVC1Desc) Tag() Tag { method Marshal (line 1978) | func (self AVC1Desc) Marshal(b []byte) (n int) { method marshal (line 1984) | func (self AVC1Desc) marshal(b []byte) (n int) { method Len (line 2023) | func (self AVC1Desc) Len() (n int) { method Unmarshal (line 2049) | func (self *AVC1Desc) Unmarshal(b []byte, offset int) (n int, err erro... method Children (line 2169) | func (self AVC1Desc) Children() (r []Atom) { type AVC1Conf (line 2177) | type AVC1Conf struct method Tag (line 152) | func (self AVC1Conf) Tag() Tag { method Marshal (line 2182) | func (self AVC1Conf) Marshal(b []byte) (n int) { method marshal (line 2188) | func (self AVC1Conf) marshal(b []byte) (n int) { method Len (line 2193) | func (self AVC1Conf) Len() (n int) { method Unmarshal (line 2198) | func (self *AVC1Conf) Unmarshal(b []byte, offset int) (n int, err erro... method Children (line 2205) | func (self AVC1Conf) Children() (r []Atom) { type TimeToSample (line 2209) | type TimeToSample struct method Tag (line 50) | func (self TimeToSample) Tag() Tag { method Marshal (line 2216) | func (self TimeToSample) Marshal(b []byte) (n int) { method marshal (line 2222) | func (self TimeToSample) marshal(b []byte) (n int) { method Len (line 2235) | func (self TimeToSample) Len() (n int) { method Unmarshal (line 2243) | func (self *TimeToSample) Unmarshal(b []byte, offset int) (n int, err ... method Children (line 2272) | func (self TimeToSample) Children() (r []Atom) { type TimeToSampleEntry (line 2276) | type TimeToSampleEntry struct function GetTimeToSampleEntry (line 2281) | func GetTimeToSampleEntry(b []byte) (self TimeToSampleEntry) { function PutTimeToSampleEntry (line 2286) | func PutTimeToSampleEntry(b []byte, self TimeToSampleEntry) { constant LenTimeToSampleEntry (line 2291) | LenTimeToSampleEntry = 8 type SampleToChunk (line 2293) | type SampleToChunk struct method Tag (line 134) | func (self SampleToChunk) Tag() Tag { method Marshal (line 2300) | func (self SampleToChunk) Marshal(b []byte) (n int) { method marshal (line 2306) | func (self SampleToChunk) marshal(b []byte) (n int) { method Len (line 2319) | func (self SampleToChunk) Len() (n int) { method Unmarshal (line 2327) | func (self *SampleToChunk) Unmarshal(b []byte, offset int) (n int, err... method Children (line 2356) | func (self SampleToChunk) Children() (r []Atom) { type SampleToChunkEntry (line 2360) | type SampleToChunkEntry struct function GetSampleToChunkEntry (line 2366) | func GetSampleToChunkEntry(b []byte) (self SampleToChunkEntry) { function PutSampleToChunkEntry (line 2372) | func PutSampleToChunkEntry(b []byte, self SampleToChunkEntry) { constant LenSampleToChunkEntry (line 2378) | LenSampleToChunkEntry = 12 type CompositionOffset (line 2380) | type CompositionOffset struct method Tag (line 104) | func (self CompositionOffset) Tag() Tag { method Marshal (line 2387) | func (self CompositionOffset) Marshal(b []byte) (n int) { method marshal (line 2393) | func (self CompositionOffset) marshal(b []byte) (n int) { method Len (line 2406) | func (self CompositionOffset) Len() (n int) { method Unmarshal (line 2414) | func (self *CompositionOffset) Unmarshal(b []byte, offset int) (n int,... method Children (line 2443) | func (self CompositionOffset) Children() (r []Atom) { type CompositionOffsetEntry (line 2447) | type CompositionOffsetEntry struct function GetCompositionOffsetEntry (line 2452) | func GetCompositionOffsetEntry(b []byte) (self CompositionOffsetEntry) { function PutCompositionOffsetEntry (line 2457) | func PutCompositionOffsetEntry(b []byte, self CompositionOffsetEntry) { constant LenCompositionOffsetEntry (line 2462) | LenCompositionOffsetEntry = 8 type SyncSample (line 2464) | type SyncSample struct method Tag (line 56) | func (self SyncSample) Tag() Tag { method Marshal (line 2471) | func (self SyncSample) Marshal(b []byte) (n int) { method marshal (line 2477) | func (self SyncSample) marshal(b []byte) (n int) { method Len (line 2490) | func (self SyncSample) Len() (n int) { method Unmarshal (line 2498) | func (self *SyncSample) Unmarshal(b []byte, offset int) (n int, err er... method Children (line 2527) | func (self SyncSample) Children() (r []Atom) { type ChunkOffset (line 2531) | type ChunkOffset struct method Tag (line 110) | func (self ChunkOffset) Tag() Tag { method Marshal (line 2538) | func (self ChunkOffset) Marshal(b []byte) (n int) { method marshal (line 2544) | func (self ChunkOffset) marshal(b []byte) (n int) { method Len (line 2557) | func (self ChunkOffset) Len() (n int) { method Unmarshal (line 2565) | func (self *ChunkOffset) Unmarshal(b []byte, offset int) (n int, err e... method Children (line 2594) | func (self ChunkOffset) Children() (r []Atom) { type MovieFrag (line 2598) | type MovieFrag struct method Tag (line 8) | func (self MovieFrag) Tag() Tag { method Marshal (line 2605) | func (self MovieFrag) Marshal(b []byte) (n int) { method marshal (line 2611) | func (self MovieFrag) marshal(b []byte) (n int) { method Len (line 2623) | func (self MovieFrag) Len() (n int) { method Unmarshal (line 2636) | func (self *MovieFrag) Unmarshal(b []byte, offset int) (n int, err err... method Children (line 2679) | func (self MovieFrag) Children() (r []Atom) { type MovieFragHeader (line 2690) | type MovieFragHeader struct method Tag (line 62) | func (self MovieFragHeader) Tag() Tag { method Marshal (line 2697) | func (self MovieFragHeader) Marshal(b []byte) (n int) { method marshal (line 2703) | func (self MovieFragHeader) marshal(b []byte) (n int) { method Len (line 2712) | func (self MovieFragHeader) Len() (n int) { method Unmarshal (line 2719) | func (self *MovieFragHeader) Unmarshal(b []byte, offset int) (n int, e... method Children (line 2742) | func (self MovieFragHeader) Children() (r []Atom) { type TrackFrag (line 2746) | type TrackFrag struct method Tag (line 176) | func (self TrackFrag) Tag() Tag { method Marshal (line 2754) | func (self TrackFrag) Marshal(b []byte) (n int) { method marshal (line 2760) | func (self TrackFrag) marshal(b []byte) (n int) { method Len (line 2775) | func (self TrackFrag) Len() (n int) { method Unmarshal (line 2791) | func (self *TrackFrag) Unmarshal(b []byte, offset int) (n int, err err... method Children (line 2843) | func (self TrackFrag) Children() (r []Atom) { type MovieExtend (line 2857) | type MovieExtend struct method Tag (line 86) | func (self MovieExtend) Tag() Tag { method Marshal (line 2863) | func (self MovieExtend) Marshal(b []byte) (n int) { method marshal (line 2869) | func (self MovieExtend) marshal(b []byte) (n int) { method Len (line 2878) | func (self MovieExtend) Len() (n int) { method Unmarshal (line 2888) | func (self *MovieExtend) Unmarshal(b []byte, offset int) (n int, err e... method Children (line 2922) | func (self MovieExtend) Children() (r []Atom) { type TrackExtend (line 2930) | type TrackExtend struct method Tag (line 32) | func (self TrackExtend) Tag() Tag { method Marshal (line 2941) | func (self TrackExtend) Marshal(b []byte) (n int) { method marshal (line 2947) | func (self TrackExtend) marshal(b []byte) (n int) { method Len (line 2964) | func (self TrackExtend) Len() (n int) { method Unmarshal (line 2975) | func (self *TrackExtend) Unmarshal(b []byte, offset int) (n int, err e... method Children (line 3022) | func (self TrackExtend) Children() (r []Atom) { type SampleSize (line 3026) | type SampleSize struct method Tag (line 182) | func (self SampleSize) Tag() Tag { method Marshal (line 3034) | func (self SampleSize) Marshal(b []byte) (n int) { method marshal (line 3040) | func (self SampleSize) marshal(b []byte) (n int) { method Len (line 3058) | func (self SampleSize) Len() (n int) { method Unmarshal (line 3070) | func (self *SampleSize) Unmarshal(b []byte, offset int) (n int, err er... method Children (line 3108) | func (self SampleSize) Children() (r []Atom) { type TrackFragRun (line 3112) | type TrackFragRun struct method Tag (line 116) | func (self TrackFragRun) Tag() Tag { method Marshal (line 3121) | func (self TrackFragRun) Marshal(b []byte) (n int) { method marshal (line 3127) | func (self TrackFragRun) marshal(b []byte) (n int) { method Len (line 3173) | func (self TrackFragRun) Len() (n int) { method Unmarshal (line 3211) | func (self *TrackFragRun) Unmarshal(b []byte, offset int) (n int, err ... method Children (line 3278) | func (self TrackFragRun) Children() (r []Atom) { type TrackFragRunEntry (line 3282) | type TrackFragRunEntry struct function GetTrackFragRunEntry (line 3289) | func GetTrackFragRunEntry(b []byte) (self TrackFragRunEntry) { function PutTrackFragRunEntry (line 3296) | func PutTrackFragRunEntry(b []byte, self TrackFragRunEntry) { constant LenTrackFragRunEntry (line 3303) | LenTrackFragRunEntry = 16 type TrackFragHeader (line 3305) | type TrackFragHeader struct method Tag (line 188) | func (self TrackFragHeader) Tag() Tag { method Marshal (line 3316) | func (self TrackFragHeader) Marshal(b []byte) (n int) { method marshal (line 3322) | func (self TrackFragHeader) marshal(b []byte) (n int) { method Len (line 3359) | func (self TrackFragHeader) Len() (n int) { method Unmarshal (line 3390) | func (self *TrackFragHeader) Unmarshal(b []byte, offset int) (n int, e... method Children (line 3457) | func (self TrackFragHeader) Children() (r []Atom) { type TrackFragDecodeTime (line 3461) | type TrackFragDecodeTime struct method Tag (line 158) | func (self TrackFragDecodeTime) Tag() Tag { method Marshal (line 3468) | func (self TrackFragDecodeTime) Marshal(b []byte) (n int) { method marshal (line 3474) | func (self TrackFragDecodeTime) marshal(b []byte) (n int) { method Len (line 3489) | func (self TrackFragDecodeTime) Len() (n int) { method Unmarshal (line 3501) | func (self *TrackFragDecodeTime) Unmarshal(b []byte, offset int) (n in... method Children (line 3526) | func (self TrackFragDecodeTime) Children() (r []Atom) { FILE: format/mp4/mp4io/gen/gen.go function getexprs (line 14) | func getexprs(e ast.Expr) string { function genatomdecl (line 24) | func genatomdecl(origfn *ast.FuncDecl, origname, origtag string) (decls ... function typegetlen (line 107) | func typegetlen(typ string) (n int) { function typegetlens (line 135) | func typegetlens(typ string) string { function typegetvartype (line 144) | func typegetvartype(typ string) string { function typegetputfn (line 164) | func typegetputfn(typ string) (fn string) { function typegetgetfn (line 195) | func typegetgetfn(typ string) (fn string) { function addns (line 226) | func addns(n string) (stmts []ast.Stmt) { function addn (line 236) | func addn(n int) (stmts []ast.Stmt) { function simplecall (line 240) | func simplecall(fun string, args... string) *ast.ExprStmt { function getxx (line 253) | func getxx(typ string, pos, name string, conv bool) (stmts []ast.Stmt) { function putxx (line 264) | func putxx(typ string, pos, name string, conv bool) (stmts []ast.Stmt) { function putxxadd (line 273) | func putxxadd(fn string, name string, conv bool) (stmts []ast.Stmt) { function newdecl (line 280) | func newdecl(origname, name string, params, res []*ast.Field, stmts []as... function getstructputgetlenfn (line 303) | func getstructputgetlenfn(origfn *ast.FuncDecl, origname string) (decls ... function cc4decls (line 364) | func cc4decls(name string) (decls []ast.Decl) { function codeclonereplace (line 385) | func codeclonereplace(stmts []ast.Stmt, doit []ast.Stmt) (out []ast.Stmt) { function getatommarshalfn (line 412) | func getatommarshalfn(origfn *ast.FuncDecl, function genatoms (line 956) | func genatoms(filename, outfilename string) { function parse (line 1037) | func parse(filename, outfilename string) { function main (line 1048) | func main() { FILE: format/mp4/mp4io/gen/pattern.go function moov_Movie (line 3) | func moov_Movie() { function mvhd_MovieHeader (line 10) | func mvhd_MovieHeader() { function trak_Track (line 30) | func trak_Track() { function tkhd_TrackHeader (line 36) | func tkhd_TrackHeader() { function hdlr_HandlerRefer (line 54) | func hdlr_HandlerRefer() { function mdia_Media (line 62) | func mdia_Media() { function mdhd_MediaHeader (line 69) | func mdhd_MediaHeader() { function minf_MediaInfo (line 80) | func minf_MediaInfo() { function dinf_DataInfo (line 88) | func dinf_DataInfo() { function dref_DataRefer (line 93) | func dref_DataRefer() { function url__DataReferUrl (line 100) | func url__DataReferUrl() { function smhd_SoundMediaInfo (line 105) | func smhd_SoundMediaInfo() { function vmhd_VideoMediaInfo (line 112) | func vmhd_VideoMediaInfo() { function stbl_SampleTable (line 119) | func stbl_SampleTable() { function stsd_SampleDesc (line 129) | func stsd_SampleDesc() { function mp4a_MP4ADesc (line 138) | func mp4a_MP4ADesc() { function avc1_AVC1Desc (line 153) | func avc1_AVC1Desc() { function avcC_AVC1Conf (line 174) | func avcC_AVC1Conf() { function stts_TimeToSample (line 178) | func stts_TimeToSample() { function TimeToSampleEntry (line 185) | func TimeToSampleEntry() { function stsc_SampleToChunk (line 190) | func stsc_SampleToChunk() { function SampleToChunkEntry (line 197) | func SampleToChunkEntry() { function ctts_CompositionOffset (line 203) | func ctts_CompositionOffset() { function CompositionOffsetEntry (line 210) | func CompositionOffsetEntry() { function stss_SyncSample (line 215) | func stss_SyncSample() { function stco_ChunkOffset (line 222) | func stco_ChunkOffset() { function moof_MovieFrag (line 229) | func moof_MovieFrag() { function mfhd_MovieFragHeader (line 235) | func mfhd_MovieFragHeader() { function traf_TrackFrag (line 241) | func traf_TrackFrag() { function mvex_MovieExtend (line 248) | func mvex_MovieExtend() { function trex_TrackExtend (line 253) | func trex_TrackExtend() { function stsz_SampleSize (line 263) | func stsz_SampleSize() { function trun_TrackFragRun (line 276) | func trun_TrackFragRun() { function TrackFragRunEntry (line 368) | func TrackFragRunEntry() { function tfhd_TrackFragHeader (line 375) | func tfhd_TrackFragHeader() { function tfdt_TrackFragDecodeTime (line 410) | func tfdt_TrackFragDecodeTime() { FILE: format/mp4/mp4io/mp4io.go type ParseError (line 14) | type ParseError struct method Error (line 20) | func (self *ParseError) Error() string { function parseErr (line 28) | func parseErr(debug string, offset int, prev error) (err error) { function GetTime32 (line 33) | func GetTime32(b []byte) (t time.Time) { function PutTime32 (line 40) | func PutTime32(b []byte, t time.Time) { function GetTime64 (line 46) | func GetTime64(b []byte) (t time.Time) { function PutTime64 (line 53) | func PutTime64(b []byte, t time.Time) { function PutFixed16 (line 59) | func PutFixed16(b []byte, f float64) { function GetFixed16 (line 65) | func GetFixed16(b []byte) float64 { function PutFixed32 (line 69) | func PutFixed32(b []byte, f float64) { function GetFixed32 (line 75) | func GetFixed32(b []byte) float64 { type Tag (line 79) | type Tag method String (line 81) | func (self Tag) String() string { type Atom (line 92) | type Atom interface type AtomPos (line 101) | type AtomPos struct method Pos (line 106) | func (self AtomPos) Pos() (int,int) { method setPos (line 110) | func (self *AtomPos) setPos(offset int, size int) { type Dummy (line 114) | type Dummy struct method Children (line 120) | func (self Dummy) Children() []Atom { method Tag (line 124) | func (self Dummy) Tag() Tag { method Len (line 128) | func (self Dummy) Len() int { method Marshal (line 132) | func (self Dummy) Marshal(b []byte) int { method Unmarshal (line 137) | func (self *Dummy) Unmarshal(b []byte, offset int) (n int, err error) { function StringToTag (line 144) | func StringToTag(tag string) Tag { function FindChildrenByName (line 150) | func FindChildrenByName(root Atom, tag string) Atom { function FindChildren (line 154) | func FindChildren(root Atom, tag Tag) Atom { constant TFHD_BASE_DATA_OFFSET (line 167) | TFHD_BASE_DATA_OFFSET = 0x01 constant TFHD_STSD_ID (line 168) | TFHD_STSD_ID = 0x02 constant TFHD_DEFAULT_DURATION (line 169) | TFHD_DEFAULT_DURATION = 0x08 constant TFHD_DEFAULT_SIZE (line 170) | TFHD_DEFAULT_SIZE = 0x10 constant TFHD_DEFAULT_FLAGS (line 171) | TFHD_DEFAULT_FLAGS = 0x20 constant TFHD_DURATION_IS_EMPTY (line 172) | TFHD_DURATION_IS_EMPTY = 0x010000 constant TFHD_DEFAULT_BASE_IS_MOOF (line 173) | TFHD_DEFAULT_BASE_IS_MOOF = 0x020000 constant TRUN_DATA_OFFSET (line 177) | TRUN_DATA_OFFSET = 0x01 constant TRUN_FIRST_SAMPLE_FLAGS (line 178) | TRUN_FIRST_SAMPLE_FLAGS = 0x04 constant TRUN_SAMPLE_DURATION (line 179) | TRUN_SAMPLE_DURATION = 0x100 constant TRUN_SAMPLE_SIZE (line 180) | TRUN_SAMPLE_SIZE = 0x200 constant TRUN_SAMPLE_FLAGS (line 181) | TRUN_SAMPLE_FLAGS = 0x400 constant TRUN_SAMPLE_CTS (line 182) | TRUN_SAMPLE_CTS = 0x800 constant MP4ESDescrTag (line 186) | MP4ESDescrTag = 3 constant MP4DecConfigDescrTag (line 187) | MP4DecConfigDescrTag = 4 constant MP4DecSpecificDescrTag (line 188) | MP4DecSpecificDescrTag = 5 type ElemStreamDesc (line 191) | type ElemStreamDesc struct method Children (line 197) | func (self ElemStreamDesc) Children() []Atom { method fillLength (line 201) | func (self ElemStreamDesc) fillLength(b []byte, length int) (n int) { method lenDescHdr (line 211) | func (self ElemStreamDesc) lenDescHdr() (n int) { method fillDescHdr (line 215) | func (self ElemStreamDesc) fillDescHdr(b []byte, tag uint8, datalen in... method lenESDescHdr (line 222) | func (self ElemStreamDesc) lenESDescHdr() (n int) { method fillESDescHdr (line 226) | func (self ElemStreamDesc) fillESDescHdr(b []byte, datalen int) (n int) { method lenDecConfigDescHdr (line 235) | func (self ElemStreamDesc) lenDecConfigDescHdr() (n int) { method fillDecConfigDescHdr (line 239) | func (self ElemStreamDesc) fillDecConfigDescHdr(b []byte, datalen int)... method Len (line 258) | func (self ElemStreamDesc) Len() (n int) { method Marshal (line 278) | func (self ElemStreamDesc) Marshal(b []byte) (n int) { method Unmarshal (line 295) | func (self *ElemStreamDesc) Unmarshal(b []byte, offset int) (n int, er... method parseDesc (line 306) | func (self *ElemStreamDesc) parseDesc(b []byte, offset int) (n int, er... method parseLength (line 348) | func (self *ElemStreamDesc) parseLength(b []byte, offset int) (n int, ... method parseDescHdr (line 364) | func (self *ElemStreamDesc) parseDescHdr(b []byte, offset int) (n int,... method String (line 488) | func (self ElemStreamDesc) String() string { function ReadFileAtoms (line 379) | func ReadFileAtoms(r io.ReadSeeker) (atoms []Atom, err error) { function printatom (line 422) | func printatom(out io.Writer, root Atom, depth int) { function FprintAtom (line 444) | func FprintAtom(out io.Writer, root Atom) { function PrintAtom (line 448) | func PrintAtom(root Atom) { method String (line 452) | func (self MovieHeader) String() string { method String (line 456) | func (self TimeToSample) String() string { method String (line 460) | func (self SampleToChunk) String() string { method String (line 464) | func (self SampleSize) String() string { method String (line 468) | func (self SyncSample) String() string { method String (line 472) | func (self CompositionOffset) String() string { method String (line 476) | func (self ChunkOffset) String() string { method String (line 480) | func (self TrackFragRun) String() string { method String (line 484) | func (self TrackFragHeader) String() string { method GetAVC1Conf (line 492) | func (self *Track) GetAVC1Conf() (conf *AVC1Conf) { method GetElemStreamDesc (line 498) | func (self *Track) GetElemStreamDesc() (esds *ElemStreamDesc) { FILE: format/mp4/muxer.go type Muxer (line 15) | type Muxer struct method newStream (line 29) | func (self *Muxer) newStream(codec av.CodecData) (err error) { method WriteHeader (line 147) | func (self *Muxer) WriteHeader(streams []av.CodecData) (err error) { method WritePacket (line 170) | func (self *Muxer) WritePacket(pkt av.Packet) (err error) { method WriteTrailer (line 221) | func (self *Muxer) WriteTrailer() (err error) { function NewMuxer (line 22) | func NewMuxer(w io.WriteSeeker) *Muxer { method fillTrackAtom (line 93) | func (self *Stream) fillTrackAtom() (err error) { method writePacket (line 181) | func (self *Stream) writePacket(pkt av.Packet, rawdur time.Duration) (er... FILE: format/mp4/stream.go type Stream (line 9) | type Stream struct method timeToTs (line 52) | func (self *Stream) timeToTs(tm time.Duration) int64 { method tsToTime (line 56) | func (self *Stream) tsToTime(ts int64) time.Duration { function timeToTs (line 44) | func timeToTs(tm time.Duration, timeScale int64) int64 { function tsToTime (line 48) | func tsToTime(ts int64, timeScale int64) time.Duration { FILE: format/rtmp/rtmp.go function ParseURL (line 25) | func ParseURL(uri string) (u *url.URL, err error) { function Dial (line 35) | func Dial(uri string) (conn *Conn, err error) { function DialTimeout (line 39) | func DialTimeout(uri string, timeout time.Duration) (conn *Conn, err err... type Server (line 56) | type Server struct method handleConn (line 63) | func (self *Server) handleConn(conn *Conn) (err error) { method ListenAndServe (line 85) | func (self *Server) ListenAndServe() (err error) { constant stageHandshakeDone (line 127) | stageHandshakeDone = iota + 1 constant stageCommandDone (line 128) | stageCommandDone constant stageCodecDataDone (line 129) | stageCodecDataDone constant prepareReading (line 133) | prepareReading = iota + 1 constant prepareWriting (line 134) | prepareWriting type Conn (line 137) | type Conn struct method NetConn (line 255) | func (self *Conn) NetConn() net.Conn { method TxBytes (line 259) | func (self *Conn) TxBytes() uint64 { method RxBytes (line 263) | func (self *Conn) RxBytes() uint64 { method Close (line 267) | func (self *Conn) Close() (err error) { method pollCommand (line 271) | func (self *Conn) pollCommand() (err error) { method pollAVTag (line 282) | func (self *Conn) pollAVTag() (tag flvio.Tag, err error) { method pollMsg (line 295) | func (self *Conn) pollMsg() (err error) { method writeBasicConf (line 354) | func (self *Conn) writeBasicConf() (err error) { method readConnect (line 370) | func (self *Conn) readConnect() (err error) { method checkConnectResult (line 541) | func (self *Conn) checkConnectResult() (ok bool, errmsg string) { method checkCreateStreamResult (line 569) | func (self *Conn) checkCreateStreamResult() (ok bool, avmsgsid uint32) { method probe (line 580) | func (self *Conn) probe() (err error) { method writeConnect (line 596) | func (self *Conn) writeConnect(path string) (err error) { method connectPublish (line 657) | func (self *Conn) connectPublish() (err error) { method connectPlay (line 715) | func (self *Conn) connectPlay() (err error) { method ReadPacket (line 773) | func (self *Conn) ReadPacket() (pkt av.Packet, err error) { method Prepare (line 798) | func (self *Conn) Prepare() (err error) { method prepare (line 802) | func (self *Conn) prepare(stage int, flags int) (err error) { method Streams (line 847) | func (self *Conn) Streams() (streams []av.CodecData, err error) { method WritePacket (line 855) | func (self *Conn) WritePacket(pkt av.Packet) (err error) { method WriteTrailer (line 874) | func (self *Conn) WriteTrailer() (err error) { method WriteHeader (line 881) | func (self *Conn) WriteHeader(streams []av.CodecData) (err error) { method tmpwbuf (line 916) | func (self *Conn) tmpwbuf(n int) []byte { method writeSetChunkSize (line 923) | func (self *Conn) writeSetChunkSize(size int) (err error) { method writeAck (line 933) | func (self *Conn) writeAck(seqnum uint32) (err error) { method writeWindowAckSize (line 942) | func (self *Conn) writeWindowAckSize(size uint32) (err error) { method writeSetPeerBandwidth (line 951) | func (self *Conn) writeSetPeerBandwidth(acksize uint32, limittype uint... method writeCommandMsg (line 962) | func (self *Conn) writeCommandMsg(csid, msgsid uint32, args ...interfa... method writeDataMsg (line 966) | func (self *Conn) writeDataMsg(csid, msgsid uint32, args ...interface{... method writeAMF0Msg (line 970) | func (self *Conn) writeAMF0Msg(msgtypeid uint8, csid, msgsid uint32, a... method writeAVTag (line 986) | func (self *Conn) writeAVTag(tag flvio.Tag, ts int32) (err error) { method writeStreamBegin (line 1026) | func (self *Conn) writeStreamBegin(msgsid uint32) (err error) { method writeSetBufferLength (line 1037) | func (self *Conn) writeSetBufferLength(msgsid uint32, timestamp uint32... method fillChunkHeader (line 1053) | func (self *Conn) fillChunkHeader(b []byte, csid uint32, timestamp int... method flushWrite (line 1092) | func (self *Conn) flushWrite() (err error) { method readChunk (line 1099) | func (self *Conn) readChunk() (err error) { method handleCommandMsgAMF0 (line 1319) | func (self *Conn) handleCommandMsgAMF0(b []byte) (n int, err error) { method handleMsg (line 1361) | func (self *Conn) handleMsg(timestamp uint32, msgsid uint32, msgtypeid... method handshakeClient (line 1526) | func (self *Conn) handshakeClient() (err error) { method handshakeServer (line 1576) | func (self *Conn) handshakeServer() (err error) { type txrxcount (line 185) | type txrxcount struct method Read (line 191) | func (self *txrxcount) Read(p []byte) (int, error) { method Write (line 197) | func (self *txrxcount) Write(p []byte) (int, error) { function NewConn (line 203) | func NewConn(netconn net.Conn) *Conn { type chunkStream (line 218) | type chunkStream struct method Start (line 230) | func (self *chunkStream) Start() { constant msgtypeidUserControl (line 236) | msgtypeidUserControl = 4 constant msgtypeidAck (line 237) | msgtypeidAck = 3 constant msgtypeidWindowAckSize (line 238) | msgtypeidWindowAckSize = 5 constant msgtypeidSetPeerBandwidth (line 239) | msgtypeidSetPeerBandwidth = 6 constant msgtypeidSetChunkSize (line 240) | msgtypeidSetChunkSize = 1 constant msgtypeidCommandMsgAMF0 (line 241) | msgtypeidCommandMsgAMF0 = 20 constant msgtypeidCommandMsgAMF3 (line 242) | msgtypeidCommandMsgAMF3 = 17 constant msgtypeidDataMsgAMF0 (line 243) | msgtypeidDataMsgAMF0 = 18 constant msgtypeidDataMsgAMF3 (line 244) | msgtypeidDataMsgAMF3 = 15 constant msgtypeidVideoMsg (line 245) | msgtypeidVideoMsg = 9 constant msgtypeidAudioMsg (line 246) | msgtypeidAudioMsg = 8 constant eventtypeStreamBegin (line 250) | eventtypeStreamBegin = 0 constant eventtypeSetBufferLength (line 251) | eventtypeSetBufferLength = 3 constant eventtypeStreamIsRecorded (line 252) | eventtypeStreamIsRecorded = 4 function SplitPath (line 310) | func SplitPath(u *url.URL) (app, stream string) { function getTcUrl (line 321) | func getTcUrl(u *url.URL) string { function createURL (line 328) | func createURL(tcurl, app, play string) (u *url.URL) { constant chunkHeaderLength (line 1050) | chunkHeaderLength = 12 constant FlvTimestampMax (line 1051) | FlvTimestampMax = 0xFFFFFF function hsMakeDigest (line 1468) | func hsMakeDigest(key []byte, src []byte, gap int) (dst []byte) { function hsCalcDigestPos (line 1479) | func hsCalcDigestPos(p []byte, base int) (pos int) { function hsFindDigest (line 1487) | func hsFindDigest(p []byte, key []byte, base int) int { function hsParse1 (line 1496) | func hsParse1(p []byte, peerkey []byte, key []byte) (ok bool, digest []b... function hsCreate01 (line 1508) | func hsCreate01(p []byte, time uint32, ver uint32, key []byte) { function hsCreate2 (line 1519) | func hsCreate2(p []byte, key []byte) { type closeConn (line 1638) | type closeConn struct method Close (line 1643) | func (self closeConn) Close() error { function Handler (line 1648) | func Handler(h *avutil.RegisterHandler) { FILE: format/rtsp/client.go constant stageDescribeDone (line 34) | stageDescribeDone = iota+1 constant stageSetupDone (line 35) | stageSetupDone constant stageWaitCodecData (line 36) | stageWaitCodecData constant stageCodecDataDone (line 37) | stageCodecDataDone type Client (line 40) | type Client struct method allCodecDataReady (line 123) | func (self *Client) allCodecDataReady() bool { method probe (line 133) | func (self *Client) probe() (err error) { method prepare (line 146) | func (self *Client) prepare(stage int) (err error) { method Streams (line 173) | func (self *Client) Streams() (streams []av.CodecData, err error) { method SendRtpKeepalive (line 184) | func (self *Client) SendRtpKeepalive() (err error) { method WriteRequest (line 205) | func (self *Client) WriteRequest(req Request) (err error) { method parseBlockHeader (line 244) | func (self *Client) parseBlockHeader(h []byte) (length int, no int, va... method parseHeaders (line 282) | func (self *Client) parseHeaders(b []byte) (statusCode int, headers te... method handleResp (line 301) | func (self *Client) handleResp(res *Response) (err error) { method handle401 (line 315) | func (self *Client) handle401(res *Response) (err error) { method findRTSP (line 374) | func (self *Client) findRTSP() (block []byte, data []byte, err error) { method readLFLF (line 452) | func (self *Client) readLFLF() (block []byte, data []byte, err error) { method readResp (line 507) | func (self *Client) readResp(b []byte) (res Response, err error) { method poll (line 524) | func (self *Client) poll() (res Response, err error) { method ReadResponse (line 555) | func (self *Client) ReadResponse() (res Response, err error) { method SetupAll (line 567) | func (self *Client) SetupAll() (err error) { method Setup (line 575) | func (self *Client) Setup(idx []int) (err error) { method Describe (line 620) | func (self *Client) Describe() (streams []sdp.Media, err error) { method Options (line 666) | func (self *Client) Options() (err error) { method HandleCodecDataChange (line 683) | func (self *Client) HandleCodecDataChange() (_newcli *Client, err erro... method Play (line 1101) | func (self *Client) Play() (err error) { method Teardown (line 1119) | func (self *Client) Teardown() (err error) { method Close (line 1131) | func (self *Client) Close() (err error) { method handleBlock (line 1135) | func (self *Client) handleBlock(block []byte) (pkt av.Packet, ok bool,... method readPacket (line 1194) | func (self *Client) readPacket() (pkt av.Packet, err error) { method ReadPacket (line 1222) | func (self *Client) ReadPacket() (pkt av.Packet, err error) { type Request (line 71) | type Request struct type Response (line 77) | type Response struct function DialTimeout (line 86) | func DialTimeout(uri string, timeout time.Duration) (self *Client, err e... function Dial (line 119) | func Dial(uri string) (self *Client, err error) { function md5hash (line 615) | func md5hash(s string) string { method clearCodecDataChange (line 706) | func (self *Stream) clearCodecDataChange() { method isCodecDataChange (line 711) | func (self *Stream) isCodecDataChange() bool { method timeScale (line 718) | func (self *Stream) timeScale() int { method makeCodecData (line 727) | func (self *Stream) makeCodecData() (err error) { method handleBuggyAnnexbH264Packet (line 786) | func (self *Stream) handleBuggyAnnexbH264Packet(timestamp uint32, packet... method handleH264Payload (line 802) | func (self *Stream) handleH264Payload(timestamp uint32, packet []byte) (... method handleRtpPacket (line 991) | func (self *Stream) handleRtpPacket(packet []byte) (err error) { function Handler (line 1229) | func Handler(h *avutil.RegisterHandler) { FILE: format/rtsp/conn.go type connWithTimeout (line 8) | type connWithTimeout struct method Read (line 13) | func (self connWithTimeout) Read(p []byte) (n int, err error) { method Write (line 20) | func (self connWithTimeout) Write(p []byte) (n int, err error) { FILE: format/rtsp/sdp/parser.go type Session (line 12) | type Session struct type Media (line 16) | type Media struct function Parse (line 29) | func Parse(content string) (sess Session, medias []Media) { FILE: format/rtsp/sdp/parser_test.go function TestParse (line 7) | func TestParse(t *testing.T) { FILE: format/rtsp/stream.go type Stream (line 9) | type Stream struct FILE: format/ts/demuxer.go type Demuxer (line 15) | type Demuxer struct method Streams (line 35) | func (self *Demuxer) Streams() (streams []av.CodecData, err error) { method probe (line 45) | func (self *Demuxer) probe() (err error) { method ReadPacket (line 68) | func (self *Demuxer) ReadPacket() (pkt av.Packet, err error) { method poll (line 84) | func (self *Demuxer) poll() (err error) { method initPMT (line 97) | func (self *Demuxer) initPMT(payload []byte) (err error) { method payloadEnd (line 125) | func (self *Demuxer) payloadEnd() (n int, err error) { method readTSPacket (line 136) | func (self *Demuxer) readTSPacket() (err error) { function NewDemuxer (line 28) | func NewDemuxer(r io.Reader) *Demuxer { method addPacket (line 186) | func (self *Stream) addPacket(payload []byte, timedelta time.Duration) { method payloadEnd (line 206) | func (self *Stream) payloadEnd() (n int, err error) { method handleTSPacket (line 270) | func (self *Stream) handleTSPacket(start bool, iskeyframe bool, payload ... FILE: format/ts/handler.go function Handler (line 9) | func Handler(h *avutil.RegisterHandler) { FILE: format/ts/muxer.go type Muxer (line 15) | type Muxer struct method newStream (line 44) | func (self *Muxer) newStream(codec av.CodecData) (err error) { method writePaddingTSPackets (line 68) | func (self *Muxer) writePaddingTSPackets(tsw *tsio.TSWriter) (err erro... method WriteTrailer (line 77) | func (self *Muxer) WriteTrailer() (err error) { method SetWriter (line 88) | func (self *Muxer) SetWriter(w io.Writer) { method WritePATPMT (line 93) | func (self *Muxer) WritePATPMT() (err error) { method WriteHeader (line 141) | func (self *Muxer) WriteHeader(streams []av.CodecData) (err error) { method WritePacket (line 155) | func (self *Muxer) WritePacket(pkt av.Packet) (err error) { function NewMuxer (line 30) | func NewMuxer(w io.Writer) *Muxer { FILE: format/ts/stream.go type Stream (line 9) | type Stream struct FILE: format/ts/tsio/checksum.go function calcCRC32 (line 49) | func calcCRC32(crc uint32, data []byte) uint32 { FILE: format/ts/tsio/tsio.go constant StreamIdH264 (line 12) | StreamIdH264 = 0xe0 constant StreamIdAAC (line 13) | StreamIdAAC = 0xc0 constant PAT_PID (line 17) | PAT_PID = 0 constant PMT_PID (line 18) | PMT_PID = 0x1000 constant TableIdPMT (line 21) | TableIdPMT = 2 constant TableExtPMT (line 22) | TableExtPMT = 1 constant TableIdPAT (line 24) | TableIdPAT = 0 constant TableExtPAT (line 25) | TableExtPAT = 1 constant MaxPESHeaderLength (line 27) | MaxPESHeaderLength = 19 constant MaxTSHeaderLength (line 28) | MaxTSHeaderLength = 12 constant ElementaryStreamTypeH264 (line 36) | ElementaryStreamTypeH264 = 0x1B constant ElementaryStreamTypeAdtsAAC (line 37) | ElementaryStreamTypeAdtsAAC = 0x0F type PATEntry (line 40) | type PATEntry struct type PAT (line 46) | type PAT struct method Len (line 50) | func (self PAT) Len() (n int) { method Marshal (line 54) | func (self PAT) Marshal(b []byte) (n int) { method Unmarshal (line 69) | func (self *PAT) Unmarshal(b []byte) (n int, err error) { type Descriptor (line 94) | type Descriptor struct type ElementaryStreamInfo (line 99) | type ElementaryStreamInfo struct type PMT (line 105) | type PMT struct method Len (line 111) | func (self PMT) Len() (n int) { method fillDescs (line 143) | func (self PMT) fillDescs(b []byte, descs []Descriptor) (n int) { method Marshal (line 155) | func (self PMT) Marshal(b []byte) (n int) { method parseDescs (line 188) | func (self PMT) parseDescs(b []byte) (descs []Descriptor, err error) { method Unmarshal (line 214) | func (self *PMT) Unmarshal(b []byte) (n int, err error) { function ParsePSI (line 279) | func ParsePSI(h []byte) (tableid uint8, tableext uint16, hdrlen int, dat... constant PSIHeaderLength (line 336) | PSIHeaderLength = 9 function FillPSI (line 338) | func FillPSI(h []byte, tableid uint8, tableext uint16, datalen int) (n i... function TimeToPCR (line 376) | func TimeToPCR(tm time.Duration) (pcr uint64) { function PCRToTime (line 385) | func PCRToTime(pcr uint64) (tm time.Duration) { function TimeToTs (line 393) | func TimeToTs(tm time.Duration) (v uint64) { function TsToTime (line 400) | func TsToTime(v uint64) (tm time.Duration) { constant PTS_HZ (line 408) | PTS_HZ = 90000 constant PCR_HZ (line 409) | PCR_HZ = 27000000 function ParsePESHeader (line 412) | func ParsePESHeader(h []byte) (hdrlen int, streamid uint8, datalen int, ... function FillPESHeader (line 448) | func FillPESHeader(h []byte, streamid uint8, datalen int, pts, dts time.... type TSWriter (line 501) | type TSWriter struct method WritePackets (line 518) | func (self *TSWriter) WritePackets(w io.Writer, datav [][]byte, pcr ti... function NewTSWriter (line 507) | func NewTSWriter(pid uint16) *TSWriter { function ParseTSHeader (line 575) | func ParseTSHeader(tshdr []byte) (pid uint16, start bool, iskeyframe boo... FILE: utils/bits/bits.go type Reader (line 7) | type Reader struct method ReadBits64 (line 13) | func (self *Reader) ReadBits64(n int) (bits uint64, err error) { method ReadBits (line 37) | func (self *Reader) ReadBits(n int) (bits uint, err error) { method Read (line 46) | func (self *Reader) Read(p []byte) (n int, err error) { type Writer (line 64) | type Writer struct method WriteBits64 (line 70) | func (self *Writer) WriteBits64(bits uint64, n int) (err error) { method WriteBits (line 87) | func (self *Writer) WriteBits(bits uint, n int) (err error) { method Write (line 91) | func (self *Writer) Write(p []byte) (n int, err error) { method FlushBits (line 101) | func (self *Writer) FlushBits() (err error) { FILE: utils/bits/bits_test.go function TestBits (line 8) | func TestBits(t *testing.T) { FILE: utils/bits/bufio/bufio.go type Reader (line 7) | type Reader struct method ReadAt (line 20) | func (self *Reader) ReadAt(b []byte, off int64) (n int, err error) { function NewReaderSize (line 12) | func NewReaderSize(r io.ReadSeeker, size int) *Reader { FILE: utils/bits/golomb_reader.go type GolombBitReader (line 7) | type GolombBitReader struct method ReadBit (line 13) | func (self *GolombBitReader) ReadBit() (res uint, err error) { method ReadBits (line 25) | func (self *GolombBitReader) ReadBits(n int) (res uint, err error) { method ReadExponentialGolombCode (line 36) | func (self *GolombBitReader) ReadExponentialGolombCode() (res uint, er... method ReadSE (line 55) | func (self *GolombBitReader) ReadSE() (res uint, err error) { FILE: utils/bits/pio/reader.go function U8 (line 4) | func U8(b []byte) (i uint8) { function U16BE (line 8) | func U16BE(b []byte) (i uint16) { function I16BE (line 14) | func I16BE(b []byte) (i int16) { function I24BE (line 20) | func I24BE(b []byte) (i int32) { function U24BE (line 27) | func U24BE(b []byte) (i uint32) { function I32BE (line 34) | func I32BE(b []byte) (i int32) { function U32LE (line 42) | func U32LE(b []byte) (i uint32) { function U32BE (line 50) | func U32BE(b []byte) (i uint32) { function U40BE (line 58) | func U40BE(b []byte) (i uint64) { function U64BE (line 67) | func U64BE(b []byte) (i uint64) { function I64BE (line 79) | func I64BE(b []byte) (i int64) { FILE: utils/bits/pio/vec.go function VecLen (line 3) | func VecLen(vec [][]byte) (n int) { function VecSliceTo (line 10) | func VecSliceTo(in [][]byte, out [][]byte, s int, e int) (n int) { function VecSlice (line 63) | func VecSlice(in [][]byte, s int, e int) (out [][]byte) { FILE: utils/bits/pio/vec_test.go function ExampleVec (line 8) | func ExampleVec() { FILE: utils/bits/pio/writer.go function PutU8 (line 4) | func PutU8(b []byte, v uint8) { function PutI16BE (line 8) | func PutI16BE(b []byte, v int16) { function PutU16BE (line 13) | func PutU16BE(b []byte, v uint16) { function PutI24BE (line 18) | func PutI24BE(b []byte, v int32) { function PutU24BE (line 24) | func PutU24BE(b []byte, v uint32) { function PutI32BE (line 30) | func PutI32BE(b []byte, v int32) { function PutU32BE (line 37) | func PutU32BE(b []byte, v uint32) { function PutU32LE (line 44) | func PutU32LE(b []byte, v uint32) { function PutU40BE (line 51) | func PutU40BE(b []byte, v uint64) { function PutU48BE (line 59) | func PutU48BE(b []byte, v uint64) { function PutU64BE (line 68) | func PutU64BE(b []byte, v uint64) { function PutI64BE (line 79) | func PutI64BE(b []byte, v int64) {