summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui / LinGui: Add subme 11 to both ui's now that x264 has it. This way ↵dynaflash2011-08-031-1/+2
| | | | | | ... we "can go to 11..." git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4153 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add more audio passthru optionsjstebbins2011-08-012-11/+32
| | | | | | | | | | | | | | | | | adds aac and mp3 passthru for mp4 and mkv containers adds dts and dtshd for mp4 container (mkv already had it) Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay In LinGui there is a new option to limit which passthru codecs will be used by the "Auto Passthru" audio codec options. The CLI already has this ability with "--audio_copy-mask" which is use in conjunction with the "copy" audio codec option. Also corrects some A/V sync issues when video frames are dropped due to a gap detected in the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Widen the encoding progress bar to fit the widened main window ... duh.dynaflash2011-07-281-45/+1017
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4142 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-222-182/+175
| | | | | | devices git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: use "AC3 (ffmpeg)" to designate the ffac3 encoder (for consistency).dynaflash2011-07-192-2/+7
| | | | | | | | | - Patch by Rodeo - This patch switches the codec name from "AC3" to "AC3 (ffmpeg)" for consistency. - Backwards-compatibility with old presets is handled by mapping "AC3" to "AC3 (ffmpeg)" when loading a preset. - Referenced here https://reviews.handbrake.fr/r/155/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4124 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Consolidate passthrough mixdowns.dynaflash2011-07-193-26/+23
| | | | | | | | | | - There's no need for one passthrough mixdown per passthrough codec. - When using passthru, mixdown is set to "None". - Patch by Rodeo ... Thanks! - Fix a bug where we would sometimes attempt to modify a non-mutable NSDictionary, causing a crash. - Fix by blindjimmy ... Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4121 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Don't call "return" at the end of a void function.. .. Redux!dynaflash2011-06-142-33/+0
| | | | | | | | - As Per https://reviews.handbrake.fr/r/122/ - Thanks blindjimmy for the patche(s). - Borked commit notes courtesy of me. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4058 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add blank line to previous commit files to fix the commit notes I ↵dynaflash2011-06-142-0/+2
| | | | | | | | | totally borked. - Proper change is: Simplify conditionals to make them more readable. As per https://reviews.handbrake.fr/r/123/ - Reverts commit notes for https://trac.handbrake.fr/changeset/4056 besides the update to xcode 3.2.6 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4057 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Don't call "return" at the end of a void function.dynaflash2011-06-143-54/+55
| | | | | | | | - Generally speaking, the fewer (simple) lines of code their are, the easier it is for someone to learn/understand it, so there's no good reason to have no-op lines laying around. - As per https://reviews.handbrake.fr/r/122/ - Also re commit the update to xcode 3.2.6 commit from https://trac.handbrake.fr/changeset/4004 which I borked later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4056 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add DTS-HD passthru \o/jstebbins2011-06-142-3/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: HBAudio Indentation Cleanupdynaflash2011-06-134-848/+963
| | | | | | | | | | | | - Patch by Rodeo ... Thanks! - Change hard tabs to 4 spaces - Place the opening bracket of if, else if, else, while and for statements on another line, not the same line as the condition. - Xcode's Edit > Format > Re-Indent on all files. - This patch is purely about cosmetics and indentation. There shouldn't be any change in behavior. - As per https://reviews.handbrake.fr/r/101/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4054 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Increase width of main window from 754 to 960dynaflash2011-06-093-1371/+712
| | | | | | | | - Increases the main window width from 754 to 960 which is an increase of 206 px. This allows more breathing room for some crowded tabs like Audio, Subtitles and Advanced. Also increased the associated views. The main prompt for this is the very crowded audio tab which recently added Gain and also could use a vbr checkbox as well as possibly an aname field. I would rather maximize the width we deem available before going to an advanced audio track popup like the lingui and wingui currently utilize. - For now any widgets have been expanded to their nearest longest known value without truncating. - As per review board https://reviews.handbrake.fr/r/116/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4036 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
* Add ffaac encode supportjstebbins2011-06-081-0/+7
| | | | | | | | Adds "AAC (ffmpeg)" option to lingui and macui, "ffaac" option to cli. Does not yet remove faac. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update project file for XCode 3.2.6dynaflash2011-05-261-0/+1
| | | | | | | - patch by blindjimmy ... as always thanks! - as per https://reviews.handbrake.fr/r/98/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4004 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add -selectedPreset helper methoddynaflash2011-05-262-65/+71
| | | | | | | | - Patch once again by blindjimmy.. thanks! - This change consolidates all the calls in Controller.m of [fPresetsOutlineView itemAtRow:[fPresetsOutlineView selectedRow]] to get the currently selected preset to use a new -selectedPreset accessor method. This is both easier to read and is better decomposition. - as per https://reviews.handbrake.fr/r/85/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4003 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Clean up internal architecture of HB Audio and HBAudioControllerdynaflash2011-05-265-85/+1095
| | | | | | | - patch by blindjimmy ... as always .... thank you! - as per https://reviews.handbrake.fr/r/81/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4002 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix some compile time warnings.dynaflash2011-05-263-7/+1
| | | | | | | - patch by blindjimmy, thanks! - as per https://reviews.handbrake.fr/r/99/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4001 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio Gain Control initial implementationdynaflash2011-05-266-31/+284
| | | | | | | | | | | | | | - Adds a Circular Slider to implement gain from a range of -5 to +15 which is sane by any reasonable measure. - Note: the circular slider with this range puts the default of 0.0 at the three o'clock position on the slider which is kind of wonky. Any ideas to make it more intuitive are welcome. -The accompanying text field readout is left editable so values beyond the sliders range can be specified manually. - Gain is disabled for any passthru options obviously. - Though it has been in cli and lingui for some time, as a note my tests show that anything above +15 can get distorted quite easily. Of course that is open to opinion depending on source, I have yet to see a complaint about the volume of encoded audio being too high but we leave up to -5 there just for the corner cases. - Any existing presets not specifying gain will use a gain of 0.0 which means of course its unmodified. - Also as a sidenote takes care of blindjimmy's patch https://reviews.handbrake.fr/r/99/ as far as /macosx/HBQueueController.m git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove deprecated PictureDecombDeinterlace key.dynaflash2011-05-191-12/+4
| | | | | | | - As per https://reviews.handbrake.fr/r/95/ - Patch by Rodeo ... as always thanks Rodeo! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3986 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Don't assign nil to ints (duh)dynaflash2011-05-192-9/+2
| | | | | | | - As per https://reviews.handbrake.fr/r/88/ - Patch by blindjimmy, once again thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3985 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove unused variables to suppress warnings at compile timedynaflash2011-05-193-7/+0
| | | | | | | - As per https://reviews.handbrake.fr/r/87/ - Patch by blindjimmy ... thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3984 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: libhb, MacGUI: reflect the fact that DRC only applies to ↵dynaflash2011-05-191-1/+9
| | | | | | | | | non-passthru AC3 sources - As per https://reviews.handbrake.fr/r/74/ -Patch by Rodeo, Thanks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3983 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix the wording for Peak Framerate to match the Lingui.dynaflash2011-05-192-4/+4
| | | | | | - Patch by Rodeo As per https://reviews.handbrake.fr/r/79/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3982 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Save picture settings by default when creating a new preset.dynaflash2011-04-291-3/+4
| | | | | | | | | - Use Custom (defaulted to current picture size). - Use currently selected Filters. - Note this is by default. All choices are still the same - As per https://reviews.handbrake.fr/r/82/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3968 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change key for video framerate mode from VideoframerateMode to ↵dynaflash2011-04-282-12/+12
| | | | | | | | VideoFramerateMode to match the lingui. - Good catch Rodeo ... thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Simplify HBDVDDetector bsdName creationdynaflash2011-04-251-16/+14
| | | | | | | - Instead of lazily populating bsdName identically in two places, why not just have its accessor do it. - As per patch provided by blindjimmy https://reviews.handbrake.fr/r/78/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3956 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Remove last vestiges of the deprecated job->vfr.dynaflash2011-04-201-8/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3942 b64f7644-9d1e-0410-96f1-a4d463321fa5
* HE-AAC support for the OSX port. Thanks go to amarcus, ritsuka and rodeo.sr552011-04-181-0/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3937 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add ffmpeg Mpeg2 encoder support.dynaflash2011-04-161-9/+8
| | | | | | - Patch by Rodeo. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3933 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implement Frame Rate Mode as per the Lingui.dynaflash2011-04-154-87/+364
| | | | | | | - Removes the current Peak Framerate checkbox and replaces it with appropriate Radio Buttons depending on if Same as Source or a specific framerate is chosen in the Frame Rate popup widget. - Gets the macgui up to speed with https://trac.handbrake.fr/changeset/3770 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3930 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow SRT File Paths up to 256 charactersdynaflash2011-04-151-2/+4
| | | | | | - Patch by Rodeo as per https://reviews.handbrake.fr/r/51/ Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3926 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix garbled previews from BD h.264 sourcesjstebbins2011-04-021-2/+3
| | | | | | | | | | | Forome reason, frames that are tagged as recovery points in many BD h.264 streams do not result in complete frames when decoded. Pushing 2 extra frames through the decoder seems to always fix this. This patch extends something I was already doing when generating previews from a BD structure. This just applies the same logic to ffmpeg streams that have h.264 video. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make the queue window's wording match that of the main window.dynaflash2011-03-311-2/+6
| | | | | | - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3892 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Never disable the chapter markers checkbox.dynaflash2011-03-291-14/+13
| | | | | | | | | | | | | | | Patch by Rodeo ... Thanks! - Discussed here https://reviews.handbrake.fr/r/58/ This allows users to enable/disable chapter markers regardless of whether the source has chapters, which is very useful when saving a preset. This will not cause chapter markers to be inserted if we only have one chapter, as this is sanitized twice: - once in macosx/Controller.m, in createQueueFileItem - once in libhb/work.c, in do_job() In autoSetM4vExtension, update the condition for chapter markers being on or off, since we can no longer rely on the checkbox being enabled/disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3888 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove legacy % to RF mapping.jstebbins2011-03-212-47/+13
| | | | | | | | | | 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
* Add parameter parsing and b-frame support to ffmpeg mpeg-4 encoderjstebbins2011-03-113-15/+15
| | | | | | | | | | | | | The cli will now accept ':' separated parameters using the '-x' option for ffmpeg mpeg-4. The linux gui has an entry box on the advanced tab to add options. The option keys and values are the same as what the ffmpeg command line allows. Calculation of DTS timestamps was added to encavcodec.c in order to allow out of order b-frames. The algorithm is similar to what x264 uses. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3839 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove Target Size as a rate control option as it doesn't really ↵dynaflash2011-03-014-311/+347
| | | | | | | | | | | work correctly and should die an overdue death. - Also rearranged the video quality layout a bit. - Moved Constant Quality above Average Bitrate - Moved the entire Video Quality matrix down below frame rate where it belongs. - Presets are mapped accordingly internally in the macgui code so that they are unchanged across platforms. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3823 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump ffmpeg from git-185a155 to git-0b32da9jstebbins2011-02-271-20/+0
| | | | | | | fixes win64 crash git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove the set cpu count option as it doesn't do anything nowsr552011-02-261-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove libfaad from buildjstebbins2011-02-111-20/+0
| | | | | | | We don't use it anymore. We have been using ffaac decoder for a while now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3793 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add new preset methods to HBPresets.hdynaflash2011-01-271-0/+2
| | | | | | | | | - Suppresses warnings - createAppleTv2Preset - createiPhone4Preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3769 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: In Preferences, Instead of the old "Use iTunes / iPod friendly file ↵dynaflash2011-01-193-372/+158
| | | | | | | | | | | | extension for mp4" checkbox we allow three choices: - Auto (Default): will use .mp4 unless any of the conditions are met for Apple devices to use .m4v such as AC3 audio or chapters, etc. - .m4v: will set the extension to .m4v regardless of settings. - .mp4: will set the extension to .mp4 regardless of settings. Basically anything other than Auto forces either the .m4v or .mp4 file extension. Again "Auto" is default. Note: This deprecates the old preferences plist key "DefaultMpegName" which was just a bool and adds "DefaultMpegExtension" which is a string. As a result users that had the old "Use iPod/iTunes friendly (.m4v) file extension for MP4" checkbox checked will need to select ".m4v" in the new preferences dialogue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3758 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Change Copryight from 2009 to 2011dynaflash2011-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3733 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: When using x264 and rf 0 is selected show "Warning: Lossless" in the ↵dynaflash2011-01-033-985/+18
| | | | | | field readout for rf. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3729 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix popup and output file extension inconsistency. Patch by Rodeo. ↵dynaflash2010-12-281-2/+16
| | | | | | | | Thanks! - Issue with mis matching formats and extensions described here http://forum.handbrake.fr/viewtopic.php?f=4&t=19001 . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3717 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Only scan ten previews when doing a queue encode scan since we don't ↵dynaflash2010-12-281-3/+3
| | | | | | | | need additional previews at this point since everything is already set. - Patch by Rodeo. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3716 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Free the source display name for the ui before re-allocating it when ↵dynaflash2010-12-271-1/+3
| | | | | | | | doing a queue edit rescan. - Fixes a consistent crash when trying to edit a queue item. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3714 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