[FFmpeg-user] Can MJPEG http stream add Audio?
Icarus Alive
icarus.alive at gmail.com
Tue Jun 21 16:24:27 CEST 2011
MJPEG is container less format, and without a container and means to
determine correct frame timing, media interleave, I really don't think
it is possible to do what you are trying to do.
>From the description, looks like you are trying to do what most (or
many) surveillance cams do, but note that they do not use MJPEG/HTTP
streaming while streaming A/V feeds. They typically use ASF.
On Tue, Jun 21, 2011 at 6:34 PM, Soho Soho123 <soho123.2012 at gmail.com> wrote:
> 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