FFmpeg git repo
Go to file
Philip Langdale 91f1115a0e avcodec/vc1dec: Re-order init to avoid initting hwaccel too early
At least for vdpau, the hwaccel init code tries to check the video
profile and ensure that there is a matching vdpau profile available.

If it can't find a match, it will fail to initialise.

In the case of wmv3/vc1, I observed initialisation to fail all the
time. It turns out that this is due to the hwaccel being initialised
very early in the codec init, before the profile has been extracted
and set.

Conceptually, it's a simple fix to reorder the init code, but it gets
messy really fast because ff_get_format(), which is what implicitly
trigger hwaccel init, is called multiple times through various shared
init calls from h263, etc. It's incredibly hard to prove to my own
satisfaction that it's safe to move the vc1 specific init code
ahead of this generic code, but all the vc1 fate tests pass, and I've
visually inspected a couple of samples and things seem correct.

Signed-off-by: Philip Langdale <philipl@overt.org>
2015-08-28 19:11:55 -07:00
compat use a wrapper script to call MS link.exe to avoid mixing with /usr/bin/link.exe 2015-07-24 20:02:32 +02:00
doc doc/examples/filtering_video: better demo ffmpeg filters; demos chaining the filters 2015-08-28 12:53:35 +02:00
libavcodec avcodec/vc1dec: Re-order init to avoid initting hwaccel too early 2015-08-28 19:11:55 -07:00
libavdevice avdevice/lavfi: fix self assignment warning 2015-08-23 20:00:03 +02:00
libavfilter avfilter/vf_dejudder: use the name 's' for the pointer to the private context 2015-08-28 19:05:19 +00:00
libavformat avformat/segment: atomically update list if possible 2015-08-28 00:09:56 +02:00
libavresample x86inc: Drop SECTION_TEXT macro 2015-08-04 20:13:09 +02:00
libavutil Merge commit 'e23f84d9652474353d8bbc42787a56ec1991908f' 2015-08-24 10:40:24 +02:00
libpostproc avutil/x86/asm: rename REG_SP to REG_sp 2015-08-22 02:56:53 +02:00
libswresample swresample/dither: use integer arithmetic 2015-08-23 23:19:31 +02:00
libswscale swscale: Silence an unused variable warning 2015-08-25 17:40:06 -07:00
presets
tests checkasm: Fix floating point arguments on 64-bit Windows 2015-08-25 19:34:46 +02:00
tools graph2dot: use avfilter_pad_get_name accessor function 2015-08-20 22:38:01 +02:00
.gitattributes
.gitignore doc/examples: rename avio_list_dir -> avio_dir_cmd 2015-08-16 02:16:47 +02:00
arch.mak use mmi instead of loongson3 as simd-optimization flag 2015-07-07 03:46:57 +02:00
Changelog Changelog: Add VDPAU HEVC to the list 2015-08-28 08:16:39 -07:00
cmdutils_common_opts.h
cmdutils_opencl.c OpenCL: Avoid potential buffer overflow in cmdutils_opencl.c 2015-04-28 12:18:23 +02:00
cmdutils.c ffmpeg: replace deprecated av_log_ask_for_sample with av_log 2015-08-12 00:14:13 +02:00
cmdutils.h cmdutils: remove sws_opts usage, simplify code 2015-08-08 16:51:25 +02:00
common.mak Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5' 2015-07-22 16:30:37 +02:00
configure configure: Do not let the webm muxer suggest external libraries. 2015-08-28 06:03:58 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_dxva2.c ffmpeg_dxva2: call GetDesktopWindow() in place of GetShellWindow() 2015-06-03 16:25:08 +02:00
ffmpeg_filter.c lavfi: fix compilation with FF_API_OLD_FILTER_OPTS=0. 2015-08-18 22:22:49 -04:00
ffmpeg_opt.c Put remaining pieces of CODEC_FLAG_EMU_EDGE under FF_API_EMU_EDGE. 2015-08-28 14:40:59 -04:00
ffmpeg_vdpau.c ffmpeg_vdpau: Ignore decoder's max supported level 2015-08-16 15:02:33 -07:00
ffmpeg_videotoolbox.c avcodec: add new Videotoolbox hwaccel. 2015-08-03 10:12:10 +02:00
ffmpeg.c ffmpeg: force 128k default audio bitrate if nothing is specified and there is no specific default 2015-08-28 23:07:12 +02:00
ffmpeg.h ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use 2015-08-08 14:44:15 +02:00
ffplay.c Put remaining pieces of CODEC_FLAG_EMU_EDGE under FF_API_EMU_EDGE. 2015-08-28 14:40:59 -04:00
ffprobe.c ffprobe: check av_asprintf() for failure 2015-06-13 01:45:27 +02:00
ffserver_config.c ffserver: use -b instead of -ab for setting audio bitrate. 2015-08-28 14:59:58 -04:00
ffserver_config.h ffserver: Use singlejpeg muxer for jpeg 2015-06-08 03:36:22 +02:00
ffserver.c ffserver: cast PID to int64_t before printing 2015-08-21 15:47:54 +02:00
INSTALL.md
library.mak build: add LDLIBFLAGS 2015-07-08 14:35:02 +02:00
LICENSE.md avfilter/vf_removegrain: add x86 and x86_64 SSE2 functions 2015-07-14 23:50:50 +00:00
MAINTAINERS MAINTAINERS: add myself as an AAC encoder maintainer 2015-08-21 19:44:15 +01:00
Makefile avcodec: add new Videotoolbox hwaccel. 2015-08-03 10:12:10 +02:00
README.md
RELEASE RELEASE: update to 2.7.git 2015-07-19 17:52:31 -03:00
version.sh

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.