]> granicus.if.org Git - handbrake/log
handbrake
11 years agoQSV: fix some hangs caused by running out of resources.
Rodeo [Sun, 18 Aug 2013 23:11:07 +0000 (23:11 +0000)]
QSV: fix some hangs caused by running out of resources.

Be more convervative than before with the full QSV path, and less conservative with encode-only, as it seems to work fine.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5717 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: add short nmes for options with names tha may be considered "long".
Rodeo [Sun, 18 Aug 2013 22:16:05 +0000 (22:16 +0000)]
QSV: add short nmes for options with names tha may be considered "long".

Use the same option name as x264 for options that have the exact same meaning (ref, keyint).

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5716 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: decode speed improvements
handbrake [Sun, 18 Aug 2013 21:51:01 +0000 (21:51 +0000)]
QSV: decode speed improvements

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5715 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: added helper timing/debug methods for measuring in [us]
handbrake [Sun, 18 Aug 2013 17:15:43 +0000 (17:15 +0000)]
QSV: added helper timing/debug methods for measuring in [us]

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5712 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: interlaced encoding support.
Rodeo [Sat, 17 Aug 2013 21:23:52 +0000 (21:23 +0000)]
QSV: interlaced encoding support.

Includes a facility which lets encode request specific aligned width and height (alignment may be higher or lower than that of the input).

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5708 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: improve PTS save/restore workaround.
Rodeo [Sat, 17 Aug 2013 21:15:15 +0000 (21:15 +0000)]
QSV: improve PTS save/restore workaround.

