summaryrefslogtreecommitdiff
path: root/ffserver.c
Commit message (Collapse)AuthorAge
...
* RTSP "OPTIONS" command patch by (Andriy Rysin <arysin at bcsii dot net>)Andriy Rysin2003-04-04
| | | | Originally committed as revision 1728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffserver deallocate ctx->streams on closing patch by (Mark Hills <mark at ↵Mark Hills2003-03-26
| | | | | | pogo dot org dot uk>) Originally committed as revision 1704 to svn://svn.ffmpeg.org/ffmpeg/trunk
* per context frame_rate_base, this should finally fix frame_rate related av ↵Michael Niedermayer2003-03-12
| | | | | | sync issues Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifiedAlex Beregszaszi2003-03-09
| | | | Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to eliminate memory leak on stream termination. It doesn't crash, but I'mPhilip Gladstone2003-03-04
| | | | | | not sure if it fixes the problem. Originally committed as revision 1620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This should fix the negative bandwidth in use in ffserver. Turned out thatPhilip Gladstone2003-03-04
| | | | | | | when WMP reports in, then we didn't increment the bandwidth, but we did decrement it. Originally committed as revision 1619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ACLs work correctly for streams. Try comparing the addresses inPhilip Gladstone2003-02-23
| | | | | | host order rather than network order. Originally committed as revision 1597 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * UINTX -> uintx_t INTX -> intx_tZdenek Kabelac2003-02-11
| | | | Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * static,const,compiler warning cleanupZdenek Kabelac2003-02-10
| | | | Originally committed as revision 1571 to svn://svn.ffmpeg.org/ffmpeg/trunk
* zero sized malloc patch by Roman ShaposhnickRoman Shaposhnik2003-01-23
| | | | Originally committed as revision 1501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added av_set_parameters()Fabrice Bellard2003-01-11
| | | | Originally committed as revision 1441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve bind failure message to indicate the port that failedPhilip Gladstone2003-01-05
| | | | Originally committed as revision 1399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a crash in ffserver when streaming to WMP from a file. However, itPhilip Gladstone2003-01-03
| | | | | | still doesn't seem to work for me anyway. Originally committed as revision 1391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make asf files work again -- the match against the URL was being done ↵Philip Gladstone2002-12-21
| | | | | | incorrectly. Originally committed as revision 1353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mimetype fixes patch by (Ryutaroh Matsumoto <ryutaroh at it dot ss dot ↵Ryutaroh Matsumoto2002-12-20
| | | | | | titech dot ac dot jp>) Originally committed as revision 1352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Try and fix the crashes in ffserver associated with the coded_frame stuff.Philip Gladstone2002-12-11
| | | | | | | This code is wrong, but it is not obvious what the right code is. * Make sure that we reset SIGPIPE before execing ffmpeg. Originally committed as revision 1330 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVVideoFrame -> AVFrameMichael Niedermayer2002-12-09
| | | | Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanupMichael Niedermayer2002-12-04
| | | | | | | | | | | adding AVVideoFrame moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame removing obsolete variables in AVCodecContext skiping of MBs in b frames correctly initalizing AVCodecContext picture buffer cleanup Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to make this compile on platforms with dlfcn.hPhilip Gladstone2002-11-30
| | | | Originally committed as revision 1296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More fixes to compile and build on more platforms.Philip Gladstone2002-11-26
| | | | Originally committed as revision 1280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minimum handling for mpeg4 video multicast from avi filesFabrice Bellard2002-11-20
| | | | Originally committed as revision 1262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTP multicast begins to work in MPEG1 - simplified stream bandwidth ↵Fabrice Bellard2002-11-20
| | | | | | computation (no need to recompute it at each request) Originally committed as revision 1260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* clean up of redirector code - first stage of RTP multicast support - added ↵Fabrice Bellard2002-11-20
| | | | | | SDP redirector output for multicast Originally committed as revision 1257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * const warning fixZdenek Kabelac2002-11-14
| | | | Originally committed as revision 1210 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reversing header gameMichael Niedermayer2002-11-10
| | | | | | MIN/MAX -> FFMIN/FFMAX Originally committed as revision 1184 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MIN/MAX sys/param.h patch by (François Revol <revol at free dot fr>)François Revol2002-11-05
| | | | Originally committed as revision 1164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added VideoBitRateRange and VideoBitRAteTolerance settingsPhilip Gladstone2002-10-30
| | | | | | | Also made the Launch directive work again if you invoke ffserver with a relative path. Originally committed as revision 1111 to svn://svn.ffmpeg.org/ffmpeg/trunk
* changed write_packet API - should work as beforeFabrice Bellard2002-10-21
| | | | Originally committed as revision 1060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new ffserver options patch by (D Richard Felker III <dalias at aerifal dot cx>)D Richard Felker III2002-10-21
| | | | Originally committed as revision 1057 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixing i_quant_factor, this should finally fix the bitrate bug with ffserver ↵Michael Niedermayer2002-09-19
| | | | | | hopefully Originally committed as revision 959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Add code to pace sending a stream when it is being sent from a file.Philip Gladstone2002-09-12
| | | | | | | | | We limit the datarate to twice the average datarate (however the first few seconds are sent flat out to help with prebuffering). * Add the initialization of the rc_eq fields and the like for VIDEO codecs. * Add the missing get_arg calls for VideoQxxxx Originally committed as revision 920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)Mark Hills2002-09-01
| | | | Originally committed as revision 896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Now we do not delete the feed file if it was created with the samePhilip Gladstone2002-07-28
| | | | | | | | | | | parameters as the currently desired codec settings. Thus it is important not to fiddle with the streams if you want to keep the old data. * Fix it so that the ?buffer= paramter can be larger than 40 minutes or so. Why is this good? So I can use ?buffer=43200 and get video from 12 hours ago (i.e. when it is daylight outside) Originally committed as revision 829 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Removed a debug printfPhilip Gladstone2002-07-27
| | | | | | * Fix the sense of the test for "-" with customlog and not closing stdout in daemon mode Originally committed as revision 828 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Make asf streaming work again. Now uses the output format asf_stream.Philip Gladstone2002-07-27
| | | | | | | | | * Add ip address based acls for streams. I recommend adding ACL entries for all feeds to control who can submit stuff. You might also want to consider who can get to your status page. * Make logging work again if customlog == "-" Originally committed as revision 821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added RTSP and RTP server support - added daemon mode as default (use -d for ↵Fabrice Bellard2002-07-25
| | | | | | foreground mode) - added module support Originally committed as revision 812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* renamed gettime() av_gettime() - same for register_all()Fabrice Bellard2002-07-25
| | | | Originally committed as revision 808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Add code to restart ffmpeg if it crashesPhilip Gladstone2002-06-10
| | | | | | | * Add code to monitor the actual datarates on the http connections * Fix problem when ffmpeg uses more than 24 hours of CPU (display only problem) Originally committed as revision 680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Give the max stream time configuration item a chance of workingPhilip Gladstone2002-06-05
| | | | | | | * Add parameters to set author/comment/copyright/title to streamed asf * Format the stats output a little bit better. Originally committed as revision 663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Bad buffer management bug. Forgot to take care of the casePhilip Gladstone2002-05-30
| | | | | | where doubling the size of the buffer is not enough. Originally committed as revision 633 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * New stuff and bug fixes:Philip Gladstone2002-05-30
| | | | | | | | | | | | | | | | | | | | | | | * Change to dynamically allocated buffers. Should reduce memory footprint significantly as well as eliminate a call to av_abort! * Better version of WMP rate switching infrastructure. Currently turned off till the PTS fixes are in. * Added a Redirect type feature. This allows URLs served by ffserver to just redirect to somewhere else. You might want to do this. Really this needs to be enhanced -- say to handle all 404 pages. * Add mechanism to automatically fire up ffmpeg on ffserver start. This is turned on by adding the Launch keyword to the <feed> definition. * Add logic to take care of non-wmp user agents requesting .asf files. They now get a [reference] file with an appropriate mime type. This fixes the mplayer problem. * Make sure that we have a large buffer for the stats page. * Add a FaviconURL keyword to the status stream definition. If set, then it generates the appropriate HTML so that IE and Mozilla will display the favicon as appropriate. OK -- this is a pretty random feature. * If the ffmpeg is running as a child of ffserver, then report it's CPU usage on the status page. [This is linux only -- maybe somebody could do the work for another OS. The tricky thing is getting the 'ps' command right.] Originally committed as revision 630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Add first cut of code to handle Windows Media Player rate switchingPhilip Gladstone2002-05-26
| | | | | | | | | | | | requests. The current state is that at startup, WMP will get the best stream that it can handle. However, subsequent rate switching only puts a message in the log saying what the new stream ought to be. Solving this will be tricky. I guess that we would have to wait for key frames to appear in the new stream, and then switch over to it. Some care would be needed to deal with the PTS of the new stream versus the old stream. Originally committed as revision 602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license/copyright change - fixed header messFabrice Bellard2002-05-25
| | | | Originally committed as revision 588 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Added yet more output to the status page to try and track down a problemPhilip Gladstone2002-05-24
| | | | Originally committed as revision 579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Add support for time-limiting a live stream. (Some guy streamed one ofPhilip Gladstone2002-05-24
| | | | | | | | my pondcam streams for 24 hours! I'll bet he wasn't watching. * Add code to allocate the priv_data so that the ffm header can be parsed again. [Fix crash] Originally committed as revision 577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new api (NOT TESTED) - suppressed strlcpyFabrice Bellard2002-05-20
| | | | Originally committed as revision 549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a segfault when handling errors or .asx or .ram files. Silly bugPhilip Gladstone2002-05-20
| | | | | | on my part. Originally committed as revision 536 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av memory functionsFabrice Bellard2002-05-18
| | | | Originally committed as revision 531 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * If a stream gets stuck in WAIT_FEED, then disconnecting the other endPhilip Gladstone2002-05-18
| | | | | | | | | | | | will clear out the stream. I think that this is really a linux bug in the handling of poll, but I did a workaround anyway. * Improve the statistics output and prevent a buffer overrun when lots of clients are connected. * Process ffm input when it is received and don't always be one ffm packet behind. * Try to avoid going through the poll loop when not required. Originally committed as revision 514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Change the default behaviour to start streaming as soon as possible (i.e.Philip Gladstone2002-05-17
| | | | | | | | | no waiting for key frames). * Provide StartSendOnKey paramter for a stream to wait until we get key frames before sending. * Add the codec names into the status page. May help debugging problems. Originally committed as revision 507 to svn://svn.ffmpeg.org/ffmpeg/trunk