Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo /sbin/sysctl fs.pipe-max-size=1048576
- rm -f /tmp/temp_audio.nut
- rm -f /tmp/temp_video.h264
- mkfifo /tmp/temp_audio.nut
- mkfifo /tmp/temp_video.h264
- /home/pi/special/ffmpeg/ffmpeg -re -f alsa -acodec pcm_s32le -i mic_sv -acodec aac -y -f nut /tmp/temp_audio.nut &
- /usr/bin/raspivid -w 640 -h 480 -v -fps 10 -b 1000000 -o /tmp/temp_video.h264 -t 0 &
- /home/pi/special/ffmpeg/ffmpeg -loglevel debug \
- -framerate 10 \
- -thread_queue_size 1024 \
- -i /tmp/temp_video.h264 \
- -thread_queue_size 1024 \
- -i /tmp/temp_audio.nut \
- -ab 24k \
- -c:v copy \
- -c:a copy \
- -max_interleave_delta 2000000 \
- -report \
- -f flv rtmp://209.85.230.23/live2/KEY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement