mod 변경

master v1.0.28
Jaehwan Lee 1 year ago
parent bd8fdce4e6
commit cd936e09dd

@ -8,10 +8,10 @@ JOY4 is powerful library written in golang, well-designed interface makes a few
Well-designed and easy-to-use interfaces:
- Muxer / Demuxer ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av#Demuxer) [example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/open_probe_file/main.go))
- Audio Decoder ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av#AudioDecoder) [example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/audio_decode/main.go))
- Transcoding ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av/transcode) [example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/transcode/main.go))
- Streaming server ([example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/http_flv_and_rtmp_server/main.go))
- Muxer / Demuxer ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av#Demuxer) [example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/open_probe_file/main.go))
- Audio Decoder ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av#AudioDecoder) [example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/audio_decode/main.go))
- Transcoding ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av/transcode) [example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/transcode/main.go))
- Streaming server ([example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/http_flv_and_rtmp_server/main.go))
Support container formats:
@ -34,31 +34,31 @@ RTMP / HTTP-FLV Server
- High performance
Publisher-subscriber packet buffer queue ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av/pubsub))
Publisher-subscriber packet buffer queue ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av/pubsub))
- Customize publisher buffer time and subscriber read position
- Multiple channels live streaming ([example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/rtmp_server_channels/main.go))
- Multiple channels live streaming ([example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/rtmp_server_channels/main.go))
Packet filters ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av/pktque))
Packet filters ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av/pktque))
- Wait first keyframe
- Fix timestamp
- Make A/V sync
- Customize ([example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/rtmp_server_channels/main.go#L19))
- Customize ([example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/rtmp_server_channels/main.go#L19))
FFMPEG Golang-style binding ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg))
FFMPEG Golang-style binding ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg))
- Audio Encoder / Decoder
- Video Decoder
- Audio Resampler
Support codec and container parsers:
- H264 SPS/PPS/AVCDecoderConfigure parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/codec/h264parser))
- AAC ADTSHeader/MPEG4AudioConfig parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/codec/aacparser))
- MP4 Atoms parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io))
- FLV AMF0 object parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/format/flv/flvio))
- H264 SPS/PPS/AVCDecoderConfigure parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser))
- AAC ADTSHeader/MPEG4AudioConfig parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser))
- MP4 Atoms parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io))
- FLV AMF0 object parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/format/flv/flvio))
# Requirements

