...
Forming the name of the stream record file
Parameter stream_record_policy sets the way to from the name of the stream record file. For example,
Code Block | ||||
---|---|---|---|---|
| ||||
stream_record_policy=streamName |
means that the file name will match the stream name. So, the stream published with ffmpeg
Code Block | ||||
---|---|---|---|---|
| ||||
ffmpeg -re -i BigBuckBunny.mp4 -preset ultrafast -acodec aac -vcodec h264 -strict -2 -f flv rtmp://test1.flashphoner.com:1935/live/stream_ffmpeg |
will be written to file stream_ffmpeg.mp4.
Warning |
---|
The stream_record_policy parametyer is obsoleted since build 5.2.142, use stream_record_policy_template only! |
By default, the file name is formed by template specified with stream_record_policy_template parameter:
...