Commit Graph

687 Commits

Author SHA1 Message Date
Fabrice Bellard
51133a7db0 added first version of regression tests - simply type 'make test' to test every codec and some mux/demuxes - added simple synthetic audio and video bitstreams generators so that no big streams needs to be used
Originally committed as revision 532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:18:22 +00:00
Fabrice Bellard
0f1578afcc use av memory functions
Originally committed as revision 531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:17:41 +00:00
Fabrice Bellard
0f3cb305fe added bigendian support - added cross compilation support - added generation of objects in another directory for simultaneous compilations (needs testing) - simplified redundant code
Originally committed as revision 530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:13:26 +00:00
Fabrice Bellard
dd9ca370a1 added VPATH support - added regression targets
Originally committed as revision 529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:11:25 +00:00
Fabrice Bellard
1ea4f59365 use av memory handling functions
Originally committed as revision 528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:11:09 +00:00
Fabrice Bellard
065422677a fixed pcm read
Originally committed as revision 527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:09:43 +00:00
Fabrice Bellard
f57a4535bd added VPATH support
Originally committed as revision 526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:07:57 +00:00
Fabrice Bellard
1c098b2fb6 added dummy crc output format for easy codec testing
Originally committed as revision 525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:06:13 +00:00
Fabrice Bellard
82acee8fc4 removed unmaintained vc stuff
Originally committed as revision 524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:05:19 +00:00
Fabrice Bellard
c7011bf708 removed not maintained vc stuff
Originally committed as revision 523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:04:30 +00:00
Fabrice Bellard
6000abfa89 removed useless header includes - use av memory functions
Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:03:29 +00:00
Fabrice Bellard
4cc281d9d9 added VPATH support for multiple dir compilation
Originally committed as revision 521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:01:20 +00:00
Fabrice Bellard
3123dd793e proper memory handling functions
Originally committed as revision 520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:59:50 +00:00
Fabrice Bellard
61a4e8ae3b removed debug function
Originally committed as revision 519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:59:12 +00:00
Fabrice Bellard
f9ed4f8894 put all integer init code to compute n^(4/3) - memory alloc and header fixes
Originally committed as revision 518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:58:08 +00:00
Fabrice Bellard
5bd12d1277 improved mpeg1/2 decoding speed
Originally committed as revision 517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:56:50 +00:00
Fabrice Bellard
44f27b3a86 added proper memory handling functions - fixed include paths
Originally committed as revision 516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:56:25 +00:00
Fabrice Bellard
9241551049 tried to avoid gcc 2.95.2 bug by puting explicit register constraints - added comment about rounding bug in some functions (need to correct or suppress them for regression tests)
Originally committed as revision 515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:49:11 +00:00
Philip Gladstone
a6e14edde0 * If a stream gets stuck in WAIT_FEED, then disconnecting the other end
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
2002-05-18 21:33:05 +00:00
Philip Gladstone
5e57424d11 Fix the WAIT_FEED problem. It turns out that when you open up an FFM
file and seek to an FFM packet, then it is important that the packet
found has a frame header within it. If not, then terrible things happen.
This fixes the problem.

