This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
ffmpeg -f alsa -i hw:1 -s 320x240 -i /dev/video0 \ | |
-vcodec h264_omx -acodec aac \ | |
-f segment \ | |
-segment_format mpegts \ | |
-segment_time 4 \ | |
-segment_list_size 8 \ | |
-segment_list_type m3u8 \ | |
-segment_list stream.m3u8 \ |