Commit Graph

531 Commits

Author SHA1 Message Date
Michael Niedermayer 83a9db42a3 Fix timestamps and durations if the first packets have no durations nor timestamps,
and the information needed to guess the duration only becomes known at a later packet.

Originally committed as revision 11963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:32:32 +00:00
Michael Niedermayer e942293db1 It appears last_pts was not set ...
Originally committed as revision 11939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 13:21:00 +00:00
Michael Niedermayer a712d725c0 Header elision muxing support.
This only removes 2 bytes from MP3 and MP2 currently.
Up to 4 could be removed from MP3/MP2 though this might need a 2pass muxer.
Primitive code to remove headers from MPEG-1/2/4 is there too but for the
single file I tried it on (the one in the regression tests), it was a loss
because all video frames were >4096 byte, so that it is disabled ATM.

Originally committed as revision 11936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 02:57:19 +00:00
Benoit Fouet 3f8e1fc80c Update regression test checksum for ffm.
Originally committed as revision 11933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-14 09:20:53 +00:00
Baptiste Coudurier 485f076dc2 seek regression ref update for ogg
Originally committed as revision 11869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 01:35:34 +00:00
Baptiste Coudurier 37b74c8651 Fix issue 338:
Correctly interleave ogg packets per granule
and set eos correctly, 2 packets buffering is needed.
It duplicates interleave_per_dts a bit,
if someone has a good solution, I'll implement it.

Originally committed as revision 11867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 01:16:47 +00:00
Oded Shimon eb757a6251 Update seektest regression as well to previous lavf/nut commits
Originally committed as revision 11864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 19:03:50 +00:00
Oded Shimon 4ddcc983b4 back_ptr calculation used wrong timebase when searching for back syncpoint
Originally committed as revision 11856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:48:41 +00:00
Oded Shimon 02c986a8d6 Fix intented algo in syncpoint writing before keyframes in NUT muxer
Originally committed as revision 11855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:45:32 +00:00
Oded Shimon 82badd27f1 nut->max_distance was not set at all anywhere in the NUT muxer
Originally committed as revision 11854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:34:35 +00:00
Oded Shimon 103d74ea5c ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
gave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params

Originally committed as revision 11851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:27:32 +00:00
Måns Rullgård 9d6a96af24 remove single-frame images from seektest
Originally committed as revision 11837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:38:56 +00:00
Måns Rullgård 704abfec05 remove useless/incorrect comments in regression.sh
Originally committed as revision 11834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:32 +00:00
Måns Rullgård 2009721d99 split lavf regression tests
Originally committed as revision 11833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:29 +00:00
Måns Rullgård 4383ed5cba split regression tests allowing make to run them in parallel
Originally committed as revision 11832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:26 +00:00
Måns Rullgård d2e40fe5e1 get seek regression test filenames from reference file
Originally committed as revision 11831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:22 +00:00
Michael Niedermayer aba29e6feb Fix b-libav.ul/al seek regression test.
Originally committed as revision 11696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 20:04:17 +00:00
Måns Rullgård f5655f2afb remove duplicate, disabled nut regression test
Originally committed as revision 11671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 21:04:00 +00:00
Diego Biurrun 76de4ea681 Print the name of the regression test that was run after finishing the test.
Originally committed as revision 11664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-29 23:30:00 +00:00
Måns Rullgård a8fa959a0f rename dv50 regression test output file to dv50.dv
Originally committed as revision 11660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 22:35:44 +00:00
Michael Niedermayer 175e23e875 Consider initial EOR in the back_ptr calculation.
Originally committed as revision 11550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 13:59:52 +00:00
Benjamin Larsson b529ab37ba 4 months of hard development and finally it's done. Closes issue 58. Adpcm_swf regressions tests.
Originally committed as revision 11160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 15:35:23 +00:00
Michael Niedermayer 7548783bc5 correct invalid duration
Originally committed as revision 11152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:23:09 +00:00
Kostya Shishkov ec28509fed Fix regression tests after r11127 and 11129
Patch by kostya

Originally committed as revision 11128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 17:46:27 +00:00
Baptiste Coudurier 6865337f7b ogg seek regression ref
Originally committed as revision 11001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-11 19:36:04 +00:00
Baptiste Coudurier 5118cae694 ogg muxer
Originally committed as revision 10999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 18:27:03 +00:00
Diego Biurrun e9b67fe42e Disable unused function, fixes the warning:
tests/tiny_psnr.c:55: warning: ‘exp16’ defined but not used

Originally committed as revision 10968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 04:57:28 +00:00
Timofei V. Bondarenko 62b3415258 fix predictor initialization for adpcm-ima encoder not to lose first sample
in block in adpcm-ima decoder
Patch by Timofei V. Bondarenko: tim £ ipi, ac, ru
Original thread: [FFmpeg-devel] [PATCH] adpcm-ima-wav header and codec
Date: 10/15/2007 05:55 PM

