FFmpeg git repo
Go to file
Ryoji Gyoda d9f07a506d avformat/fifo: avoid repeated scaling of timestamps on failure and recovery
If fifo_thread_recover() succeeds immediately after
fifo_thread_dispatch_message() fails, the dts of the packet is scaled
twice, causing cur_dts to be abnormally large and "Application provided
invalid, non monotonically increasing dts to muxer in stream" to occur
repeatedly.

Steps to reproduce:
1. ffmpeg -f lavfi -i testsrc -c:v libx264 -map 0:v -flags +global_header -f fifo -fifo_format flv -attempt_recovery 1 -recover_any_error 1 rtmp://example.com/livekey
2. set a breakpoint on fifo_thread_recover
3. force disconnect from the rtmp server
4. wait for break
5. reconnect to the rtmp server
6. resume execution of ffmpeg

Signed-off-by: Ryoji Gyoda <gy.cft4@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2021-11-29 22:20:20 +01:00
compat Replace all occurences of av_mallocz_array() by av_calloc() 2021-09-20 01:03:52 +02:00
doc fftools/ffprobe: print size of attachment streams (extradata_size) 2021-11-29 21:30:11 +01:00
ffbuild
fftools fftools/ffprobe: print size of attachment streams (extradata_size) 2021-11-29 21:30:11 +01:00
libavcodec avcodec/iff: limit written bytes to twice the output array size in decode_delta_l() 2021-11-29 17:15:07 +01:00
libavdevice av(codec|device): Don't cast pointers to int 2021-11-21 00:35:30 +01:00
libavfilter avfilter/src_movie: add format_opts for the opened file 2021-11-29 09:26:40 +08:00
libavformat avformat/fifo: avoid repeated scaling of timestamps on failure and recovery 2021-11-29 22:20:20 +01:00
libavutil videotoolbox: add alpha support 2021-11-28 16:40:58 -06:00
libpostproc libpostproc/postprocess_template: Don't reimplement FFSWAP 2021-10-02 17:13:42 +02:00
libswresample swresample/aarch64: fix relocation out of range error 2021-09-25 21:55:29 +03:00
libswscale swscale: add P210/P410/P216/P416 input 2021-11-28 16:40:43 -06:00
presets
tests fftools/ffprobe: print size of attachment streams (extradata_size) 2021-11-29 21:30:11 +01:00
tools tools/target_dec_fuzzer: Disable MB debug after a few iterations 2021-11-29 17:15:07 +01:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog lavc/proresdec: add videotoolbox hwaccel 2021-11-28 16:40:58 -06:00
configure lavc/proresdec: add videotoolbox hwaccel 2021-11-28 16:40:58 -06:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
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.