Commit Graph

209 Commits

Author SHA1 Message Date
Michael Niedermayer c5b1c10a0e fixing epzs & mpeg1 (hopefully now really ...)
Originally committed as revision 348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 16:51:44 +00:00
Michael Niedermayer 8a29b31054 mpeg1 & epzs fix
Originally committed as revision 347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 04:35:46 +00:00
Michael Niedermayer c7d5049c98 oops
Originally committed as revision 345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 02:36:08 +00:00
Michael Niedermayer 45870f5718 new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected

Originally committed as revision 344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 02:21:17 +00:00
Juanjo af469427b3 - Fix pts calculation on mpeg mux (A/V sync) - Thanks to Lennert Buytenhek
- Fix temporal-reference-glitches for MPEG1 - Thanks to Lennert Buytenhek

Originally committed as revision 343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-20 11:16:07 +00:00
Juanjo ce7c56c250 - Added video coding statistics for ffmpeg. Needs more work.
- Fixed ME range for H.263+ UMV (32 pix).

Originally committed as revision 342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-19 06:30:41 +00:00
Michael Niedermayer 488fa19a86 use the width & height from the mpeg4 header ... in the case that its complete
Originally committed as revision 340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-19 03:51:36 +00:00
Michael Niedermayer 019d276a12 msmpeg4 bugfix (wrong frame displayed if some frames are skipped)
Originally committed as revision 339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-18 21:06:07 +00:00
Michael Niedermayer 2e3be0fba9 fixing 4MV
Originally committed as revision 338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-18 20:11:43 +00:00
Michael Niedermayer bd31a7750f scene change detection
Originally committed as revision 337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 19:45:33 +00:00
Michael Niedermayer c674115939 10l
Originally committed as revision 336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 18:08:11 +00:00
Juanjo 001e3f555d - Fixes on MPEG demuxer to handle VOBs without System Header.
Originally committed as revision 335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 17:44:45 +00:00
Michael Niedermayer 9cdd6a24ad hopefully better bitrate controll
Originally committed as revision 334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 16:31:38 +00:00
Juanjo 1cb0edb40b - Bug fix MPEG-2 decoder to handle "repeat_first_field" (Telecine)
- Hack in MPEG-2 demux to cope with buggy VOBs.

Originally committed as revision 333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-16 02:41:00 +00:00
Michael Niedermayer 4278e7a6f5 optimization
Originally committed as revision 332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 14:57:17 +00:00
Michael Niedermayer d6231b9e70 use ac prediction in mpeg4 encoding (5% smaller intra-blocks/keyframes)
some minor optimizations
last non zero index cant be 64 bugfix

Originally committed as revision 331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 04:10:53 +00:00
Michael Niedermayer 49c9325f56 support decoding (with mplayer) of 3 .mp4 files from mphq
optimize h263_pred_motion()

Originally committed as revision 330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-13 19:26:38 +00:00
Michael Niedermayer 10cd581572 generate even more complete mpeg4 headers
Originally committed as revision 329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-13 12:50:41 +00:00
Michael Niedermayer 6f91bcd151 mpeg4 b-frames :)
create slightly more correct headers & add "ffmpeg" user-data section

Originally committed as revision 328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-12 22:54:25 +00:00
Juanjo e2263827d5 - Bug fix on output sample rate for lame MP3 encoding.
Originally committed as revision 327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 15:16:41 +00:00
Juanjo 9d36bdc9be - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:58:53 +00:00
Juanjo 0716b577b6 - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:52:00 +00:00
Juanjo 5798368baf - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
- Changes on AVI and WAV muxers to support MP3.

