Advertisement
Guest User

Untitled

a guest
Feb 9th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. sudo rm temp_audio.v
  2. sudo rm temp_video.h264
  3. mkfifo temp_audio.v
  4. mkfifo temp_video.h264
  5. arecord -Dmic_sv -c2 -r48000 -fS32_LE -twav temp_audio.v & \
  6. raspivid -w 640 -h 480 -fps 10 -v -b 1000000 -o temp_video.h264 -t 0 & \
  7. pv temp_video.h264 | \
  8. ~/special/ffmpeg/ffmpeg \
  9. -framerate 10 \
  10. -i - \
  11. -i temp_audio.v \
  12. -ab 24k \
  13. -c:v copy \
  14. -c:a aac \
  15. -report \
  16. -f flv rtmp://209.85.230.23/live2/KEY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement