Commit Graph

130 Commits

Author SHA1 Message Date
Panagiotis Issaris 750f0e1f8b Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:17:26 +00:00
Alex Beregszaszi acdc852017 print codec parameters for audio too
Originally committed as revision 8303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 11:20:57 +00:00
Alex Beregszaszi d0a5513b88 disconnect new feeder if feed is already being received
Originally committed as revision 8271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:29:04 +00:00
Alex Beregszaszi bae79c048f redirect http get requests of / to index.html (note, the http_parse_request may worth a rewrite)
Originally committed as revision 8113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 03:17:59 +00:00
Alex Beregszaszi c3f5818525 store internal timestamps in int64_t instead long
Originally committed as revision 8112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:39:57 +00:00
Alex Beregszaszi f1debfd0bd rescale pts/dts for output format
Originally committed as revision 8111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:28:28 +00:00
Alex Beregszaszi f75cdda718 return error if av_write_header failed (it fails on some containers when codec is not supported)
Originally committed as revision 8110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:24:42 +00:00
Alex Beregszaszi 638831aacc disconnect client if trailer is sent
Originally committed as revision 8109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:16:12 +00:00
Alex Beregszaszi 5400e0923a if feeder is disconnected, clear the feed registration, thus a new feeder can connect
Originally committed as revision 8072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:27:39 +00:00
Alex Beregszaszi 038a1243a2 codec_tag settable via VideoTag, and transmit codec_tag in ffm
Originally committed as revision 8071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:23:38 +00:00
Alex Beregszaszi c60202dffe change write/read to send/recv on socket operations
Originally committed as revision 8069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 12:38:37 +00:00
Alex Beregszaszi d96633bbe4 change close() to closesocket() on sockets (compatible with libavformat)
Originally committed as revision 8068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 12:17:25 +00:00
Alex Beregszaszi 8cba6ba97a remove gettime_ms and use av_gettime instead of it
Originally committed as revision 8052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 14:06:03 +00:00
Alex Beregszaszi 1df93ae910 use av_random instead random/srandom
Originally committed as revision 8051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 13:50:32 +00:00
François Revol b0c858d834 poll() emulation for BeOS, and maybe MinGW.
Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 07:44:10 +00:00
Måns Rullgård 18b67ae59e rename HAVE_DLFCN to HAVE_DLFCN_H
Originally committed as revision 7078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 23:53:37 +00:00
Måns Rullgård 78e61cc5c6 rename CONFIG_HAVE_DLFCN and CONFIG_HAVE_DLOPEN to HAVE_DLFCN/HAVE_DLOPEN
Originally committed as revision 7018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 23:14:24 +00:00
Steve L'Homme 949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun 3e66a74072 Update copyright year and mention other copyright holders.
Originally committed as revision 6408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:26:15 +00:00
Måns Rullgård d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Diego Biurrun f1cc88a5d6 Use Subversion revision for FFMPEG_VERSION.
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr

Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:24:08 +00:00
Stefan Huehner 7b49ce2e34 Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-18 11:33:14 +00:00
Aurelien Jacobs 267b0e5754 Update ffserver regression tests:
- really produce readable files (instead of 0 byte files or headers only)
 - use bitexact, fastint dct, simple idct and qscale
 - gives consistent results across several archs
 - still fails on altivec ppc

Originally committed as revision 5129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-09 00:36:39 +00:00
Alex Beregszaszi 33f5e2ec3e make those nasty variables static, also fix a html bug
Originally committed as revision 5044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 21:15:19 +00:00
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