mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-09-26 20:31:11 +08:00
PCM
RTSP
- PayloadType=10 - L16/44100/2 - Linear PCM 16-bit big endian
- PayloadType=11 - L16/44100/1 - Linear PCM 16-bit big endian
https://en.wikipedia.org/wiki/RTP_payload_formats
Apple QuickTime
raw
- 16-bit data is stored in little endian formattwos
- 16-bit data is stored in big endian formatsowt
- 16-bit data is stored in little endian formatin24
- denotes 24-bit, big endianin32
- denotes 32-bit, big endianfl32
- denotes 32-bit floating point PCMfl64
- denotes 64-bit floating point PCMalaw
- denotes A-law logarithmic PCMulaw
- denotes mu-law logarithmic PCM
https://wiki.multimedia.cx/index.php/PCM
FFmpeg RTSP
pcm_s16be, 44100 Hz, stereo => 10
pcm_s16be, 48000 Hz, stereo => 96 L16/48000/2
pcm_s16be, 44100 Hz, mono => 11
pcm_s16le, 48000 Hz, stereo => 96 (b=AS:1536)
pcm_s16le, 44100 Hz, stereo => 96 (b=AS:1411)
pcm_s16le, 16000 Hz, stereo => 96 (b=AS:512)
pcm_s16le, 8000 Hz, stereo => 96 (b=AS:256)
pcm_s16le, 48000 Hz, mono => 96 (b=AS:768)
pcm_s16le, 44100 Hz, mono => 96 (b=AS:705)
pcm_s16le, 16000 Hz, mono => 96 (b=AS:256)
pcm_s16le, 8000 Hz, mono => 96 (b=AS:128)