Commit Graph

129 Commits

Author SHA1 Message Date
Philip Gladstone
64e105e051 Fix a potential endless loop (nb (1 * 3) / 2 == 1)
Originally committed as revision 823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 03:05:45 +00:00
Philip Gladstone
487ec9a0d9 Add conditional build of strptime
Originally committed as revision 820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 03:00:39 +00:00
Philip Gladstone
dcb7d9cbe0 Add strptime into the source pool for those systems that don't have it.
Originally committed as revision 818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 02:56:22 +00:00
Philip Gladstone
c5510dd63b * Add code for ffserver to get stream output formats: guess_stream_format
* Add real parse_date code. This is much more robust and can handle localtime and UTC

Originally committed as revision 817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 02:54:10 +00:00
Philip Gladstone
36ada60ccb Add prototype of guess_stream_format
Originally committed as revision 816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 02:52:52 +00:00
Philip Gladstone
8b3c13f9f1 Add another asf output format type -- asf_stream. The convention is that
ffserver will always try and use the _stream suffix if possible.

Originally committed as revision 815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 02:52:23 +00:00
Fabrice Bellard
910fdd21b5 added installlib target
Originally committed as revision 807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:06:41 +00:00
Fabrice Bellard
a25e098d33 exported av_probe_input_format()
Originally committed as revision 806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:05:52 +00:00
Fabrice Bellard
a11bf0bd61 renamed gettime to av_gettime()
Originally committed as revision 805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:05:25 +00:00
Fabrice Bellard
2302dd1319 moved simple c utils
Originally committed as revision 804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:04:20 +00:00
Fabrice Bellard
4624540b71 separated init code from utils to reduce static library size
Originally committed as revision 803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:03:55 +00:00
Fabrice Bellard
9498853132 more consistent naming
Originally committed as revision 802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:01:46 +00:00
Fabrice Bellard
fb0256250d added RTP/RTSP stuff
Originally committed as revision 801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 18:05:26 +00:00
Fabrice Bellard
a9a721da7c added url_split()
Originally committed as revision 800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 18:04:50 +00:00
Fabrice Bellard
bdd7d51848 added compilation of RTP/RTSP stuff
Originally committed as revision 799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 18:04:24 +00:00
Fabrice Bellard
94ef68647c suppressed packet size dependancy
Originally committed as revision 798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:56:25 +00:00
Fabrice Bellard
0e2a219706 http protocol now uses tcp: protocol (simpler)
Originally committed as revision 797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:53:23 +00:00
Fabrice Bellard
abba3dd133 added dynamic buffer support - added url_fprintf() and url_fgetc()
Originally committed as revision 796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:51:50 +00:00
Fabrice Bellard
8a9488b550 added url_get_max_packet_size() support - added URL_RDWR flag
Originally committed as revision 795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:50:23 +00:00
Fabrice Bellard
f031df23fe api change for packet based protocols (such as UDP and RTP)
Originally committed as revision 794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:49:11 +00:00
Fabrice Bellard
2d225591e9 better UDP support - added preliminary multicast support (untested)
Originally committed as revision 793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:45:41 +00:00
Fabrice Bellard
85fb7b3490 added rtp port range support
Originally committed as revision 792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:40:26 +00:00
Fabrice Bellard
5188559986 added local port option
Originally committed as revision 791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-24 17:38:20 +00:00
François Revol
3ffe379394 patch by François Revol <revol at free dot fr>
- fix for multiple frames per chunk
- better probing
- better header parsing
- fixed some 4CCs
- use av_new_stream() (but still dealocates some of them with av_free())

Originally committed as revision 790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-23 22:05:35 +00:00
François Revol
889c522492 adpcm encoding patch by François Revol <revol at free dot fr>
Originally committed as revision 785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 01:44:08 +00:00
François Revol
0147f19856 beos/mov/adpcm patch by François Revol <revol at free dot fr>
* Some BeOS fixes:
- errno stuff
- nanosleep() replacement
- added a doc/README.beos

* mov reader still has problems with most videos (skips many chunks),
- It should now read .mov files with zlib-compressed moov headers (aka cmov)
- added SVQ1 support.
- removed mapping 'raw ' and 'yuv2' to h263, was my mistake.
- added IMA4 support. (tested)
- fixed frame rate (it reported 0 fps or something before)
- extended file probing ('wide' and 'free' atoms)
- improved .mov/.mp4 detection (or so I think)

* adpcm
* added zlib support, with header file and lib check