Originally committed as revision 10933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 13:08:04 +00:00
Benoit Fouet 40b67a56d1 Fix mov checksums following r10852.
Originally committed as revision 10928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-05 09:24:16 +00:00
Kostya Shishkov d447fc3132 Seek regression for RM demuxer fix
Originally committed as revision 10907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 06:43:29 +00:00
Roberto Togni 64d8ef0bb7 Fix seek regression test for ac3 in rm after r10634
Needed because avparser changes the size of the packets

Originally committed as revision 10635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 19:49:50 +00:00
Michael Niedermayer f612801465 fix timestamps used for ratecontrol
these were wrong (in pts vs dts sense) when b frames were in use
they were also wrong if the average framerate was smaller than 1/timebase
resulting in totally wrong final bitrate

Originally committed as revision 10477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 22:46:41 +00:00
Michael Niedermayer e559c30a20 allow changing of the spatial_decomposition_count and quantization tables
per frame (this is untested as the encoder does not use it yet)

Originally committed as revision 10458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 15:06:46 +00:00
Michael Niedermayer 7d7f57d939 store halfpel filter coefficients in the header as well as the
flag for diagonal interpolation

the primary reason for this change is that previously MC up to 1/4 pel
matched H.264 exactly and that increases the risk of stumbling over
patents

secondly this allows 0.10 db or more quality gain by choosing a longer
filter and the filter could also be chosen optimally for each frame
though that of course would cause speed loss at the decoder and encoder
side ...

Originally committed as revision 10436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 14:51:13 +00:00
Michael Niedermayer a68ca08e30 cleanup mc_block()
perform interpolation steps in such an order that halfpel interpolation
could be done per picture
this also makes mc_block() match h.264 for the 1/4 pel cases so that the
use of the h264 functions for some cases does not introduce a fantastic mess

Originally committed as revision 10433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:14:20 +00:00
David Conrad 7a297ceb8f Update mkv regression tests after r10421
Originally committed as revision 10430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 15:58:08 +00:00
David Conrad 46491f138c Matroska regression tests
Originally committed as revision 10391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:05:54 +00:00
Neil Brown 9fcbcca60a If a stream has no start time, but the first packet has a 'pts', use that
pts to set the start_time.
patch by Neil Brown: [neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less
dependant on start_time being defined.
date: 08/16/2007 08:27 AM

Originally committed as revision 10285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:56:26 +00:00
Michael Niedermayer d593e32983 use 16bit IDWT (a SIMD implementation of it should be >2x faster then with
the old 32bit code)
disable mmx/sse2 optimizations as they need a rewrite now

Originally committed as revision 10218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:00:51 +00:00
Michael Niedermayer b538791bc9 use more bits on the encoder side
negligible increase in quality

Originally committed as revision 10195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 10:49:14 +00:00
Michael Niedermayer ce611a27be Change rounding of the horizontal DWT to match the vertical one.
This allows some simplifications and optimizations and should
not have any effect on quality.

Originally committed as revision 10172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 16:29:40 +00:00
David Conrad 99e8b22dc5 Use PRId64 in seek test
Originally committed as revision 10098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:18:14 +00:00
Michael Niedermayer f38e2b13bd nut regression test
Originally committed as revision 10057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 14:38:31 +00:00
Baptiste Coudurier 9031aeb1cd take care to use video track field number as duration
Originally committed as revision 10024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:18:59 +00:00
Michael Niedermayer 371bf80642 ignore preroll, it is generally not what AVStream.start_time should contain
Originally committed as revision 9963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:36:55 +00:00
Michael Niedermayer d7826b58d2 make wmv1 and wmv2 playable with M$ DMO decoder
Originally committed as revision 9950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 20:03:37 +00:00
Michael Niedermayer a3be5e589b update seek regressions for r9917
(correct initial timestamps which have AV_NOPTS_VALUE)

sorry, i will rm tests/seek_test ; make ; make seektest from now on

Before r9917 lavf replaced the initial dts which were unknown (AV_NOPTS_VALUE)
by values starting from -frame_duration or another guessed value.
After r9917 lavf buffers packets until it finds a known timestamp or it buffered
too much, it will then correct the previous unknown timestamps in the buffer exactly.
For the seek tests that meant that a few initial timestamps would get changed.
If no packet in the whole stream contains a timestamp then all timestamps
will be changed by first_frame_duration or so as 0 is used instead of
-frame_duration as startpoint ...

Originally committed as revision 9949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 19:41:36 +00:00
Michael Niedermayer d2f8f410bc flashsv regression test
closes issue5

Originally committed as revision 9912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:35:50 +00:00
Andreas Öman 6b8bcd3ed3 regression tests for yuv440p yuvj440p
patch by Andreas Öman: [andreas olebyn nu]

Originally committed as revision 9765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 16:06:14 +00:00
Baptiste Coudurier 51d2ff8044 round timestamps up, k2 broadcast server seems to need it
Originally committed as revision 9630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:06:58 +00:00