[FFmpeg-user] Can MJPEG http stream add Audio?

Soho Soho123 soho123.2012 at gmail.com
Tue Jun 21 15:04:36 CEST 2011


Hi All,

Can I add audio from WebCam microphone to mjpg video stream by ffmpeg?
my config for ffserver:
<Stream test.mjpg>
Feed feed1.ffm
Format mjpeg
AudioBitRate 64
AudioSampleRate 44100
AudioChannels 1
VideoFrameRate 30
VideoSize 640x480
VideoBitRate 256
VideoBufferSize 400
</Stream>
the option for ffmpeg:
ffmpeg -f video4linux2 -vcodec mjpeg -r 30 -s 640x480 -i /dev/video0
-f oss -ac 1 -ar 44100 -acodec copy -i /dev/dsp -r 30 -vcodec copy
http://localhost:8090/feed1.ffm

is it possible to add audio for mjpg http stream?

Thanks!
Soho


More information about the ffmpeg-user mailing list