James Almer
67b5012cb1
fate: remove unused filtergraph files
...
They were added by mistake.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
e8759580b1
fate/iamf: add an ambisonic test
...
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
Frank Plowman
8157b5d405
lavc/vvc: Remove left shifts of negative values
...
VVC specifies << as arithmetic left shift, i.e. x << y is equivalent to
x * pow2(y). C's << on the other hand has UB if x is negative. This
patch removes all UB resulting from this, mostly by replacing x << y
with x * (1 << y), but there are also a couple places where the OOP was
changed instead.
Signed-off-by: Frank Plowman <post@frankplowman.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
2d712314ec
fate: add VVC decoder tests
...
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
9813df77d6
avformat/iamf_writer: remove bogus check
...
Probably an artifact of a rebase, as this check is done below.
Fixes "Conditional jump or move depends on uninitialised value(s)" errors as
reported by Valgrind.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
b6af126c72
avformat/iamfdec: free superfluous objects
...
The AVIAMFAudioElement and AVIAMFMixPresentation that are ultimately used
are allocated by ff_iamfdec_read_descriptors().
Fixes some memory leaks reported by Valgrind.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
a47072d643
avutil/iamf: change the opt type for some options
...
AV_OPT_TYPE_INT64 should not be used for ints.
Should fix warnings about store to misaligned address for type 'int64_t'
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
d2eb6f4d44
fftools/ffmpeg_mux_init: don't free the AVDictionaryEntry until after it's been used
...
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
ab39cc36c7
avcodec/speexdec: fix setting frame_size from extradata
...
Finishes fixing vp5/potter512-400-partial.avi
The fate-matroska-ms-mode test ref is updated to reflect that the Speex decoder
can now read the stream.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
cad35f0a77
avcodec/speexdec: relax the extradata check for the speex string
...
There could be bogus bytes at the start, as is the case of
vp5/potter512-400-partial.avi from the FATE suite, which could be a case of bad
remuxing from an OGG source.
Partially fixes decoding of vp5/potter512-400-partial.avi
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
0f4a72b22b
fate: add raw IAMF tests
...
Covers muxing from raw pcm audio input into FLAC, using several scalable layouts,
and demuxing the result.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
04a37e238f
fftools/ffmpeg_mux_init: remove whitespaces from input arguments when parsing stream groups
...
If the arguments are read from a file, things like line breaks could be present
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
6c4388b468
avformat/dump: be less verbose when printing streams within a group
...
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
9da0594f1d
avformat/iamfenc: don't write empty packets
...
And return an error if they are not side data only packets.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
Stefano Sabatini
3423a680bf
doc/muxers/mov: add missing parameter for use_stream_ids_as_track_ids
10 months ago
Stefano Sabatini
e36dbea389
doc/muxers/crc: apply consistency fixes
10 months ago
Stefano Sabatini
fe1800b3fc
doc/muxers: add codec2
10 months ago
Stefano Sabatini
0726709e6d
doc/muxers/chromaprint: review and extend
...
In particular, apply formatting and consistency fixes and sort options
by name.
10 months ago
Stefano Sabatini
83413c8cd9
doc/muxers: add caf
10 months ago
Stefano Sabatini
252bb9c818
doc/muxers: add bit
10 months ago
Stefano Sabatini
a57e3b8dcc
doc/muxers: document avs3, expand AVS acronyms
10 months ago
Stefano Sabatini
5ec53db350
doc/muxers: add avm2
10 months ago
Stefano Sabatini
f7b410fac2
doc/muxers: add avif
10 months ago
Stefano Sabatini
261fd5c841
doc/muxer: lowercase raw in raw PCM muxers section
...
Because this is not an acronym.
10 months ago
Haihao Xiang
6e4d85a94e
doc/ffmpeg: update the documentation about vaapi device creation
...
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
10 months ago
Haihao Xiang
6414ecd857
doc/ffmpeg: update the documentation about qsv device creation
...
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
10 months ago
Anton Khirnov
344d3a7d45
fftools/ffmpeg_opt: improve wording in option descriptions
10 months ago
Anton Khirnov
9cb52927b9
fftools/cmdutils: surround option arguments by <> in help output
...
Makes it more clear that they are placeholders for actual values.
10 months ago
Anton Khirnov
0b95e71aa0
fftools/ffmpeg_opt: briefly mention stream specifier syntax in help output
10 months ago
Anton Khirnov
68af3e37cc
fftools/cmdutils: indicate specifiers in option syntax in help output
10 months ago
Anton Khirnov
43323c3802
fftools/ffmpeg_opt: add more structure to long help output
...
Split the "Per-file main options" section into
* per-file input and output
* per-file input-only
* per-file output-only
* per-stream
10 months ago
Anton Khirnov
67529ad8a4
fftools/cmdutils: drop alt_flags parameter from show_help_options()
...
No user sets it to more than one flag, so it is redundant with
req_flags.
10 months ago
Anton Khirnov
03aedbdd40
fftools/cmdutils: add a flag for per-stream options
...
Not all OPT_SPEC options are per-stream, this will allow identifying
those that are, which will be useful in following commits.
10 months ago
Anton Khirnov
d8173cfcaf
fftools/cmdutils: hide some information listing options from basic help
...
They are for advanced usage only and should not clutter basic output.
10 months ago
Anton Khirnov
08bebeb1be
Revert "all: Don't set AVClass.item_name to its default value"
...
Some callers assume that item_name is always set, so this may be
considered an API break.
This reverts commit 0c6203c97a
.
10 months ago
Anton Khirnov
a8bc79c3fd
fftools/ffmpeg: deprecate -filter_script
...
It is equivalent to -/filter.
10 months ago
Anton Khirnov
c316c4c77b
fftools/ffmpeg: deprecate -filter_complex_script
...
It is equivalent to -/filter_complex.
10 months ago
Anton Khirnov
6d17991b7e
fftools/cmdutils: add option syntax for loading arbitrary arguments from a file
...
Aligned with analogous feature for filter options in ffmpeg CLI.
10 months ago
Anton Khirnov
8aed3911fc
fftools/ffmpeg: make attachment filenames dynamically allocated
...
Do not store the supplied arg pointer directly. While that is valid for
now, it will become ephemeral in the future commits.
10 months ago
Anton Khirnov
fcddd233fe
fftools/ffplay: make option strings dynamically allocated
...
Do not store the supplied arg pointer directly. While that is valid for
now, it will become ephemeral in the future commits.
10 months ago
Anton Khirnov
4ce1987abc
fftools/ffprobe: make option strings dynamically allocated
...
Do not store the supplied arg pointer directly. While that is valid for
now, arg will become ephemeral in the future commits.
10 months ago
Anton Khirnov
568dfed06f
fftools/ffmpeg_opt: mark -stream_group as expert option
10 months ago
Anton Khirnov
ae06111d74
fftools/ffmpeg_demux: implement -bsf for input
...
Previously bitstream filters could only be applied right before muxing,
this allows to apply them right after demuxing.
10 months ago
Anton Khirnov
6cb7295abf
fftools/ffmpeg_demux: add demuxing thread private data
...
To be used for data that never needs to be visible outside of the
demuxer thread, similarly as was previously done for other components.
10 months ago
Anton Khirnov
50448ca290
fftools/ffmpeg_demux: only allocate the decoder when actually decoding
...
It is not needed otherwise.
10 months ago
Anton Khirnov
2ee1c6ffb2
fftools/ffmpeg_demux: set options on codec parameters rather than decoder
...
This avoids the requirement to always have a decoder context.
10 months ago
Anton Khirnov
7e33534506
fftools/ffmpeg_demux: do not set bitexact directly on the decoder
...
Add it to decoder options instead, to be processed when opening the
decoder. This way it won't be overridden by flags the user might be
setting otherwise.
10 months ago
Anton Khirnov
cdb65857c3
doc/ffmpeg: drop documentation for non-existent -sbsf
10 months ago
Anton Khirnov
f8939bad1e
fftools/ffmpeg_demux: replace abort() by av_assert0(0)
...
This is the standard way to mark unreachable cases in a switch
10 months ago
James Almer
0a5813fc68
avcodec/vvcdec: allocate and store structs on their own within the table list
...
Fixes "runtime error: member access within misaligned address 0xf00 for type
'struct bar', which requires # byte alignment" errors under GCC ubsan.
Reviewed-by: Nuo Mi <nuomi2021@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago