directory
Version:
v0.20.10
Opens a new window with list of versions in this module.
Published: Sep 8, 2023
License: Apache-2.0
Opens a new window with license information.
README
¶
ebml-go examples
rtp-to-webm
Receive RTP VP8 stream UDP packets and pack it to WebM file.
- Run the following command.
$ cd rtp-to-webm
$ go build .
$ ./rtp-to-webm
- Send RTP stream to
./rtp-to-webm
using GStreamer.
$ gst-launch-1.0 videotestsrc \
! video/x-raw,width=320,height=240,framerate=30/1 \
! vp8enc target-bitrate=4000 \
! rtpvp8pay ! udpsink host=localhost port=4000
- Check out
test.webm
generated at the current directory.
webm-roundtrip
Read WebM file, parse, and write back to the file.
- Run the following command to read
sample.webm
.
$ cd webm-roundtrip
$ go build .
$ ./webm-roundtrip
- Contents (EBML document) of the file is shown to the stdout.
- Check out
copy.webm
generated at the current directory. It should be playable and seekable as same as sample.webm
.
Directories
¶
Click to show internal directories.
Click to hide internal directories.