1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Go to file
Romain Beauxis 468615f204 libavformat/mpegts.c: fix hardcoded 5-bytes skip for metadata streams.
Before the introduction of AV_CODEC_ID_TIMED_ID3 for timed_id3 metadata streams
in mpegts (commit 4a4437c0fb), AV_CODEC_ID_SMPTE_KLV
was the only existing codec for metadata.

It seems that this codec has a 5-bytes metadata header[1] that, for some reason,
was always skipped when decoding data packets.

However, when working with a AV_CODEC_ID_TIMED_ID3 streams, this results in the
5 first bytes of the payload being cut-off, which includes essential informations
such as the ID3 tag version.

This patch fixes the issue by keeping the 5-bytes skip only for AV_CODEC_ID_SMPTE_KLV
streams.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-20 21:08:06 -03:00
compat
doc lavfi/vf_libplacebo: add nb_inputs option 2023-06-20 17:09:58 +02:00
ffbuild
fftools fftools/ffmpeg: pass subtitle decoder dimensions to sub2video 2023-06-19 09:48:56 +02:00
libavcodec lavc/msrleenc: Add msrle encoder 2023-06-20 14:37:52 +02:00
libavdevice avdevice/decklink_common: Convert to using avpriv_packet_list functions 2023-05-31 00:21:00 +02:00
libavfilter lavfi/vf_libplacebo: allow pos_w to depend on pos_h 2023-06-20 17:09:58 +02:00
libavformat libavformat/mpegts.c: fix hardcoded 5-bytes skip for metadata streams. 2023-06-20 21:08:06 -03:00
libavutil hwcontext_vulkan: free temporary array once unneeded 2023-06-15 22:00:41 +02:00
libpostproc
libswresample Move bessel_i0() from swresample/resample to avutil/mathematics 2023-05-29 00:45:28 +02:00
libswscale swscale: bump minor for implementing support for the new pixfmts 2023-05-29 00:42:02 +02:00
presets
tests lavc/msrleenc: Add msrle encoder 2023-06-20 14:37:52 +02:00
tools tools/target_dec_fuzzer: Test lowres 2023-06-06 21:37:53 +02:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog Changelog: mention the recent AC-4 additions 2023-06-20 14:54:11 -03:00
configure avfilter/vf_drawtext: improve glyph shaping and positioning 2023-06-19 22:35:52 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: change Leo Izen IRC nickname 2023-06-20 12:46:47 -04:00
Makefile tools: add an AV_CODEC_CAP_ENCODER_RECON_FRAME test tool 2023-03-28 13:00:42 +02:00
README.md
RELEASE

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.