[FFmpeg-user] using ffmpeg to re-sample

Diaz Soho soho123.2012 at gmail.com
Mon Jun 30 08:09:32 CEST 2014

Hi all,

the command line below:

fmpeg -sn -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i
/dev/video1 -f alsa -ar 22050 -ac 1 -i hw:0 -map 0:0 -map 1:0 -vcodec copy
-acodec g726 -strict -1 http://localhost:8090/feed.ffm

it can capture audio from usb web cam.
and endcode to g726 adpcm.

if I would like to encode to g726 and sample rate is 8000Hz.
is it possible?

how to ?

More information about the ffmpeg-user mailing list