Commit Graph

187 Commits

Author SHA1 Message Date
Michael Niedermayer
c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Hauke Duden
2451592652 improved VCD support patch by ("Hauke Duden" <H.NS.Duden at gmx dot net>)
- the first audio and video packs now contain only a system header and lots
  of padding.
  - no system headers in any packs other than the first ones
  - the two system headers only contain information about "their" stream
  - fixed some header values (muxrate, some flags, ...) so that they have the
  values specified by the standard
  - padding packs are inserted if the mux rate would be below 75 packs per
  second (the rate must not be below or above that value).
  - fixed the SCR of the packs
  - 20 zero bytes are now inserted at the end of each audio pack, after the
  data packet

Originally committed as revision 2804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 22:34:13 +00:00
Michael Niedermayer
16806499fc w32threads by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 20:29:26 +00:00
Michael Niedermayer
50ee2c4131 fix image resize
Originally committed as revision 2785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 17:20:42 +00:00
Gael Chardon
4776fa926f Log file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 15:04:01 +00:00
Michael Niedermayer
842b556af2 threadless threads warning
Originally committed as revision 2776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 22:18:33 +00:00
Michael Niedermayer
9c3d33d67f multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Michael Niedermayer
ae2e7208f9 pass strict_std_compliance to audio context too
Originally committed as revision 2763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 15:35:53 +00:00
Michael Niedermayer
2caa92d935 fixes by Gildas Bazin <gbazin at altern dot org>
Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-04 15:49:55 +00:00
Michael Niedermayer
77ea0d4bdd quantizer noise shaping
Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 03:52:58 +00:00
Michael Niedermayer
303e50e65b closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Michael Niedermayer
303aebf97a uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me

Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:44:36 +00:00
Michael Niedermayer
622348f931 interlaced dct decision cleanup
function moved to dspcontext
  mmx&mmx2 optimized
  change SSE -> SAD as default (better quality)
vbv buffer size command line option in kbyte

