1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
Go to file
Mark Reid a82a052769 avformat/mov: fix timecode with counter mode flag set
The current behaviour ends up squaring the avg_frame_rate if the conter mode flag is set.
This messes up the timecode calculation, and looks to me as a regression that
seems to have been introduced 428b4aac.

Upon further testing is seems that no special case is need for having the counter flag set.
av_timecode_init appears to handles the timecode correctly, at least in the sample files
I have.

Here is a sample mov file with the counter flag set
https://www.dropbox.com/s/5l4fucb9lhq523s/timecode_counter_mode.mov

before the patch ffmpeg will report the timecode as:
00:37:11:97 and warns that the timecode framerate is 576000000/1002001

after patch:
14:50:55:02

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2021-02-22 11:12:10 +01:00
compat All: update names in copyright headers 2021-01-20 01:02:56 -06:00
doc lavu/tx: support in-place FFT transforms 2021-02-21 17:05:16 +01:00
ffbuild ffbuild/common: Make deletion of templates possible 2021-02-07 09:45:04 +01:00
fftools fftools/ffplay: reindent and some minor cosmetics 2021-02-19 21:30:13 +01:00
libavcodec lavc/ac3enc: rename variable to avoid shadowing 2021-02-22 11:12:10 +01:00
libavdevice avdevice/avdevice: Deprecate AVDevice Capabilities API 2021-02-14 21:07:57 +01:00
libavfilter avfilter/af_afade: remove uneeded '.' from durations in options 2021-02-21 13:42:40 +01:00
libavformat avformat/mov: fix timecode with counter mode flag set 2021-02-22 11:12:10 +01:00
libavresample
libavutil avutil/tx: Fix declaration after statement 2021-02-22 10:03:32 +01:00
libpostproc lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
libswresample
libswscale swscale/x86/yuv2yuvX: use the movsxdifnidn helper macro 2021-02-18 18:47:43 -03:00
presets
tests fate/matroska: Add fate-matroska target 2021-02-22 04:14:26 +01:00
tools tools/target_dec_fuzzer: Adjust threshold for wavpack 2021-02-16 19:02:24 +01:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog avformat: add Simbiosis IMX demuxer 2021-02-20 17:43:17 +01:00
configure avcodec: add initial exr image encoder 2021-02-18 13:00:40 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: update names 2021-01-20 01:04:26 -06:00
Makefile tools/enum_options: fix build and add to Makefile 2020-11-20 15:20:24 +01: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.