...
- MP4 for H.264 + AAC codecs
- WebM for VP8 + Vorbis codecs
- TS for H.264 + ADTS
- MKV (since WCS build 5.2.1190)
Quick manual on testing
Stream recording
...
turns on recording for the streams captured from RTSP IP cameras.
...
MP4, WebM, MKV containers support
By default, H264 streams are recorded to MP4 container and VP8 streams to WebM. Since build WCS build 5.2.610, H264 streams can also be recorded to TS container using the following parameter1190, MKV contaner is supported which is a swiss army knife at codecs point.
The following parameter is used to set recording containers
Code Block | ||
---|---|---|
| ||
record_formats=h264_to_ts=true-mp4,vp8-webm |
MKV recording can be enabled as follows
Code Block | ||
---|---|---|
| ||
record_formats=h264-mkv,vp8-mkv |
One of the codecs published may be recorded to MKV container (VP8 for example)
Code Block | ||
---|---|---|
| ||
record_formats=h264-mp4,vp8-mkv |
Note that audio only streams are always recorded to MP4 container (using AAC codec).
Recording to MPEG-TS container
Since build 5.2.610, H264 streams can also be recorded to TS container using the following parameter
Code Block | ||
---|---|---|
| ||
record_h264_to_ts=true |
or since build 5.2.1190
Code Block | ||
---|---|---|
| ||
record_formats=h264-ts,vp8-webm |
The record_h264_to_ts
parameter has a priority above record_formats
, i.e.
Code Block | ||
---|---|---|
| ||
record_formats=h264-mp4,vp8-mkv
record_h264_to_ts=true |
makes H264 streams to be recorded to MPEG-TS.
Known limits
1. VLC before 3.0.8 can not play TS recordings.
...
Code Block | ||
---|---|---|
| ||
webrtc_pre_init=true |
9. webm recording files cannot be played in iOS Safari
Symptoms: file download starts instead of playback when clicking webm recording file link
Solution: download recording file to device and play it in local player application