1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
Go to file
wm4 b0644c3e1a movtextdec: fix handling of UTF-8 subtitles
Subtitles which contained styled UTF-8 subtitles (i.e. not just 7 bit
ASCII characters) were not handled correctly. The spec mandates that
styling start/end ranges are in "characters". It's not quite clear what
a "character" is supposed to be, but maybe they mean unicode codepoints.

FFmpeg's decoder treated the style ranges as byte idexes, which could
lead to UTF-8 sequences being broken, and the common code dropping the
whole subtitle line.

Change this and count the codepoint instead. This also means that even
if this is somehow wrong, the decoder won't break UTF-8 sequences
anymore. The sample which led me to investigate this now appears to work
correctly.
2018-03-25 19:27:02 +02:00
compat compat: remove in-tree NVidia headers 2018-02-27 16:22:12 +01:00
doc avcodec: add a subcharenc mode that disables UTF-8 check 2018-03-25 19:27:02 +02:00
ffbuild
fftools ffmpeg: pass reference counted packet on codec copy when possible 2018-03-23 22:05:25 -03:00
libavcodec movtextdec: fix handling of UTF-8 subtitles 2018-03-25 19:27:02 +02:00
libavdevice avdevice/decklink: fix leak when listing devices and there is no memory 2018-03-24 20:55:46 +01:00
libavfilter avfilter/avf_showvolume: implement basic rms metering mode 2018-03-23 22:53:13 +01:00
libavformat avformat/hlsenc: use stream's maximum bit rate as fall-back advertised rate 2018-03-25 01:07:10 +02:00
libavresample
libavutil avcodec/avcodec.h: Add encryption info side data. 2018-03-24 03:11:08 +01:00
libpostproc
libswresample swresample/rematrix: fix update of channel matrix if input or output layout is undefined 2018-02-19 08:32:25 +01:00
libswscale swscale/rgb2rgb : cosmetic, move shuffle_bytes func declaration 2018-03-24 20:22:17 +01:00
presets
tests checkasm/swscale : add test for rgb shuffle_bytes func 2018-03-24 20:22:12 +01:00
tools fftools, tools, examples: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
.gitattributes
.gitignore
.travis.yml
Changelog changelog: add missing line for filter_units bsf 2018-03-22 01:19:13 -03:00
configure hwcontext_opencl: Add support for mapping DRM objects to Beignet 2018-03-22 23:19:00 +00:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself to mediacodec 2018-03-06 13:54:35 -08:00
Makefile lavd: add new API for iterating input and output devices 2018-02-06 18:57:42 +00: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 a mean to alter decoded Audio and Video through chain of 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.