Commit Graph

105 Commits

Author SHA1 Message Date
Måns Rullgård
b2b77b9c23 remove unused function get_longterm_datarate()
Originally committed as revision 4928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 20:11:09 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Måns Rullgård
4733abcbf3 use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Alex Beregszaszi
6b0bdc754b support for unlimited feed size
Originally committed as revision 4697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 03:26:43 +00:00
Alex Beregszaszi
90f9c440e8 debug the launch commandline and new connections
Originally committed as revision 4695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 03:12:14 +00:00
Alex Beregszaszi
ac6a655b8a Make Launch more appropriate with support for full paths for the ffmpeg binary
Originally committed as revision 4693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 01:45:13 +00:00
Alex Beregszaszi
4b4f38e42e Support Launch when BindAddress is not INADDR_ANY or localhost. Also fix a possible buffer overflow
Originally committed as revision 4692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 01:41:01 +00:00
Alex Beregszaszi
edfdd7986d 10l, dont make bandwidth statistics negative when feed stops being sent (it was decreased every time feed sending was aborted)
Originally committed as revision 4642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-14 17:29:00 +00:00
Michael Niedermayer
8d931070fc ffserver segfault & other fatal failure fixes
Originally committed as revision 4454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-18 09:02:58 +00:00
Michael Niedermayer
01f4895c68 changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Philip Gladstone
e8d27bc302 Turn on the seeking support for ffm streams. Now means that streams are
played from the current time rahter than from the beginning

Originally committed as revision 4194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 00:56:05 +00:00
Philip Gladstone
291fe90ae8 Fill out some mandatory fields in the Codec structure. Also add fields in
the configuration to allow you to set Debug and Strict values.

Originally committed as revision 4185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 03:21:04 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Philip Gladstone
7c054ea7e2 ffserver now runs again (sort of).
* In the test cases, the swf, asf, jpg file formats all work
* The avi case doesn't play in winamp. I suspect that the duration field
  of zero confuses it
* The RM doesn't play. This always was pretty flaky.

Originally committed as revision 3795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 02:42:02 +00:00
Petr Doubek
6ba5cbc699 HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>)

Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-12 00:09:32 +00:00
Michael Niedermayer
668fe04e39 min rate should be 0 by default
Originally committed as revision 3362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 10:24:38 +00:00
Michael Niedermayer
53e2f9caf8 ffserver fixes by (Koos Vriezen <koos.vriezen at xs4all dot nl>)
Originally committed as revision 3340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 11:59:34 +00:00
Michael Niedermayer
e928649b0b pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Roman Shaposhnik
4568325a18 * making it possible to specify recording date and time in a stream
Originally committed as revision 2971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 06:31:12 +00:00
Falk Hüffner
7906085fcc warning patrol
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Henning Haaland Kulander
46026f4e5b VideoBufferSize option patch by ("Henning Haaland Kulander" <hennikul at ifi dot uio dot no>)
Originally committed as revision 2749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-05 17:47:24 +00:00
Philip Gladstone
d445a7e9cc Changed a bunch of calls to sprintf to snprintf to protect against buffer
overflows.

Fix streaming from non-streaming ffm files. It turned out that you
always got 'index & id do not match' errors.

Add some more error detection on getting FFM feeds

Originally committed as revision 2523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-19 02:23:17 +00:00
Fabrice Bellard
e240a0bbe0 simpler bandwidth allocation for RTSP streaming - use av_read_frame() - initial support for raw MPEG2 transport stream streaming using RTSP
Originally committed as revision 2506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 19:02:56 +00:00
Philip Gladstone
8bc80f8b24 Minor bugfix to prevent segfault if a malloc fails. I have no idea what
will happen, but at least this crash is gone.

