summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* 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
* MacGui: Disable the drc dial if source is not AC3 as only our AC3 decoder ↵dynaflash2010-10-042-34/+55
| | | | | | | | flags drc. - Patch by circleone, thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3568 b64f7644-9d1e-0410-96f1-a4d463321fa5
* SSA subtitle burn injstebbins2010-09-283-17/+140
| | | | | | | | | | Anime fans rejoice! This patch adds SSA subtitle burn-in support with libass. Therefore SSA subtitles should now be rendered in full quality, with the appropriate embedded fonts and positioning information. Thanks to davidfstr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3557 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Audo drc .. add a continuous behavior to the drc circular slider and ↵dynaflash2010-09-221-7/+854
| | | | | | have it stop on tick marks to make it behave like it did before 3532 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3551 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio Fixes and Enhancements ... patch by circleone.dynaflash2010-09-204-87/+111
| | | | | | | | | | | | | Fixes issue where changing to custom from a preset then changing titles will cause an empty audio tab. Also: - Added the ability for HandBrake's language preference to be honored when it occurs in the title's tracks. - Ensured the limit (currently 24) is not passed when adding audios using presets. - If no preset is chosen, when a new title loads, one track is added (based on the language preference or the first if that is not met). - Reinitializing the audio array is now KVO-friendly, making the UI refresh more pleasant. - The "Add All Tracks" button has been made mini in size. - The audio table view no longer attempts to keep the selection. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3549 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix peak framerate and custom resolution for new presets which was ↵dynaflash2010-09-171-966/+1504
| | | | | | | | | | | borked in 3532 due to those enhancements being after the audio work was done on an out of date xib ... fixed by circleone. Enhancements added as well by circleone: - Disables the ability to change the audio track order based on columns in 3532. - Changes the size of audio widgets from mini to small so they are easier to see. - Add scroll bar to the subtitles tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3537 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio ... Add an "Add All Tracks" button to the audio tab.dynaflash2010-09-165-1062/+151
| | | | | | | - Patch by circleone... Thanks again! - Adds all available source tracks at the default mixdown etc. to the macgui in one click. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3536 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix two line status readout in the main window originally ↵dynaflash2010-09-162-524/+2306
| | | | | | implemented in svn rev 3483 which somehow got borked in svn rev 3532. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3535 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio ... Allow more than 4 audio tracks.dynaflash2010-09-159-7704/+2896
| | | | | | | | | | | | | | - Patch courtesy of circleone ... Thanks! - Use a NSTableView to dynamically add/delete audio tracks ala the Subtitle tab. - Sets a 24 track limit until someone tests more than 24 tracks (the libhb 8 track limit was removed as per http://trac.handbrake.fr/changeset/3531). - Replaces the old static 4 tracks to a dynamic array. - Moves macgui audio handling to a separate class. Known caveats: - Borks queue editing which needs a revamp anyway. - Queue window display needs to be adjusted to show more than 4 tracks appropriately. Again, its cosmetic and is not a show stopper. - There may be other possible unknown side effects even though tested on all presets. That said, I feel it needs to get in so that we can get feedback from nightlies. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3532 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump ffmpeg from 22950 to 25082jstebbins2010-09-142-6/+20
| | | | | | | | | | | | | | It's been 5 months since an ffmpeg bump. One negative is that we loose LATM support. The LATM patch is just impossible to apply anymore since ffmpeg dropped support for using the external faad lib. There are ifdef's in the code should anyone wish to revert to an earlier ffmpeg and enable LATM. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3526 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use http instead of https for the Help > User Guide link in the help ↵dynaflash2010-09-121-1/+1
| | | | | | menu. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3517 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Bluray supportjstebbins2010-09-084-25/+174
| | | | | | | | | | | | | | | | | | Unencrypted BD directory trees only. Doesn't support iso images. Also, no PGS subtitle support yet. Chapters and angles are supported. Adds a new contrib libbluray. Adds new option to hb_scan() for duration of short titles to filter. This applies to BD and DVD multi-title scans only. Does not apply to any single title scans. Fixes memory leak during scan. hb_buffer_close() was not freeing all buffers in a chain of buffers passed to it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update web links for the Help > Forums and Help > User Guide menu ↵dynaflash2010-09-081-2/+2
| | | | | | choices. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3509 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow trellis and psy-trellis with cavlc since as of svn 3492 its ↵dynaflash2010-08-251-41/+3
| | | | | | | | now possible in x264. - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3493 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where multi instance was improperly detecting the number ↵dynaflash2010-08-201-2/+1
| | | | | | | | of instances. - Fixes an issue where the second instance would ignore the first instances queue and resetting running encodes back to pending. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3484 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Encode status readout now two lines, first line is the name of the ↵dynaflash2010-08-193-67/+62
| | | | | | file being encoded and second line is the progress. Changed both for main window and queue window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3483 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix dock icon behaviordynaflash2010-08-161-5/+2
| | | | | | | | - patch by KonaB1end ... Thanks! - Fixes issue where minimized main window would not unminiaturize when the dock icon is clicked. - Fixes same issue with a closed main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3480 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove logging line used for debugging previous commit.dynaflash2010-08-061-3/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3473 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Store live previews in a sub directory in "~/Library/Application ↵dynaflash2010-08-063-13/+52
| | | | | | | | | | Support/HandBrake/Previews" named by pidnum. - Allows multi-instances to encode live previews without overwriting the live preview for any other instance (since previously we assumed single instance so there was just one live preview file for each container. - Clean up of the previews directory when a single instance is laucnhed to make sure we do not build up a pile of old previews. - Removed old code for live previews which handled the deprecated avi and ogm containers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3472 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Disable preview hud controls during new source scans.dynaflash2010-08-055-5/+44
| | | | | | | - Fixes a crash where trying to get a preview image when a new source is being loaded will cause a crash - Mirrors enableUI in the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3471 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Do not call pictureSliderChanged in windowWillClose in ↵dynaflash2010-08-051-1/+0
| | | | | | | | HBPreviewController.m as it causes a crash when quitting the macgui without a source loaded up. - Thanks Sean_McG for spotting the bug! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3470 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add separate method for cancelling a Live Preview encode.dynaflash2010-08-043-20/+403
| | | | | | - Also replace deprecated removeFileAtPath:handler: with removeItemAtPath:error: in HBPreviewController git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3469 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Re-locate logic for encode done notifications as per user preferences.dynaflash2010-08-031-22/+20
| | | | | | | - Fixes an issue where a system beep would occur after every encode when Alert Window was chosen. - Also means less calls to showGrowlDoneNotification as we were calling it after every encode and then checking the user prefs instead of checking prefs before calling it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3468 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove unused method declaration.dynaflash2010-08-021-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3467 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Rework how we get encode and queue done alerts.dynaflash2010-07-263-89/+254
| | | | | | | | | - Add separate checkbox for system alert sound in Preferences > General > When Done (previously it was automatic only when "When Done" included the alert panel") - System alert sound will play whenever the specified Alert When Done event occurs if its checked (this includes the Growl alerts which come up as encodes roll off of the queue) which addresses the sound part of this forum thread http://forum.handbrake.fr/viewtopic.php?f=22&t=17347#p80456. Thanks to BradleyS for the suggestion. - Also fix an issue introduced in the multi instance queue commmit (ref 3450) where the Alert Window would come up one encode too early instead of at the end of the queue if you use the alert window for when queue is completed. This addresses forum thread http://forum.handbrake.fr/viewtopic.php?f=12&t=17367 thanks to noved for picking up on it. - Get rid of a touch of commented code from rev 3450 which is worthless. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3461 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:sr552010-07-221-29/+57
| | | | | | - Re-checking 3453 after accidentally removing it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3458 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverting 3452sr552010-07-221-57/+29
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3454 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where queue was being reloaded showing already completed ↵dynaflash2010-07-221-29/+57
| | | | | | encodes at launch. Borked in svn rev 3443. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix how we get the current instances pid number since ↵dynaflash2010-07-194-15/+39
| | | | | | | | | | NSRunningApplication is a 10.6 only api and therefore breaks 10.5 compatibility (which also borked the nightly build). - Many thanks to ritsuka for pointing this out. - Also adds ability to get the full path to each running instance if we need it in the future. - Note: Adds additional logging to hbInstances which can be removed when we see fit. But for now imho could be useful since we are early in multi-instance queue encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3450 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of new queue sync code which allows ↵dynaflash2010-07-175-138/+365
| | | | | | | | | | | | | | | | | | multi-instance encoding. This allows more than one instances of HandBrake.app to run off of the same queue file. In the case of multi-instance use these changes occur in the queue window: - The delete icon for a given queue item does not exist in the queue window if another instance is doing the encoding. - The encoding icon does not spin if another instance is doing the encoding. - As before if the queue window is for the instance doing the encoding on that item it will be animated and "spins". - The queue window status readout now also includes the output file name for the file being encoded for that instance. Known bugs: - Drag and Drop queue reordering is somwehat borked. Doesn't corrupt queue but can not allow a drop in some instances. - I have tested this over 20 multi instance encodes and not once had an issue, but anytime more than one instance is writing to the same external file anything can happen. Beware! - The session activity log will of course be full of activity log info from all instances in a multi instance scenario. Individual encode logs are unaffected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make .m4v (Use iTunes Friendly Naming) default in preferences.dynaflash2010-07-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3429 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: Presets - Add abliity to modify width and height on a preset ↵dynaflash2010-06-283-25/+1429
| | | | | | | | | | | independent of the currently loaded settings via repurposing the old "Current" picture size setting in the add new preset dialogue. - Changes "Current" to "Custom". - When Custom is selected two text fields for width and height appear, initially populated with the current picture settings which means that if not changed will behave as old "Current" settings used to. - Editable fields means the preset can be save to pic dimensions other than what is setup for the current encode setup. - For example you can have a dvd loaded up and then save a preset using say 1280 x 720 as max dims, even though the currently loaded source would not have allowed that before. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix uninteded side effect of code that enforces maxWidth/Height when ↵jstebbins2010-06-271-0/+2
| | | | | | | | | | loading anamorphic preset PictureControler relies on job->maxWidth and job->maxHeight being 0. These should only be set when the preset is initailly loaded and the presets values are initialized. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3415 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: apply maxHeight in non-anamorphic jstebbins2010-06-261-2/+22
| | | | | | | | | in anamorphic mode, apply maxWidth&maxHeight and adjust dimensions with hb_set_anamorphic_size. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3413 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow mono audio mixdown for LAMEdynaflash2010-06-211-17/+10
| | | | | | - Patch by Rodeo. Thanks Rodeo ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3402 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds a built-in iPad preset with a max width of 1024, peak fps of ↵jbrjake2010-06-192-0/+101
| | | | | | 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: Advanced x264 panel overhaul. - Updates labelingjbrjake2010-06-183-983/+929
| | | | | | | | | | | | | | | | | | | | | - Updates tooltips - Rearranges layout to group options by encoding features, analysis options, and psychovisual options - Adds weightp checkbox - Adds adaptive quantization slider going from 0 - 2.0 - Removes mixed-refs switch - Removes weightb switch - Removes no-fast-pskip switch - Removes spurious 0 value for reference frames, clamps values to 1-16 - Converts b-pyramid from a checkbox to a menu to allow strict, makes normal instead of off the default - Defaults b-pyramid to being on, removes it from string when it's on, and converts text values of strict or normal to a checked box since we're not offering strict. - Makes psy-rd slider go to 2.0 - Changes analyse some (default) to most, add new some (i4x4,i8x8) - Makes psy-trellis go in 0.05 increments instead of 0.1 increments. - Stops hiding 8x8dct when analyse is none (thanks, Rodeo) - Fixes animated reset of psy-rd and psy-trellis sliders when hidden (thanks, Rodeo) - Hides psy-trellis when cabac goes off (thanks, Rodeo) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3392 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Peak Framerate initial implementationdynaflash2010-06-184-31/+111
| | | | | | | | - Adds a checkbox below the fps drop down to allow selecting pfr as long as Same as Source is not selected. - Checkbox is shows and hides based on the fps dropdown. - Uses job->cfr = 2 instead of 1 to enable libhb's pfr mode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3390 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add flexible dylib path manipulation so that we can handle external ↵jstebbins2010-06-042-124/+122
| | | | | | | | | | | | | | | | | | dylibs more easily At startup, add any extra dylib paths to DYLD_FALLBACK_LIBRARY_PATH. This is the last path searched by the system for dylibs and we add our paths to the end of it's list, so this will never override any system libs or paths the user has explicitly set. Since applications read the environment once at startup, these changes don't take effect until we restart with execv. In order to avoid a possible exec bomb, we add a parameter to the argv list to prevent any further exec's. Note that this causes a minor glitch when running under gdb. The execv triggers a trap. You just have to 'continue'. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3351 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Set the hud control panels origin based on the size of the actual ↵dynaflash2010-06-021-7/+9
| | | | | | | | | preview window anchored at the bottom instead of setting it at the middle of the window. - Should not block the actual preview as much. - Move the origin setting code from -SetTitle into -displayPreview so that it is recalculated any time a new preview is generated, which includes changing encode size. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3349 b64f7644-9d1e-0410-96f1-a4d463321fa5