Skip to content
hdweiss edited this page Sep 30, 2011 · 1 revision

Just a copy of ffmpeg with a small patch that adds an argument to specify the flv stream name, for use with rtmpd.

Dependencies (for Ubuntu 10.10)

sudo aptitude install libx264-dev libx264-98 libmp3lame-dev libmp3lame0

configure command:

./configure --enable-libx264 --enable-gpl --enable-nonfree --enable-libmp3lame --prefix=/opt/ffmpeg

now you can use the "-sname streamname" argument to specify flv stream name using ffmpeg

you can use the following command to stream from a dv cam to the server

dvgrab - | /opt/ffmpeg/bin/ffmpeg -i - -vcodec libx264 -acodec libmp3lame -f flv -ar 22050 -deinterlace -vpre medium -sname foobar "tcp://localhost:6666"

Clone this wiki locally