Stefano Sabatini
792c713504
doc/muxers: add MPEG-1/2 muxers section
2024-01-24 00:20:03 +01:00
Stefano Sabatini
02e4598f8f
lavf/mpegenc: extend options definition
2024-01-24 00:09:21 +01:00
Stefano Sabatini
58d13d6377
doc/muxers: add dv
2024-01-24 00:09:21 +01:00
Stefano Sabatini
f6f781625a
doc/muxers/raw: drop duplicated whitespace
2024-01-24 00:09:21 +01:00
Stefano Sabatini
8bcea02f6c
doc/muxers/raw: add dfpwm item
2024-01-24 00:09:21 +01:00
Stefano Sabatini
916373014e
doc/muxers: add daud
2024-01-24 00:09:21 +01:00
Stefano Sabatini
bba784d604
lavf/daudenc: clarify error messages
2024-01-24 00:09:21 +01:00
Stefano Sabatini
9c06dedad1
doc/muxers/dash: review documentation
...
Sort options by name, review formatting, apply consistency fixes and
fill the gaps (e.g. missing value for constants or flags), and review
and extend content.
2024-01-24 00:09:21 +01:00
Stefano Sabatini
f8b14d8bee
lavf/dashenc: sort options by name
2024-01-24 00:09:21 +01:00
James Almer
eee3b7e2fb
avformat/mov: zero initialize the index ranges buffer
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-23 18:39:52 -03:00
Connor Worley
dfbbd11a4b
lavc/dxvenc: add DXV encoder with support for DXT1 texture format
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2024-01-23 21:31:22 +01:00
James Almer
1496ce8f6b
avcodec/vvc_ctu: align motion vector fields
...
Should fix "member access within misaligned address 0xf00 for type 'const union
av_alias64', which requires 8 byte alignment" errors as reported by GCC ubsan.
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-23 17:24:15 -03:00
James Almer
67b5012cb1
fate: remove unused filtergraph files
...
They were added by mistake.
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-23 13:49:41 -03:00
James Almer
e8759580b1
fate/iamf: add an ambisonic test
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-23 13:35:28 -03:00
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>
2024-01-23 11:17:05 -03:00
James Almer
2d712314ec
fate: add VVC decoder tests
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-23 11:15:25 -03:00
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>
2024-01-23 10:14:10 -03:00
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>
2024-01-23 09:58:47 -03:00
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>
2024-01-22 21:57:55 -03:00
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>
2024-01-22 13:46:57 -03:00
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>
2024-01-22 10:58:12 -03:00
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>
2024-01-22 10:58:12 -03:00
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>
2024-01-22 10:58:12 -03:00
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>
2024-01-22 10:58:12 -03:00
James Almer
6c4388b468
avformat/dump: be less verbose when printing streams within a group
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-20 09:21:46 -03:00
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>
2024-01-20 09:19:21 -03:00
Stefano Sabatini
3423a680bf
doc/muxers/mov: add missing parameter for use_stream_ids_as_track_ids
2024-01-20 13:03:40 +01:00
Stefano Sabatini
e36dbea389
doc/muxers/crc: apply consistency fixes
2024-01-20 12:56:57 +01:00
Stefano Sabatini
fe1800b3fc
doc/muxers: add codec2
2024-01-20 12:53:14 +01:00
Stefano Sabatini
0726709e6d
doc/muxers/chromaprint: review and extend
...
In particular, apply formatting and consistency fixes and sort options
by name.
2024-01-20 12:53:14 +01:00
Stefano Sabatini
83413c8cd9
doc/muxers: add caf
2024-01-20 12:46:33 +01:00
Stefano Sabatini
252bb9c818
doc/muxers: add bit
2024-01-20 12:46:33 +01:00
Stefano Sabatini
a57e3b8dcc
doc/muxers: document avs3, expand AVS acronyms
2024-01-20 12:46:33 +01:00
Stefano Sabatini
5ec53db350
doc/muxers: add avm2
2024-01-20 12:46:33 +01:00
Stefano Sabatini
f7b410fac2
doc/muxers: add avif
2024-01-20 12:46:33 +01:00
Stefano Sabatini
261fd5c841
doc/muxer: lowercase raw in raw PCM muxers section
...
Because this is not an acronym.
2024-01-20 12:46:33 +01:00
Haihao Xiang
6e4d85a94e
doc/ffmpeg: update the documentation about vaapi device creation
...
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2024-01-20 12:46:33 +01:00
Haihao Xiang
6414ecd857
doc/ffmpeg: update the documentation about qsv device creation
...
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2024-01-20 12:46:33 +01:00
Anton Khirnov
344d3a7d45
fftools/ffmpeg_opt: improve wording in option descriptions
2024-01-20 10:37:32 +01:00
Anton Khirnov
9cb52927b9
fftools/cmdutils: surround option arguments by <> in help output
...
Makes it more clear that they are placeholders for actual values.
2024-01-20 10:37:32 +01:00
Anton Khirnov
0b95e71aa0
fftools/ffmpeg_opt: briefly mention stream specifier syntax in help output
2024-01-20 10:37:32 +01:00
Anton Khirnov
68af3e37cc
fftools/cmdutils: indicate specifiers in option syntax in help output
2024-01-20 10:37:32 +01:00
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
2024-01-20 10:37:32 +01:00
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.
2024-01-20 10:37:32 +01:00
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.
2024-01-20 10:37:32 +01:00
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.
2024-01-20 10:37:32 +01:00
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
.
2024-01-20 10:34:48 +01:00
Anton Khirnov
a8bc79c3fd
fftools/ffmpeg: deprecate -filter_script
...
It is equivalent to -/filter.
2024-01-20 10:23:24 +01:00
Anton Khirnov
c316c4c77b
fftools/ffmpeg: deprecate -filter_complex_script
...
It is equivalent to -/filter_complex.
2024-01-20 10:23:24 +01:00
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.
2024-01-20 10:23:24 +01:00