Commit Graph

12193 Commits

Author SHA1 Message Date
caifan3 0aebd61b29 libavformat/file: apply pkt_size option to read mode
Previously, the pkt_size option only affected write buffering in the file
protocol. This change extends its effect to read mode as well.
On embedded systems with limited RAM, users can now reduce I/O buffer
memory by setting a smaller pkt_size.

Signed-off-by: caifan3 <caifan3@xiaomi.com>
2026-04-20 20:58:46 +08:00
caifan3 61b521eee8 avformat/unix: add pkt_size option
Add a "pkt_size" AVOption to the Unix domain socket protocol. This option
allows the user to specify the maximum packet size for packet-oriented
sockets (SOCK_DGRAM and SOCK_SEQPACKET).

Signed-off-by: caifan3 <caifan3@xiaomi.com>
2026-04-20 20:58:45 +08:00
openvela-robot 79d0634421 ffmpeg7: fixed amix format when graph load
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:53 +08:00
openvela-robot 225a503d52 FFMPEG: fix AVPacket mem leak
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:57:50 +08:00
openvela-robot 6fb822a912 ffmpeg7: add avformat_write_trailer for adevsink
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:47 +08:00
openvela-robot 32ee48238c adevsink:only do grahp reconfig in start flow
Resolve audio ending process interrupted by adevsink non start command

Signed-off-by: shipei <shipei@xiaomi.com>
2026-04-20 20:57:39 +08:00
openvela-robot 3608e86b4f FFMPEG: fix sys/syscrl.h can not find
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:30 +08:00
openvela-robot a6c20059ed FFMPEG: add resume when eos is on
when eos is on, we should resume the stream if it is paused.

Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
2026-04-20 20:57:27 +08:00
openvela-robot 6cf52fc3f3 swscale/output: fill all the xv36le alpha bits
The format is 10 bit per component, not 8.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:57:24 +08:00
openvela-robot 356c47e109 FFMPEG: force start and stop after configure for driver
Signed-off-by: hanqiyuan <hanqiyuan@xiaomi.com>
2026-04-20 20:57:20 +08:00
openvela-robot dccba787a1 fftools/ffmpeg_demux: use proper logging contexts everywhere 2026-04-20 20:57:15 +08:00
openvela-robot 1e2e93b397 FFMPEG: only back completed msg when running state.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2026-04-20 20:57:12 +08:00
Lynne ecac9a597f lavu: bump minor and add APIChanges entries for new 32bpc pixfmts 2026-04-20 20:57:07 +08:00
Martin Schitter 96352086ff doc/APIchanges: add missing entry for adding RGBF16
The missing APIchanges entry requested by A.Khirnov.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 20:57:05 +08:00
openvela-robot 34d0892357 configure: Only try to use the -no_warn_duplicate_libraries flag on Darwin
While we only add the flag if the linker seems to support it,
it turns out that ld.bfd had a bug where the flag is accidentally
accepted, and the flag produces an output file named
"_warn_duplicate_libraries".

The ld.bfd bug was fixed in binutils 2.36, in
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=3991c7acb29aa8d7d52150695eb3efa03a08dd50.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 20:57:04 +08:00
openvela-robot c8c957ba35 adevsrc: modify the type of codec_id option param to string.
codec_id=65544 => codec_name=pcm_s32le.

Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
2026-04-20 20:57:01 +08:00
Jonathan Baecker b4eb7f19d0 libavformat/hlsplaylist: add subtitle_varname for naming subtitle streams
If 'sname:*' is set in the var_stream_map variable, use it as
the NAME attribute for subtitles. This improves the naming of
subtitle streams in HTML players, providing clearer and more
descriptive labels for users.

Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
2026-04-20 20:56:57 +08:00
openvela-robot 2006b05fae avcodec/hevc/ps: return a proper error code when we don't support parsing an sps
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:54 +08:00
openvela-robot 79836cf6b9 FFMPEG: ff_nuttx_capbility_query_ranges not relay on AVFormatContext
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:56:51 +08:00
James Almer 4dbde78e8b avutil/pixfmt: add V30X pixel format
This maps to the 444YpCbCr10 pixel format as defined by Apple.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:45 +08:00
Anton Khirnov 5c781ba388 doc/ffmpeg.texi: add a diagram for the loopback decoder example 2026-04-20 20:56:36 +08:00
Anton Khirnov be80ef580b doc/ffmpeg: rewrite the detailed description chapter
Split it into sections that describe in detail
* the components of the transcoding pipeline
* the main features it handles, in order of complexity
    * streamcopy
    * transcoding
    * filtering

Replace the current confusing/misleading diagrams with new ones that
actually reflect the program components and data flow between them.
2026-04-20 20:56:36 +08:00
Lynne 0ff0b4e2d9 configure: drop yasm support
We started defauling to nasm 8 years ago.
We are still compatible with yasm 0.8.0, released in 2009. **15 years ago**.
The time has more than come to remove support for it.

