./configure --enable-shared --enable-pic
make
sudo make install
gcc -o publish publish.c -Iffmpeg/include -Lffmpeg/lib/ -lavformat -lavfilter -lavcodec -lswscale -lavutil -lswresample
publish ./a.flv "rtmp://xxxxxx"
./configure --enable-shared --enable-pic
make
sudo make install
gcc -o publish publish.c -Iffmpeg/include -Lffmpeg/lib/ -lavformat -lavfilter -lavcodec -lswscale -lavutil -lswresample
publish ./a.flv "rtmp://xxxxxx"