It still sucks, but a bit less than before.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5707 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: message is aligned for already used case
handbrake [Sat, 17 Aug 2013 20:52:42 +0000 (20:52 +0000)]
QSV: message is aligned for already used case

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5706 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: MFX_CODINGOPTION_UNKNOWN means up to runtime/MSDK
handbrake [Sat, 17 Aug 2013 16:22:34 +0000 (16:22 +0000)]
QSV: MFX_CODINGOPTION_UNKNOWN means up to runtime/MSDK

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5702 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: validate some options and disable intercaed encoding support for now (it's too...
Rodeo [Wed, 14 Aug 2013 17:26:18 +0000 (17:26 +0000)]
QSV: validate some options and disable intercaed encoding support for now (it's too much of a PITA).

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5700 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv cleanup.
Rodeo [Wed, 14 Aug 2013 14:03:09 +0000 (14:03 +0000)]
QSV: enc_qsv cleanup.

Lets us get rid of a muxer hack and brings us closer to merging back to trunk.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5699 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: comment fix
handbrake [Fri, 9 Aug 2013 10:33:39 +0000 (10:33 +0000)]
QSV: comment fix

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5695 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: adjusting encode to use VPP dimensions, if present
handbrake [Fri, 9 Aug 2013 07:48:22 +0000 (07:48 +0000)]
QSV: adjusting encode to use VPP dimensions, if present

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5694 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: param check: LA should be within range
handbrake [Tue, 6 Aug 2013 14:05:24 +0000 (14:05 +0000)]
QSV: param check: LA should be within range

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5693 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: Trellis option support
handbrake [Tue, 6 Aug 2013 13:50:18 +0000 (13:50 +0000)]
QSV: Trellis option support

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5692 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: forcing VPP to preserve timestamp(s)
handbrake [Tue, 6 Aug 2013 13:10:16 +0000 (13:10 +0000)]
QSV: forcing VPP to preserve timestamp(s)

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5691 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix some recent oversights.
Rodeo [Sun, 4 Aug 2013 05:16:02 +0000 (05:16 +0000)]
QSV: fix some recent oversights.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5689 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix misc. warnings.
Rodeo [Sat, 3 Aug 2013 12:24:05 +0000 (12:24 +0000)]
QSV: fix misc. warnings.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5688 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: cosmetics.
Rodeo [Sat, 3 Aug 2013 12:16:17 +0000 (12:16 +0000)]
QSV: cosmetics.

The fact that this is a QSV-specific filter already conveys that the opaque memory is "Quick Sync Video" memory.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5687 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: don't print every QSV option in the help text.
Rodeo [Sat, 3 Aug 2013 12:13:39 +0000 (12:13 +0000)]
QSV: don't print every QSV option in the help text.

We have a Wiki for that.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5686 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: create a dedicated option for "AsyncDepth".
Rodeo [Sat, 3 Aug 2013 12:10:32 +0000 (12:10 +0000)]
QSV: create a dedicated option for "AsyncDepth".

This parameter applies to all of decode, filtering and encode,
whereas the'--encopts' string is for encoding-specific options.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5685 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: add an option to force software decoding.
Rodeo [Sat, 3 Aug 2013 11:59:24 +0000 (11:59 +0000)]
QSV: add an option to force software decoding.

Example use cases:

- convenient for testing during development

- using filters which haven't been validated (framerate shaping, decomb, etc.)

- improving memcpy speed when using old Intel drivers

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5684 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: cleanup filter initialization.
Rodeo [Sat, 3 Aug 2013 11:45:49 +0000 (11:45 +0000)]
QSV: cleanup filter initialization.

The UIs are now only responsible for adding the software filters, whereas libhb is
reponsible for replacing them with hardware-accelerated variants when applicable.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5683 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: simplify a check.
Rodeo [Sat, 3 Aug 2013 11:18:25 +0000 (11:18 +0000)]
QSV: simplify a check.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5682 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: use software decoding for 10-bit H.264 sources.
Rodeo [Sat, 3 Aug 2013 11:07:40 +0000 (11:07 +0000)]
QSV: use software decoding for 10-bit H.264 sources.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5681 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: decavcodec, code simplification and cleanup.
Rodeo [Sat, 3 Aug 2013 11:03:47 +0000 (11:03 +0000)]
QSV: decavcodec, code simplification and cleanup.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5680 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: move QSV-specific common code to dedicated files.
Rodeo [Sat, 3 Aug 2013 10:53:25 +0000 (10:53 +0000)]
QSV: move QSV-specific common code to dedicated files.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5679 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix for existing yadiff filters usage; fix for clean up of encode; fix for buffe...
handbrake [Wed, 31 Jul 2013 15:11:58 +0000 (15:11 +0000)]
QSV: fix for existing yadiff filters usage; fix for clean up of encode; fix for buffer resize and new size

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5677 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv, write video_signal_type VUI parameters to the H.264 bitstream.
Rodeo [Fri, 26 Jul 2013 23:36:58 +0000 (23:36 +0000)]
QSV: enc_qsv, write video_signal_type VUI parameters to the H.264 bitstream.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5671 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: don't set the deinterlace setting via a string, it's read as an integer.
Rodeo [Fri, 26 Jul 2013 17:25:11 +0000 (17:25 +0000)]
QSV: don't set the deinterlace setting via a string, it's read as an integer.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5669 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agogit-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5667 b64f7644-9d1e-0410...
Rodeo [Fri, 26 Jul 2013 17:22:50 +0000 (17:22 +0000)]
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5667 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix another instance of variable shadowing.
Rodeo [Fri, 26 Jul 2013 17:20:08 +0000 (17:20 +0000)]
QSV: fix another instance of variable shadowing.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5666 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: CLI, cleanup QSV VPP filter initialization.
Rodeo [Fri, 26 Jul 2013 16:57:52 +0000 (16:57 +0000)]
QSV: CLI, cleanup QSV VPP filter initialization.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5665 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: small change to the filter names.
Rodeo [Fri, 26 Jul 2013 16:07:46 +0000 (16:07 +0000)]
QSV: small change to the filter names.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5664 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: don't forget to add the VPP filter if we're deinterlacing with it.
Rodeo [Fri, 26 Jul 2013 15:51:55 +0000 (15:51 +0000)]
QSV: don't forget to add the VPP filter if we're deinterlacing with it.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5663 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: default MSDK VPP is now AFTER other filter(s) used, plus some cosmetics
handbrake [Fri, 26 Jul 2013 14:41:49 +0000 (14:41 +0000)]
QSV: default MSDK VPP is now AFTER other filter(s) used, plus some cosmetics

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5662 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix stupid vasriable shadowing.
Rodeo [Wed, 24 Jul 2013 18:50:54 +0000 (18:50 +0000)]
QSV: fix stupid vasriable shadowing.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5661 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: support API 1.3.
Rodeo [Tue, 23 Jul 2013 01:26:11 +0000 (01:26 +0000)]
QSV: support API 1.3.

We don't need anything 1.4-specific yet, and some OEMs' "latest" drivers for Sandy Bridge are still on API 1.3, so this should improve Sandy Bridge support.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5660 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: cleanup keyframe interval code.
Rodeo [Tue, 23 Jul 2013 01:18:28 +0000 (01:18 +0000)]
QSV: cleanup keyframe interval code.

Intervals are unchanged from previous patch (32 for CQP, 5*fps+1 otherwise).

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5659 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: support of MSDK 2013 R2/API 1.7 release and new features, RB541
handbrake [Mon, 22 Jul 2013 19:24:04 +0000 (19:24 +0000)]
QSV: support of MSDK 2013 R2/API 1.7 release and new features, RB541

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5658 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix for Render/Burn-in subtitles
handbrake [Mon, 15 Jul 2013 19:51:52 +0000 (19:51 +0000)]
QSV: fix for Render/Burn-in subtitles

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5651 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: decavcodec: work around out-of-order timestamps.
Rodeo [Sun, 14 Jul 2013 15:08:00 +0000 (15:08 +0000)]
QSV: decavcodec: work around out-of-order timestamps.

When we feed an incomplete H.264 frame (e.g. a slice) to the QSV decoder, it will mess up timestamps, resulting in out-of-order timestamps, and unnecessary frame drops in sync.c.

This patch works around the issue by saving timestamps and restoring them in chronological order.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5650 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv: improve B-frame usage detection.
Rodeo [Sat, 13 Jul 2013 15:53:56 +0000 (15:53 +0000)]
QSV: enc_qsv: improve B-frame usage detection.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5644 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: use MFX_IMPL_AUTO_ANY.
Rodeo [Sat, 13 Jul 2013 15:36:39 +0000 (15:36 +0000)]
QSV: use MFX_IMPL_AUTO_ANY.

This is the recommended usage.

Also, it may fix cases where Quick Sync Video is detected as available but fails to initialize when encoding.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5643 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix a hang caused by dropping decoded frames without reclaiming resources for...
Rodeo [Fri, 5 Jul 2013 18:17:14 +0000 (18:17 +0000)]
QSV: fix a hang caused by dropping decoded frames without reclaiming resources for QSV.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5634 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv: improve DTS generation code.
Rodeo [Fri, 5 Jul 2013 16:35:12 +0000 (16:35 +0000)]
QSV: enc_qsv: improve DTS generation code.

If B-pyramid is used, API must be >= 1.6 so we have access to MSDK's DecodeTimeStamp. We can't use it w/VFR, but we can use it to compute the B-frame delay (in number of frames), so we don't have to guess it (which could result in too high a delay being used).

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5633 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv: improve DTS generation with B-pyramid and large number of consecutive...
Rodeo [Mon, 1 Jul 2013 02:04:02 +0000 (02:04 +0000)]
QSV: enc_qsv: improve DTS generation with B-pyramid and large number of consecutive B-refs.

This is hackier than I imagined; clearly my code could benefit from some improvement.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5627 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: use B-frame workaround (DTS generation) for VFR/PFR too.
Rodeo [Mon, 1 Jul 2013 00:32:45 +0000 (00:32 +0000)]
QSV: use B-frame workaround (DTS generation) for VFR/PFR too.

QSV's DTS generation fails on some VFR samples here.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5626 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv: default to VFR.
Rodeo [Mon, 1 Jul 2013 00:31:38 +0000 (00:31 +0000)]
QSV: enc_qsv: default to VFR.

The full QSV path (QSV decode, filtering & encode) passes all timestamps through (no framerate shaping whatsoever.

This just makes the partial QSV path (software decode & filtering, QSV encode) behave the same by default. CLI users can still select a framerate shaping algorithm, but it will only apply to the partial QSV path.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5625 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: Timestamp fixes.
Rodeo [Sun, 30 Jun 2013 23:28:49 +0000 (23:28 +0000)]
QSV: Timestamp fixes.

h264_qsv decoder: set timestamps.

enc_qsv: use the adjusted timestamps from sync.

Code was bypassing all of the following features:

- PTS guessing in decavcodec (in case we sent frames to the decoder without timestamps, which can happen)

- sync adjusting first video PTS to 0 (which may not be the case in the source)

- all other A/V sync adjustments

This may cause issues if sync attempts to "drop" a frame which is only really present in hardware memory (to be fixed separately). But it's the lesser of two evils.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5624 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: muxmp4: use the delay buffer for QSV H.264 too.
Rodeo [Sun, 30 Jun 2013 22:05:37 +0000 (22:05 +0000)]
QSV: muxmp4: use the delay buffer for QSV H.264 too.

It's the only way to get a proper DTS to DTS duration for VFR video.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5623 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv: chapter marker support.
Rodeo [Sun, 30 Jun 2013 20:56:16 +0000 (20:56 +0000)]
QSV: enc_qsv: chapter marker support.

Pass chapter markers through and force a keyframe at the start of each chapter.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5621 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv: write initial PTS-DTS delay. Some muxers (e.g. MP4) expect this value...
Rodeo [Sun, 30 Jun 2013 15:38:59 +0000 (15:38 +0000)]
QSV: enc_qsv: write initial PTS-DTS delay. Some muxers (e.g. MP4) expect this value to be set.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5619 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: early init for QSV caps
handbrake [Wed, 26 Jun 2013 11:30:01 +0000 (11:30 +0000)]
QSV: early init for QSV caps

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5612 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix for ifdef/endif
handbrake [Tue, 25 Jun 2013 20:30:13 +0000 (20:30 +0000)]
QSV: fix for ifdef/endif

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5609 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoFix a missing endif
sr55 [Mon, 24 Jun 2013 19:50:14 +0000 (19:50 +0000)]
Fix a missing endif

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5608 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: Merging Trunk
sr55 [Mon, 24 Jun 2013 18:59:35 +0000 (18:59 +0000)]
QSV: Merging Trunk

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5607 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv, log input continuity errors.
Rodeo [Mon, 24 Jun 2013 09:29:55 +0000 (09:29 +0000)]
QSV: enc_qsv, log input continuity errors.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5606 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: and yet again.
Rodeo [Sun, 23 Jun 2013 20:39:51 +0000 (20:39 +0000)]
QSV: and yet again.

Ouch.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5605 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix another stupid bug.
Rodeo [Sun, 23 Jun 2013 20:33:36 +0000 (20:33 +0000)]
QSV: fix another stupid bug.

Sorry.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5604 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix stupid bug in SVN commit 5601.
Rodeo [Sun, 23 Jun 2013 20:29:06 +0000 (20:29 +0000)]
QSV: fix stupid bug in SVN commit 5601.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5603 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv, set hb_job_t.areBframes.
Rodeo [Sun, 23 Jun 2013 20:11:40 +0000 (20:11 +0000)]
QSV: enc_qsv, set hb_job_t.areBframes.

Some muxers need this information.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5602 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: enc_qsv, generate our own decode time stamps when they aren't available from...
Rodeo [Sun, 23 Jun 2013 20:00:33 +0000 (20:00 +0000)]
QSV: enc_qsv, generate our own decode time stamps when they aren't available from MediaSDK (API version < 1.6).

This restores B-frame in MP4 support for Sandy Bridge.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5601 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: add a capability for B-pyramid.
Rodeo [Sun, 23 Jun 2013 18:35:23 +0000 (18:35 +0000)]
QSV: add a capability for B-pyramid.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5600 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: hb_cpu_info_init, 0x6 0x46 is Haswell too.
Rodeo [Sun, 23 Jun 2013 18:31:15 +0000 (18:31 +0000)]
QSV: hb_cpu_info_init, 0x6 0x46 is Haswell too.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5599 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: hb_qsv_info refactoring.
Rodeo [Sun, 23 Jun 2013 18:09:20 +0000 (18:09 +0000)]
QSV: hb_qsv_info refactoring.

Rename hb_qsv_info_t.features to hb_qsv_info_t.capabilities

Group capabilities that are always found together to a single define.

Detect CPU platform earlier to be able to check for hardware-specific capabilities later on.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5598 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: hb_qsv_info_init, don't set software-only features as available if hardware...
Rodeo [Sun, 23 Jun 2013 17:52:01 +0000 (17:52 +0000)]
QSV: hb_qsv_info_init, don't set software-only features as available if hardware is available (we only use the software implementation if no hardware implementation is available).

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5597 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: update hardcoded CFR code after recent merges.
Rodeo [Sat, 15 Jun 2013 19:11:20 +0000 (19:11 +0000)]
QSV: update hardcoded CFR code after recent merges.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5582 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Some QuickSync preset tweaks.
sr55 [Fri, 14 Jun 2013 21:28:02 +0000 (21:28 +0000)]
WinGui: Some QuickSync preset tweaks.
- Large Filesize
- Switch to ffaac as it performs better than faac and helps reduce the bottleneck for the qsv encoder.
- Up'ed the bitrate to 224 to compensate

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5579 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoImprove an error message.
Rodeo [Fri, 14 Jun 2013 20:18:41 +0000 (20:18 +0000)]
Improve an error message.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5578 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: RB 512/possible decrease of the output bitstream by avoiding AUD and SEI NALs...
handbrake [Thu, 13 Jun 2013 20:59:24 +0000 (20:59 +0000)]
QSV: RB 512/possible decrease of the output bitstream by avoiding AUD and SEI NALs generations

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5576 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: Merging Trunk
sr55 [Wed, 5 Jun 2013 18:00:01 +0000 (18:00 +0000)]
QSV: Merging Trunk

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5562 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: Merging missed changes from trunk
sr55 [Wed, 5 Jun 2013 17:59:01 +0000 (17:59 +0000)]
QSV: Merging missed changes from trunk

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5561 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: when we don't get the DTS from MediaSDK (versions < 1.6), we use a workaround...
Rodeo [Wed, 5 Jun 2013 15:36:24 +0000 (15:36 +0000)]
QSV: when we don't get the DTS from MediaSDK (versions < 1.6), we use a workaround to generate DTS in enc_qsv instead. But it doesn't seem to work at all.

Instead, error out if the container is MP4, B-frames are enabled (Main/High Profile), and the MediaSDK/driver version is too old.

DTS generation should get fixed eventually.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5559 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: move decavcodec's QSV option parsing to a QSV-specific code block.
Rodeo [Wed, 5 Jun 2013 15:32:38 +0000 (15:32 +0000)]
QSV: move decavcodec's QSV option parsing to a QSV-specific code block.

Avoids log pollution such as:

"QSV options: Unknown suboption keyint"

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5558 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: muxmkv: fix writing of SPS/PPS with the QSV encoder.
Rodeo [Wed, 5 Jun 2013 15:31:00 +0000 (15:31 +0000)]
QSV: muxmkv: fix writing of SPS/PPS with the QSV encoder.
     muxmp4: uniform writing of SPS/PPS with muxmkv.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5557 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: add undocumented "--qsv-baseline" option for testing workarounds on newer platforms.
Rodeo [Wed, 5 Jun 2013 15:20:30 +0000 (15:20 +0000)]
QSV: add undocumented "--qsv-baseline" option for testing workarounds on newer platforms.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5556 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: port hb_qsv_info to hb_global_init().
Rodeo [Wed, 5 Jun 2013 15:18:30 +0000 (15:18 +0000)]
QSV: port hb_qsv_info to hb_global_init().

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5555 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: merge from trunk.
Rodeo [Wed, 5 Jun 2013 15:11:42 +0000 (15:11 +0000)]
QSV: merge from trunk.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5554 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: TargetKbps is not used when CQP
handbrake [Tue, 4 Jun 2013 10:59:02 +0000 (10:59 +0000)]
QSV: TargetKbps is not used when CQP

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5551 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: merge fallback improvements from trunk.
Rodeo [Mon, 3 Jun 2013 22:34:33 +0000 (22:34 +0000)]
QSV: merge fallback improvements from trunk.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5549 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: Preset fix
handbrake [Mon, 3 Jun 2013 17:42:26 +0000 (17:42 +0000)]
QSV: Preset fix

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5548 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: better usage of crop
handbrake [Mon, 3 Jun 2013 13:14:55 +0000 (13:14 +0000)]
QSV: better usage of crop

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5546 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoMerging Trunk into QSV branch.
sr55 [Sat, 1 Jun 2013 18:33:26 +0000 (18:33 +0000)]
Merging Trunk into QSV branch.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5540 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: direct compare should be used, not bitwise
handbrake [Thu, 23 May 2013 08:37:57 +0000 (08:37 +0000)]
QSV: direct compare should be used, not bitwise

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5505 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: adjusting comments
handbrake [Wed, 22 May 2013 23:28:47 +0000 (23:28 +0000)]
QSV: adjusting comments

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5504 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: MFX_CODINGOPTION_OFF is defined as 2 as per headers
handbrake [Wed, 22 May 2013 23:21:46 +0000 (23:21 +0000)]
QSV: MFX_CODINGOPTION_OFF is defined as 2 as per headers

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5503 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: showing CPU details/name and added CPU microarchitecture recognition
handbrake [Wed, 22 May 2013 23:19:56 +0000 (23:19 +0000)]
QSV: showing CPU details/name and added CPU microarchitecture recognition

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5502 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Undo commented out code.
sr55 [Wed, 22 May 2013 20:32:51 +0000 (20:32 +0000)]
WinGui: Undo commented out code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5501 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Detect newer hardware and use 3 point QSV slider, and 2 point for IvyBridge...
sr55 [Wed, 22 May 2013 20:32:14 +0000 (20:32 +0000)]
WinGui: Detect newer hardware and use 3 point QSV slider, and 2 point for IvyBridge and earlier.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5500 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolinux build fix
handbrake [Tue, 21 May 2013 12:20:28 +0000 (12:20 +0000)]
linux build fix

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5494 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoRB 502/partial clip transcode fix
handbrake [Mon, 20 May 2013 20:32:49 +0000 (20:32 +0000)]
RB 502/partial clip transcode fix

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5492 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agomissing semicolon
handbrake [Sat, 18 May 2013 19:37:09 +0000 (19:37 +0000)]
missing semicolon

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5478 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agooption should be at deinterlace, instead of decomb
handbrake [Sat, 18 May 2013 18:32:34 +0000 (18:32 +0000)]
option should be at deinterlace, instead of decomb

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5477 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Merging latest fixes into QSV.
sr55 [Sat, 18 May 2013 13:45:10 +0000 (13:45 +0000)]
WinGui: Merging latest fixes into QSV.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5476 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: QSV change advanced settings defaults.
sr55 [Sat, 18 May 2013 13:14:05 +0000 (13:14 +0000)]
WinGui: QSV change advanced settings defaults.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5475 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: merge latest fixes from trunk.
Rodeo [Fri, 17 May 2013 18:13:44 +0000 (18:13 +0000)]
QSV: merge latest fixes from trunk.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5462 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: QSV Quality = 2 for Quality encoding. Same as Source only for framerate...
sr55 [Fri, 17 May 2013 16:54:59 +0000 (16:54 +0000)]
WinGui: QSV  Quality = 2 for Quality encoding. Same as Source only for framerate until we get VFR support.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5460 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agofix for output bitstream processing
handbrake [Thu, 16 May 2013 09:02:42 +0000 (09:02 +0000)]
fix for output bitstream processing

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5458 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoNAL search fix for small chunk(s)
handbrake [Wed, 15 May 2013 15:18:45 +0000 (15:18 +0000)]
NAL search fix for small chunk(s)

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5457 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agofix for allocation according the needed sizes
handbrake [Tue, 14 May 2013 19:06:41 +0000 (19:06 +0000)]
fix for allocation according the needed sizes

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5455 b64f7644-9d1e-0410-96f1-a4d463321fa5