Commit Graph

78 Commits

Author SHA1 Message Date
sr55 65010bc9a0
WinGui: Minor usability improvements
- Preview Window -> Crop overlay panel takes up less space.
- Preview Window -> Now has right click context menu with option to show crop panel.
- Preview Window -> Crop overlay can now be closed by an x in the top right corner.
- Main Window -> Destination box now has R-Click quick action to goto autoname preferences.
2025-01-05 15:05:25 +00:00
Sam H 96a03c4b86 Add preference for keeping duplicate blu ray titles 2024-07-29 06:42:54 +02:00
sr55 99c9d05e2d
WinGui: Add some initial framework code to handle adding a transparent border to show the effect of cropping on the preview window. 2024-07-05 21:43:43 +01:00
sr55 fa67cbe9e1
WinGui: Fix a threading issue that could cause an error to not appear correctly. #5631 2023-12-29 19:41:25 +00:00
Scott 7c25bf9966
File Scan Improvements (#5236)
- Add an hb_scan_list method that takes a list of files to scan. This allows a user to drag any arbitrary list of files onto the UI.
- Add a check for known file types during scan. When a known file type is detected, bypass the DVD / Bluray Probe. This reduces some log spam.
- Supported in Mac and Windows UIs

---------

Co-authored-by: Damiano Galassi
2023-07-10 19:19:45 +01:00
sr55 596ee2d0d3
WinGui: Place limits the ability of the Static preview to perform encodes when process isolation is turned off. This will prevent a crash condition in the event that 2 x265 encodes are run at the same time. Should fix #4946 2023-02-19 11:53:04 +00:00
sr55 d65df46f76
WinGui: Static Preview. Don't bubble up errors from the built-in player when it's not in use. Fixes #4918 2023-02-11 20:25:31 +00:00
sr55 f70b09233b
WinGui: Add a "IsCancel" close button to the static preview window. Allows the window to be closed by the "esc" key as well as per many other windows in the app. 2023-02-05 20:36:40 +00:00
sr55 5bb34398de
WinGui: Don't show crop controls during video preview 2023-01-27 22:31:19 +00:00
sr55 fee3f7fca5
WinGui: Add video playback support to the Preview Window. External player support is still available. (For playing AV1, VP9, VP8, HEVC, the appropiate Microsoft Codec packs from the Microsoft App Store are required) 2023-01-27 21:16:04 +00:00
sr55 7f9f39b572
WinGui: Potential fix for #4553 - System Default media player fails on some systems when requested. 2022-09-20 19:43:12 +01:00
Scott c555fab125
Improved Crop Algorithm (#3925)
Automatic cropping will now better handle mixed aspect ratio content.  New crop mode: "Conservative" exposes the loose cropping functionality.   Improves on #3895
2022-08-12 20:19:57 +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 f83d8be62c
WinGui: Cleanup Pass 2022-07-20 20:50:15 +01:00
sr55 0b258936bc
WinGui: Refactoring the Window Management Code. Handle this internally rather than using Caliburn. 2022-07-20 18:49:06 +01:00
sr55 d96918fd57
WinGui: Fix a number of warnings / obsolete method usages. 2022-07-16 21:09:13 +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 4dc4fb18c2
WinGui: API Tidyup around the HBConfiguration. This object was bleeding over a number of domain objects. This has the benifit of making the QSV options live and will change without having to re-add jobs to the queue. 2022-03-27 13:55:36 +01:00
sr55 ac00624d20
WinGui: Add an error message to the static preview if window file associations are missing. Fixes #3909 2021-10-15 19:00:27 +01:00
sr55 b61bafcca2
WinGui: Minor improvements to the queue statistics tab. Added (average encoding speed, output filesize (with percentage of source size), source length and (requested) output length #2447 2021-09-05 19:48:04 +01:00
sr55 17044316f3
WinGui: Add some extra logging around playing video files. 2021-09-04 21:22:52 +01:00
sr55 ac0f91c448
WinGui: Base implementation of the new Dimensions tab design. (This is not complete, but base functionality is present) 2021-05-02 17:07:31 +01:00
sr55 110f6b0ed3
WinGui: use new api hb_get_preview3 for previews. 2021-04-13 20:42:02 +01: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 8ac490e3e1
WinGui: HandBrake.Interop API change/cleanup. Making the structs internal to avoid them being exposed to API consumers. This affects hb_geometry*, hb_sutitle*, NativeConstants 2021-02-04 20:14:32 +00:00
sr55 1e75e508a7
WinGui: Add optional crop controls to the preview window similar to the mac UI. 2021-01-14 18:51:03 +00:00
sr55 77b30ad88c
WinGui: Fix an issue with live preview state after the first preview and improve some file lock error handling and message. #3206 2020-10-31 11:02:09 +00:00
sr55 de8f3c5586
HandBrake.Interop: Library cleanup.
- Remove HbFunctions provider class and interface. It's not needed.  Interop library will direct call libhb though HBFunctions.cs
- Remove HbFunctionsDirect.  Any consumer of the HandBrake API should be using managed calls rather than having to deal with pointers.
- Fix many stylecop warnings and update rulesets around this.
2020-10-04 15:41:15 +01:00
sr55 a4a53c3bae
WinGui: Make it clearer that other media players may work for video preview path in preferences. #3069 2020-08-22 15:16:48 +01:00
sr55 afc7e2a2c9
WinGui: UI performance improvement when starting multiple jobs. #2912 2020-06-05 14:08:28 +01:00
Scott 91051b41df
WinGui: Enable multi-instance support. (#2797) 2020-04-29 19:06:11 +01:00
Scott 1f09b740f8
Multi instance (#2791)
WinGui: Refactoring and laying the groundwork in many parts of the UI code in preparation for supporting multiple concurrent jobs running.

- Add support for multiple log files to the Activity log screen and refactor usages of ILog. Each Encode instance will now get a separate instance instead of there being one global instance.
- Retire the Mini Display Window. It's very rarely used, not very easy to even find and of limited value.
- Add the preferences code for the Simultaneous encode setting.

Locked to one instance for now. This will allow us to test with users that existing functionality still works fine.
2020-04-26 12:14:42 +01:00
sr55 c3d62f1465
WinGui: Stripping much of the remaining app config out of the Queue Jobs. Certain features such as QSV, while global options currently are not really global. I may move these out of perferences at a later point. Fixes #2753 2020-04-11 13:00:48 +01:00
sr55 741d9e082b
WinGui: First step in a long overdue cleanup of the logging code. Stripped out a bunch of unneeded code 2019-12-28 13:50:55 +00:00
sr55 124f0e52ca
WinGui: Optional support for previewing flip/rotate. #2334 2019-10-01 19:50:27 +01:00
sr55 9552988c29
WinGui:
- Add a non-static wrapper around HbFunctions.cs
- Add a Wrapper Provider that for now, returns only a direct in-process wrapper instance for libhb HbFunctions calls.
- Update all calls to use the new non-static wrapper provider / interface
2019-09-22 17:09:21 +01:00
sr55 3639be01cf
WinGui: Make a note of what the base preset was in the log when starting an encode #2298 2019-09-08 12:39:35 +01:00
sr55 b52b25d167
WinGui: Refactor "When Done" to use an enum to avoid language issues. Also change "suspend" to "sleep" to be consistent with the OS. Fixes #2162 2019-06-24 21:16:01 +01: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 591fa3ab6b
WinGui: Don't allow multiple preview windows to be opened. 2018-12-14 20:57:01 +00:00
sr55 223dc7bd00
WinGui: Minor code tidyup. 2018-08-13 20:03:36 +01:00
sr55 3e41c79953
WinGui: Move UserSettings over to JSON format. Settings from the older XML format will automatically transfer and the legacy files will be removed. 2018-07-18 22:28:27 +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
luz.paz 2d1c854146 Misc. typos
Found via `codespell -q 3 --skip="./gtk/po`
2018-02-20 18:10:44 +00:00
sr55 d076119d72
WinGui: Reselect the last selected preset (if still available) when editing a queue task. Fix a bug on the summary task not rendering correctly when queue editing. 2018-01-13 20:31:06 +00:00
sr55 a8693f897b
WinGui: Fix a bug in preview scaling. 2017-12-15 23:05:51 +00:00
sr55 7244ea4546
WinGui: Add % Actual Size to the static preview window title. 2017-12-15 22:40:06 +00:00
sr55 add6e2ac43
WinGui: Mouse Wheel can scroll previews. 2017-12-15 21:33:57 +00:00
sr55 c1cdfa404c
WinGui: Don't perform Foreign Audio Subtitle Scans for short video previews. The long wait to scan an entire source is not valuable for short video previews. #877 2017-10-29 21:16:33 +00:00
sr55 9ce3910fd1 WinGui: Fix a number of stylecop warnings. 2017-02-11 20:37:33 +00:00