Difference between revisions of "Ffmpeg"
From Batchelor-s
Jump to navigationJump to search (Created page with "avconv") |
|||
Line 1: | Line 1: | ||
avconv | avconv | ||
+ | |||
+ | avconv -f alsa -ac 1 -i hw:1,0 -acodec pcm_s16le -ar 22050 -f rtp rtp://192.168.1.108:1234 | ||
+ | |||
+ | |||
+ | -f alsa — This tells avconv what type of input audio device we are using. | ||
+ | |||
+ | Since the microphone is a hardware device, it is handled by ALSA. | ||
+ | |||
+ | If a streaming a file, put the format of the file here. | ||
+ | |||
+ | Look at other audio formats by running | ||
+ | |||
+ | |||
+ | [[avconv -formats]] |
Revision as of 17:05, 11 July 2015
avconv
avconv -f alsa -ac 1 -i hw:1,0 -acodec pcm_s16le -ar 22050 -f rtp rtp://192.168.1.108:1234
-f alsa — This tells avconv what type of input audio device we are using.
Since the microphone is a hardware device, it is handled by ALSA.
If a streaming a file, put the format of the file here.
Look at other audio formats by running