Originally committed as revision 2669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 22:57:07 +00:00
Michael Niedermayer
baaf3f467b SVCD scan offset stuff
Originally committed as revision 2660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 00:23:14 +00:00
Michael Niedermayer
c0baa56a25 trellis quantization regression test
Originally committed as revision 2648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 22:04:14 +00:00
Michael Niedermayer
55bbad6f14 minrate=0 for SVCD & DVD, this matches mpeg2enc and the mpeg1/2 vissual standard
Originally committed as revision 2642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 15:05:19 +00:00
Michael Niedermayer
bb198e198a interlaced motion estimation
interlaced mpeg2 encoding
  P & B frames
  rate distored interlaced mb decission
  alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed

Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Wolfgang Hesseler
0c9bbaec60 motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Michael Niedermayer
890972be03 nicer looking PSNR stats (YUV seperate and print the whole file PSNR at the end instead of the last frame's)
Originally committed as revision 2635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-29 23:08:30 +00:00
Fabrice Bellard
a700a6ae8f moved packet output to a separate function - added the frame buffered by the decoder at EOF, if any
Originally committed as revision 2615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:43:44 +00:00
Michael Niedermayer
5d43635e47 motion estimation & mb compare functions command line options
Originally committed as revision 2613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 11:54:19 +00:00
Fabrice Bellard
8bb27bdfd4 init picture structure to avoid uninitialized fields
Originally committed as revision 2612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 10:46:34 +00:00
Michael Niedermayer
7ebfc0ea63 error concealment regression test
Originally committed as revision 2606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 01:42:00 +00:00
Michael Niedermayer
fb0666392c CBR improvements
Originally committed as revision 2601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 19:26:55 +00:00
Fabrice Bellard
7a0f9d7e7d fixed top_field_first support when encoding
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Michael Niedermayer
8e2162f013 obmc encoding flag (forgot to commit...)
Originally committed as revision 2597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-11 16:00:53 +00:00
Fabrice Bellard
0f26033b7a update -interlace help
Originally committed as revision 2594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:07:11 +00:00
Fabrice Bellard
e56d417bee -interlace option - better consistency in help
Originally committed as revision 2588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 14:50:09 +00:00
Michael Niedermayer
dba019daba h263 alternative inter vlc support
Originally committed as revision 2541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 08:37:51 +00:00
Michael Niedermayer
f7190f7399 h263 OBMC & 4MV support
cleanup

Originally committed as revision 2536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 21:31:20 +00:00
Fabrice Bellard
254abc2ec6 use av_read_frame() - added initial seek support (rename -start to -ss (mplayer...)) - added '-dump' option to dump input packets
Originally committed as revision 2504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:54:17 +00:00
Vidar Madsen
e059574132 -target option patch by (Vidar Madsen <vidar at prosalg dot no>)
this isnt complete or bugfree but its better than nothing

Originally committed as revision 2472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 17:28:44 +00:00
Roman Shaposhnik
ddaae6a9d1 * DV demuxer is now capable of decoding auxilary audio stream. So,
everybody who still uses second streo track for dubbing can
     now export it.

   * void* -> DVDemuxContext* change (per Fabrice's suggestion).

   * -dv1394 capture now works in all modes.

Originally committed as revision 2458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 22:26:26 +00:00
Vidar Madsen
84f608f4a0 New options for intra/inter matrices patch by (Vidar Madsen <vidar at prosalg dot no>)
Originally committed as revision 2456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 10:25:21 +00:00
Michael Niedermayer
7f96ed5b16 forgot to apply this chunk appearently, no, i dont really remember where it came from
Originally committed as revision 2409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 12:55:01 +00:00
Michael Niedermayer
8831db5ca2 start time hack by (devik <devik at cdi dot cz>)
Originally committed as revision 2408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 10:55:24 +00:00
Michael Niedermayer
1c0dcc391a 10l
Originally committed as revision 2404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 21:42:15 +00:00
Michael Niedermayer
5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Roman Shaposhnik
2744ca9ac9 * providing MPEG codecs with a generic fields in AVFrame to use.
* fixing YUV4MPEG format.

    * fixing a bug in DV codec where coded_frame was not set.

Originally committed as revision 2396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 03:19:44 +00:00
Michael Niedermayer
fe08925f64 recommit of
* backing out the 0-sized packets patch. We have to devise a more
    sensible approach.
orginal commit by roman shaposhnik

Originally committed as revision 2379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 14:36:58 +00:00
Michael Niedermayer
158c7f059c use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-07 11:32:40 +00:00
Roman Shaposhnik
39518b493f * 10000l (cut'n'paste is evil!)
* Fix from Charles Yates for 0 sized packets

Originally committed as revision 2341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 03:31:27 +00:00
Roman Shaposhnik
a686caf03d * fixing bug that prevented resampling the picture and
changing pix_fmt at the same time.

   * aspect ratio should be more reliable for DV now.

Originally committed as revision 2338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-03 01:08:10 +00:00
Roman Shaposhnik
fd0f45e58b * fix for integer overflow
Originally committed as revision 2297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-22 18:17:45 +00:00
Fabrice Bellard
211f2123c5 avoid initializing pts for not decoded streams
Originally committed as revision 2284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:26:35 +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
Michael Niedermayer
6e6d6dc0a5 mov/mp4 muxer cleanup (mostly cosmetics/simplifications & global header fix)
Originally committed as revision 2249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 23:03:04 +00:00
Fabrice Bellard
f42eda74dd header fixes - removed MPEG-4 b frame limtation in help
Originally committed as revision 2233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:12:30 +00:00
Michael Niedermayer
dafc3856d9 10l
Originally committed as revision 2202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 22:20:05 +00:00
Charles Yates
bee0d9e587 vhook patch by (Charles Yates <charles dot yates at pandora dot be>)
Originally committed as revision 2201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 14:20:33 +00:00