summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresets.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: improved the presets managementritsuka2014-08-071-1420/+0
| | | | | | | Added a class to manage the presets (HBPresetsManager) and moved the presets drawer code to a new view controller (HBPresetsViewController). Removed the limitation of two nested folders and added a way to add to custom folders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6273 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macui/cli/libhb: cleanupjstebbins2014-06-181-1/+1
| | | | | | | | | | | | macui: Simplifies code in Controller.m and fixes a few bugs macui: Fixes "Windows 8 Phone" preset aspect ratio problem macui: round up to next mod boundary when limiting to title dimensions - crop libhb: Eliminates hb_fix_aspect and hb_set_size functions. libhb: Makes hb_validate_size a passthru to hb_set_anamorphic_size cli: eliminage use of hb_validate_size git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6215 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove libfaacsr552014-03-021-12/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6094 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove Anamorphic from Windows Phone preset since these devices don't ↵sr552013-12-211-1/+1
| | | | | | support it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5935 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fixed a number of leaks/null-deferences/dead-code found by clang ↵ritsuka2013-10-151-11/+23
| | | | | | static analyzer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Experimental preset for Windows Phone 8 Devices. Would be appreciated that ↵sr552013-06-081-0/+105
| | | | | | anyone with a W8 Phone provides feedback. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5573 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add default Auto Passthru settings to all presets.Rodeo2013-03-041-82/+71
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5302 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 2013 preset changes:Rodeo2013-03-041-905/+948
| | | | | | | | | | | | - updated descriptions (all presets) - add maximum height (device presets) - harmonize PFR framerates (29.97 to 30 fps) - move qpmin hack from encx264 to the AppleTV preset - Android preset: switch to level 3.0 (720x576 @ Level 2.2 meant 12.5 fps max.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5299 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: sync built-in presets with the other UIs.Rodeo2013-01-261-481/+172
| | | | | | | | Also make handling of max width/height more robust. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5207 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Forgot to update ipad preset descriptionsr552012-06-291-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updating the iPad preset to 720P to be a good balance for both iPad 2 and 3sr552012-06-291-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4793 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: AppleTV 3 preset fix decombdynaflash2012-06-281-1/+1
| | | | | | | - Actually select Decomb (fast) which fixes initial implementation using Decomb Custom. - Thanks for catching it Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4785 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add AppleTV 3 Presetdynaflash2012-06-271-0/+122
| | | | | | | | | - Basically High Profile preset with rc-lookahead removed ( so now default) - 1920 x nnn (1080p) resolution max - Fast decomb due to the fact that "decomb 3" is currently deemed too much of a speed hit. Upon a speed up recommend a change. - - Note this is the first device preset to use decomb … fast decomb is better imo than no decomb. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4784 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove Detelecine from the Hi Profile Preset.dynaflash2012-03-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4525 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update built-in presets and manicure to use mixdown "None" for passthrujstebbins2011-07-241-4/+4
| | | | | | | Thanks to Rodeo for patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4134 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remvoe 2 Legacy presets and add 2 new Android presets for mid and high end ↵sr552011-07-221-179/+172
| | | | | | devices git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Refresh "Normal" presetjstebbins2011-06-091-17/+17
| | | | | | | | | | - Changes "Normal" to use x264 --preset veryfast --profile main Nearly doubles it's speed for little loss of file size or quality. - remove dummy average bitrate values from all built-in presets - adds Large File Size to the High Profile preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4035 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove legacy % to RF mapping.jstebbins2011-03-211-5/+0
| | | | | | | | | | Although the % option has been gone for a while in the cli and gui's, there were some mappings happening in libhb and for preset imports. This removes the last vestages of % quality mapping. Thanks to Rodeo for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3857 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Preset name change for consistancysr552010-12-111-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3706 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added AC3 track to ATV2 presetsr552010-11-301-0/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3693 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ATV2 and iP4 presets based on the iPad one. These may need tweaking, so ↵sr552010-11-301-0/+200
| | | | | | provide feedback on the forums if you have problems git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3692 b64f7644-9d1e-0410-96f1-a4d463321fa5
* update baseline presets with weightp=0jstebbins2010-10-231-6/+6
| | | | | | | eliminate hack that defaults weightp=0 when bframes=0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3623 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix some preset issuesjstebbins2010-07-031-25/+17
| | | | | | | | | | | add b-pyramid=none to appletv presets and remove b-pyramid hack from encx264.c change samplerate from 48 to 'Auto' in all presets cap samplerate to 48khz since none of the encoders support higher rates remove obsolete UsesMaxPictureSettings from all presets. replace with UsesPictureSettings=2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3424 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds a built-in iPad preset with a max width of 1024, peak fps of ↵jbrjake2010-06-191-0/+100
| | | | | | 29.97, and, at least for now, default x264 options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3393 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Video Buffer Verifier (VBV) to the built in AppleTV preset as ↵dynaflash2010-01-261-1/+1
| | | | | | | | | per test results using HD Plane Earth Birds clip for testing. - Settings: vbv-maxrate=9500:vbv-bufsize=9500 - Note, in testing vbv-maxrate=10000:vbv-bufsize=10000 worked when testing via sync, but dropping it a bit for safety in the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3086 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Last minute BuiltInPresets tweaks for 0.9.4: no weight-p for ATV, no UMH for ↵jbrjake2009-11-231-5/+5
| | | | | | Normal, High Profile becomes x264 defaults + b-adapt 2 + rc-lookahead 50. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2954 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Filtersdynaflash2009-08-261-2/+3
| | | | | | | | - Re order NSPopupButton selections for Detelecine, Decomb, Deinterlace, and Denoise so the first three choices for each are ordered: Off, Custom, Default - Change so off is "Off" instead of "None" - NOTE: This *will* break any custom user presets that use these filters. You will need to recreate them. Built In Presets will be updated properly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2779 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Bumps x264 to r1195-5d75a9b. x264 has new default settings: subme 6->7, ↵jbrjake2009-08-011-9/+9
| | | | | | | | | | bframes 0->3, 8x8dct 0->1, psnr 1->0, ssim 1->0, ref 1->3, mixed-refs 0->1, trellis 0->1, weightb 0->1 - Explicitly enables SSIM and PSNR metrics for all x264 encodes - MacGui: Updates Advanced tab for new x264 defaults - MacGui and CLI: Updates built-in presets to produce the same output given the new default x264 settings git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui and CLI: New built-in presets. The list has been much pared down, and ↵jbrjake2009-06-041-811/+199
| | | | | | a stronger emphasis has been given to quality-based encoding. Video game console presets are gone because supporting them is an endlessly frustrating experience. Either they work with the Normal preset's vanilla main profile H.264 in a standard MP4 container, or they don't. The high profile presets have been condensed down into a single one. Many presets have been sped up. The AppleTV preset is now High Profile and uses better B-frame decisions. MacGui presets also now use the AudioList array. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2481 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix Auto Crop in the Legacy AppleTV presetdynaflash2008-12-011-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1981 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixes a minor typo in the description of a preset so it reads "it is ↵jbrjake2008-11-231-1/+1
| | | | | | no longer supported" instead of "it is no supported." git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1941 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui and CLI: Finalizes built-in presets for 0.9.3jbrjake2008-11-201-29/+220
| | | | | | | | | - Adds a Legacy folder nested inside the Apple folder, which holds 0.9.2's AppleTV preset, the old iPod High-Rez preset (iPod Legacy), and the old iPhone preset. - The standard iPhone preset has ben changed to CRF, loses the iPod 5.5G atom since its prescence was misleading (the preset doesn't employ VBV controls), and gains 2 mixed reference frames. - The new AppleTV preset has been slightly nerfed down to subme 7 from subme 9. - The iPod Classic and Nano preset (formerly known as iPod Low-Rez) has been retitled to simply iPod as it is compatible with the older 5G models. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui and CLI: Minor preset tweaks, brings Universal down to subme 6 and ↵jbrjake2008-10-271-2/+2
| | | | | | pushes Xbox up to subme 9. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Removes largeFileSize from the Universal preset since the Nano can't ↵jbrjake2008-10-221-1/+1
| | | | | | play 64-bit formatted MP4 files. Hopefully won't be an issue, although this leaves open the slight possibility of crashes at the end of encodes of long, noisy videos. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1855 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Finally!! Nested Presets - Initial implementationdynaflash2008-10-141-333/+248
| | | | | | | | | | | | | | | | | | | - Currently just in the Built In presets. - Special thanks to jbrjake for updating the new built in presets :) -- jbrjake's notes on built in preset changes: --- no more blind, broke, bedlam, or deux six quatre presets --- detelecine and decomb for animation and television high profile presets --- new x264 settings for most presets, which are still in a state of flux --- iPod Hi-Rez renamed iPod Legacy, iPod Low-Rez renamed iPod Classic & iPod Nano, iPhone / iPod Touch renamed iPhone & iPod Touch - Make sure to Update your Built In presets. - Selecting the default preset (whether user specified or the hb default) automatically expands the proper parent folders - "Folders" are stored as a different type of preset with key "Folder" where a value of 1 is a folder and 0 is a regular preset. - Children presets (which can also be folder presets with their own children) are stored in an array in the folder preset with key "ChildrenArray" - Levels are limited to three (including the root level). - Though most of the code for creating custom user specified folders and dragging and dropping user presets into those folders is done, its not fully tested so is not currently implemented. In other words custom presets are still only at the root level. - Known issue: dragging and dropping within custom user presets seems a touch "glitchy". Though in testing presets have not been lost. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1831 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bumps x264 to r999, bringing with it, among other things, the removal of the ↵jbrjake2008-10-091-9/+9
| | | | | | | | | | | | | | | b-rdo and bime options and new subme modes to replace them. Subme 5 or greater now includes bime. Subme 7 is now subme 6 with b-rdo Subme 8 is the old subme 7 with b-rdo Subme 9 is new, does RD-refinement for b-frames. MacGui presets and advanced tab have been updated to reflect these changes (don't forget to update built-in presets). CLI will wait, as manicure.rb is in a state of flux. WinGui and LinGui still need to be updated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1821 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Brings MacGui in line with x264's new default subme of 6. Remember to update ↵jbrjake2008-09-191-12/+12
| | | | | | your built-in presets! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1725 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update Built in Presets to use new audio track layout and remove ↵dynaflash2008-06-061-164/+223
| | | | | | | | | deprecated Codecs key value. - Update your built in presets for this to take effect. - Note: Since the preset code regresses there should be no functional difference noticed in the macgui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1500 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add "Auto" to audio sample rate selectionsdynaflash2008-06-041-11/+11
| | | | | | | | - Auto simply uses the input audio's sample rate - Built in presets updated to use Auto for all but device presets which still use 48. - prepareJob now uses the selectedIndex's tag from the sample rate NSPopUp instead of libhb's built in array of sample rates git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1495 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: replace handbrake.m0k.org references with handbrake.fr in the entire ↵dynaflash2008-04-151-1/+1
| | | | | | macosx/ directory git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of drag and drop in the presets drawer.dynaflash2008-03-071-2/+1
| | | | | | | | | | - Allows drag and drop arrangement of custom user presets - Does not allow reordering of built in presets. - Sorting of presets now done only by type ie. built in and custom user. - Provides functionality for future nested presets and drag and drop arranging. - Subclasses the presets outline view for better control over drag and drop behavior git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use 64-bit MP4 containers for the AppleTV preset, in case the 2500kb/s video ↵jbrjake2008-02-181-0/+3
| | | | | | and 448kb/s AC3 and 160kb/s AAC push the file size over 4 gigs for long movies. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1291 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Preset updates, including AC3 and AAC for ATV, less insane settings for some ↵jbrjake2008-02-181-8/+8
| | | | | | others, and more insane settings for Bedlam. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1284 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: update built in presets to comply with the new x264 encoder and Add ↵dynaflash2008-01-211-19/+19
| | | | | | | | | iPod Atom checkbox. - Use "Update Built In Presets" to , well update your built in presets - No behavioral change in gui as preset code is backwards compatible to presets create using the old dropdown values. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1217 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Be Gone x264 (h.264 iPod) encoder drop down!dynaflash2008-01-211-3/+3
| | | | | | | | | | | - Added an "Insert iPod Atom" checkbox right under "HTTP optimized" checkbox which sets job->ipod_atom = 1; in prepareJob if checked (Note: the name of the checkbox is currently up for debate, we are taking suggestions though the current name is most indicative of what it does). -Level is now handled in the advanced panel opt strings for x264 and width is no longer sanity checked by the gui. - Changed the remaining x264 (Main) to just x264 - Modified preset code to account for legacy presets from old dropdowns - Modified built in presets to include "level=30" for iPod / iPhone presets NOTE: Update your built in presets if you want the iPod and iPhone presets to be compatible. - Removed the "Reset Picture to 640 for x264 iPod" preference from the Preferences -> Picture panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cosmetic changes for the presets. Alphabetical sorting, no more hard tabs, ↵jbrjake2007-12-091-1226/+1397
| | | | | | and extra white space. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1111 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a preset for the 360, accounts for filters in the presets, updates ↵jbrjake2007-12-081-23/+235
| | | | | | manicure.rb formatting, removes from the presets the keyint stuff that's now handled in encx264.c, and slightly tweaks the x264 options of a few presets. Also, Animation and Television now use slower deinterlacing, and the latter uses weak denoising as well. Not sure why the @tv preset used trellis=2, brought that down to 1. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1110 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Built-In Presets moved to new class: HBPresetsdynaflash2007-12-051-0/+1223
- Built In Presets are now created and defined in the methods in HBPresets.h and HBPresets.m - May move other preset methods here in the future as well. - Updated Jamfile as appropriate git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1098 b64f7644-9d1e-0410-96f1-a4d463321fa5