1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Go to file
Marton Balint 41569bbc66 ffmpeg: always use single threaded decoding for attached pictures
Since af1761f7b5 ffmpeg waits for a frame in each
stream before writing the output header. If we are using threaded decoding for
attached pictures, we have to read till EOF to be able to finally flush the
decoder and output the decoded frame. This essentially makes ffmpeg buffer all
non-attached picture packets, which will cause a "Too many packets buffered for
output stream" eventually.

By forcing single threaded decoding, we get a frame from a single packet as
well and we can avoid the error.

Fixes part of ticket #6375:
ffmpeg -i 46564100.mp3 -acodec libmp3lame -ab 128k -ac 2 out.mp3

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-10-08 22:32:13 +02:00
compat compat/cuda/ptx2c: strip CR from each line 2017-08-30 11:20:34 +02:00
doc avfilter/vf_fps: add eof_action filter option 2017-10-06 17:11:20 +02:00
ffbuild build: Skip generating .version files when cleaning 2017-09-10 01:22:57 -03:00
fftools ffmpeg: always use single threaded decoding for attached pictures 2017-10-08 22:32:13 +02:00
libavcodec lavc: add support for OpenJPEG 2.3.0 2017-10-08 08:13:02 -07:00
libavdevice avdevice/decklink_dec: fix extracting luma 2017-10-06 20:17:00 +02:00
libavfilter lavfi: Rename local variables "main" as "master". 2017-10-07 20:49:48 +02:00
libavformat lavf/rtpenc: Add support for little-endian G.726. 2017-10-07 20:47:10 +02:00
libavresample build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
libavutil lavu/utils: Use "__asm__" like everywhere else in the codebase. 2017-10-08 01:13:16 +02:00
libpostproc postproc: remove usage of deprecated QP_STORE_T define 2017-08-30 14:44:27 -03:00
libswresample swresample/resample: Fix flush refelction length 2017-08-16 00:54:17 +02:00
libswscale Fix several typos 2017-09-21 16:17:02 -08:00
presets
tests Merge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4' 2017-10-03 23:36:25 -03:00
tools tools/ismindex: remove unused header 2017-10-01 18:19:14 -03:00
.gitattributes fate: add SCC test 2017-01-27 17:06:42 +01:00
.gitignore build: add support for building .cu files via nvcc 2017-05-15 11:46:50 +02:00
.travis.yml build: Prefer NASM assembler over YASM 2017-06-21 17:00:30 -03:00
Changelog lavf/rtpenc: Add support for little-endian G.726. 2017-10-07 20:47:10 +02:00
configure lavc: add support for OpenJPEG 2.3.0 2017-10-08 08:13:02 -07:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md Merge commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c' 2017-03-15 22:07:47 +01:00
MAINTAINERS MAINTAINERS: change the decklink maintainer to myself 2017-10-04 22:44:42 +02:00
Makefile build: add install targets for the examples 2017-10-05 11:35:56 -03:00
README.md
RELEASE Bump minor versions for master after release/3.3 branchpoint 2017-03-31 13:21:06 +02:00

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.
  • ffserver is a multimedia streaming server for live broadcasts.
  • 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.