Originally committed as revision 2307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-27 01:23:40 +00:00
Fabrice Bellard
7b7d86f120 simplified version handling
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:51:05 +00:00
Fabrice Bellard
33f25681ae removed ctype.h
Originally committed as revision 2234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:13:17 +00:00
Fabrice Bellard
02d504a7d3 more sections in help - copyright fixes
Originally committed as revision 2143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 15:29:48 +00:00
Michael Niedermayer
7d1c3fc1d6 rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c

Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 02:09:12 +00:00
Fabrice Bellard
bc3513865a added RTP/TCP protocol support
Originally committed as revision 2063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 10:31:23 +00:00
Giancarlo Formicuccia
1bc1cfdddf - Gracefully handle the case where not all the streams are requested/wanted
from the client. Simply ignore the unwanted/unasked streams.
- Don't need to pool() for every input character! (the socket is nonblocking,
so the loop is ok).
- Partially resurrect compute_send_delay for avoiding udp flood. Without a
similar patch, udp transmission is seriously unreliable.
(note that we don't link to a specific input reference stream, it's not needed
as the pts values should be coherent anyway. Also, non-monotonic pts
progression is unimportant in the long term).
- rtsp_cmd_pause must reset the time reference
patch by (Giancarlo Formicuccia <ilsensine at inwind dot it>)

Originally committed as revision 2034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-11 22:30:12 +00:00
Michael Niedermayer
17705a3420 Missing ffserver.c format parameter fix by (Giancarlo Formicuccia <ilsensine at inwind dot it>)
Originally committed as revision 2005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 22:56:54 +00:00
Michael Niedermayer
1b52b6bd6b segfault fix by (Giancarlo Formicuccia <ilsensine at inwind dot it>)
Originally committed as revision 2003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 21:09:06 +00:00
Giancarlo Formicuccia
94d9ad5f80 *** fix for read()
Reading 1-char per read() is the less intrusive way to fix the behaviour I observed.
Not a nice fix, but the client requests shouldn't steal so much bandwidth
*** fix for find_rtp_session_with_url.
Note that mplayer send one PLAY request per stream, I don't know if this should be handled
more gracefully
patch by (Giancarlo Formicuccia <ilsensine at inwind dot it>)

Originally committed as revision 1998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-29 01:25:41 +00:00
Philip Gladstone
03ff071af9 Fix a horrible bug with the launch keyword not handling arguments of length 1!
Originally committed as revision 1761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 03:03:26 +00:00
Philip Gladstone
f0ef624057 Applied Roumen Petrov patch to fix crash/memory leak
Originally committed as revision 1758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 02:27:54 +00:00
Roman Shaposhnik
a7beab731d bunch of small thing patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 09:43:05 +00:00
Philip Gladstone
e322ea480b * Add Video4MotionVector in a stream description to behave like the -4mv flag
* Add ReadOnlyFile which behaves like File, but does not permit changing of the
  file. This can be used to prevent deleting of saved ffm files.

Originally committed as revision 1743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-09 02:16:01 +00:00
Andriy Rysin
0df65975ba RTSP "OPTIONS" command patch by (Andriy Rysin <arysin at bcsii dot net>)
Originally committed as revision 1728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 13:29:58 +00:00
Mark Hills
b88ba82315 ffserver deallocate ctx->streams on closing patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 1704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 10:30:08 +00:00
Michael Niedermayer
14bea432f1 per context frame_rate_base, this should finally fix frame_rate related av sync issues
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Alex Beregszaszi
ce2749d2c4 simplified
Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-09 16:07:19 +00:00
Philip Gladstone
87638494ca Try to eliminate memory leak on stream termination. It doesn't crash, but I'm
not sure if it fixes the problem.

Originally committed as revision 1620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-04 03:12:32 +00:00
Philip Gladstone
cb275dd9eb This should fix the negative bandwidth in use in ffserver. Turned out that
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
2003-03-04 02:56:51 +00:00
Philip Gladstone
efa04ce296 Make ACLs work correctly for streams. Try comparing the addresses in
host order rather than network order.

Originally committed as revision 1597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-23 20:35:47 +00:00
Zdenek Kabelac
0c1a9edad4 * UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Zdenek Kabelac
b29f97d136 * static,const,compiler warning cleanup
Originally committed as revision 1571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:44:47 +00:00
Roman Shaposhnik
98486a6bc0 zero sized malloc patch by Roman Shaposhnick
Originally committed as revision 1501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 22:00:57 +00:00