diff --git a/doc/ffserver.conf b/doc/ffserver.conf index 311f48b817..4c915702ff 100644 --- a/doc/ffserver.conf +++ b/doc/ffserver.conf @@ -97,12 +97,17 @@ VideoFrameRate 3 # The following abbreviation are defined : sqcif, qcif, cif, 4cif VideoSize 160x128 -# transmit only intra frames (useful for low bitrates) -VideoIntraOnly +# transmit only intra frames (useful for low bitrates, but kills frame rate) +#VideoIntraOnly # If non intra only, an intra frame is transmitted every VideoGopSize # frames Video synchronization can only begin at an I frames. -#VideoGopSize 12 +VideoGopSize 12 + +# Choose your codecs: + +#AudioCodec mp2 +#VideoCodec mpeg1video # Suppress audio #NoAudio @@ -114,34 +119,34 @@ VideoIntraOnly # second mpeg stream with high frame rate - -Feed feed1.ffm -Format mpegvideo -VideoBitRate 128 -VideoFrameRate 25 -#VideoSize 352x240 -VideoGopSize 25 - - +# +#Feed feed1.ffm +#Format mpegvideo +#VideoBitRate 128 +#VideoFrameRate 25 +###VideoSize 352x240 +#VideoGopSize 25 +#NoAudio +# +# ################################################################## # A stream coming from a file : you only need to set the input # filename and optionnally a new format. Supported conversions: # avi -> asf # - +# another file streaming + -#File "/tmp/file.avi" -File "tmp/file.avi" -# avi must be converted to asf to be streamed -Format asf +File "/usr/local/httpd/htdocs/tlive.rm" +NoAudio -# another file streaming - + -File "tmp/file.mp3" +File "/usr/local/httpd/htdocs/test.asf" +NoAudio @@ -154,86 +159,83 @@ Feed feed1.ffm Format rm AudioBitRate 32 NoVideo +NoAudio ################################################################## # Another stream : Real with audio and video at 64 kbits - +# + +#Feed feed1.ffm +#Format rm + +#AudioBitRate 32 +#VideoBitRate 128 +#VideoFrameRate 25 +#VideoGopSize 25 +#NoAudio + +# + + Feed feed1.ffm Format rm -AudioBitRate 32 -VideoBitRate 20 -VideoFrameRate 2 -VideoIntraOnly - - - -################################################################## -# Another stream : Mpeg audio layer 2 at 64 kbits. - - - -Feed feed1.ffm -Format mp2 +VideoBitRate 128 +VideoFrameRate 15 +VideoGopSize 25 +VideoSize 320x240 AudioBitRate 64 -AudioSampleRate 44100 - - - - - -Feed feed1.ffm -Format mp2 -AudioBitRate 32 -AudioSampleRate 16000 ################################################################## # Another stream : Multipart JPEG - - -Feed feed1.ffm -Format mpjpeg - -VideoFrameRate 2 -VideoIntraOnly - - +# +# +#Feed feed1.ffm +#Format mpjpeg +# +#VideoFrameRate 2 +#VideoIntraOnly +#NoAudio +# +# ################################################################## # Another stream : Multipart JPEG - - -Feed feed1.ffm -Format jpeg - -# the parameters are choose here to take the same output as the -# Multipart JPEG one. -VideoFrameRate 2 -VideoIntraOnly -#VideoSize 352x240 - - +# +# +#Feed feed1.ffm +#Format jpeg +# +## the parameters are choose here to take the same output as the +## Multipart JPEG one. +#VideoFrameRate 2 +#VideoIntraOnly +##VideoSize 352x240 +#NoAudio +# +# ################################################################## # Another stream : Flash - +# -Feed feed1.ffm -Format swf - -VideoFrameRate 2 -VideoIntraOnly - - +#Feed feed1.ffm +#Format swf +# +#VideoFrameRate 2 +#VideoIntraOnly +#NoAudio +# +# ################################################################## @@ -243,11 +245,12 @@ VideoIntraOnly Feed feed1.ffm Format asf - +# +VideoFrameRate 15 +VideoSize 352x240 +VideoBitRate 128 +VideoGopSize 30 AudioBitRate 64 -AudioSampleRate 44100 -VideoFrameRate 2 -VideoIntraOnly