Commit Graph

97 Commits

Author SHA1 Message Date
Damiano Galassi 66fe47c548
libhb: ui: add new presets key for track names (#6840)
Add AudioTrackNamePassthru and SubtitleTrackNamePassthru preset key to
preserve the existing track names, and AudioAutomaticNamingBehavior to
disable or enable the audio track automatic names.

Co-authored-by: sr55 <sr55.code@outlook.com>
2025-06-03 08:48:59 +02:00
sr55 2f2166aac7
WinGui: Remove LangaugeUtilities Class. HandBrakeLanguageHelper class should now be used instead. Update the UI to show both Native and English Names (where available) in the Subtitle and Audio Default screens 2023-09-05 18:46:31 +01:00
sr55 744e83dd4f
WinGui: Fix an issue on the Audio Tab where Tracks could be erroneously duplicated when the fallback encoder is None. Fixes #5012 2023-03-15 19:05:21 +00:00
sr55 9bd7639b88
WinGui: Fix an issue where queue modification could trigger a preset to show as modified when it wasn't. Fixes #4909 2023-02-09 20:12:45 +00:00
sr55 6c43be1269
WinGui: Fix a possible UI crash when switching from MKV to MP4 with certain audio encoders selected. 2022-08-14 15:46:01 +01:00
sr55 d39df97e9c
WinGui: Various bug fixes from the Caliburn Refactor + Removal of the last usages inside the views / view models. 2022-07-22 19:44:10 +01:00
sr55 563460f87c
WinGui: Part 1 - Decouple Caliburn.Micro from the UI code. (Threading, Window Manager, PropertyChangedBase and IoC) 2022-07-15 20:44:59 +01:00
sr55 8ff5550f61
WinGui: Refactor Autopassthru options to be libhb driven. Per the last commit, this also reduces the amount of code needed to add new encoder/passthru options 2022-06-08 23:05:27 +01:00
sr55 b1eb67b194
WinGui: Refactor the Audio Tab code to be driven off the libhb Audio Encoder object. This will drastically reduce the code we need to change on this front-end each time we add or remove an audio encoder. 2022-06-08 20:53:37 +01:00
Damiano Galassi 91622cb27d
libhb: ui: add Opus passthru. Enable Opus in MP4. (#4393)
* libhb: ui: add Opus passthru. Enable Opus in MP4.
2022-06-07 20:03:33 +02:00
sr55 88899964cb
WinGui: Small usability enhacnement. New Keyboard Shotcuts:
- "delete" button on Audio/Subtitle list's now removes the *selected* item.
- Ctrl +  or Ctrl -   will now increment the title up or down.    #4300
2022-04-16 20:57:14 +01:00
sr55 7ed7d1ca14
WinGui: Move more code out of the UI layer. 2022-04-08 21:17:21 +01:00
sr55 a2f9062239
WinGui: Quality of life improvements around the UI. (Missing localised strings. Improved Context Menus, Alignment Issues) 2021-12-11 17:52:48 +00:00
sr55 93b2714479
WinGui: Minor UX change on the Subtitle/Audio View. 2021-11-13 17:04:34 +00:00
sr55 994eacde38
Fix audio copy-mask not being setup correctly for jobs in the Windows UI. #3965 2021-11-11 18:56:43 +00:00
sr55 604122f39a
WinGui: Minor UI improvement to the audio defaults screen. (Enabled IsDefault and IsCancel)
Significant refactoring of the behaviours code to decouple the screen from the underlying Encode Objects.
2021-05-29 21:21:31 +01:00
Josh Soref 7d018e4c4d
Spelling win (#3602)
* spelling: actual x264

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: application

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: associated

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: behavior

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: category

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: chapter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: chapters

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: checklist

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: coerced

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collapsed

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collection

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: confirmation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: contains

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: contrast

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: converter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: creation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deserialize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: directory

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: displayed

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dropdowns

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: excessively

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: failed

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: granularity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: handbrake

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: ienumerable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: installer

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: languages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: logs

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: maybe

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: obj

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: object

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: occurred

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: paused

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: persists

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: progress

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: provider

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recalculate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: replacement

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: representing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: represents

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: response

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: separator

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: specified

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: struct

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: subtitle

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: subtitles

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: successful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: toggle

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: treeview

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: utility

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: visible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: width

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-05-22 11:23:38 +01:00
sr55 383ec39965
WinGui: Move to Caliburn Micro 4.0 (RC). This removes the Framework 4 dependant 3.2 version. 2021-03-08 20:03:54 +00:00
sr55 db589c5559
WinGui: HandBrake.Interop further API tidyup. Namespace changes. Many "model" objects have moved to interfaces.models to avoid confusion. A number of filter/video enums have moved to HandBrakeWPF as they are not part of the API. 2021-02-04 20:41:45 +00:00
sr55 f2ffaeecda
WinGui: Work by Nomis101 to add support for MP2 passthru to the windows UI. Thanks. #3222 2020-12-11 19:31:47 +00:00
sr55 b436ec04fa
WinGui: AutoPassthru is now implemented using libhb using hb_autopassthru_get_encoder. This should solve a number of issues around selection. Fixes #2627 and #2611 2020-02-07 20:04:34 +00:00
sr55 d388fee8e2
WinGui: Improve the way the Audio and Subtitle Language selection is handled. When "(Any)" is used, make sure to honour the order of any languages that are also selected as a priority. Fixes #2611 2020-02-05 20:16:03 +00:00
sr55 e0d3c0fde7
WinGui: Fix crash on Audio Defaults View. Fixes #2341 2019-10-02 19:09:24 +01:00
sr55 7f3aa8a27b
WinGui: UI / Consistency improvements on Audio and Subtitle Defaults 2019-07-31 21:41:02 +01:00
sr55 2817b704da
WinGui: Fix a crash in the AudioViewModel when no Behaviour Tracks or fallback encoder are set. 2019-06-01 13:40:09 +01:00
sr55 270c8972c9
WinGui: Fix Language ordering for Audio and Subtitle tabs. Fixes #2050 2019-04-17 20:45:21 +01:00
sr55 5dd8ab773b
WinGui: Set the button text to "Apply" on the Defaults Windows rather than "Save" to try avoid confusion. Improves #1907 2019-02-18 20:13:51 +00:00
Justin Bull d0e37ca0d7 Add WebM support (#1822)
Note that since webm has no official subtitle support, only burned in subtitles can be used with this muxer at this time.
2019-02-13 06:52:48 -08:00
sr55 0459b39db5
WinGui: Fix issues with "Any" language selection with the "First" option used. For both Audio and Subtitle tabs, this should now only provide 1 track. Fixes #1735 and makes the behaviour consistent with the Mac/Linux GUI's 2018-12-30 21:25:51 +00:00
sr55 29eec28392
WinGui: Simplify the Language Resource Files. 2018-10-10 19:01:36 +01:00
sr55 5c5b4d7773
WinGui: Rename HandBrake.ApplicationServices back to HandBrake.Interop. It's moving back to being more of an libhb interop/abstraction library only. 2018-06-05 21:52:23 +01:00
sr55 91bd97fb55
WinGui: Finish off modification detection 2017-12-13 21:18:42 +00:00
sr55 02bb7c53bf
WinGui: Initial Activation of the "modified" preset detection code. (Audio/Subtitle Tabs still to be done) 2017-12-12 21:38:59 +00:00
sr55 361f4d9e6c
WinGui: Initial ground work on code that will detect when the user modifies settings that don't match the currently selected preset. 2017-09-17 15:44:02 +01:00
Strangelovian 5e1b2fcf6f instead of language name, use language code for prefered audio and prefered subtitle selection 2017-07-03 18:45:08 +01:00
sr55 5e787c3389 WinGui: Add "None" as an option to the fallback encoder dropdown. Setting this option to none will not add a passthru track when the passthru codec does not match the source track. #623 2017-05-31 20:56:25 +01:00
sr55 615db8abfd WinGui: Change the "For Additional Tracks" dropdown. Remove the "None" option. It doesn't make sense. This fixes an issue where we couldn't load "all" due to the preset key for it being a 2 state bollean rather than a 3 state option. 2017-05-24 21:47:22 +01:00
sr55 6402bd62a0 WinGui: Fix a number of stylecop warnings. 2017-03-26 11:57:57 +01:00
sr55 8f6986c24d WinGui: Change the default behaviour for the WinGui to automatically use fallback track in situations where the selected passthru is not valid. The UI will by default select the fallback now. Fixes #646 2017-03-22 21:16:21 +00:00
sr55 5b8ac227c6 WinGui: Fix "(Any)" language track option on the Audio Tab for Automatic Selection Behaviours 2016-12-26 17:40:50 +00:00
sr55 5cc2fbbca6 WinGui: Fix a large number of stylecop warnings. 2016-10-30 20:18:45 +00:00
Andrij Abyzov 87bfb4497b Fix an issue applying audio codec settings from the defaults which are different from the current preset. 2016-08-28 00:30:03 +02:00
sr55 04efd7107f WinGui: Some behavioural fixes to the Audio Defaults when loading and saving presets. 2016-06-27 20:39:49 +01:00
sr55 16314ab0db WinGui: Add a track list on the Audio Defaults screen. This changes the behaviour to match the Mac and Linux GUIs. So you no longer have to have a source audio track before you can create presets. 2016-05-12 19:48:41 +01:00
sr55 0023b69f26 WinGui: Change the Audio Default and Subtitle panels to be modal windows. (Similar to the MacGUI). This should allow for more space needed to implement Audio templates. Also fixed a sanitise mixdown call crash. 2016-04-17 15:17:51 +01:00
sr55 fc3324c8fa WinGui: Use Mixdowns from LibHBand sanitise the choices. The GUI no longer shows invalid mixdowns. 2016-04-09 14:46:54 +01:00
sr55 079242c20d WinGui: Fix Audio Tab Track by Language selection behaviour. 2016-02-21 17:14:54 +00:00
sr55 b63b0bb814 WinGui: Fix a few binding errors on the audio Default tab. Allow Turbo first pass for x265 2016-02-13 22:31:41 +00:00
sr55 4827c1fefd WinGui: Fixes to the refactored Audio Defaults View. Settings were not getting applied correctly. 2016-02-07 21:32:16 +00:00
sr55 8ce01f3f60 WinGui:
- Refractor the Audio and Subtitle Defaults into their own View/ViewModel
- Add a new PopupWindow container system.
- Add "Edit Defaults" for Audio and Subtitles on the Add Preset Pane to make the feature more discoverable.  (Note, this does not change the existing settings on the Audio/Subtitle Tabs)
2016-02-06 15:29:34 +00:00