ffmpeg -i http://wowzaip:1935/live/live.stream/playlist.m3u8 -acodec copy -vcodec copy -t 5:00 /var/www/vod/videoname.mp4
How to record a livestream from wowza with FFmpeg
July 20th, 2014 by Marcos Nobre
The following command will record the live stream for 5 minutes, replace “live” with your application name and change the output path to your destination.