[FFmpeg-user] using ffmpeg to re-sample

Diaz Soho soho123.2012 at gmail.com
Mon Jun 30 10:06:03 CEST 2014


>
> > 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.
>
> You could replace "22050" with "8000"...
>
> If it doesn't work, use the aresample filter.
>
>
hi carl,

Could you kindly show me the aresample command line?
how to add aresample into the command line above?


More information about the ffmpeg-user mailing list