44 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
c640c59255
WinGui: When loading the queue from JSON, load the scanned track first so it doesn't cause bad interactions with the track name property. Should fix #6712 2025-03-12 18:43:18 +00:00
sr55
30ff0b8ab5
WinGui: When changing audio track, if it has a valid name, pass it through. This will override any manual user entry. Since this can only be triggered on source track change, this is probably ok. Fixes #6642 2025-02-17 19:28:12 +00:00
Joshua Stephenson
843040fdf8 Global replacement of passthrough with passthru 2024-10-19 11:43:21 +02:00
sr55
2dd611c534
WinGui: Fixed an issue where passthru options would fallback to encoding erroneously. Fixes #4795 2023-01-02 13:34:44 +00:00
sr55
6cbcc420a6
WinGui: Save file, before commit ... 2022-09-29 23:13:51 +01:00
sr55
9aa4dfc0f9
WinGui: Better audio fallback fix. 2022-09-29 23:11:41 +01:00
sr55
3047c824c0
WinGui: Fix Passthru fallback behaviour. If a specific passthru isn't possible. it will now fallback to the Passthru format encoder first, before using the fallback encoder. 2022-09-29 21:35:39 +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
7ed7d1ca14
WinGui: Move more code out of the UI layer. 2022-04-08 21:17:21 +01:00
sr55
0a51e3bd34
WinGui: Fix an issue where Audio Track Name wasn't restored with queue recovery. Fixes #4091 2022-01-12 21:49:01 +00: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
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
d57a00a652
WinGui: Switch over to System.Text.Json for the Queue Services. 2021-01-15 22:21:17 +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
c0ccd3aa21
WinGui: Fix a couple of exceptions in the AudioTrack model where unavailable audio encoders are used in a preset. 2020-09-26 15:23:24 +01:00
sr55
4330e09c1b
WinGui: Filter out invalid audio encoder choices on the audio tab to avoid accidental track's being dropped. 2020-05-02 13:27:46 +01: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
d212e7c22a
WinGui: Move Handling of AutoPassthru to the UI so it more clearly reflects what is happening and allows correct processing of fallback encoder values. Fixes #2619 2020-02-05 19:53:13 +00:00
sr55
a7c69adc11
WinGui: Fix 2 issues with audio track names. First, Name was not updating correctly when changing source track. Second, user defined names were overwritten during json creation for the encode. Fixes #2286 2019-09-01 20:08:13 +01:00
sr55
8d44138c66
WinGui: Add Support for Subtitle Track Naming. Auto-populate the Track name for both Audio/Subtitles if the source track has it available and we support reading it from that type of source file. #855 #2213 2019-08-12 18:41:56 +01:00
sr55
d66c23d4a8
WinGui: Switch the GUI over to using JSON for the queue. (Note, this is not the same format as the CLI and thus cannot be imported. This may happen in the future)
Please finish existing queue before installing new version.
2019-05-10 22:37:25 +01:00
sr55
716e427aab
WinGui: Fix Mixdown selection when the preset mixdown is not available for a given source. Fixes #1618 2018-10-06 13:30:46 +01:00
sr55
77fa0c7553
WinGui: Improving Accessibility of the new Queue (and fixed a few other issues around the UI in this area too) 2018-09-28 21:59:37 +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
e8158b447d
WinGui: Tidy up AudioTrack.cs 2018-04-23 21:59:09 +01:00
sr55
de49d8c04a
WinGui: Add support for setting mixdown, bitrate, sample rate, gain and DRC for the passthru encoder on the audio behaviour screen. This is used for the audio fallback encoder. #1291 2018-04-23 21:52:52 +01:00
sr55
5dd46e3d4b WinGui: Strip out some out some legacy code that was causing some threading issues. 2017-04-13 19:46:15 +01:00
sr55
f09dc2daec WinGui: Handle auto-passthru correctly in the mixdown sanatising code. 2017-04-11 16:27:24 +01:00
sr55
2aa7640a1f WinGui: Fix a potential crash in the audio track mixdown handling code. 2017-04-11 15:01:55 +01:00
sr55
10e88ed33c WinGui: Audio Defaults: If the mixdown is not supported, get the best default mixdown for the source track / encoder. #661 2017-04-10 16:37:23 +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
5cc2fbbca6 WinGui: Fix a large number of stylecop warnings. 2016-10-30 20:18:45 +00: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
8be786a08e WinGui: Handle null mixdowns properly. Fixes #152 2016-04-12 19:04:11 +01:00
sr55
d3866786b0 WinGui: Sanitise all Mixdown selections. Passthru the Codec into the Scanned Track object. 2016-04-09 15:24:50 +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
5e6b7a64fd WinGui: Don't set mixdown to dpl2 for Passthru. Should now use internal libhb defaults. 2016-01-03 21:12:34 +00:00
Scott
1320d77d36 App Services Tidyup Contd
Moving all the helper and utility classes to the gui project
2015-09-26 21:30:32 +01:00
Scott
e703a7961f AppServices tidyup
Moving the UI modelling and services to the GUI Project.
2015-09-26 21:30:31 +01:00