DouyinLiveRecorder uses FFmpeg to write the incoming stream to disk. You can choose from six output formats inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ihmily/DouyinLiveRecorder/llms.txt
Use this file to discover all available pages before exploring further.
config/config.ini:
Format comparison
| Format | Type | Notes |
|---|---|---|
ts | Video | MPEG-TS container. Recommended for live recording — resilient against unexpected interruptions |
mkv | Video | Matroska container. Flexible codec support, good for archiving |
flv | Video | Flash Video. No H.265 support. Some platforms (Shopee, 花椒直播) always record in FLV regardless of this setting |
mp4 | Video | MP4 container. Requires a complete, seekable stream — more fragile for live recording |
mp3音频 | Audio | MP3 audio only, 320 kbps. Suitable for audio-only platforms (猫耳FM, Look直播) |
m4a音频 | Audio | AAC audio in M4A container, 320 kbps. Smaller than MP3 at equivalent quality |
Auto-convert TS to MP4
When enabled, each completed TS file is automatically remuxed to MP4 using FFmpeg. No re-encoding is done by default — the conversion is nearly instant.Re-encode to H.264
If the source uses a codec that causes compatibility issues (for example H.265 on older players), enable H.264 re-encoding:Delete original after conversion
To remove the source TS (or FLV/MKV) file after conversion completes:Audio-only recording
For themp3音频 format, the FFmpeg command used during recording:
m4a音频 format, post-conversion uses:
m4a音频 directly (without post-conversion), the inline recording path adds -movflags +faststart for seekability.
Platforms 猫耳FM and Look直播 are audio-only and are always recorded in an audio format regardless of the global format setting.