1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Commit Graph

82 Commits

Author SHA1 Message Date
Baptiste Coudurier
92a0f33878 fix valid seeking range
Originally committed as revision 18098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 07:35:52 +00:00
Baptiste Coudurier
a9c6fc7b3e update seek regression ref due to 18063
Originally committed as revision 18096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 05:03:11 +00:00
Reimar Döffinger
bd36f175ab Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectly
seeking before data_offset and is more consistent with how the generic index
seeking code handles it.

Originally committed as revision 17964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 20:50:54 +00:00
Baptiste Coudurier
4e35ffa978 fix swf seeking by fixing new stream detection
Originally committed as revision 17952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 19:37:05 +00:00
Baptiste Coudurier
b686d0ab4b mxf and mxf d10 regression tests
Originally committed as revision 17934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 07:16:19 +00:00
Reimar Döffinger
60f75ad245 Fix seek regression test broken by r17905, seeking fails completely
for swf before and after, but it now incorrectly creates additional
streams.

Originally committed as revision 17913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 17:44:57 +00:00
Reimar Döffinger
29a68cf04e Convert spurious DOS line breaks to UNIX line breaks in seek regression
test reference file.

Originally committed as revision 17911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 15:38:08 +00:00
Baptiste Coudurier
6b4fab72df change path pattern to be similar to existing files, and remove useless buffer
Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 03:34:15 +00:00
Baptiste Coudurier
aaa43de31a write flt packet, might need some tweaking but it works
Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:35:00 +00:00
Baptiste Coudurier
a96b1a903a correctly interleave audio and video according to specs
Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:10:28 +00:00
Baptiste Coudurier
46a7e3ec14 write timecode track in gxf
Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 00:14:55 +00:00
Justin Ruggles
f48b9304cd flacdec: Parse the metadata header in the raw FLAC demuxer.
Originally committed as revision 17852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 01:31:10 +00:00
Ivan Schreter
61c23c155c Pass packet position to the parser, so frame's AVPacket.pos is computed correctly.
Originally committed as revision 17824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:36:16 +00:00
Michael Niedermayer
4022fe01a6 Change the timebase of the raw demuxer to one that can represent the ts of fields.
Originally committed as revision 17675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 03:48:35 +00:00
Ivan Schreter
4c6b49bf74 Change TS seeking so it returns position/timestamp of a key frame.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 18:35:53 +00:00
Aurelien Jacobs
2a46003c9e matroskadec: fix seek regression tests according to r17460
Originally committed as revision 17461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 21:41:40 +00:00
Stefan de Konink
426a6f34a0 Splits the totalbitrate in a videodatarate and audiodatarate part.
Patch by Stefan de Konink stefan konink de

Originally committed as revision 16944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 16:10:46 +00:00
Baptiste Coudurier
8dc81a4524 seek at 0 when timestamp requested is negative
Originally committed as revision 16815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 04:29:33 +00:00
Baptiste Coudurier
a848cfe97c fix seek reg tests, Im always forgetting this
Originally committed as revision 16706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 00:36:34 +00:00
David Conrad
4bcafc9a23 Update regression tests after r16651
Originally committed as revision 16656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 18:34:47 +00:00
Baptiste Coudurier
3d0a94f699 calculate pat, pmt and sdt exact size and adjust total bitrate
Originally committed as revision 16610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 23:49:13 +00:00
Baptiste Coudurier
31a2506349 update seek regression tests due to ts modifications
Originally committed as revision 16606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 22:30:01 +00:00
Michael Niedermayer
ed4c638a07 Fix PTS returned by the demuxers for mpeg4 without a decoder.
More precissely fix has_b_frames.
Fixes issue757

Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:47:29 +00:00
Aurelien Jacobs
19cf8e2027 10l: missing change from r15667 - global header also affect seek test results
Originally committed as revision 15668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-22 21:16:31 +00:00
Michael Niedermayer
3e3c638e69 Switch regression tests to swscale.
Plain C, x86-32 and -64 have been tested and should work, other
archs that had asm optmizations in swscale likely will need some fixes
to either fall back on C if SWS_BITEXACT is set or make the asm match C.
This also disables the PAL8 test as neither swscale nor the old scaler
really support PAL8 output, imgconvert supported a fixed 666 palette
as output and swscale supports fixed 884 and 422.

Originally committed as revision 15305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 03:49:54 +00:00
Aurelien Jacobs
20f7466550 matroskadec: after seeking, skip up to the desired timestamp instead of
the desired stream

