summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Add Turbo option for x264 two pass encodingdynaflash2007-06-135-47/+88
| | | | | | | | - Adds a Turbo checkbox under the 2-pass checkbox in the video tab if x264 is selected and 2-pass is checked, otherwise the Turbo checkbox is hidden and deselected - Appends ":ref=1:subme=1:me=dia:analyse=none:weightb=0:trellis=0:no-fast-pskip=0:8x8dct=0" to a given x264 option string on the first pass of a two pass encode if the Turbo checkbox is checked. - in testing, roughly doubles the first pass encoding speed using the HB-AppleTV preset opt string on a 2 pass encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@607 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disables extra audio tracks so they don't all play over the main audio track ↵jbrjake2007-06-121-6/+21
| | | | | | in QuickTime. They can be re-enabled from the Properties menu in QT Pro or with Dumpster. Shouldn't have any affect on people who use sane video players. Props to eddyg for reporting the issue, identifying the atom in question, and castigating me for my lazy and unkempt coding ways. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Proposal for replacing UpdateUI timer in HBController. HBCore is a ↵cleaner2007-06-102-0/+323
| | | | | | more ObjC-like interface to the core libhb library. It provides notifications of libhb state changes via NSNotificationCenter. Interfaces for scanning, encoding, bindings etc. can be added later. Note: this class is not used in HB (yet). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Should fix jam building of the MacGui, which broke when the preferences were ↵jbrjake2007-06-081-2/+6
| | | | | | moved to separate source code/nib giles. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@604 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Debug output window is now opened automatically if it was visible when HB ↵cleaner2007-06-062-0/+12
| | | | | | was closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@603 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Removed obsolete 'DefAdvancedx264FlagsShow' preference settingcleaner2007-06-062-1/+0
| | | | | | | - Added 'verbose debug output' preference that was missing in [601] git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Moved preferences window from MainMenu.nib to Preferences.nibcleaner2007-06-0612-448/+165
| | | | | | | | | | | - Moved languages from PrefsController.m to Preferences.nib - Renamed PrefsController to HBPreferencesController - Implemented bindings in Preferences.nib - Enabled autocomplete in audio language combobox git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@601 b64f7644-9d1e-0410-96f1-a4d463321fa5
* A big batch of patches from eddyg.jbrjake2007-06-065-57/+394
| | | | | | | | | | | | | Adds following options to the CLI: --subtitle-scan for auto-selecting subtitles for foreign language segments in native language audio tracks --native-language for auto-selecting subtitles for foreign language audio without knowing the track number --longest for auto-selecting the longest title like in the MacGui --turbo for improving speed on the first pass of a two pass encode with x264 (based on superdump's turbo x264 options in mencoder). Thanks, eddyg! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moved initialization of default preferences from [PrefsController ↵cleaner2007-06-053-24/+31
| | | | | | | | | awakeFromNib] to class method [PrefsController registerUserDefaults], which is called from [HBController init]. This fixes problem with preferences when using HB for the first time, or after deleting the user defaults file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@599 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Typo fix and test of commit rights.cleaner2007-06-051-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@598 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make Debug window non editable.dynaflash2007-06-042-2/+2
| | | | | | - can still copy and paste contents, but cannot edit it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@597 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add stdout to the Debug Inspector windowdynaflash2007-06-041-1/+4
| | | | | | - thanks again to Cleaner git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@596 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: update scancontroller to help fix the HB floating window issue.dynaflash2007-05-301-31/+18
| | | | | | -Thanx Cleaner git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@595 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: switches the x264 option widgets for mixed-refs, weightb, brdo, ↵jbrjake2007-05-275-137/+86
| | | | | | | | bime, b-pyramid, no-dct-decimate, and no-fast-pskip to be checkboxes, which makes more sense than popup buttons for booleans. I've never worked with switches before, so hopefully I didn't break anything. Also never checked in this many GUI changes at once. So maybe I did break something =) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@594 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds deblocking widgets for the x264 advanced options tab. God this ↵jbrjake2007-05-225-7/+97
| | | | | | one was a pain. Haven't decided yet whether to include a boolean to turn deblocking on and off. Not sure where I'd stick it right now, at least. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@593 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Debug Window to read libhb output like cli in inspector windowdynaflash2007-05-2114-15/+475
| | | | | | | | | | | - Thank You Cleaner!! - Adds Debug Output to Window menu - Adds Verbose pref to preferences menu - MacGui now reads output from libhb like cli - May add pref to open Debug Output window upon launch - All credit goes to Cleaner, Thank You! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@592 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: finishes out the b-frame x264 options by adding widgets for bime and ↵jbrjake2007-05-194-2/+151
| | | | | | direct-pred. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@591 b64f7644-9d1e-0410-96f1-a4d463321fa5
* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@590 ↵awk2007-05-193-8/+39
| | | | b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove x264 option "No DCT-Decimate" value from option strings for ↵dynaflash2007-05-181-2/+2
| | | | | | | | any Built In HB Presets as they all use a target bitrate as per jbrjake. Please update built in presets for this to take effect. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@589 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds x264 option widgets for b-rdo, weight, and b-pyramid. And a ↵jbrjake2007-05-165-3/+107
| | | | | | little layout reorganization to take advantage of the space freed up by dynaflash's last commit. Yes, I know the dividing lines are ugly. They are temporary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@588 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: move "Duration" to the title/chapter line for source and move ↵dynaflash2007-05-163-2/+3
| | | | | | | | "Output" section up into that space. Increase the height of the tabbed views to free up space for more tabbed info. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@587 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds x264 option widget for merangejbrjake2007-05-155-3/+43
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@586 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix file suffix creation for .ogm (the break was misplaced in the ↵jbrjake2007-05-151-2/+2
| | | | | | | | case statement, so it'd always be null instead of .ogm). Thanks for pointing it out, cleaner! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@585 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use subq for subpixel motion estimation instead of subme. This helps ↵jbrjake2007-05-151-2/+8
| | | | | | | | avoid those string-searching issues touched on in the past two commits. This will have to be revisited when I add a "bime" option, because that will probably conflict with what dynaflash added in the last commit to sort this problem out. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@584 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: fix bug in Advanced x264 option widgetsdynaflash2007-05-151-3/+11
| | | | | | | | Modify the test to see if an optName already exists to avoid conflict with similar name patterns in the -X264AdvancedOptionsChanged: method where we test for the presence of the optNameToChange in the existing string. This change starts on line 2215. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@583 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: x264 options widget for motion estimation. This is the first widget ↵jbrjake2007-05-155-9/+129
| | | | | | | | to use strings for values instead of numbers, so it's a little wonky. Right now, if you don't have a motion est. value specified, but you do have another option with "me" in the name (like "subME" or "b-fraMEs"), the widget will be unresponsive. Hopefully I'm not accidentally breaking anything with this commit. Had to revert, update, and rewire some stuff after I tried to commit and realized I'd missed a revision. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@582 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: more cosmetic whitespace changes for the x264 option stuff in ↵jbrjake2007-05-151-151/+157
| | | | | | controller.mm git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@581 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: pretty up the x264 option section of controller.mm by using uniform ↵jbrjake2007-05-151-232/+237
| | | | | | white space (soft 4-space tabs) and adding a few carriage returns in clutch places for human legibility. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@580 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: Fix broken connection from previous commitdynaflash2007-05-103-5/+4
| | | | | | - add preset panel outlet wrong type. is now back to NSPanel git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@579 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds mixed-refs pop-up for the advanced x264 options.jbrjake2007-05-105-3/+34
| | | | | | In the future I'll commit more than one widget at a time, but I wanted a little template changeset I can reference for further additions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes thread limitation for iPod encoding. With x264's new-ish sliceless ↵jbrjake2007-05-091-1/+0
| | | | | | threading method, there is no longer any need, if there ever was, of keeping the video to 1 slice. This should significantly speed up iPod encodes and shut up the people claiming HB can't use more than 70% of a processor. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@577 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced Tab only shows x264 opt widgets when x264 is selected as ↵dynaflash2007-05-095-11/+33
| | | | | | | | | the codec. Otherwise, displays a message to that effect. - Put the x264 options in a custom NSView which hides it and its contents unless x264 is selected - add field at the top to show the status of the Advanced Tabs contents which is triggered in the - CodecsPopUpChanged method. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@576 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Main Window Layout Changedynaflash2007-05-092-1/+1
| | | | | | | - Moved the Codecs popup from below Format to the right of Format. They are now on one line. - Expanded the height of the NSTabView to allow for more controls in each tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@575 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: here's the .nib part of the r573 commit, which didn't take.jbrjake2007-05-092-1/+1
| | | | | | ::shakes fist in rage at RapidSVN:: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@574 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rearranges the x264 option widgets in preparation for adding more, ↵jbrjake2007-05-091-6/+6
| | | | | | and gives them tool tips so they're a little more accessible to the average user. Oh yeah, and instead of "Unspecified" I've hard-coded in for display what the default option values are. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@573 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced Options tabdynaflash2007-05-081-0/+8
| | | | | | - fix bug where setting an option when the string field is empty caused a malformed value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@572 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: Advanced Tab - Initial Implementationdynaflash2007-05-085-8/+368
| | | | | | | | | | | | | | | | | | - add gui "widgets" to control the x264 advanced option string. - Not all options are "widgetized" yet. - Modifies those it has widgets for, leaves the rest of the string intact. - This rev, only sets opts that have an integer value. - Adding widgets requires adding values to controller.h as well as these methods in controller.mm: -X264AdvancedOptionsSet: adds the actual values for the given outlet in the nib -X264AdvancedOptionsStandardizeOptNames: standardizes the opt names that have multiple connotations -X264AdvancedOptionsSetCurrentSettings: Reads and sets the widgets according to the current string whether pasted in by user, set by preset, or set by field in preferences -X264AdvancedOptionsChanged: Changes the string based on the widget used, including "Unspecified" which just removes it from the string altogether. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@571 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated the input channel layouts to store the source LFE information as ↵maurj2007-05-068-85/+112
| | | | | | | | | well as the non-LFE layout. This is so muxavi.c can output the correct channel count for AC3 passthru for all AC3 sources. Updated Controller.mm, scan.c and work.c to use these revised layouts. Added a new property to the work object, to remember the source audio codec for audio work objects. This enables encfaac to detect an 6-channel AC3 source to apply the QuickTime 6-channel audio mapping (as opposed to a DTS source, which doesn't need it). Fixed the Dolby Pro Logic I/II downmix mappings in libdca and updated the libdca patch. Uploaded a new set of pre-built darwin contribs (0014) with this patch applied. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated do_job() in work.c to remove any non-AC3 audio tracks from the job ↵maurj2007-05-041-0/+14
| | | | | | before performing AC3 passthru. This prevents Bad Things from happening when a DTS, MPEG2 or LPCM audio track is selected and AC3 passthru to AVI is selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@569 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverted the rev567 "configure" change, as of course you don't need to run ↵maurj2007-05-041-1/+1
| | | | | | configure if you're just doing a make, so my change was inaccurate. So, this reverts back to the rev566 version of configure, albeit with the "MediaFork" reference changed to "HandBrake". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@568 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Changed a few "MediaFork" references in the textfile docs to say "HandBrake" ↵maurj2007-05-044-7/+5
| | | | | | instead. Amended the "configure" success output to recommend "make" over "jam" for Mac OS X builds, as this is a better option for the average SVN checkout user now that the UB precompiled contribs system is working well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@567 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated BUILD to include information about the updated version of libtool, ↵maurj2007-05-043-3/+21
| | | | | | autoconf and automake needed to jam libdca on Mac OS X. Updated AUTHORS to give me credit for the DTS integration, and updated CREDITS to give credit to the libdca authors. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@566 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Enabled DTS channel mixdowns by moving to a more generic input channel ↵maurj2007-05-044-332/+206
| | | | | | layout set of constants. Updated Controller.mm to use these generic input layout constants when deciding which mixdowns to offer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@565 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Tells x264 to use threads=cpus*1.5 instead of threads=cpus. This is because ↵jbrjake2007-05-021-1/+1
| | | | | | x264 implemented sliceless threading since we last updated the revision we use. The codec now works best with more threads than processors, as odd as that seems at first blush. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@564 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updates the Mac OS X contrib binary version to 0013, which includes x264 r654.jbrjake2007-05-021-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@563 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated contrib binary pack with x264-r654 and libdcasr552007-05-021-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@562 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updates x264 from r604 to r654, giving HandBrake sliceless threading, among ↵jbrjake2007-05-023-9/+9
| | | | | | other things. Updates the MacIntel patch to continue working (needs testing), comments out the Linux patch since it seems all its changes have been merged into the x264 source (needs testing). New Mac and Cygwin contrib binary packs will have to be made. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@561 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated the CLI makefile to include the new libdca contrib for DTS audio ↵maurj2007-05-021-2/+2
| | | | | | support. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@560 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added support for DTS audio. DTS audio streams (of 5.1 audio and below) ↵maurj2007-05-0218-144/+1475
| | | | | | | | | will be detected and decoded. This requires a new library - libdca (and patch) - which is included (in patched form) in a new version of the pre-built UB Darwin contribs (0012). These have been uploaded to download.m0k.org/handbrake/contrib/ . I haven't yet added any code to Controller.mm to recognise the DTS streams as supporting mono / 6ch DPL1 / DPL2 downmixes. Note: running Jam on the new library required me to update some tools on Mac OS X - possibly libtool, autoconf, automake. Not sure which made the difference, but these were the ones I updated. it won't jam successfully without this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@559 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixed makefile for cygwin. Replaced spaces with tabsr552007-05-021-32/+32
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@558 b64f7644-9d1e-0410-96f1-a4d463321fa5