Codecs Av01008m08 399 Opus 251 New Today
This specific combination of terms refers to the high-efficiency playback formats currently used by YouTube, which you can often see when enabling "Stats for Nerds" on a video. Decoding the Terms av01.0.08M.08 : This represents the AV1 (AOMedia Video 1) video codec. : The specific identifier for AV1. : Profile 0 (Main profile).
- encode to RTP stream:
gst-launch-1.0 filesrc location=input.wav ! decodebin ! audioconvert ! audioresample ! opusenc bitrate=64000 ! rtpopuspay ! udpsink host=DEST_IP port=5004 - receive and play:
gst-launch-1.0 udpsrc port=5004 caps="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)OPUS,payload=(int)96" ! rtpopusdepay ! opusdec ! audioconvert ! autoaudiosink
Conclusion
const videoConfig =
type: 'file',
video:
contentType: 'video/mp4; codecs="av01008m08"',
width: 1920,
height: 1080,
bitrate: 2000000,
framerate: 30
,
audio:
contentType: 'audio/webm; codecs="opus"'