Please use official ffmpeg. This is old private branch (only sandybridge, windows)
Pull request Compare This branch is 21 commits ahead, 29446 commits behind FFmpeg:master.
Permalink
Failed to load latest commit information.
compat Merge remote-tracking branch 'qatar/master' Mar 10, 2014
doc Merge commit '35177ba77ff60a8b8839783f57e44bcc4214507a' Apr 28, 2014
libavcodec qsv: Check framerate too high May 7, 2014
libavdevice Fix convertion typos Apr 28, 2014
libavfilter avfilter/graphdump: Fix pointer to local outside scope Apr 28, 2014
libavformat avformat/utils: Set the average frame rate from the r_frame_rate if t… Apr 28, 2014
libavresample Merge commit 'a24a252709dd38f12aa4929ce4981f87091a5113' Apr 24, 2014
libavutil avutil/log: fix memleak from 669a09f Apr 29, 2014
libpostproc Fix libpostproc compilation with !HAVE_6REGS. Apr 24, 2014
libswresample Fix convertion typos Apr 28, 2014
libswscale Fix teh typos Apr 27, 2014
presets presets: specify the codecs. May 4, 2012
tests avformat/utils: prevent r frame rate from being set larger than 1/tb Apr 28, 2014
tools tools/uncoded_frame: fix audio codec generation Mar 29, 2014
.gitignore examples: rename avcodec.c to decoding_encoding.c Apr 23, 2014
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGP… Jun 5, 2009
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. Jun 5, 2009
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. Feb 9, 2012
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. Jun 5, 2009
CREDITS CREDITS: redirect to Git log, remove current outdated content Jan 31, 2013
Changelog Merge commit '35177ba77ff60a8b8839783f57e44bcc4214507a' Apr 28, 2014
INSTALL Merge remote branch 'qatar/master' Apr 8, 2011
LICENSE Add libx265 encoder Feb 12, 2014
MAINTAINERS MAINTAINERS: Add myself as FIC maintainer Apr 22, 2014
Makefile Merge commit 'a61c2115fb936d50b8b0328d00562fe529a7c46a' Apr 28, 2014
README README: be a tiny bit more verbose Apr 6, 2012
README.md Update README.md Apr 29, 2014
RELEASE RELEASE: update for 2.2 Mar 1, 2014
arch.mak Merge commit '8675bcb0addb1c7fb0b04682d1f3f95d5b8dae14' Apr 7, 2014
cmdutils.c cmdutils: preserve unchanged log flags when setting AV_LOG_SKIP_REPEATED Apr 26, 2014
cmdutils.h Merge commit '85698be461c07be10d873dd34348bcfe9ffc56e0' Mar 29, 2014
cmdutils_common_opts.h Allow hiding the banner. Dec 29, 2013
cmdutils_opencl.c cmdutils & opencl: add -opencl_bench option to test and show availabl… Dec 9, 2013
common.mak lavd: Add QTKit input device. Mar 30, 2014
configure qsv: libmxf based h264 encoder Apr 29, 2014
ffmpeg.c ffmpeg: print an error at the end if conversion failed Apr 28, 2014
ffmpeg.h Merge commit '35177ba77ff60a8b8839783f57e44bcc4214507a' Apr 28, 2014
ffmpeg_dxva2.c ffmpeg_dxva2: fix mixing of declarations and statements Apr 28, 2014
ffmpeg_filter.c ffmpeg_filter: make *jpeg_formats static const Apr 27, 2014
ffmpeg_opt.c Merge commit 'a61c2115fb936d50b8b0328d00562fe529a7c46a' Apr 28, 2014
ffmpeg_vdpau.c Merge commit '7671dd7cd7d51bbd637cc46d8f104a141bc355ea' Nov 23, 2013
ffplay.c avformat: add av_format_inject_global_side_data(), and disable it by … Apr 15, 2014
ffprobe.c ffprobe: fix scaling of vali in value_string() in case -prefix is sel… Apr 23, 2014
ffserver.c ffserver: fix missing frees at connection setup Apr 25, 2014
library.mak Merge commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90' Feb 17, 2014
version.sh version.sh: add preprocessing guards Nov 30, 2013

README.md

Requirements

Build

Support

  • Intel Media SDK API : v1.1
  • Codec : H.264
  • Rate control method : CBR, VBR, CQP

Codec name

  • H.264 : h264_qsv

Rate control option

  • CBR : -b 2000k -maxrate 2000k
  • VBR : -b 4000k
  • CQP : -q 20

Option

  • AVCodec : b, maxrate, q, g, bf, refs, slices, coder +vlc, flags -cgop
  • QSV : async_depth, timeout, qpi, qpp, qpb, idr_interval, profile, level

Example

QSV encode

  • ffmpeg -i "input.ts" -b 2000k -maxrate 2000k -c:v h264_qsv "output.mp4"
  • ffmpeg -i "input.ts" -b 4000k -c:v h264_qsv "output.mp4"
  • ffmpeg -i "input.ts" -q 20 -c:v h264_qsv "output.mp4"
  • ffmpeg -r 30000/1001 -i "input.mp4" -q 20 -c:v h264_qsv "output.mkv"
  • ffmpeg -vsync cfr -i "input.mpg" -qpi 22 -qpp 25 -qpb 27 -c:v h264_qsv "output.mp4"