Hi guys,
I would like to get a live stream of video(say TV) and then act upon it using ffmpeg and encode it and serve it. I would like to know how i can give ffmpeg a live stream as input.
1. I tried taking a local file and strarted streaming it (using vlc) to a local file. I tried providing this file as input to ffmpeg, but it doesnt work, it quits after a while

what is the best way to provide a live stream as input to ffmpeg. Should i use pipe, sockets or something.
any help appreciated.


thanks ..

info: i am a n00b