HI!
For Linux gurus: https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
A simple tee command inserted in the ffmpeg (or I think even gstream) pipe duplicates the input to another output. I think it could create a file to modem sd card like in the description. If there are linux experts who can try it, please share with us! THX!