goffmpeg/examples
kingecg fd53f97770 feat: add Media Stream Reader high-level API
Add stream package providing StreamReader interface for reading media
streams from URLs (rtsp/http/https/ws) or io.Reader with optional
transcoding support.

- pkg/ffmpeg/stream/reader.go: Core StreamReader implementation
- pkg/ffmpeg/stream/options.go: TranscodeOptions configuration
- pkg/ffmpeg/stream/mediaInfo.go: MediaInfo and StreamInfo structs
- pkg/ffmpeg/stream/pipe.go: io.Reader to FFmpeg bridge
- pkg/ffmpeg/stream/errors.go: Error definitions
- pkg/ffmpeg/stream/helpers.go: Codec/format name converters
- pkg/ffmpeg/cgo.go: Add Duration/StartTime/BitRate/ChannelLayout methods
- examples/stream-reader/: Example demonstrating usage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 07:48:45 +08:00
..
simple-transcode Remove simple-transcode example binary 2026-03-20 21:49:56 +08:00
stream-reader feat: add Media Stream Reader high-level API 2026-03-21 07:48:45 +08:00
build.sh Add .gitignore, enhance build script output, and implement codec context methods 2026-03-20 21:48:53 +08:00