Products >> Stream2File

Stream2File

Happytime stream2file
Happytime stream2file is a powerful tool for recording audio and video streams from various sources. Happytime stream2file saves RTSP/RTMP/SRT(Secure Reliable Transport)/HTTP MJPEG stream to file, it supports saving multiple RTSP/RTMP/SRT/HTTP MJPEG streams to files at the same time. It supports H264, H265, MJPEG, MPEG4 video format, supports G711A, G711U, G726, G722, OPUS, AAC audio format.
It supports AVI, MP4 and TS file format, it also supports generating fragment MP4 files. Happytime stream2file saves RTSP/RTMP/SRT/HTTP MJPEG stream to file with simple configuration. Automatic calculation of frame rate, video resolution and other parameters. The generated file supports most media players, supports index lookup, and supports reverse playback.
Happytime Stream2File captures high-quality audio and video streams without any loss of quality. This is especially important for content creators who want to produce high-quality content for their audience.
Happytime stream2file for Android

Supports save RTSP/RTMP/SRT/HTTP MJPEG stream to file
Supports AVI, MP4 and TS file format
Supports MPEG4, MJPEG, H264, H265 video formats
Supports G711A, G711U, G722, G726, OPUS, AAC audio formats
Supports generating fragment MP4 files
Supports recording size or recording time configuration

Key features

Support RTSP, RTMP, SRT, HTTP MJPEG stream to file
Support MPEG4, MJPEG, H264, H265 video formats
Support G711A, G711U, G722, G726, OPUS, AAC audio formats
Support AVI, MP4, TS file formats
Support generating fragment MP4 files
Simple configuration and easy to use
Support recording size or recording time configuration
The generated file supports most media players
Provide AVI and MP4 file read API interfaces
Supports simultaneous RTP/RTMP/HTTP MJPEG streams to file
Small size, suitable for embedded development
Code structure clear, easy to use

What is fragmented MP4 (fmp4)? What is the difference with normal MP4?

fmp4 is a streaming media format based on MPEG-4 Part 12.
The video/audio metadata information and data of fmp4 are stored in each moof and mdat, which is a streaming encapsulation format.
fmp4 can be combined with Media Source Extension (MSE) for HTML5 live broadcast.
fmp4 is composed of a series of fragments. If the server supports byte-range requests, we can request some fragments separately and combine with MSE for streaming

Support cross-platform compile

Support for Windows platform
Support for Linux/Unix platform
Support for Android platform
Support for iOS/MAC platforms
Support for embedded Linux platforms
Can be easily ported to other platforms

AVI file repair tool(AviFixer)

When the program is abnormally shut down or the device suddenly loses power, the written file does not update the necessary information, there will be mosaics when playing videos.
AviFixer tool is used to repair such files.
AviFixer is a command line tool with the following command format:

avifixer options <filename>
-h print this help
-r remove the input file
-o <filename> the fixed file save path

The demo version limitations

Maximum support two rtsp/rtmp streams