Originally committed as revision 324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:51:20 +00:00
Michael Niedermayer 1699d37681 divx5 draw_edges bugfix
Originally committed as revision 322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 03:17:53 +00:00
Michael Niedermayer 7ff037e9ca q-pel mc fixed
Originally committed as revision 321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-09 14:22:21 +00:00
Michael Niedermayer 44eb495128 divx5-gmc support
q-pel mc support
neither is totally bugfree yet though :(

Originally committed as revision 320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-09 13:01:16 +00:00
Michael Niedermayer 73c8e5144a gmc bitstream decoding support (the real motion compensation isnt implemnted yet)
Originally committed as revision 318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-07 13:27:15 +00:00
Michael Niedermayer cc9ba006ec parsing more of the mpeg4 header & print some "not supported" stuff
Originally committed as revision 317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-05 13:58:13 +00:00
Juanjo 43f1708f8b - Added PSNR feature to libavcodec and ffmpeg. By now just Y PSNR until I'm
sure it works ok. Also it's slow, so use it only when you _really_ need to
measure quality.
- Fix libavcodec Makefile to enable profiling.

Originally committed as revision 314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-26 22:14:27 +00:00
Michael Niedermayer 2b9ab1d54a fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)
Originally committed as revision 313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-22 19:19:01 +00:00
Juanjo e7774f11ac - Bug fix on RTYPE (rounding type) not being honoured by H.263+ decoder.
Originally committed as revision 312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-22 03:35:41 +00:00
Juanjo 9e15ad28bd - Bug fixes in H.263+ Advanced INTRA Coding decoder.
- H.263+ should be able to decode streams with AIC now :)

Originally committed as revision 311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-19 19:23:34 +00:00
Juanjo d140623fc4 - H.263+ decoder support for Advanded INTRA Coding (buggy)
Originally committed as revision 310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 19:33:27 +00:00
Zdenek Kabelac d6a4c0b111 * some modifications to allow gcc to compile same code for -fPIC
- introduced MOVQ_WONE, MOVQ_WTWO
* unrolled put_pixels_clamped_mmx
* added .baling where the jump address would be compiled on odd address
* added some testing code to disable all these routines (for time measurement)

Originally committed as revision 308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:40:05 +00:00
Zdenek Kabelac 38d171ebbe * simplified indexing
* ignoring error from msmpeg4_decode_block

Originally committed as revision 307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:34:54 +00:00
Zdenek Kabelac af8793ae75 * simplified indexing
Originally committed as revision 306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:32:11 +00:00
Zdenek Kabelac 8257bf0534 * eliminating duplicated code from MPV_common_end
* simplified indexing

Originally committed as revision 305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:31:37 +00:00
Zdenek Kabelac 3232bc885d * using static instead of extern
Originally committed as revision 304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:29:32 +00:00
Zdenek Kabelac b4cc15e75e * continue after error in msmpeg4_decode_mb - helps for some movie samples
Originally committed as revision 303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:28:05 +00:00
Michael Niedermayer bb6f51aeab avoid overflow of picturenumber*fps*10000
bug found by Lennert Buytenhek <buytenh@gnu.org>

Originally committed as revision 302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 01:58:00 +00:00
Michael Niedermayer 3696d2bb83 block_last_index was too large (in mpeg1 decoding)
Originally committed as revision 301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 00:31:16 +00:00
Juanjo b4dbd87c04 - Minor changes on bitrate control
Originally committed as revision 300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-15 20:46:37 +00:00
Michael Niedermayer d8cf5aea49 optimized the normal bitstream writer, its faster than the alternative one on p3 now ... lets hope its at least not slower on p4 & k7
Originally committed as revision 299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-15 00:14:01 +00:00
Michael Niedermayer f004ca1c1b optimized encode_dc() (+2% speed on P3 for mpeg1 intra only encodings)
Originally committed as revision 298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-13 15:26:28 +00:00
Michael Niedermayer 80feb2a23e optimize mpeg1_encode_block()
(makeing some constant arrays global, merging put_bits(), ...)

Originally committed as revision 297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-13 04:19:10 +00:00
Michael Niedermayer 4f0f8bfce3 aligned bitstream writer (1% slower on p3 but perhaps its faster on p4?)
Originally committed as revision 296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 22:43:26 +00:00
Michael Niedermayer 17592475b3 alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 15:43:16 +00:00
Juanjo e03c341ef3 - More work on preliminary bit rate control, just to be able to get an
average variance for picture's MBs so we can adjust qscale on the MB layer.

Originally committed as revision 294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 06:10:50 +00:00
Juanjo 37fbfd0a91 - Now the ME is done for the entire picture when enconding, the
DCT/Quantization is done after we have calculated all the MV of the picture.
- This is the preamble for a better bit rate control.

Originally committed as revision 293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 01:56:50 +00:00
Juanjo 81401c1fbc - Fixes on RTP and GOB headers for H.263.
- RTP callback system implemented for H.263/H.263+.
- Bug fix on DC coefficients of H.263.
- H.263 decoder now returns PTS on picture number.

Originally committed as revision 292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 16:59:56 +00:00