aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/seek
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-271-53/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (35 commits) libopencore-amr: check output buffer size before decoding libopencore-amr: remove unneeded buf_size==0 check. libopencore-amr: remove unneeded frame_count field. aac_latm: remove unneeded check for zero-size packet. pcmdec: fix output buffer size check by calculating the actual output size prior to decoding. pcmdec: move codec-specific variable declarations to the corresponding codec blocks. pcmdec: return buf_size instead of src-buf. avcodec: remove the Zork PCM encoder. pcm_zork: use AV_SAMPLE_FMT_U8 instead of shifting all samples by 8. pcmenc: remove unneeded sample_fmt check. pcmdec: move number of channels check to pcm_decode_init() pcmdec: remove unnecessary check for sample_fmt change pcmdec: move DVD PCM bits_per_coded_sample check near to the code that sets the sample size. pcmdec: do not needlessly set *data_size to 0 alacdec: remove unneeded NULL or zero-size packet checks. alacdec: simplify buffer allocation by using FF_ALLOC_OR_GOTO() alacdec: ask for a sample for unsupported sample depths. alacdec: cosmetics: use 'ch' instead of 'chan' to iterate channels alacdec: move some declarations to the top of the function alacdec: always use get_sbits_long() for uncompressed samples ... Conflicts: libavcodec/pcm.c tests/ref/acodec/pcm Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | utils: flush on successfull av_seek_frame_binary()Michael Niedermayer2011-10-211-14/+14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | seek: Fix av_gen_search() so that seeks outside max/min do not successfully ↵Michael Niedermayer2011-10-216-44/+53
| | | | | | | | | | | | | | | | seek to random points but rather seek to the min/max. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegts: add and use mpegts_get_dts()Michael Niedermayer2011-10-211-17/+17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-148-204/+204
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: proresdsp: fix function prototypes. prores-idct: fix overflow in c code. fate: update prores-alpha ref after changing pix_fmt to yuv444p10le prores: add missing feature warning for alpha mov: 10l: Terminate string with 0 not '0' mov: Prevent illegal writes when chapter titles are very short. prores: add appropriate -fix_fmt parameter to FATE command riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header lavc: add a flag-based error_recognition field to AVCodecContext and deprecate non-flag-based ER field lavc: rename deprecation symbol FF_API_VERY_AGGRESSIVE to FF_API_ER Conflicts: libavcodec/avcodec.h libavformat/mov.c tests/fate/prores.mak tests/ref/acodec/g726 tests/ref/fate/prores-alpha Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_headerJohn Brooks2011-10-148-204/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The cbSize field should be included in all cases, even with PCM where its value is ignored. Fixes encoding PCM audio in Matroska for some players which insist on a full WAVEFORMATEX structure for A_MS/ACM audio. Since fate uses wav files for the audio test a larger number of tests has changed checksums or shifted positions due to the 2 byte longer wave header. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * fate: remove seek-mpeg2reuse testMans Rullgard2011-09-281-46/+0
| | | | | | | | | | | | The input file for this test is no longer generated. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | ffmdec: fix seeking for non indexed filesMichael Niedermayer2011-09-081-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-051-15/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ac3enc: Add channel coupling support for the fixed-point AC-3 encoder. ac3enc: scale floating-point coupling channel coefficients in scale_coefficients() rather than in apply_channel_coupling() ac3enc: fix encoding of stereo ac3 files when rematrixing is disabled. wavpack: fix wrong return value in wavpack_decode_block() avconv: fix parsing metadata specifiers. fate: use +frame+slice named constants instead of '3' mpeg12: propagate more real return values through chunk decode error return and fix some indentation wavpack: use context reset in appropriate places avconv: move mux_preload and mux_max_delay to options context avconv: move bitstream filters to options context. avconv: move rate_emu to options context. avconv: move max_frames to options context. avconv: move metadata to options context. avconv: move ts scale to options context. avconv: move chapter maps to options context. avconv: move metadata maps to options context. avconv: move codec_names to options context. Conflicts: avconv.c tests/fate-run.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.Justin Ruggles2011-09-051-15/+20
| | | | | | | | Update FATE references accordingly.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-091-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) mp3enc: write a xing frame containing number of frames in the file lavf: update AVStream.nb_frames when muxing. ffmpeg: remove unused variables from InputStream. doc: update ffmpeg -ar and -ac documentation to reflect reality. ffmpeg: remove pointless if (nb_input_files) ffmpeg: merge input_files_ts_offset into input_files. ffmpeg: merge input_codecs into input_streams. ffmpeg: drop AV prefixes from struct names. ffmpeg: deprecate loop_input and loop_output options gif: add loop private option. img2: add loop private option. AVOptions: in av_opt_find() don't return named constants unless unit is specified. x11grab: replace undocumented nomouse hackery with a private option. dict: extend documentation. lls: whitespace cosmetics docs: Use proper markup for a literal command line option docs: Remove a remark that isn't relevant any longer docs: Explain how to regenerate import libraries with MSVC tools docs: Mention that libraries for MSVC can be built with a cross compiler docs: Remove old docs that mention setting up a build environment with lib.exe ... Conflicts: doc/ffmpeg.texi doc/general.texi ffmpeg.c libavcodec/Makefile libavcodec/dnxhddata.c libavformat/mp3enc.c libavformat/utils.c libavutil/Makefile tests/copycooker.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ffmpeg: deprecate loop_input and loop_output optionsAnton Khirnov2011-07-081-1/+1
| | | | | | | | They were replaced by (de)muxer private options.
| * lavf/utils: fix ff_interleave_compare_dts corner case.Vitor Sessak2011-05-102-25/+25
| | | | | | | | | | | | | | | | | | | | This should fix behavior introduced by commit 96573c0d7605672d69b42ae1dcf18764ce47c71a. Av_rescale_rnd() is not lossless so if two timestamps are equal after being rescaled they are not always actually identical. This patch use av_compare_ts() to get always a correct result. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Make DV (sub) demuxer set proper pkt->pos values.Reimar Döffinger2011-05-024-108/+108
| | | | | | | | | | This makes the avi demuxer create packets with proper pos values with the file from ticket #140.
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-271-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) ac3enc: correct the flipped sign in the ac3_fixed encoder Eliminate pointless '#if 1' statements without matching '#else'. Add AVX FFT implementation. Increase alignment of av_malloc() as needed by AVX ASM. Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX. mjpeg: Detect overreads in mjpeg_decode_scan() and error out. documentation: extend documentation for ffmpeg -aspect option APIChanges: update commit hashes for recent additions. lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums aac: add headers needed for log2f() lavc: remove FF_API_MB_Q cruft lavc: remove FF_API_RATE_EMU cruft lavc: remove FF_API_HURRY_UP cruft pad: make the filter parametric vsrc_movie: add key_frame and pict_type. vsrc_movie: fix leak in request_frame() lavfi: add key_frame and pict_type to AVFilterBufferRefVideo. vsrc_buffer: add sample_aspect_ratio fields to arguments. lavfi: add fieldorder filter scale: make the filter parametric ... Conflicts: Changelog doc/filters.texi ffmpeg.c libavcodec/ac3dec.h libavcodec/dsputil.c libavfilter/avfilter.h libavfilter/vf_scale.c libavfilter/vf_yadif.c libavfilter/vsrc_buffer.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: correct the flipped sign in the ac3_fixed encoderJustin Ruggles2011-04-261-1/+2
| |
| * lavf/utils.c: Order packets with identical PTS by stream index.Vitor Sessak2011-04-122-25/+25
| | | | | | | | | | | | This allows for more reproducible results when using multi-threading. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | avi: try to synchronize the points in time of the starts of streams after ↵Michael Niedermayer2011-04-241-8/+8
|/ | | | | | seeking. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ac3enc: select bandwidth based on bit rate, sample rate, and number ofJustin Ruggles2011-04-031-3/+6
| | | | | | | full-bandwidth channels. This reduces high-frequency artifacts and improves the quality of the lower frequency audio at low bit rates.
* Add apply_window_int16() to DSPContext with x86-optimized versions and use itJustin Ruggles2011-03-221-20/+10
| | | | in the ac3_fixed encoder.
* asf: update seek test referenceMans Rullgard2011-03-173-87/+81
| | | | | | | | | | | This updates the seek test reference to match de11ee9. Before this change, most of the seeks requested positions before the supposed start of the file (the preroll time), resulting in the first packet being returned. With the preroll subtracted, some of these seeks will land within the file and some beyond the end, thus returning a different set of packets. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage.Justin2011-03-141-11/+11
| | | | | | | | | This increases the accuracy of coefficients, leading to improved quality. Rescaling of the coefficients to full 25-bit accuracy is done rather than offsetting the exponent values. This requires coefficient scaling to be done before determining the rematrixing strategy. Also, the rematrixing strategy calculation must use 64-bit math to prevent overflow due to the higher precision coefficients.
* ac3enc: fix bug in stereo rematrixing decision.Justin Ruggles2011-02-161-10/+20
| | | | | | | The rematrixing strategy reuse flags are not reset between frames, so they need to be initialized for all blocks, not just block 0. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add stereo rematrixing support to the AC-3 encoders.Justin Ruggles2011-01-081-14/+7
| | | | | | | | This improves the audio quality significantly for stereo source with both the fixed-point and floating-point AC-3 encoders. Update acodec-ac3_fixed and seek-ac3_rm test references. Originally committed as revision 26271 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the default dB-per-bit code from 2 to 3.Justin Ruggles2010-12-291-17/+16
| | | | | | | | | | | | This gives slightly better quality in PEAQ tests. Code 3 gives a dBpb value of 2816 = -132dB (128 psd units = -6dB), which corresponds to 22 bits. Since the exponents have an offset applied, the 16-bit source looks like 24-bit source to the bit allocation routine. So using dBpb code=3 is a closer match to the exponent range. Regression test refs updated for acodec-ac3, lavf-rm, and seek-ac3_rm. Originally committed as revision 26144 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change FIX15() back to clipping to -32767..32767.Justin Ruggles2010-12-211-7/+5
| | | | | | | | This avoids a 16-bit overflow in mdct512() due to a -32768 value in costab. References updated for acodec-ac3, lavf-rm, and seek-ac3_rm tests. Thanks to Måns Rullgård for finding the bug. Originally committed as revision 26071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update the test references for lavf-rm and seek-ac3_rm.Justin Ruggles2010-12-141-10/+16
| | | | | | The references changed due to r25956. Originally committed as revision 26004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a FLAC parser.Michael Chinen2010-12-071-23/+45
| | | | | | | | | Seek test reference updated because FLAC seeking now works properly. Fixes roundup issue 1150. Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid negative SCR in mpeg ps muxer.Michael Niedermayer2010-10-161-27/+27
| | | | | | Fixes a scr issue reported with dvdauthor ([FFmpeg-user] FFMPEG encoded MPEG-2 video causes error in DVDAuthor) Originally committed as revision 25512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update rv20 seek test referenceMåns Rullgård2010-09-261-17/+17
| | | | Originally committed as revision 25204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* regtest: rename seektest ref files using alphanumeric chars onlyMåns Rullgård2010-07-20114-0/+0
| | | | Originally committed as revision 24345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* regtest: add seektest reference files for rgb/yuv in aviMåns Rullgård2010-06-062-0/+92
| | | | Originally committed as revision 23506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Mux clusters betterJames Zern2010-06-041-12/+12
| | | | | | | | | | Start them on keyframes when reasonable, and delay writing audio packets to help ensure that there's audio samples available for the first frame in clusters. Patch by James Zern <jzern at google> Originally committed as revision 23473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Write codec time base as default duration for video tracks.David Conrad2010-05-241-22/+22
| | | | | | | | This isn't exactly semantically equivalent, but the field has already been long abused to mean this, and writing it helps in determining a decent cfr time base when transcoding from a mkv where the video codec stores none (VP8). Originally committed as revision 23284 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update regression tests after removing track timecode scale from mkvencDavid Conrad2010-05-223-76/+76
| | | | Originally committed as revision 23248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In ogg muxer, pack multiple frames into one page, much lower overheadBaptiste Coudurier2010-05-211-26/+13
| | | | Originally committed as revision 23231 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change default for bidir_refine to 1.Michael Niedermayer2010-04-0211-154/+154
| | | | Originally committed as revision 22778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VorbisComment writing to FLAC files.James Darnley2010-03-201-1/+1
| | | | | | Patch by James Darnley <james darnley at gmail>. Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use mpeg2 quantization bias for mjpeg.Michael Niedermayer2010-03-152-21/+21
| | | | | | this seems to improve RD performance. Originally committed as revision 22550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggdec: Determine pts and filepos on a packet basis in read_timestampDavid Conrad2010-03-111-26/+13
| | | | | | | This takes into account whether the granule defines the start or end times of packets, and sets the correct file offset of the associated page. Originally committed as revision 22462 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggdec: Set data_offset to the right valueDavid Conrad2010-03-111-11/+11
| | | | | | | Otherwise it gets set automatically to a page midstream and prevents seeking to the first page. Originally committed as revision 22454 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggdec: Save offset of the page needed to reconstruct the current packetDavid Conrad2010-03-111-20/+20
| | | | Originally committed as revision 22453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegts vbr muxing, activated when muxing rate is not supplied by theBaptiste Coudurier2010-03-081-27/+27
| | | | | | user. Originally committed as revision 22352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* regtest: run seektest on image sequencesMåns Rullgård2010-03-0710-56/+56
| | | | | | | Seeking on image sequences doesn't actually work, so this test isn't very useful until that capability is added. Originally committed as revision 22286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Run seektest on all generated filesMåns Rullgård2010-03-02112-0/+5109
Originally committed as revision 22158 to svn://svn.ffmpeg.org/ffmpeg/trunk