Trim a segment of live, still-encoding H.264/FLV with ffmpeg
Keep FLV but trim using demuxer seek and duration.

ffmpeg -ss 00:00:03.000 -t 00:00:01.000 -i output.flv -c copy output2.mp4


Also, skip -ss if it's 0 i.e. stream start.