1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/doc
Anton Khirnov 27f8c9b27b lavu/frame: deprecate AVFrame.pkt_{pos,size}
These fields are supposed to store information about the packet the
frame was decoded from, specifically the byte offset it was stored at
and its size.

However,
- the fields are highly ad-hoc - there is no strong reason why
  specifically those (and not any other) packet properties should have a
  dedicated field in AVFrame; unlike e.g. the timestamps, there is no
  fundamental link between coded packet offset/size and decoded frames
- they only make sense for frames produced by decoding demuxed packets,
  and even then it is not always the case that the encoded data was
  stored in the file as a contiguous sequence of bytes (in order for pos
  to be well-defined)
- pkt_pos was added without much explanation, apparently to allow
  passthrough of this information through lavfi in order to handle byte
  seeking in ffplay. That is now implemented using arbitrary user data
  passthrough in AVFrame.opaque_ref.
- several filters use pkt_pos as a variable available to user-supplied
  expressions, but there seems to be no established motivation for using them.
- pkt_size was added for use in ffprobe, but that too is now handled
  without using this field. Additonally, the values of this field
  produced by libavcodec are flawed, as described in the previous
  ffprobe conversion commit.

In summary - these fields are ill-defined and insufficiently motivated,
so deprecate them.
2023-03-20 10:42:09 +01:00
..
doxy
examples doc/examples/qsv_transcode: Fix a bug when use more than one parameter set 2023-03-17 14:13:37 +08:00
.gitignore
APIchanges libavutil/hdr_dynamic_vivid_metadata: fix three spline params 2023-03-17 18:51:16 +08:00
authors.texi Use https for repository links 2023-03-01 21:59:10 +01:00
bitstream_filters.texi avcodec/h264_redundant_pps_bsf: Don't remove PPS 2022-09-25 14:53:45 +02:00
bootstrap.min.css
build_system.txt
codecs.texi avcodec: add API for automatic handling of icc profiles 2022-07-30 11:42:06 +02:00
community.texi doc: Fix building community.html from the new community.texi 2023-03-01 09:42:09 +02:00
decoders.texi doc/decoders: document the max_frame_delay libdav1d option 2022-10-15 19:11:52 -03:00
default.css
demuxers.texi doc: improve IMF demuxer documentation 2023-02-21 19:38:54 -08:00
developer.texi doc: Merge doc/dev_community/* and Code of Conduct into a seperate file 2023-03-01 00:30:59 +01:00
devices.texi
doxy-wrapper.sh
Doxyfile doc/Doxyfile: Add FF_PAD_STRUCTURE to PREDEFINED 2022-10-17 09:55:19 +02:00
encoders.texi doc/encoders: Add av1 to qsv encoder's summary 2023-03-17 14:13:37 +08:00
errno.txt
faq.texi
fate_config.sh.template
fate.texi
ffmpeg-bitstream-filters.texi
ffmpeg-codecs.texi
ffmpeg-devices.texi
ffmpeg-filters.texi
ffmpeg-formats.texi
ffmpeg-protocols.texi
ffmpeg-resampler.texi
ffmpeg-scaler.texi
ffmpeg-utils.texi
ffmpeg.texi doc/ffmpeg: extend documentation for -dts_delta_threshold and -dts_error_threshold 2023-02-28 22:26:28 +01:00
ffmpeg.txt
ffplay.texi
ffprobe.texi ffprobe: add -o option 2022-06-13 22:42:55 +02:00
ffprobe.xsd fftools/ffprobe: Report initial and trailing padding 2022-09-05 20:32:12 +02:00
fftools-common-opts.texi
filter_design.txt
filters.texi lavu/frame: deprecate AVFrame.pkt_{pos,size} 2023-03-20 10:42:09 +01:00
formats.texi
general_contents.texi avformat: add RKA demuxer 2023-02-11 21:29:35 +01:00
general.texi
git-howto.texi Use https for repository links 2023-03-01 21:59:10 +01:00
indevs.texi avdevice/pulse_audio_dec: deprecate frame_size option 2022-06-16 21:28:20 +02:00
issue_tracker.txt
lexicon
libav-merge.txt
libavcodec.texi
libavdevice.texi
libavfilter.texi
libavformat.texi
libavutil.texi
libswresample.texi
libswscale.texi
mailing-list-faq.texi doc: Merge doc/dev_community/* and Code of Conduct into a seperate file 2023-03-01 00:30:59 +01:00
Makefile doc: Merge doc/dev_community/* and Code of Conduct into a seperate file 2023-03-01 00:30:59 +01:00
metadata.texi
mips.txt
multithreading.txt
muxers.texi doc: remove docs for options removed at the bump 2023-02-19 19:29:17 +01:00
nut.texi
optimization.txt doc: reference the RISC-V specification 2022-09-13 16:50:43 -03:00
outdevs.texi
patchwork
platform.texi
print_options.c
protocols.texi avformat/file: add fd protocol 2023-01-11 18:50:36 +08:00
rate_distortion.txt
resampler.texi swresample/swresample: add a used channel layout option using the new API 2023-02-19 18:28:45 -03:00
scaler.texi
snow.txt
style.min.css
swresample.txt
swscale.txt
t2h.init
t2h.pm
tablegen.txt
texi2pod.pl
texidep.pl
transforms.md x86/tx_float: add 15xN PFA FFT AVX SIMD 2022-09-23 12:35:27 +02:00
undefined.txt
utils.texi avutil/channel_layout: add a 7.1(top) channel layout 2022-11-03 19:39:45 -03:00
writing_filters.txt