handbrake
11 years agoWinGui: Add a new command line argument to the HandBrake GUI executable (--reset...
sr55 [Sat, 1 Mar 2014 16:44:34 +0000 (16:44 +0000)]
WinGui: Add a new command line argument to the HandBrake GUI  executable (--reset). This deletes all preset, user preset and settings file which should result in a full reset to defaults.

Also fixed a small bug on the Add to queue button. Don't actually add an item without a destination.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6091 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Don't set -U or -P when QSV is enabled.
sr55 [Sat, 1 Mar 2014 16:24:54 +0000 (16:24 +0000)]
WinGui: Don't set -U or -P when QSV is enabled.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6090 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: dynamic detection of availability of libav audio encoders
jstebbins [Sat, 1 Mar 2014 02:57:44 +0000 (02:57 +0000)]
libhb: dynamic detection of availability of libav audio encoders

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6089 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoBump x265 to r6321 8a84c10e5116.
Rodeo [Fri, 28 Feb 2014 00:29:48 +0000 (00:29 +0000)]
Bump x265 to r6321 8a84c10e5116.

- rational framerates

- libx265 now provides decode time stamps (DTS)

- encx265: minor refactoring + prepare for muxing to MP4/Matroska

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6088 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: remove legacy preset key UsesMaxPictureSettings
jstebbins [Thu, 27 Feb 2014 17:09:44 +0000 (17:09 +0000)]
LinGui: remove legacy preset key UsesMaxPictureSettings

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6087 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix another preset loading problem
jstebbins [Wed, 26 Feb 2014 00:48:04 +0000 (00:48 +0000)]
LinGui: fix another preset loading problem

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6086 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: add a "Reset All Titles" button
jstebbins [Tue, 25 Feb 2014 21:01:35 +0000 (21:01 +0000)]
LinGui: add a "Reset All Titles" button

This provides a convenient way for the user to update all currently
loaded titles to the current settings.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6085 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: remove cruft
jstebbins [Tue, 25 Feb 2014 18:23:08 +0000 (18:23 +0000)]
LinGui: remove cruft

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6084 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix race condition crasher in subtitle/audio lists
jstebbins [Tue, 25 Feb 2014 18:00:17 +0000 (18:00 +0000)]
LinGui: fix race condition crasher in subtitle/audio lists

clearing a tree view caused selection to change while clearing (and
before clearing is complete). The selection change triggered an update
that attempted a recursive tree view clear.  Since the first clear
leaves the tree view in an inconsistant state till it finished, this
causes a crash.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6083 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: UI layout changes
jstebbins [Tue, 25 Feb 2014 06:27:44 +0000 (06:27 +0000)]
LinGui: UI layout changes

Make some things fit a little better and make room for additional auto
passthru options.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6082 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix some preset loading issues
jstebbins [Tue, 25 Feb 2014 00:41:24 +0000 (00:41 +0000)]
LinGui: fix some preset loading issues

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6081 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix crash if all titles are too short
jstebbins [Mon, 24 Feb 2014 22:16:30 +0000 (22:16 +0000)]
LinGui: fix crash if all titles are too short

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6080 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: simplify subtitle track refrencing
jstebbins [Mon, 24 Feb 2014 03:42:58 +0000 (03:42 +0000)]
LinGui: simplify subtitle track refrencing

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6079 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: simplify audio track references
jstebbins [Mon, 24 Feb 2014 02:49:46 +0000 (02:49 +0000)]
LinGui: simplify audio track references

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6078 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix selection of "feature" title
jstebbins [Mon, 24 Feb 2014 02:24:45 +0000 (02:24 +0000)]
LinGui: fix selection of "feature" title

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6077 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: queue window changes
jstebbins [Sun, 23 Feb 2014 23:39:16 +0000 (23:39 +0000)]
LinGui: queue window changes

Don't show number of passes if passes is 1 or not ABR mode.
Show cropping values.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6076 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: use hb_video_encoder_get_presets()
jstebbins [Sun, 23 Feb 2014 23:21:13 +0000 (23:21 +0000)]
LinGui: use hb_video_encoder_get_presets()

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6075 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: use hb_video_quality_get_name()
jstebbins [Sun, 23 Feb 2014 23:15:18 +0000 (23:15 +0000)]
LinGui: use hb_video_quality_get_name()

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6074 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb audio bitrate is referenced by lingui
jstebbins [Sun, 23 Feb 2014 23:01:53 +0000 (23:01 +0000)]
LinGui: rework how hb audio bitrate is referenced by lingui

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6073 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb samplerate is referenced from lingui
jstebbins [Sun, 23 Feb 2014 22:18:40 +0000 (22:18 +0000)]
LinGui: rework how hb samplerate is referenced from lingui

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6072 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb video framerate is referenced from lingui
jstebbins [Sun, 23 Feb 2014 21:38:33 +0000 (21:38 +0000)]
LinGui: rework how hb video framerate is referenced from lingui

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6071 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb audio mixdowns are referenced from lingui
jstebbins [Sun, 23 Feb 2014 21:04:26 +0000 (21:04 +0000)]
LinGui: rework how hb audio mixdowns are referenced from lingui

Cleans up interface and fixes faulure to use fallbacks properly

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6070 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb video encoders are reference from linbui
jstebbins [Sun, 23 Feb 2014 20:25:35 +0000 (20:25 +0000)]
LinGui: rework how hb video encoders are reference from linbui

Cleans up interface and fixes failure to use fallbacks properly

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6069 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb audio encoders are referenced from lingui
jstebbins [Sun, 23 Feb 2014 20:03:32 +0000 (20:03 +0000)]
LinGui: rework how hb audio encoders are referenced from lingui

Cleans up the interface and fixes failure to use fallbacks properly

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6068 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb containers are refrenced from lingui
jstebbins [Sun, 23 Feb 2014 18:59:42 +0000 (18:59 +0000)]
LinGui: rework how hb containers are refrenced from lingui

Cleans up the interface and fixes failure to use fallbacks properly.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6067 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Remove some irrelevant information from the Log header.
sr55 [Sun, 23 Feb 2014 18:28:13 +0000 (18:28 +0000)]
WinGui: Remove some irrelevant information from the Log header.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6066 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Fix to the Multiple Title selection feature. UI warning no longer relevant...
sr55 [Sun, 23 Feb 2014 18:25:37 +0000 (18:25 +0000)]
WinGui: Fix to the Multiple Title selection feature. UI warning no longer relevant after audio/sub title behaviour refactor.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6065 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework how hb titles are referenced from lingui
jstebbins [Sun, 23 Feb 2014 17:22:05 +0000 (17:22 +0000)]
LinGui: rework how hb titles are referenced from lingui

Provides a less cryptic interface to identifying and looking up hb
titles.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6064 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Enable the x265 raw muxer for testing. Note to everyone playing with this...
sr55 [Sun, 23 Feb 2014 15:59:51 +0000 (15:59 +0000)]
WinGui: Enable the x265 raw muxer for testing.  Note to everyone playing with this. This is highly experimental at this stage. There is no support for audio and the encoder is slow compared to x264. It's still early days.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6063 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: x265 UI patch by Zhang Zhigiang.
sr55 [Sun, 23 Feb 2014 15:43:16 +0000 (15:43 +0000)]
WinGui: x265 UI patch by Zhang Zhigiang.

This enables support for the x265 encoder from the GUI when paired with a build of HandBrake that has x265 enabled.
Thanks

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6062 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: improvements to queue window
jstebbins [Sat, 22 Feb 2014 20:34:57 +0000 (20:34 +0000)]
LinGui: improvements to queue window

Add x264 preset/tune/profile/level.  LinGui has been missing this.
Reformat audio and subtitle list.
Don't show "Turbo" when not encoding 2 pass ABR.
Don't show "Filters" line if there are no filters.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6061 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Further work on the new Audio and Subtitle automatic behaviour system.
sr55 [Sat, 22 Feb 2014 17:10:47 +0000 (17:10 +0000)]
WinGui: Further work on the new Audio and Subtitle automatic behaviour system.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6060 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: tweaks to "add multiple" dialog
jstebbins [Sat, 22 Feb 2014 06:57:41 +0000 (06:57 +0000)]
LinGui: tweaks to "add multiple" dialog

Changes make which titles have conflicting destination file names more
evident.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6059 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: sort the list of files in batch mode
jstebbins [Sat, 22 Feb 2014 05:21:10 +0000 (05:21 +0000)]
libhb: sort the list of files in batch mode

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6058 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: clean up handling dir directory separator
jstebbins [Sat, 22 Feb 2014 05:21:04 +0000 (05:21 +0000)]
libhb: clean up handling dir directory separator

title->name was getting set to an empty string in some cases due to
looking for the wrong directory separator.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6057 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: add dialog to select multiple titles to add to queue
jstebbins [Sat, 22 Feb 2014 03:01:15 +0000 (03:01 +0000)]
LinGui: add dialog to select multiple titles to add to queue

Replaces "Add All to Queue".
Dialog provides checkboxes to select titles to add to the queue and file
chooser/file entry to change destination file names.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6056 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: fix decavcodecaBSInfo again...
jstebbins [Sat, 22 Feb 2014 01:34:50 +0000 (01:34 +0000)]
libhb: fix decavcodecaBSInfo again...
... forgot to check for error return from avcodec_decode_audio4

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6055 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: fix a problem decoding wmapro audio
jstebbins [Sat, 22 Feb 2014 00:21:43 +0000 (00:21 +0000)]
libhb: fix a problem decoding wmapro audio
... and probably some other audio types.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6054 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Some tidy up and refactoring in the interop library. Few small internal names...
sr55 [Fri, 21 Feb 2014 22:06:24 +0000 (22:06 +0000)]
WinGui: Some tidy up and refactoring in the interop library. Few small internal namespace changes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6053 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: add trusty to ubuntu snapshots
jstebbins [Fri, 21 Feb 2014 01:10:25 +0000 (01:10 +0000)]
LinGui: add trusty to ubuntu snapshots

...remove everything else since none have gtk 3.10

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6052 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix range update issues and plug memory leaks
jstebbins [Fri, 21 Feb 2014 00:23:37 +0000 (00:23 +0000)]
LinGui: fix range update issues and plug memory leaks

Updating the range of GtkScale and GtkSpinButtons causes the current
value to update inappropriately under some conditions.  So update
the range and value concurrently.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6051 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoSVN: remove a52dec.
Rodeo [Thu, 20 Feb 2014 16:15:49 +0000 (16:15 +0000)]
SVN: remove a52dec.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6050 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: remove a52dec
jstebbins [Thu, 20 Feb 2014 01:51:45 +0000 (01:51 +0000)]
libhb: remove a52dec
replace it with libavcodec ac3 decoder

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6049 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix several issues with loading presets
jstebbins [Thu, 20 Feb 2014 01:22:47 +0000 (01:22 +0000)]
LinGui: fix several issues with loading presets

pull on a string and the whole sweater comes apart

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6048 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix potential use of uninitialized variable
jstebbins [Wed, 19 Feb 2014 00:13:07 +0000 (00:13 +0000)]
LinGui: fix potential use of uninitialized variable

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6047 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: rework title list
jstebbins [Wed, 19 Feb 2014 00:06:26 +0000 (00:06 +0000)]
LinGui: rework title list

Title list is now linked to a settings list.  There is one settings dict
per title.  The settings list is populated when scan completes.  As you
change titles, the settings for that title populate the UI.  Changes
made are saved in the settings and restored if you go to another title
and then return.

This is preparation for improvements to "Add All to Queue" feature.
Settings for each title can be customized before adding to the queue.
All titles don't have to use the same preset or settings.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6046 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: fix compiler warning with cpuid usage
jstebbins [Tue, 18 Feb 2014 22:33:39 +0000 (22:33 +0000)]
libhb: fix compiler warning with cpuid usage

fixes "dereferencing type-punned pointer will break strict-aliasing rules"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6045 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoRemove HB_API_OLD_PRESET_SETTERS cruft.
Rodeo [Tue, 18 Feb 2014 18:37:10 +0000 (18:37 +0000)]
Remove HB_API_OLD_PRESET_SETTERS cruft.

All UIs and Interop should be up-to-date.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6044 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoopenclkernels.h: fix line endings.
Rodeo [Tue, 18 Feb 2014 18:24:20 +0000 (18:24 +0000)]
openclkernels.h: fix line endings.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6043 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoUpdate some copyright dates to 2014.
Rodeo [Tue, 18 Feb 2014 18:14:22 +0000 (18:14 +0000)]
Update some copyright dates to 2014.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6042 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: API 1.8 support and related improvements
Rodeo [Tue, 18 Feb 2014 17:14:14 +0000 (17:14 +0000)]
QSV: API 1.8 support and related improvements

Optional feature detection now done via MFXVideoENCODE_Query. This should work better with future hardware and encoder implementations.

Optional API 1.8 features are not tested (not supported by the software implementation, and no drivers with API 1.8 support available yet).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6041 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: Audio and subtitle UI rework.
jstebbins [Tue, 18 Feb 2014 16:02:14 +0000 (16:02 +0000)]
LinGui: Audio and subtitle UI rework.

Adds new tabs for audio and subtitle defaults (presets).
"Audio" and "Subtitle" tabs renamed to "Audio List" and "Subtitle List"

New Preset Keys:
    AudioLanguageList - array of strings
        List of languages that will be used to generate the output
        audio tracks for a job.
        Values: preset      -   UI display
            iso639_2 codes  - native_name if not NULL, else eng_name

    SubtitleLanguageList - array of strings
        List of languages that will be used to generate the output
        subtitle tracks for a job.
        Values: preset      -   UI display
            iso639_2 codes  - native_name if not NULL, else eng_name

    AudioTrackSelectionBehavior - string
        Defines how source tracks will be selected when generating
        the audio list for a job.
        Values: preset      -   UI display
            none            -   None
            first           -   First Matching Selected Languages
            all             -   All Matching Selected Languages

    SubtitleTrackSelectionBehavior - string
        Defines how source tracks will be selected when generating
        the subtitle list for a job.
        Values: preset      -   UI display
            none            -   None
            first           -   First Matching Selected Languages
            all             -   All Matching Selected Languages

    SubtitleAddCC - boolean
        Add Closed Caption track to subtitle list if available

    SubtitleAddForeignAudioSearch - boolean
        Add Foreign audio search pass to job if a default subtitle
        language is set (i.e. SubtitleLanguageList is not empty and
        first entry is not "Any") and default audio track language
        matches subtitle preferred language.

    SubtitleAddForeignAudioSubtitle - boolean
        Add preferred language subtitle track if the default subtitle
        language is set (i.e. SubtitleLanguageList is not empty and
        first entry is not "Any") and default audio track language
        does not match the preferred subtitle language.

Removed Preset Keys:
    AudioTrack

    SubtitleList - I think only the LinGui had this key.

Note that the remaining keys in the pre-existing AudioList are reused
and map to the "Audio Encoder Settings" on the "Audio Defaults" tab.
They used to map to the entries in the list on the old "Audio" tab.
The old "Audio" tab is now the "Audio List" tab.  Nothing in the "Audio
List"
tab map to preset values in the new design.  The contents of this tab is
strictly for use in the encode job.  Ditto for "Subtitle Defaults" and
"Subtitle List".

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6040 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoBump libav to v10_beta1
Rodeo [Tue, 18 Feb 2014 02:26:52 +0000 (02:26 +0000)]
Bump libav to v10_beta1

Remove some patches that have been applied upstream.

Add support for AVDownmixInfo side data (i.e. mix levels).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6039 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Update HandBrakeInterop Library for the latest encoder option changes.
sr55 [Mon, 17 Feb 2014 20:51:17 +0000 (20:51 +0000)]
WinGui: Update HandBrakeInterop Library for the latest encoder option changes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6038 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Show a error message when the user has no destination set.
sr55 [Mon, 17 Feb 2014 20:30:04 +0000 (20:30 +0000)]
WinGui: Show a error message when the user has no destination set.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6037 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Initial work to refactor the Audio and Subtitle behavioural based automatic...
sr55 [Sun, 16 Feb 2014 18:39:29 +0000 (18:39 +0000)]
WinGui: Initial work to refactor the Audio and Subtitle behavioural based automatic track selections. This is not quite complete yet but close enough for gathering feedback.
- Simplified UI design that's now available on the "Subtitle" and "Audio" tabs rather than the Options screen.
  The settings are no longer part of the app preferences. They are now per-preset. Build in presets default to None.
- Selected Languages can now be set independently for Audio and Video.
- Preferred Language is now part of the Selected Languages list.
- Warning: Import/Export of presets still to be implemented.  Design may yet change.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6036 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: update Czech translation
jstebbins [Sun, 16 Feb 2014 16:48:33 +0000 (16:48 +0000)]
LinGui: update Czech translation

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6035 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: update russian translation
jstebbins [Sun, 16 Feb 2014 16:45:58 +0000 (16:45 +0000)]
LinGui: update russian translation

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6034 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix missing libdl in link
jstebbins [Sat, 15 Feb 2014 17:39:09 +0000 (17:39 +0000)]
LinGui: fix missing libdl in link
Seems this gets included automagically on many systems, but not on debian.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6033 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: Add cpuid inline asm macro
jstebbins [Sat, 15 Feb 2014 16:31:11 +0000 (16:31 +0000)]
libhb: Add cpuid inline asm macro

This eliminates our reliance on the private (unexported) libavutil
function ff_cpu_cpuid().

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6032 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: make encoder options less x264-centric.
Rodeo [Thu, 13 Feb 2014 15:18:15 +0000 (15:18 +0000)]
libhb: make encoder options less x264-centric.

profile/level control and, to a lesser extent,
encoder presets and tunes are becoming more common.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6031 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoFix typo in previous commit.
Rodeo [Thu, 13 Feb 2014 15:00:08 +0000 (15:00 +0000)]
Fix typo in previous commit.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6030 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: write encoding library's name in the Activity Log.
Rodeo [Thu, 13 Feb 2014 14:57:05 +0000 (14:57 +0000)]
libhb: write encoding library's name in the Activity Log.

We lost them for some encoders in SVN revision 5586.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6029 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: fix compiler warning.
Rodeo [Wed, 12 Feb 2014 14:45:36 +0000 (14:45 +0000)]
QSV: fix compiler warning.

Was fixed for encx264 in SVN revision 5999.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6028 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agox265: misc. container-related fixes.
Rodeo [Wed, 12 Feb 2014 01:24:30 +0000 (01:24 +0000)]
x265: misc. container-related fixes.

CLI users: please use -f x265 instead of -f raw

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6027 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoencx265: miscellaneous fixes, cleanup and refactoring.
Rodeo [Tue, 11 Feb 2014 21:33:34 +0000 (21:33 +0000)]
encx265: miscellaneous fixes, cleanup and refactoring.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6026 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: fix building with --enable-x265
Rodeo [Mon, 10 Feb 2014 17:46:56 +0000 (17:46 +0000)]
LinGui: fix building with --enable-x265

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6025 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoMissing in last commit. Also by Zhang Zhiqiang. Thanks!
Rodeo [Mon, 10 Feb 2014 17:41:56 +0000 (17:41 +0000)]
Missing in last commit. Also by Zhang Zhiqiang. Thanks!

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6024 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoInitial x265 integration. Patch by Zhang Zhiqiang. Thanks!
Rodeo [Mon, 10 Feb 2014 17:38:41 +0000 (17:38 +0000)]
Initial x265 integration. Patch by Zhang Zhiqiang. Thanks!

Build with --enable-x265 (requires CMake).

Use via HandBrakeCLI with -a none -e x265 -f raw

Only raw HEVC output is supported for now (no audio or subtitles).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6023 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibav: patch AVFrame pkt_pts problem to fix fraps decoder
jstebbins [Mon, 10 Feb 2014 16:44:52 +0000 (16:44 +0000)]
libav: patch AVFrame pkt_pts problem to fix fraps decoder

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6022 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoBump x264 to r2389-956c8d8.
Rodeo [Sun, 9 Feb 2014 22:43:57 +0000 (22:43 +0000)]
Bump x264 to r2389-956c8d8.

Miscellaneous fixes and improvements, as usual.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6021 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: change libhb.a to libhandbrake.a
jstebbins [Sun, 9 Feb 2014 18:44:12 +0000 (18:44 +0000)]
libhb: change libhb.a to libhandbrake.a
On linux, there is a problem with some distros that dynamically link
harfbuzz (libhb) to libass.  The name conflicts with our libhb.  So this
changes the library name to resolve the conflict.

It only changes libhb.a.  It does not affect the windows libraries
hb.lib and hb.dll

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6020 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agobuild: use a local version of pkg-config when necessary (Darwin-only).
Rodeo [Fri, 7 Feb 2014 19:21:19 +0000 (19:21 +0000)]
build: use a local version of pkg-config when necessary (Darwin-only).

Automatically enabled when pkg-config detection fails, and can
be forced with the --enable-local-pkgconfig configure option.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6019 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agodoc: fix svn build number in documentation
jstebbins [Fri, 7 Feb 2014 15:35:33 +0000 (15:35 +0000)]
doc: fix svn build number in documentation
Note to self, always "configure" before "make doc"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6018 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agodoc: fix LinGui libwebkitgtk ubuntu dependency name
jstebbins [Fri, 7 Feb 2014 15:20:18 +0000 (15:20 +0000)]
doc: fix LinGui libwebkitgtk ubuntu dependency name

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6017 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoQSV: work around an issue where two consecutive IDR frames cause Media SDK to use...
Rodeo [Fri, 7 Feb 2014 15:16:24 +0000 (15:16 +0000)]
QSV: work around an issue where two consecutive IDR frames cause Media SDK to use one more consecutive reference B-frame than accounted for by the initial PTS-DTS delay.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6016 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: update rpm spec file
jstebbins [Tue, 4 Feb 2014 16:07:43 +0000 (16:07 +0000)]
LinGui: update rpm spec file

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6015 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: remove ubuntu raring from nightly builds
jstebbins [Tue, 4 Feb 2014 15:51:44 +0000 (15:51 +0000)]
LinGui: remove ubuntu raring from nightly builds
non-LTS ubuntu release are now only supported for 9 months by ubuntu.
So launchpad will no longer build raring packages.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6014 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: remove gtk2 support from configure.ac
jstebbins [Sun, 2 Feb 2014 21:30:18 +0000 (21:30 +0000)]
LinGui: remove gtk2 support from configure.ac
The code won't build with gtk2 anymore.  So allowing it during configure
is just going to cause confusion.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6013 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Use libhb for subtitle burnin / forced checking.
sr55 [Sun, 2 Feb 2014 20:34:09 +0000 (20:34 +0000)]
WinGui: Use libhb for subtitle burnin / forced checking.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6012 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: fix problem with avcodec audio sample_rate
jstebbins [Sun, 2 Feb 2014 16:29:44 +0000 (16:29 +0000)]
libhb: fix problem with avcodec audio sample_rate
libavcodec does not yet consistently set AVFrame.sample_rate.
So when it is not set, use AVCodecContext.sample_rate and log a warning.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6011 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoInterop: Various fixes/features
randomengy [Sat, 1 Feb 2014 04:58:35 +0000 (04:58 +0000)]
Interop: Various fixes/features
Improved error code handling.
Added support for dynamic DRC detection.
Prevented crash when OutputPath is null.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6010 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: fix crashes with some BDs
jstebbins [Fri, 31 Jan 2014 15:49:40 +0000 (15:49 +0000)]
libhb: fix crashes with some BDs
A stray line of code from the switch from mpeg2dec to
libavcodec caused a failure to open the mpeg2 decoder for BDs

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6009 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agocontrib: update dependency list of libbluray to include freetype
jstebbins [Wed, 29 Jan 2014 16:54:23 +0000 (16:54 +0000)]
contrib: update dependency list of libbluray to include freetype

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6008 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoFix the order of libraries when linking HandBrakeCLI
jstebbins [Tue, 28 Jan 2014 15:12:43 +0000 (15:12 +0000)]
Fix the order of libraries when linking HandBrakeCLI
The new libbluray has a dependency on freetype.  Ubuntu
didn't like the order, all other builds were ok :-\

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6007 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoBump libbluray to version 0.5.0.
Rodeo [Tue, 28 Jan 2014 01:02:34 +0000 (01:02 +0000)]
Bump libbluray to version 0.5.0.

Miscellaneous bugfixes and enhancements.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6006 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agobuild: add parsing of version info from version.txt file
jstebbins [Mon, 27 Jan 2014 23:14:59 +0000 (23:14 +0000)]
build: add parsing of version info from version.txt file
This makes it possible to have proper version numbers in the build
when the source tree does not come from svn (e.g. a tarball).

Also, automatically adds version.txt to our source tar that is
created with "make pkg.create".

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6005 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoBump libdvdread and libdvdnav to the current git master (version 5.0.0 "pre").
Rodeo [Mon, 27 Jan 2014 22:10:57 +0000 (22:10 +0000)]
Bump libdvdread and libdvdnav to the current git master (version 5.0.0 "pre").

Miscellaneous bugfixes and enhancements.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6004 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoLinGui: UI layout changes
jstebbins [Mon, 27 Jan 2014 18:12:06 +0000 (18:12 +0000)]
LinGui: UI layout changes
Allows reduction of window height when advanced tab is hidden

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6003 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoSwitch to VideoLAN's repositories for libdvdread and libdvdnav.
Rodeo [Mon, 27 Jan 2014 10:34:30 +0000 (10:34 +0000)]
Switch to VideoLAN's repositories for libdvdread and libdvdnav.

All our patches have been merged, and they seem
to be the only repos for these libs to see any
development activity.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6002 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoReplace invaled timestamp flag "-1" with AV_NOPTS
jstebbins [Sun, 26 Jan 2014 18:01:50 +0000 (18:01 +0000)]
Replace invaled timestamp flag "-1" with AV_NOPTS
-1 is not a good value as a flag for invalid timestamps.
There are cases where small negative timestamps are useful.
So this eliminates a potential ambiguity.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6001 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: support AV_FRAME_DATA_MATRIXENCODING side data.
Rodeo [Sun, 26 Jan 2014 16:12:23 +0000 (16:12 +0000)]
libhb: support AV_FRAME_DATA_MATRIXENCODING side data.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6000 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: fix compiler warning
jstebbins [Sun, 26 Jan 2014 03:26:33 +0000 (03:26 +0000)]
libhb: fix compiler warning
move struct chapter_s declaration to correct location.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5999 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: fix missing format specifier in printf
jstebbins [Sun, 26 Jan 2014 03:25:31 +0000 (03:25 +0000)]
libhb: fix missing format specifier in printf

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5998 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agodecavcodec: DRC support, forgotten file.
Rodeo [Sun, 26 Jan 2014 00:56:20 +0000 (00:56 +0000)]
decavcodec: DRC support, forgotten file.

Sorry!

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5997 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agolibhb: set audio description in LookForAudio (scan.c).
Rodeo [Sat, 25 Jan 2014 23:28:31 +0000 (23:28 +0000)]
libhb: set audio description in LookForAudio (scan.c).

All audio tracks go through it since SVN revision 5424.

This is where we have the most information about each audio track.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5996 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agodecavcodec: DRC support.
Rodeo [Sat, 25 Jan 2014 23:24:48 +0000 (23:24 +0000)]
decavcodec: DRC support.

Adds DRC support for E-AC-3 audio (as well as any future libavcodec decoders with DRC support).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5995 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agodecavcodec: prefer AVFrame fields over their AVCodecContext equivalent.
Rodeo [Sat, 25 Jan 2014 23:19:41 +0000 (23:19 +0000)]
decavcodec: prefer AVFrame fields over their AVCodecContext equivalent.

These fields correspond to the actual audio data in the AVFrame, and should always be set (otherwise, we must submit a bug report to libav).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5994 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoBump libav to v10_alpha2.
Rodeo [Sat, 25 Jan 2014 23:15:25 +0000 (23:15 +0000)]
Bump libav to v10_alpha2.

Misc. fixes and improvements.

Also add a patch to fix some interlaced VC-1 samples.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5993 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agodocumentation: fix compatibility with makeinfo 5.1
jstebbins [Sat, 25 Jan 2014 22:14:10 +0000 (22:14 +0000)]
documentation: fix compatibility with makeinfo 5.1
Variables can no longer have '.' or '_'.
This syntax is no longer valid "@value{@value{variable}}

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5992 b64f7644-9d1e-0410-96f1-a4d463321fa5