[FFmpeg-user] ffmpeg input, output and config

Zac Harvey zachary.harvey at gmail.com
Sat Dec 8 17:19:52 CET 2012

Thanks @maujhsn - I completely understand that multi-questions are
discouraged here. Of everything that I asked the one that is burning the
biggest hole in my brain is how ffmpeg accepts input from an actual device.
Since this is software that can run on Linux I assume I pass in the device
as an input somehow, perhaps specifying /dev/mycamera as one of the inputs.

Can you or anyone else at least tell me if I'm on track here, or way off
base? And if way off base, is there a specific part of the documentation of
YouTube video you can point me towards. Thanks again for any and all help.

On Sat, Dec 8, 2012 at 11:08 AM, maujhsn <103730258b at gmail.com> wrote:

> I hate to burst your bubble...but the answer to all your questions is yes!
> I suggest that you read through the mailing list archives which go back
> several years! You are not going to solve the ffmpeg equation in one or two
> post to this mail-list sorry!
> Youtube.com is also the way to go for a guy like yourself that wants to
> learn the capabilities of ffmpeg.
> Good luck!
> On Sat, Dec 8, 2012 at 7:43 AM, Zac Harvey <zachary.harvey at gmail.com>
> wrote:
> > I'll preface this by saying that I'm a developer who is brand new to
> > streaming media, and I'm definitely out of my element here. I am trying
> to
> > get a web camera (video only) streaming a video feed to an ffmpeg
> instance,
> > and an microphone streaming an audio feed to the same ffmpeg instance as
> > well.
> >
> > I would like to configure ffmpeg to accept the video feed from the
> camera,
> > encode it to h.264 via the x264 encoder and into an MP4 container/format.
> > At the same time, I want the audio feed from the mic to be ingested,
> > encoded to AAC via the faac encoder, and into the same MP4 container. The
> > container (I assume) would compress the bitstreams, multiplex them (is
> that
> > even the correct terminology?), and be able to output a final bitstream.
> >
> > I would like this final bitstream (containing the muxed A/V signal) to be
> > transmitted to a specific IP address via UDP/IP.
> >
> > So my first question is: can ffmpeg even do this? If not, does anybody
> know
> > what I could use to accomplish all this?
> >
> > If ffmpeg is capable of doing all this, then I have a few follow-up
> > questions:
> >
> >
> >    - If ffmpeg does the encoding, then what pre-encoding formats does it
> >    accept the audio and video bitstreams in? In other words, what
> >    format/protocol/etc does the streaming audio and streaming video feed
> > need
> >    to be in for ffmpeg to be able to accept it as input? How do I get the
> >    camera and mic signals to get passed into ffmpeg?
> >    - How to I specify the encodings to use, the container to use, UDP/IP
> as
> >    the transport, and the IP address to stream to?
> >
> >
> > Thanks in advance for any help, and feel free to ask for more
> clarification
> > if needed. Thanks again.
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list