@ -1,7 +1,7 @@
package pktque
import (
"gitlab.com/ics_cinnamon/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av"
)
type Buf struct {

@ -4,7 +4,7 @@ package pktque
import (
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av"
)
type Filter interface {

@ -6,8 +6,8 @@ import (
"sync"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/pktque"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
)
// time

@ -5,8 +5,8 @@ import (
"fmt"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/pktque"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
)
var Debug bool

@ -12,9 +12,9 @@ import (
"time"
"unsafe"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
)
const debug = false

@ -10,8 +10,8 @@ import (
"runtime"
"unsafe"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
)
type VideoDecoder struct {

@ -6,8 +6,8 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/utils/bits"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits"
)
// copied from libavcodec/mpeg4audio.h

@ -3,8 +3,8 @@ package codec
import (
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/fake"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/fake"
)
type PCMUCodecData struct {

@ -1,7 +1,7 @@
package fake
import (
"gitlab.com/ics_cinnamon/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av"
)
type CodecData struct {

@ -4,9 +4,9 @@ import (
"bytes"
"fmt"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/utils/bits"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
const (

@ -1,10 +1,10 @@
package main
import (
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg"
"gitlab.com/ics_cinnamon/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg"
"git.icomsys.co.kr/ljhwan026/joy4/format"
)
// need ffmpeg installed

@ -5,11 +5,11 @@ import (
"net/http"
"sync"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/pubsub"
"gitlab.com/ics_cinnamon/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/flv"
"gitlab.com/ics_cinnamon/joy4/format/rtmp"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av/pubsub"
"git.icomsys.co.kr/ljhwan026/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/format/flv"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
)
func init() {

@ -3,9 +3,9 @@ package main
import (
"fmt"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/format"
)
func init() {

@ -1,10 +1,10 @@
package main
import (
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/pktque"
"gitlab.com/ics_cinnamon/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
"git.icomsys.co.kr/ljhwan026/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
)
func init() {

@ -5,12 +5,12 @@ import (
"sync"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/pktque"
"gitlab.com/ics_cinnamon/joy4/av/pubsub"
"gitlab.com/ics_cinnamon/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
"git.icomsys.co.kr/ljhwan026/joy4/av/pubsub"
"git.icomsys.co.kr/ljhwan026/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
)
func init() {

@ -4,9 +4,9 @@ import (
"fmt"
"strings"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
)
func init() {

@ -1,12 +1,12 @@
package main
import (
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/transcode"
"gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg"
"gitlab.com/ics_cinnamon/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av/transcode"
"git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg"
"git.icomsys.co.kr/ljhwan026/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
)
// need ffmpeg with libspeex and libfdkaac installed

@ -1,11 +1,11 @@
package main
import (
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/transcode"
"gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg"
"gitlab.com/ics_cinnamon/joy4/format"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av/transcode"
"git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg"
"git.icomsys.co.kr/ljhwan026/joy4/format"
)
// need ffmpeg with libfdkaac installed

@ -6,9 +6,9 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
)
type Muxer struct {

@ -5,14 +5,14 @@ import (
"fmt"
"io"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/fake"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/flv/flvio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/codec"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/fake"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/flv/flvio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
var MaxProbePacketCount = 20

@ -6,7 +6,7 @@ import (
"strings"
"time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type AMF0ParseError struct {

@ -5,8 +5,8 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
func TsToTime(ts int32) time.Duration {

@ -1,9 +1,9 @@
package format
import (
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format/aac"
"gitlab.com/ics_cinnamon/joy4/format/raw"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/format/aac"
"git.icomsys.co.kr/ljhwan026/joy4/format/raw"
)
func RegisterAll() {

@ -16,13 +16,13 @@ import (
"strings"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/rtsp/sdp"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/codec"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtsp/sdp"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()")

@ -6,10 +6,10 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
)
type Demuxer struct {

@ -3,8 +3,8 @@ package mp4
import (
"io"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
)
var CodecTypes = []av.CodecType{av.H264, av.AAC}

@ -3,7 +3,7 @@ package mp4io
import (
"time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
const MOOF = Tag(0x6d6f6f66)

@ -966,7 +966,7 @@ func genatoms(filename, outfilename string) {
&ast.GenDecl{
Tok: token.IMPORT,
Specs: []ast.Spec{
&ast.ImportSpec{Path: &ast.BasicLit{Kind: token.STRING, Value: `"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"`}},
&ast.ImportSpec{Path: &ast.BasicLit{Kind: token.STRING, Value: `"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"`}},
},
},
&ast.GenDecl{

@ -8,7 +8,7 @@ import (
"strings"
"time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type ParseError struct {

@ -6,11 +6,11 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type Muxer struct {

@ -3,8 +3,8 @@ package mp4
import (
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
)
type Stream struct {

@ -1,6 +1,6 @@
package mp4f
import "gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
import "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
type FDummy struct {
Data []byte

@ -1,8 +1,8 @@
package mp4fio
import (
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
func (self MovieFrag) Tag() mp4io.Tag {

@ -1,8 +1,8 @@
package mp4fio
import (
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type ElemStreamDesc struct {

@ -6,12 +6,12 @@ import (
"os"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/format/mp4f/mp4fio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4f/mp4fio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type Muxer struct {

@ -3,10 +3,10 @@ package mp4f
import (
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/mp4"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/format/mp4f/mp4fio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"git.icomsys.co.kr/ljhwan026/joy4/format/mp4f/mp4fio"
)
type Stream struct {

@ -5,9 +5,9 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type Demuxer struct {

@ -3,8 +3,8 @@ package raw
import (
"io"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
)
var CodecTypes = []av.CodecType{av.H264, av.AAC}

@ -5,9 +5,9 @@ import (
"fmt"
"io"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type Muxer struct {

@ -4,7 +4,7 @@ import (
"fmt"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av"
)
type Stream struct {

@ -14,11 +14,11 @@ import (
"strings"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format/flv"
"gitlab.com/ics_cinnamon/joy4/format/flv/flvio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/format/flv"
"git.icomsys.co.kr/ljhwan026/joy4/format/flv/flvio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
var Debug bool

@ -18,13 +18,13 @@ import (
"strings"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/rtsp/sdp"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/codec"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtsp/sdp"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()")

@ -7,7 +7,7 @@ import (
"strconv"
"strings"
"gitlab.com/ics_cinnamon/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av"
)
type Session struct {

@ -3,8 +3,8 @@ package rtsp
import (
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/rtsp/sdp"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/format/rtsp/sdp"
)
type Stream struct {

@ -6,11 +6,11 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/ts/tsio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/ts/tsio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
type Demuxer struct {

@ -3,8 +3,8 @@ package ts
import (
"io"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
)
func Handler(h *avutil.RegisterHandler) {

@ -5,10 +5,10 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/ts/tsio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"git.icomsys.co.kr/ljhwan026/joy4/format/ts/tsio"
)
var CodecTypes = []av.CodecType{av.H264, av.AAC}

@ -3,8 +3,8 @@ package ts
import (
"time"
"gitlab.com/ics_cinnamon/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/ts/tsio"
"git.icomsys.co.kr/ljhwan026/joy4/av"
"git.icomsys.co.kr/ljhwan026/joy4/format/ts/tsio"
)
type Stream struct {

@ -5,7 +5,7 @@ import (
"io"
"time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"
"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
)
const (

Loading…
Cancel
Save