Go to file
Philip Langdale b5f45208fb crystalhd: Fix handling of PTS
With all the various refactorings that have happened over the years,
the current pts logic is very broken for non-trivial cases (ie: ones
where not every frame/field has a meaningful pts assocated with it).

Generally, we do not want to write AV_NOPTS_VALUE as the output
timestamp, regardless of anything else. It's better to pass zero
if there's no other information.

Additionally, interlaced content where the decoder returns each field
separately can result in the first field carrying the timestamp and
the second having AV_NOPTS_VALUE. It's clearly wrong to overwrite
the valid timestamp.

So, let's just never write AV_NOPTS_VALUE into an output frame.

Empirically, this fixed playback of interlaced mpeg2 and h.264 and
mpeg4-asp with packed b-frames in an avi container.
2016-10-12 07:44:09 -07:00
compat compat/cuda: convert to unix line endings 2016-09-23 11:43:00 +02:00
doc doc/developer: Mention mime type and patchwork in "Submitting patches" 2016-10-11 23:20:56 +02:00
libavcodec crystalhd: Fix handling of PTS 2016-10-12 07:44:09 -07:00
libavdevice lavd/openal: don't return zero sized packet if no samples are available 2016-10-03 21:15:48 +02:00
libavfilter lavfi/metadata: fix metadata deletion if comparison returns false 2016-10-11 18:05:28 +02:00
libavformat lavf/riffenc: Always write unexpected channel_mask. 2016-10-12 12:34:48 +02:00
libavresample doxygen: Standardize root-level modules 2016-08-02 22:15:25 -07:00
libavutil avutil/hwcontext_vdpau: Fix warning: "GET_CALLBACK" redefined 2016-10-10 02:41:24 +02:00
libpostproc doxygen: Standardize root-level modules 2016-08-02 22:15:25 -07:00
libswresample swr: Update version & APIChanges for swr_build_matrix() 2016-09-27 15:26:13 +02:00
libswscale swscale: fix for sliced scaling artifacts 2016-09-16 11:25:28 -03:00
presets
tests avformat/matroskaenc: don't write a FlagInterlaced element if it would write the default value 2016-10-11 19:49:19 -03:00
tools tools: fix grammar error 2016-10-09 20:09:00 +02:00
.gitattributes
.gitignore Merge commit '6641819feedb086ebba3d2be89b8d33980f367e1' 2016-06-26 15:43:05 +02:00
.travis.yml Merge commit 'eda183287489b2c705843aa373a19c4e46fb2fec' 2015-11-22 17:12:24 +00:00
arch.mak mips: rename mipsdspr1 to mipsdsp 2015-12-04 02:35:42 +01:00
Changelog avformat/matroskaenc: add an option to disable writting CRC32 elements 2016-10-06 18:42:10 -03:00
cmdutils_common_opts.h
cmdutils_opencl.c all: use FFDIFFSIGN to resolve possible undefined behavior in comparators 2015-11-03 16:28:30 -05:00
cmdutils.c cmdutils: fix typos 2016-10-09 20:09:00 +02:00
cmdutils.h cmdutils: fix typos 2016-10-09 20:09:00 +02:00
common.mak Merge commit 'c5fd4b50610f62cbb3baa4f4108139363128dea1' 2016-06-27 19:39:46 +02:00
configure configure: loongson disable mipsfpu and mipsdsp optimizations 2016-10-10 16:05:27 +02:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_cuvid.c ffmpeg_cuvid: make use of new av_hwdevice_ctx_create api 2016-09-29 15:57:32 +02:00
ffmpeg_dxva2.c Merge commit '18c506e9e6e8df8b1d496d093077b8240ea68c28' 2016-06-26 15:34:01 +02:00
ffmpeg_filter.c ffmpeg: switch to codecpar 2016-09-21 15:39:28 +02:00
ffmpeg_opt.c Merge commit '398f015f077c6a2406deffd9e37ff34b9c7bb3bc' 2016-10-08 11:38:47 +02:00
ffmpeg_qsv.c ffmpeg/qsv: fix QSV-accelerated transcode performance drop issue. 2016-08-16 17:09:33 +02:00
ffmpeg_vaapi.c ffmpeg_vaapi: fix choice of decoder_format 2016-09-29 01:23:52 +02:00
ffmpeg_vdpau.c Merge commit 'f72db3f2f3a8c83a4f5dede8fa03434b2bf676c6' 2016-06-26 15:29:39 +02:00
ffmpeg_videotoolbox.c ffmpeg/videotoolbox: protect UTGetOSTypeFromString on both VDA and VT 2015-10-15 10:22:31 +02:00
ffmpeg.c Merge commit '398f015f077c6a2406deffd9e37ff34b9c7bb3bc' 2016-10-08 11:38:47 +02:00
ffmpeg.h Merge commit '398f015f077c6a2406deffd9e37ff34b9c7bb3bc' 2016-10-08 11:38:47 +02:00
ffplay.c Merge commit 'beb62dac629603eb074a44c44389c230b5caac7c' 2016-10-07 13:16:36 +02:00
ffprobe.c Merge commit 'beb62dac629603eb074a44c44389c230b5caac7c' 2016-10-07 13:16:36 +02:00
ffserver_config.c ffserver: NoVideo and NoAudio flags weren't cleared between streams. 2016-02-21 22:29:15 +01:00
ffserver_config.h
ffserver.c cmdutils: remove the current working directory from the DLL search path on win32 2016-08-08 18:36:55 +02:00
INSTALL.md
library.mak Merge commit 'c5fd4b50610f62cbb3baa4f4108139363128dea1' 2016-06-27 19:39:46 +02:00
LICENSE.md lavc: remove libfaac wrapper 2016-10-01 19:58:04 +01:00
MAINTAINERS MAINTAINERS: add myself for hwcontext_cuda 2016-10-03 15:49:22 +02:00
Makefile Merge commit '6641819feedb086ebba3d2be89b8d33980f367e1' 2016-06-26 15:43:05 +02:00
README.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
RELEASE RELEASE: Update to 3.0.git 2016-02-15 10:20:33 -08:00
version.sh version.sh: Fix spurious rebuilds. 2016-03-10 09:53:10 +01: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.