summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-302-0/+207
| | | | | | provide feedback on the forums if you have problems git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3692 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a typo and change how we word how many encodes are left in the ↵dynaflash2010-11-301-3/+7
| | | | | | | | | queue in the main window. - Patches by Rodeo. - Further explanation can be found here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18807 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3691 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix character encodings in the log file as well as the title popup ↵dynaflash2010-11-302-3/+3
| | | | | | | | | string in the main menu dialogue. - Patch by axfree. Thanks! - Changes are discussed here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18677 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3690 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio mixdown fixdynaflash2010-11-301-0/+1
| | | | | | | | - Patch by Rodeo. Thanks! - Update the list of permitted mixdowns when the source audio track changes. - Discussed here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18840 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3689 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use libhb for mixdown limits as well as defaults.dynaflash2010-11-172-116/+66
| | | | | | - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3679 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: disable the drc audio widget unless the source is AC3.dynaflash2010-11-101-2/+6
| | | | | | - original patch by Rodeo ... KVO refactor by circleone. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3670 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix alignment of the widgets in the Advanced Panel.dynaflash2010-11-092-617/+302
| | | | | | - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3665 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix queue and auto m4v ...dynaflash2010-11-081-2/+3
| | | | | | | | - patch (as previous) by circleone - Fix it so that the queue does not attempt to process an extra queue item when the output file already exists. - Using AC3 Passthru as the codec will trigger the output file to have the .m4v extension when using mp4. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3664 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audiodynaflash2010-11-081-93/+74
| | | | | | - Switched the audio object to use KVO internally to make the code more legible, to allow switching the codec to eventually cause the mp4 output extension to be re-evalutated, and to make sure the bitrate and mixdown popups are empty when the track is disable (the None track). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3663 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow longer SRT filename paths.jstebbins2010-11-071-2/+4
| | | | | | | Bump from 128 to 256. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Subtitle tab changesdynaflash2010-11-011-102/+89
| | | | | | | | | | - Patch by Rodeo ... Thanks! - displays additional information about source subtitles (VOBSUB, SSA, etc. in addition to Text/Bitmap). - disables the "Forced Only" checkbox for non-VOBSUB tracks. - makes "Forced Only" the default for Foreign Language Search. - makes the "Default" and "Burned In" checkboxes mutually exclusive (the checkboxes act like a radio button). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3635 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio - Using fallback codec no longer sets the bit rate from the ↵dynaflash2010-10-292-5/+23
| | | | | | preset. Setting the sample rate no longer sets the bit rate to the default if the currently selected bit rate is still supported. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3627 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
* MacGui: Use libhb for audio limits as well as defaults.dynaflash2010-10-083-62/+59
| | | | | | - Patch by circlone! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3585 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove the audio encoder bitrate cap.dynaflash2010-10-051-8/+1
| | | | | | | - This used to cap the bitrate available in the ui to the sources audio bitrate. - Note: this can allow people to do stupid things. A more elegant solution is forthcoming. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3571 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ac3 encodingjstebbins2010-10-042-16/+39
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5