Originally committed as revision 513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 21:30:16 +00:00
Fabrice Bellard
9c80daf193 updated for my short term goals
Originally committed as revision 512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 10:28:55 +00:00
Michael Niedermayer
4b7b196005 qmin==1 bugfix
Originally committed as revision 511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 15:31:33 +00:00
Michael Niedermayer
a7bd879798 shared lib support (req by kabi) ...
Originally committed as revision 510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 13:01:01 +00:00
Philip Gladstone
96c7b53561 * Added a note that says that WMP cannot stream .mpg files.
Originally committed as revision 509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 01:54:39 +00:00
Philip Gladstone
abb2a5e242 Added use of StartSendOnKey
Originally committed as revision 508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 01:54:14 +00:00
Philip Gladstone
79c4ea3c6c * Change the default behaviour to start streaming as soon as possible (i.e.
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
2002-05-17 01:53:28 +00:00
Michael Niedermayer
607dce96c0 hopefully faster mmx2&3dnow MC
Originally committed as revision 506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 01:04:14 +00:00
Michael Niedermayer
59fe111e81 new hopefully faster MC
Originally committed as revision 505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 23:29:09 +00:00
Michael Niedermayer
02734c6a3e print frame decoding time support (x86 only)
Originally committed as revision 504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 22:01:30 +00:00
Zdenek Kabelac
83286d2a75 * fixed --enable-shared handling
Originally committed as revision 503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 18:02:50 +00:00
Philip Gladstone
9cfe269e70 * Updated with new stream configuration items
Originally committed as revision 502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 02:03:34 +00:00
Philip Gladstone
42a63c6a02 * Add code to configure the following:
* prebuffering/preroll a live stream -- this improves startup time
  * videoqmin/videoqmax/videoqdiff -- codec parameters
  * maximum bandwidth for live streams
* Add support for .ram and .rpm extensions mapping onto .rm
* Make the status page show bandwidth. Also make the .asf and .rm
  links go to .asx and .ram files.
* Make a stream only start streaming when it gets a keyframe on each
  stream. This is arguable, and it maybe ought to be restricted to
  live streams. However, since I don't think that file streams work,
  this is a step in the right direction. It improves the startup delay.
* Log an error if we are unable to delete the temp feed file.

Originally committed as revision 501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 02:03:07 +00:00
Philip Gladstone
3884a3c322 Pass over the bit_rate_tolerance field to ffmpeg
Originally committed as revision 500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 01:57:55 +00:00
Michael Niedermayer
218ad65d4d fixing end overwrite bugs (some at least)
this needs testing, untested parts should be reversed before release
i tested 24->32, 15->16, bgr24->rgb, bgr32->rgb (retesting them isnt a bad idea either ...)

Originally committed as revision 6097 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-15 02:27:41 +00:00
Juanjo
90da4d764c - Bug fix for AVStream->r_frame_rate not being initialized for live video
capture.

Originally committed as revision 499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-15 02:02:24 +00:00
Juanjo
6dc96cb0bf - Now ffmpeg handles MPEG-2 streams with pull down, it gets the real frame
rate of the stream.

Originally committed as revision 498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 22:06:13 +00:00
Juanjo
76c0441b10 - Added r_frame_rate in AVStream to store the real frame rate.
- This stuff could be done in AVCodecContext and the real frame rate
calculated in utils.c, but we don't changes in that by now ;)

Originally committed as revision 497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 21:50:00 +00:00
Juanjo
e0a3d744a0 - repeat_pict meaning changed, now it signals the extra delay for the
decoded frame.
- extra_delay = (repeat_pict / 2) * (1/fps)

Originally committed as revision 496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 19:56:42 +00:00
Michael Niedermayer
c02dbee162 enable simple-idct by default (needed cuz otherwise files encoded with ffmpeg will show stripes with the reference IDCT during decoding)
Originally committed as revision 495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 15:42:54 +00:00
Zdenek Kabelac
e8f147930b * first shot for the new avcodec API
- comments, critics, improvements on the ffmpeg list are welcomed

Originally committed as revision 494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 14:17:11 +00:00
Philip Gladstone
13a0314fba * Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it.
Originally committed as revision 493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 02:36:23 +00:00
Juanjo
0b97443a3f - Video CD option for ffmpeg
Originally committed as revision 492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 21:39:44 +00:00
Juanjo
92b3e12592 - VCD MPEG-1 compliant stream support (set AVF_FLAG_VCD)
Originally committed as revision 491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 21:38:54 +00:00
Nick Kurshev
79b0d5f925 build num ++
Originally committed as revision 490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 16:06:45 +00:00
Nick Kurshev
8bceb6af09 build info for ABI
Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:53:25 +00:00
Nick Kurshev
5d27890ae9 I was too lazy to be a hero ;)
Originally committed as revision 488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:30:10 +00:00
Juanjo
4442945711 - ffmpeg relies on libavcodec to repeat frames from 3:2 sources.
Originally committed as revision 487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 02:56:50 +00:00
Juanjo
c80340a4eb - repeat_pict added to AVCodecContext to signal if the decoder must repeat
frames from 3:2 pulldown sources.
- repeat_pict honoured by MPEG-1/2 decoder.

Originally committed as revision 486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 02:55:48 +00:00
Björn Sandell
b6acbc3caf various openbsd and general warning fixes - patch by Björn Sandell <biorn@dce.chalmers.se>
Originally committed as revision 6058 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-12 02:18:52 +00:00
Juanjo
ab0ff2a563 - Fixes for MPEG-PS which have more than 1 system header, now we don't take
in account the system header just walk through the file searching streams.
  MPEG-PS demuxer needs more work anyway.

Originally committed as revision 485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-11 23:53:04 +00:00