summaryrefslogtreecommitdiffstats
path: root/tests/ref/acodec
Commit message (Collapse)AuthorAgeFilesLines
* avformat/pcm: decrease target audio frame per sec to 10Marton Balint2024-03-1615-29/+29
| | | | | | | | | | This makes the wav and pcm demuxer demux bigger packets, which is more efficient. As a side effect of the bigger packets, audio durations can become less exact for command lines such as "ffmpeg -i $INPUT -c:a copy -t 1.0 $OUTPUT". Signed-off-by: Marton Balint <[email protected]>
* avformat/riffenc: don't force WAVEFORMATEXTENSIBLE for flt/dbl LPCMGyan Doshi2023-12-282-4/+4
| | | | | | | | | | | | 2c2a167ca7 forced WAVEFORMATEXTENSIBLE for all LPCM streams with greater than 16 bits per sample. However, WAVEFORMATEX allows IEEE Float samples or any depth where raw depth == coded depth, see Remarks section at https://learn.microsoft.com/en-us/windows/win32/api/mmreg/ns-mmreg-waveformatex and samples M1F1-float32-AFsp, M1F1-float64-AFsp at https://www.mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples.html There are hardware devices and likely software players requiring float samples that fail to qualify files with WAVEFORMATEXTENSIBLE headers.
* fftools/ffmpeg: propagate frame durations to packets when encodingAnton Khirnov2023-04-199-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove now-obsolete code setting packet durations pre-muxing for CFR encoded video. Changes output in the following FATE tests: * numerous adpcm tests * ffmpeg-filter_complex_audio * lavf-asf * lavf-mkv * lavf-mkv_attachment * matroska-encoding-delay All of these change due to the fact that the output duration is now the actual input data duration and does not include padding added by the encoder. * apng-osample: less wrong packet durations are now passed to the muxer. They are not entirely correct, because the first frame duration should be 3 rather than 2. This is caused by the vsync code and should be addressed later, but this change is a step in the right direction. * tscc2-mov: last output frame has a duration of 11 rather than 1 - this corresponds to the duration actually returned by the demuxer. * film-cvid: video frame durations are now 2 rather than 1 - this corresponds to durations actually returned by the demuxer and matches the timestamps. * mpeg2-ticket6677: durations of some video frames are now 2 rather than 1 - this matches the timestamps.
* tests/ref: Remove unused reference filesAndreas Rheinhardt2022-05-031-4/+0
| | | | | | | | | | Accidentally resurrected in fc49f22c3b735db5aaac5f98e40b7124a2be13b8 and 7711f19eda40a7fd1c8a327f1700ffdd115e1667, forgotten in 6ebc71847e21a8abaf7ff3d902cb1cf63511e7b4 and 1a6a088f7c7b164042ad16d43d05543ce1bacfa4 or never needed (filter-aemphasis). Signed-off-by: Andreas Rheinhardt <[email protected]>
* fate/acodec: Remove acodec-adpcm-adx-trellis testAndreas Rheinhardt2022-04-281-4/+0
| | | | | | | adx ignores the trellis option, making this test identical to acodec-adpcm-adx. Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/argo_asf: pass name through as metadataZane van Iperen2021-10-151-1/+1
| | | | Signed-off-by: Zane van Iperen <[email protected]>
* fate: add adpcm_ima_ws testZane van Iperen2021-04-261-0/+4
| | | | Signed-off-by: Zane van Iperen <[email protected]>
* avcodec/adpcm_ima_swf: fix frame size to 4096Zane van Iperen2020-11-073-12/+12
| | | | | | | | | SWF File Format Specification, Version 19 says this is 1 raw sample + 4095 nibbles. https://www.adobe.com/content/dam/acom/en/devnet/pdf/swf-file-format-spec.pdf Signed-off-by: Zane van Iperen <[email protected]>
* fate: add adpcm_ima_alp encoding testZane van Iperen2020-10-251-0/+4
|
* fate: add test for adpcm_swf in wavZane van Iperen2020-10-211-0/+4
| | | | Signed-off-by: Zane van Iperen <[email protected]>
* fate: add adpcm_argo testZane van Iperen2020-08-071-0/+4
| | | | Signed-off-by: Zane van Iperen <[email protected]>
* fate: add adpcm_ima_apm encoding testZane van Iperen2020-07-211-0/+4
| | | | Signed-off-by: Zane van Iperen <[email protected]>
* fate: add adpcm_ima_ssi encoding testZane van Iperen2020-06-011-0/+4
| | | | | Signed-off-by: Zane van Iperen <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/movenc: ensure we don't write the major brand as a compatible brand ↵James Almer2019-12-215-10/+10
| | | | | | more than once Signed-off-by: James Almer <[email protected]>
* avformat/movenc: write the major brand also as the first compatible brandJames Almer2019-12-215-10/+10
| | | | Signed-off-by: James Almer <[email protected]>
* avformat/mpegtsenc: get rid of packet counting for sdt/pat/pmtMarton Balint2019-08-231-2/+2
| | | | | | | | | | | | | The packet counting based approach caused excessive sdt/pat/pmt for VBR, so let's use a timestamp based approach instead similar to how we emit PCRs. SDT/PAT/PMT period should be consistent for both VBR and CBR from now on. Also change the type of sdt_period and pat_period to AV_OPT_TYPE_DURATION so no floating point math is necessary. Fixes ticket #3714. Signed-off-by: Marton Balint <[email protected]>
* avcodec/adxenc: add EOF headerPaul B Mahol2019-07-252-4/+4
| | | | Fixes #8031.
* avformat/movenc: use unspecified language by defaultMarton Balint2019-07-125-5/+5
| | | | | | English was used before. Signed-off-by: Marton Balint <[email protected]>
* swresample/options: enable linear_interp and exact_rational by defaultMuhammad Faiz2017-03-171-3/+3
| | | | | | better quality without speedloss Signed-off-by: Muhammad Faiz <[email protected]>
* swresample/resample: use uniform normalizationMuhammad Faiz2017-03-082-4/+4
| | | | | | | | | this gives better frequency response update swresample fate and other fates that depend on resampling Signed-off-by: Muhammad Faiz <[email protected]>
* adpcm: fix clipping for yamahaPaul B Mahol2017-02-152-6/+6
| | | | | | | According to specification max value allowed is 0x6000. Fixes #5862. Signed-off-by: Paul B Mahol <[email protected]>
* avformat: add a TTA MuxerJames Almer2016-08-041-2/+2
| | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* Merge commit '393596f9d51134d6e45d81ae129223f4faea1232'Clément Bœsch2016-06-231-1/+1
|\ | | | | | | | | | | | | | | | | | | | | * commit '393596f9d51134d6e45d81ae129223f4faea1232': mpegtsenc: stop impersonating ses in sdt This commit also includes the needed FATE updates later spotted by Martin Storsjö and fixed in 34effe816f9f3df2e6b8bc738e2b5a86a24fd0d7 on Libav side. Merged-by: Clément Bœsch <[email protected]>
* | Merge commit 'dc6527ed908e4d330738f139074455ffbe56a2de'Derek Buitenhuis2016-02-2911-22/+22
|\| | | | | | | | | | | | | | | | | | | FATE tests have been updated to patch. They do not differ in any meaningful way. * commit 'dc6527ed908e4d330738f139074455ffbe56a2de': nutenc: do not use AVCodecContext.frame_size Merged-by: Derek Buitenhuis <[email protected]>
* | libavformat/matroska: Write stream durations in metadata, in the format of ↵Sasi Inguva2015-08-051-2/+2
| | | | | | | | | | | | | | | | | | mkvmerge. Compute individual stream durations in matroska muxer. Write them as string tags in the same format as mkvmerge tool does. Signed-off-by: Sasi Inguva <[email protected]>
* | avformat/rawenc: Store sample number for ADXMichael Niedermayer2015-06-212-2/+2
| | | | | | | | | | | | | | Fixes Ticket4540 Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: Add test for -exact_rice_parameters 1Michael Niedermayer2015-05-191-0/+4
| |
* | fate: add tta encoder testJames Almer2015-04-131-0/+4
| | | | | | | | | | Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | tests/fate: Add S302M testMichael Niedermayer2015-03-021-0/+4
| | | | | | | | | | Reviewed-by: Reimar Döffinger <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: add wavpack encoderPaul B Mahol2015-02-131-0/+4
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | avcodec/adxenc: fix roundingMichael Niedermayer2014-11-302-6/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/adxenc: match prediction used in the decoderMichael Niedermayer2014-11-302-6/+6
| | | | | | | | | | | | The prediction used in the encoder was not correct Signed-off-by: Michael Niedermayer <[email protected]>
* | adpcm: Write the proper predictor in trellis mode in IMA QTMartin Storsjö2014-06-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The actual predictor value, set by the trellis code, never was written back into the variable that was written into the block header. This was accidentally removed in b304244b. This significantly improves the audio quality of the trellis case, which was plain broken since b304244b. Encoding IMA QT with trellis still actually gives a slightly worse quality than without trellis, since the trellis encoder doesn't use the exact same way of rounding as in adpcm_ima_qt_compress_sample and adpcm_ima_qt_expand_nibble. Fixes part of Ticket3701 Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: enable adpcm-ima_qt-trellisMichael Niedermayer2014-06-061-0/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | tests: add adpcm trellis testsTimothy Gu2014-06-055-0/+20
| | | | | | | | | | | | | | | | adpcm_ima_qt does not produce reproducible results, so it is temporarily disabled (see #3701). Signed-off-by: Timothy Gu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | ffmpeg: prefix encoder with "Lavc " in bitexact modeMichael Niedermayer2014-05-1811-22/+22
| | | | | | | | | | | | This avoids misleading encoder names like "encoder = prores" Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '6656370b858329ca07a60a2de954d5e90daa0206'Michael Niedermayer2014-05-1811-22/+22
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '6656370b858329ca07a60a2de954d5e90daa0206': avconv: set the "encoder" tag when transcoding Conflicts: ffmpeg.c tests/ref/lavf/mkv tests/ref/seek/lavf-mkv Merged-by: Michael Niedermayer <[email protected]>
* | ff_put_wav_header: add flag to force WAVEFORMATEXDaniel Verkamp2014-04-3037-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially undoes commit 2c4e08d89327595f7f4be57dda4b3775e1198d5e: riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header A new flag, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX, is added to force the use of WAVEFORMATEX rather than PCMWAVEFORMAT even for PCM codecs. This flag is used in the Matroska muxer (the cause of the original change) and in the ASF muxer, because the specifications for these formats indicate explicitly that WAVEFORMATEX should be used. Muxers for other formats will return to the original behavior of writing PCMWAVEFORMAT when writing a header for raw PCM. In particular, this causes raw PCM in WAV to generate the canonical 44-byte header expected by some tools. Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: force 128kb/sec for mp2 testMichael Niedermayer2014-04-151-4/+4
| | | | | | | | | | | | This fixes rounding differences between platforms Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/mpegaudioenc_template: default to 384k bitrate as defaultMichael Niedermayer2014-04-112-8/+8
| | | | | | | | | | | | | | | | If 384k is too high for the samplerate, choose the closest possible Idea to increase the bitrate from: 46439e156219d27f059cf687743ba5aacf238b87 Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec: split mp2 encoder into float and fixedMichael Niedermayer2013-12-031-0/+4
| | | | | | | | | | | | | | | | | | | | This makes the USE_FLOATS == 0 available to the end user More float optimizations can easily be added as well now common code should be factored out into a common file once all fixed point & floating point optimizations are done, this is to avoid having to move code back and forth between files. Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-08-235-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: movenc: Make tkhd "enabled" flag QuickTime compatible Conflicts: libavformat/movenc.c tests/ref/acodec/alac tests/ref/acodec/pcm-s16be tests/ref/acodec/pcm-s24be tests/ref/acodec/pcm-s32be tests/ref/acodec/pcm-s8 tests/ref/lavf/mov tests/ref/vsynth/vsynth1-dnxhd-1080i tests/ref/vsynth/vsynth1-mpeg4 tests/ref/vsynth/vsynth1-prores tests/ref/vsynth/vsynth1-qtrle tests/ref/vsynth/vsynth1-svq1 tests/ref/vsynth/vsynth2-dnxhd-1080i tests/ref/vsynth/vsynth2-mpeg4 tests/ref/vsynth/vsynth2-prores tests/ref/vsynth/vsynth2-qtrle tests/ref/vsynth/vsynth2-svq1 Merged-by: Michael Niedermayer <[email protected]>
| * movenc: Make tkhd "enabled" flag QuickTime compatibleJohn Stebbins2013-08-235-5/+5
| | | | | | | | | | | | | | | | QuickTime will play multiple audio tracks concurrently if this flag is set for multiple audio tracks. And if no subtitle track has this flag set, QuickTime will show no subtitles in the subtitle menu. Signed-off-by: Anton Khirnov <[email protected]>
* | lswr: Improve default resampler's default parametersAlexander Strasser2013-01-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | After making some blind tests on a small collection of music samples for home usage. It turned out that the default cutoff was too low. The impact of filter_size was not clearly distinguishable (the results were on the edge) with the music samples but turned out to be clearly audible in some synthetic samples. Thanks to Daniel for helping out with the listening tests. Signed-off-by: Alexander Strasser <[email protected]>
* | aiffenc: set correct number of bits foru8 in aiffPiotr Bandurski2012-12-201-1/+1
| | | | | | | | | | | | with this change QuickTime is able to play u8 aiff file generated by FFmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6'Michael Niedermayer2012-12-0337-0/+148
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6': fate-seek: remove use of gnu make 3.82 only private modifier fate: move vsynth reference files to their own directory fate: move fate-acodec reference files to their own dir configure: avplay now depends on avresample fate: split dependencies for fate-seek tests Conflicts: configure tests/fate/seek.mak Merged-by: Michael Niedermayer <[email protected]>
| * fate: move fate-acodec reference files to their own dirJanne Grunau2012-12-0323-0/+92
|/
* fate: convert codec-regression.sh to makefile rulesMans Rullgard2012-05-2925-97/+0
| | | | Signed-off-by: Mans Rullgard <[email protected]>
* pcmenc: set correct bitrate valueMans Rullgard2012-05-172-2/+2
| | | | | | | This fixes a bogus bitrate value in the header of WAV files with alaw/ulaw audio. Signed-off-by: Mans Rullgard <[email protected]>
* FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum testJustin Ruggles2012-04-201-4/+0
| | | | | This avoids resampling and channel mixing by using a source with the correct channel layout and sample rate.