Maintaining compatibility started cutting into writing new code long ago.
We still can't have 2-argument instructions, preprocessor booleans, and all
AVX2 code must still be wrapped in ifdefs. Newly added code often breaks this.
2026-04-20 20:56:35 +08:00
Anton Khirnov 2c7ea2f6fa lavu/log,opt: detect setting non-runtime options post-init
Add a mechanism to AVClass to allow objects to signal their state to
generic code. When an object flags itself with the 'initialized' state,
print an error (and fail, after the next major bump) if the caller
attempts to set non-runtime options.
2026-04-20 20:56:28 +08:00
James Almer 9d69df3a39 avformat/avformat: add side data to AVStreamGroupTileGrid
Will be used to export certain information present in HEIF samples, like
rotation metadata, ICC profiles, and potentially others.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:27 +08:00
Anton Khirnov be22a11c34 lavu: deprecate av_opt_set_int_list() and related infrastructure
It has no more users and is replaced by array-type options.
2026-04-20 20:56:26 +08:00
Anton Khirnov c3750c2069 doc/examples/decode_filter_video: switch to new buffersink options 2026-04-20 20:56:26 +08:00
Anton Khirnov 4dba0ce9d4 doc/examples/decode_filter_audio: switch to new buffersink options
Use a mix of av_opt_set() and av_opt_set_array() to demonstrate
different ways the options can be set.
2026-04-20 20:56:26 +08:00
openvela-robot 48ade96938 lavfi/buffersink: add array-type options to replace "int-list" ones
"int-list" options are a hack that provides rudimentary support for
array-type options by treating them as byte arrays (i.e.
AV_OPT_TYPE_BINARY). Since we now have proper array-type options, they
should replace "int-list" everywhere (which happens to be just
buffersink).
2026-04-20 20:56:25 +08:00
openvela-robot 53a6ff767c FFmpeg/bluelet: output bluelet send & recv timer duration.
Signed-off-by: zhaocheng1 <zhaocheng1@xiaomi.com>
2026-04-20 20:56:22 +08:00
openvela-robot 0f949a99a6 MAINTAINERS: update myself for dvdvideo, rcwtdec, rcwtenc
I plan to look after and test them for the forseeable future.
I am not a committer but do care for these muxers/demuxers.

Signed-off-by: Marth64 <marth64@proxyid.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 20:56:19 +08:00
openvela-robot 3450efdfb3 asrc_dev: add codec option param.
Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
2026-04-20 20:56:16 +08:00
Anton Khirnov cc5707710c doc/examples/transcode: handle audio encoder frame size restrictions 2026-04-20 20:56:13 +08:00
Anton Khirnov 4a805b11d0 doc/examples/transcode: switch to avcodec_get_supported_config() 2026-04-20 20:56:13 +08:00
Anton Khirnov 6c90507afe doc/examples/transcode: stop using avfilter_graph_create_filter() incorrectly
See previous commits for details.
2026-04-20 20:56:13 +08:00
Anton Khirnov ed9bdb3ad7 doc/examples/decode_filter_video: stop using avfilter_graph_create_filter() incorrectly
See previous commits for details.
2026-04-20 20:56:13 +08:00
Anton Khirnov 54d261c041 doc/examples/decode_filter_audio: stop using avfilter_graph_create_filter() incorrectly
See previous commit for details.
2026-04-20 20:56:12 +08:00
Anton Khirnov b7a8715cec doc/ffmpeg: improve wording in the description section 2026-04-20 20:56:08 +08:00
Michael Niedermayer bfd0786711 doc/APIchanges: Add 7.1 Cut line
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 20:56:06 +08:00
Michael Niedermayer d6d3a14953 doc/APIchanges: update
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 20:56:05 +08:00
James Almer 2841269db0 doc/general_contents: add missing reference to LCEVC
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:04 +08:00
Anton Khirnov 67c627d89e fftools/ffmpeg: add support for multiview video
This extends the syntax for specifying input streams in -map and complex
filtergraph labels, to allow selecting a view by view ID, index, or
position. The corresponding decoder is then set up to decode the
appropriate view and send frames for that view to the correct
filtergraph input(s).
2026-04-20 20:56:03 +08:00
Anton Khirnov dfcf5bcfcb lavc/hevcdec: implement decoding MV-HEVC
At most two layers are supported.

Aspects of this work were sponsored by Vimeo and Meta.
2026-04-20 20:56:03 +08:00
Anton Khirnov 5f58b6cba2 lavfi/f_select: allow selection based on view ID
Can be used together with the split filter to decompose multiview video
into individual views.
2026-04-20 20:56:02 +08:00
Anton Khirnov c533ac4993 lavu/frame: add side data storing view ID for multi-view video 2026-04-20 20:56:01 +08:00
James Almer 9aaff92d78 avcodec: add an export_side_data flag to export picture enhancement layers
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:01 +08:00
James Almer 0c52b176d5 avfilter: add an LCEVC decoding filter
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:55:59 +08:00
James Almer 6fc5338c9b avcodec/packet: add an LCEVC enhancement data payload side data type
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:55:59 +08:00
James Almer 9e8b5c64f5 avformat: add an LCEVC stream group
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:55:59 +08:00
James Almer 55b894c965 avcodec/codec_id: add an LCEVC codec id for raw LCEVC data
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:55:59 +08:00