Originally committed as revision 780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-20 20:05:50 +00:00
Roy Sigurd Karlsbakk
eddbd7e5a0 largefile support patch by Roy Sigurd Karlsbakk <roy at karlsbakk.net>
Originally committed as revision 778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-18 20:27:09 +00:00
Zdenek Kabelac
9235088f0f * using time.h for Cygwin systems as well
Originally committed as revision 777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-18 17:11:27 +00:00
Zdenek Kabelac
436483c2ec * redundant declaration removed
Originally committed as revision 724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-08 11:38:40 +00:00
Fabrice Bellard
3b50d2ad15 added rtp protocol
Originally committed as revision 720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 10:42:57 +00:00
Fabrice Bellard
1617ad97ae added rtsp support (not activated yet)
Originally committed as revision 719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 10:41:34 +00:00
Fabrice Bellard
e309128f84 added rtp support (not activated yet)
Originally committed as revision 718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 10:38:01 +00:00
Fabrice Bellard
171bbb03ad added raw tcp support
Originally committed as revision 717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 10:35:45 +00:00
Michael Niedermayer
390dffc5ad more mpeg4 fourcc's
Originally committed as revision 701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-22 23:08:37 +00:00
Fabrice Bellard
24f9709b22 fixed VOB parsing bug
Originally committed as revision 699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 19:25:38 +00:00
Michael Niedermayer
9b030d9d73 wmv1
Originally committed as revision 698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 09:12:54 +00:00
Philip Gladstone
cbadbf19fc Change ticker_tick to use ticker_abs as we want the absolute number
of ticks. In particular we want an INT64 return.

Originally committed as revision 693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-17 03:10:37 +00:00
Philip Gladstone
c25fdfc683 Add ticker_abs function that returns the number of ticks to get the
supplied frame (or sample) number. This is not the same as ticker_tick

Originally committed as revision 692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-17 03:08:29 +00:00
Philip Gladstone
2dbceb9f8a Change the way that the ?date= stuff is parsed. It now takes a time (with optional date)
in local time rather than GMT. Note that you are advised to use the date as well as the time
as the time is relative to the current day (which is not much use if the time is in the
future). The date format parsing is pretty strict still:
YYYY-MM-DDTHH:MM:SS   is a format that works. The T is a literal non-digit character. I wouldn't
use a space. The :SS can be omitted. The number of digits *must* be four in the Year.

Originally committed as revision 691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-14 03:38:00 +00:00
Fabrice Bellard
d714edf190 optimized ticker_tick() if num is big - please test it (should reduce CPU usage - this code is temporary before new PTS handling scheme)
Originally committed as revision 681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:23:09 +00:00
Philip Gladstone
16300e23d5 * Get the buffer size right now we have the buffer inside the FFStream block
Originally committed as revision 666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:21:10 +00:00
Philip Gladstone
084fada8d1 * Add the comment block if any of the comment fields are present.
* Eliminate compiler warning
* Add the codec name if we have it

Originally committed as revision 664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:18:17 +00:00
Philip Gladstone
2824c47368 Remove some calls to av_free that tured out to be duplicate. This improves
the behaviour of ffserver streaming asf files from disk.

Originally committed as revision 662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 20:40:53 +00:00
Philip Gladstone
3a2d04473d Make sure that the http_proxy environment variable starts with http://
If not, then ignore it's value.

Originally committed as revision 628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 21:18:06 +00:00
Fabrice Bellard
b13788c53f use sys/soundcard.h for OSS audio
Originally committed as revision 607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 15:09:58 +00:00
Fabrice Bellard
19720f15fd license/copyright change
Originally committed as revision 593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:34:32 +00:00
Fabrice Bellard
17269bdfcd fixed double free - fixed probe function
Originally committed as revision 592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:33:18 +00:00
Fabrice Bellard
0726b2d1ea fixed double free - fixed jpg image sequence automatic selection
Originally committed as revision 591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:32:57 +00:00
Fabrice Bellard
66d2ff2a3d fixed memory free (no free necessary for private data) - added better support for automatic testing
Originally committed as revision 590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:31:48 +00:00
Philip Gladstone
a8dbe9514f Change order of extensions and read_probe checking. This gives the read_probe
a higher priority than extensions. This gives FFM a chance of working. Note
that some of the other probe functions are bit optimistic, and can be
confused by binary data (such as 0x00 0x00 0x01 0xzz) for some values of zz.

This set of changes makes ffserver work again, and fixes the cannot open
video grab device message.

Originally committed as revision 581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-24 02:09:40 +00:00