Originally committed as revision 15282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 12:01:51 +00:00
Aurelien Jacobs
0b393b7a4e fix seek regression tests after r15229
The matroska demuxer now index every streams so seek on stream 1 now works.

Originally committed as revision 15254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 15:08:43 +00:00
Michael Niedermayer
d3b4b74c32 Fix lossless jpeg encoder to comply to spec and store full redundant
residuals, Note this does not change RGB32 as we need to check this
against some decoder that supports it.

Originally committed as revision 15055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 20:39:12 +00:00
Aurelien Jacobs
cbccf2058e Fix the seek regressions to match changes in r14956, r14959 and r14960.
The changes are verified and desired.

Originally committed as revision 14969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 22:21:30 +00:00
Aurelien Jacobs
3fa1e8185a matroskadec: update seek regression test to match new ebml parser
This change is due to r14590.
The AVPacket position now points to the first byte of the actual
packet data in the file. It previously pointed to the EBML element
ID preceding packet data.

Originally committed as revision 14612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:43:04 +00:00
Baptiste Coudurier
39a127bfbc Only reset buffer state if seeking is successful; update seek reg ref.
Originally committed as revision 14491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:40:06 +00:00
Baptiste Coudurier
23f02559fe check url_fseek return value, update seek reg tests
Originally committed as revision 14488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 18:01:12 +00:00
Michael Niedermayer
6d77d9acf7 Set cur_dts to 0 only during creating new streams and not every time cur_dts happens
to be AV_NOPTS_VALUE.

Originally committed as revision 14118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 14:07:37 +00:00
Baptiste Coudurier
78a5c7a5a1 update seek reg ref due to r13856
Originally committed as revision 13878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 07:33:31 +00:00
Michael Niedermayer
65f526835f I think we are also compliant to iso2.
Originally committed as revision 13765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 13:52:53 +00:00
Michael Niedermayer
ed6e47c21d Add isom to the compatible brands.
Originally committed as revision 13764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 12:19:01 +00:00
Baptiste Coudurier
3c6a9f66b9 pass dts and pts through ffm, should fix streaming b frames
Originally committed as revision 13725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 07:43:14 +00:00
Baptiste Coudurier
8a4f5983ee update ffm seek tests now that timestamps are fixed
Originally committed as revision 13684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 04:47:48 +00:00
Michael Niedermayer
d59591fb02 In mpeg1/2 timestamps are associated with the access unit which
contains the first picture startcode that commences in the PES
packet, instead of the first access unit that commences in the
PES packet. Fix the parser to
handle that properly. This was a very long standing bug ...
The change to the seek regressions is because the mpeg ts muxer
stores too many invalid and randomized timestamps which overflow
the 4 entry buffer we use in the parser.

Originally committed as revision 13643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 02:43:17 +00:00
Michael Niedermayer
0366654e2b Use generic seeking code for flv. The removed code was a buggy duplicate.
Originally committed as revision 12812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 12:22:23 +00:00
Michael Niedermayer
fd31550d23 Fix seeking in rm.
Originally committed as revision 12779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 23:19:05 +00:00
Baptiste Coudurier
83edd50917 update ogg seek reg tests because of r12630
Originally committed as revision 12664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 12:49:54 +00:00
Panagiotis Issaris
781138d005 Update the regression tests reference values after the changes to the Matroska
muxer/demuxer in revision 12358.

Originally committed as revision 12407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 15:19:52 +00:00
Måns Rullgård
733a6d8360 Remove mp4psp regression test
The PSP MP4 format requires an AAC audio stream, so until
we have an AAC encoder we cannot test this format.

The existing test is broken and does not actually use the
PSP format.

Originally committed as revision 12359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:07 +00:00
Kostya Shishkov
9dc92a38a0 IMA ADPCM encoder - QT variant
Originally committed as revision 12348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 07:30:41 +00:00
Michael Niedermayer
73e2261318 The last flag fix fixed mpeg4-qprd (there the flags ended up being trashed
through lrintf(), that is gcc put the 32bit int flags in a 32bit float
which caused some to be lost ...).
I wonder why FATE did not pick this up?

Originally committed as revision 12329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 12:45:32 +00:00
Michael Niedermayer
b6bffc46b8 Fix trellis quant + AAN DCT.
Originally committed as revision 12221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:43:42 +00:00
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