As I know ffmpeg connects to feed resource of running ffserver and the server tells what parameters are needed for transcoding -- the main problem is in the right <Stream> section.
This is my last working stream config: <Stream test.mpg> Feed feed1.ffm Format mpegts AudioBitRate 128 AudioChannels 2 AudioSampleRate 44100 VideoCodec libxvid # should be libx264 VideoHighQuality VideoBitRate 1000 VideoBufferSize 10000 VideoFrameRate 25 VideoSize 640x480 VideoGopSize 12 </Stream> But it does not work with "VideoCodec libx264" :-(. I suspect that should be some options to set libc264 parameters (vpre is required one, also threads is interesting). What are this options ? May be patch needed ? How to turn on deinterlace ? (ffmpeg option -deinterlace) What actually VideoHighQuality and VideoBufferSize do ? I could not get working until I set VideoBufferSize high with VideoSize more then 320 lines. P.S. Now I use stable 0.6.3 version of ffmpeg, tried snapshot but with no success. On Mon, 16 May 2011 17:45:16 +0700 nandan amar <nandan.a...@gmail.com> wrote: > following work for me > > Port 8090 > BindAddress 0.0.0.0 > MaxHTTPConnections 2000 > MaxClients 1000 > MaxBandwidth 10000 > CustomLog - > NoDaemon > > <Feed input.ffm> > File /tmp/input.ffm > FileMaxSize 5M > </Feed> > > <Stream test.mpeg> > Feed input.ffm > Format mpeg > AudioBitRate 32 > AudioChannels 2 > AudioSampleRate 44100 > #VideoCodec > VideoBitRate 366 > VideoBufferSize 40 > VideoFrameRate 24 > VideoSize 320x240 > VideoGopSize 12 > </Stream> > > Additionally one can change above parameters to suit requirements. > In your case you can change > AudioBitRate > VideoBitRate > FORMAT > > A detailed configuration file for ffserver is here > http://sites.google.com/site/amarkumarnandan/Home/conte/Linux/ffmpeg/ffserver/ffserver-conf > > -- > Amar Kumar Nandan > Karnataka, India, 560100 > http://aknandan.co.nr -- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797 _______________________________________________ ffserver-user mailing list ffserver-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffserver-user