How do I configure FFserver+FFmpeg to fetch a live stream in one format and output it in another?

10,803

I did just about 1 day ago. ffmpeg can't really handle live feeds so you must make a pipe and stream through it. I guess you already have ffmpeg installed, also install mplayer.

Do this:

mkfifo somename.someext
ffmpeg -i somename.someext http://localhost:yourport/yourfeed

Open another terminal and do this:

mplayer -streamdump protocol://ipofcamera -dumpfile somename.someext

And... that's it.

Share:
10,803

Related videos on Youtube

Blixt
Author by

Blixt

Updated on September 17, 2022

Comments

  • Blixt
    Blixt almost 2 years

    I've got an IP camera on a 3G modem. I need to fetch its stream from a landline server and re-stream it.

    Right now the only cheap option seems to be FFserver (but feel free to suggest others), but I'm not really sure where to start... Does anyone have any experience using FFserver?