contribbin-darwin++ to 0015, restores make building in OS X.
Includes a universal binary of the nascent libmkv.a.
Freshens x264 (as well as re-enabling Altivec optimizations, which somehow got turned off when building the ppc half of x264 for the 0014 contrib pack).
MacGui: Active Queue Initial Implementation
- Warning: currently, when adding jobs during encoding, the main window progress bar and task info gets hosed, if a workaround via libhb cannot be easily obtained, a cocoa workaround is available for checkin.
- Can now add jobs during encoding
- Scan progress bar is a barber pole until scanning progress during encoding is fine tuned.
- Needs further testing if DVD Auto Detect is turned on. If conflicts with drive arise, automatically turning off dvd auto detect when adding jobs during encoding is ready for checkin.
Thanks to saintdev, we now have a pre-bootstrapped copy of the libdca source. This means jamming no longer necessitates futzing with autotool versions. Yay!
- Fixed Queue not encoding the full list
- Fixed Subtitle dropdown not having a "None" Option
- Fixed Audio dropdown not having an "Automatic" option
- Fixed Destination browse not showing files
- Added Alert when queue has finished.
WinGui: added initial CLI call managment class (work in progress)
updated frmQueue window to work properly with cross-thread calls and updating proper UI elements
updated ToString override in Parsing.Title to display leading zeros in duration
updated some ToString overrides for proper use in the UI
small change to frmMain to allow for easier tracking of Handbrake CLI process (which we will code soon)
cleaned up function drop_chapterStart_SelectedIndexChanged
- Audio and Subtitle down-downs now populated on DVD Title selection.
- Verbose bug fixed in GenerateQuery()
- Setup frmDvdInfo ready to be populated with plain text output from handbrake.
- Removed the EncodeOutput window. This can wait till another version.
- A few other small changes.
OK, I might have horribly screwed it up, but this *should* allow jam building with XCode, which broke when libmkv got introduced. This commit does not implement mkv muving in the MacGui -- just fixes "undefined symbols" errors which caused the compilation to crash. Just adds references to libmkv.a and muxmkv.c to the project builder index.
- Fixed bug with chapter drop downs throwing errors when they shouldn't.
- Chapter down down menus are now populated on title selection. (Audio and Subtitles still need to be done)
- Process priority option now works. All encodes both single and queue will use the defined priority.
- A few other small things.
-Chapters don't work in VLC. I'll need to update the library to work-around this. Most other players should pick them up, however.
-PAR, check.
-x264 b-frames, check.
-Multi-track audio, check.
updated some Form.Show calls to Form.ShowDialog
updating frmReadDVD to throw CLI call on it's own thread to prevent UI lockup
added ToString overrides in Parsing.AudioTrack, Parsing.Subtitle and Parsing.Title
misc interface/notification updates to frmReadDVD upon starting the scan process
MacGui: Queue fix
- Adjust height of NSScrollview to properly accommodate long queue lists without cutting of the info at the bottom
- Start task numbers in queue with one instead of 0.
MacGui: Enhanced Queue initial implementation
- Enhanced queue readout shows alot more detail about each job.
- Prepares MacGui for "Live Queue" where jobs can be added during an encode.
- Currently, you can add jobs during encoding but cannot access source currently being encoded.
- Dev note: some of this is kludgy, but can streamline once functionality is tested.
MacGui: Add auto crop value to main window
- shows if you are using Auto or Custom cropping in the Video tab of the main window.
- Prepares controller.mm to better use custom/auto cropping values particularly with presets.
- Required since auto crop is not currently stored in a title or job variable, and proper use of cropping for presets requires the preset to know what cropping to actually use.
Fixes to the CLI for forced subtitles, and Turbo.
-Fixes a bug in the HB CLI whereby you can't use the native-language switch to enable subtitles when doing single pass.
-Changes the threshold for enabling subtitles automatically during a subtitle scan from 20% to 10%.
-Changes the turbo options to match what the GUI is doing.
Implement transport and program stream support. With these changes it's now possible to open a .ts or .mpg files and transcode to standard Handbrake Output files. This fixes Ticket #21.
- Re-wrote bits of frmReadDVD to fix a bug where DVD's with only 1 title would not be listed in the DVD title dropdown. Also cleaned the code up a bit. Hopefully this re-write doesn't have too many bugs. Initial testing shows it appears to work fine.WinGui:
- Changed shell() to System.Diagnostics.Process.Start()
Appears to work a bit better than shell()
- Removed Advanced Settings Tab. Processor selection is now in Tools > Options.
- Query editor box cleared on new title or chapter selection. User will still need to clear it by hand if they change any other setting.
- In the previous rev a few tool tips were added
dynaflash [Fri, 29 Jun 2007 17:31:08 +0000 (17:31 +0000)]
MacGui: Presets use white font when selecting built in presets (previously stayed blue which sucked since it was highlighted in blue, so you couldnt read it when selected).
- Also some test shadow code to shadow the highlighted font similar to Mail.app. In testing looks poor, so its commented out for now.
dynaflash [Fri, 29 Jun 2007 17:00:01 +0000 (17:00 +0000)]
MacGui: Add description field and tooltips for Presets
- Add description NSTextField to the Add New Preset Panel
- Added descriptions for the Built-In Presets (be sure to use "Update Built-In Presets" in the Presets menu to get descriptions)
- Added Tooltips to the presets drawer which shows the description of the preset.
dynaflash [Thu, 28 Jun 2007 15:51:01 +0000 (15:51 +0000)]
MacGui: Built In Presets - Added iPod Low-Res
- Changed current iPod to "iPod High-Res" and changed its opt string to keyint=300:keyint-min=30:bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:subme=6:no-fast-pskip=1 as per rhester
dynaflash [Thu, 28 Jun 2007 15:14:33 +0000 (15:14 +0000)]
MacGui: Re-Add Preference to enable 64 bit mp4 files option in the main window.
- This is a reversion to a feature added in 620 that was then taken back out in 621. Due to the breaking of so many target devices, we should error on the side of caution here.
sr55 [Tue, 26 Jun 2007 18:10:51 +0000 (18:10 +0000)]
WinGui:
- New layout on options window. Added verbose mode option
- Added the ability to re-arrange the queue
- Fixed the issue where selecting the same chapter for start and finish would result in something like "-c 6-6"
- Few other small changes & design tweaks
sr55 [Sat, 23 Jun 2007 20:06:40 +0000 (20:06 +0000)]
WinGui:
- Fixed Tools>Options would not remember settings on Windows Vista
- Fixed "Set current options as program defaults" not saving current settings on vista.
sr55 [Sat, 23 Jun 2007 19:29:36 +0000 (19:29 +0000)]
WinGUI:
- Small changes to the update window
- More GUI error checking added. CRF automatically disabled when Video Quality option is not used
- Audio mixdown option no longer requires a checkbox to enable it
sr55 [Sat, 23 Jun 2007 14:55:42 +0000 (14:55 +0000)]
WinGUI:
- Added: support for Turbo 1st Pass with H.264
- Added: support for >4GB mp4 files
- CRF, Turbo 1st pass now automatically switch off when a non h.264 encoder is selected
- Changed video settings tab to accommodate 2 new additions listed above.
sr55 [Fri, 22 Jun 2007 21:59:40 +0000 (21:59 +0000)]
WinGUI:
If Chapter Markers is checked, GUI now sets .m4v extension when user clicks the "browse" button in the destination box. Previously it would default to mp4 if you changed the file save location after having checked Chapters Markers.
sr55 [Fri, 22 Jun 2007 18:02:27 +0000 (18:02 +0000)]
WinGui:
- New Message-box alert design. These include Warning, Information and Error Icons just like the standard windows alerts. Along with this, some of the messages have been changed slightly so should easier to understand now.
sr55 [Fri, 22 Jun 2007 13:46:22 +0000 (13:46 +0000)]
# Start of Version 2.3
- New Title drop down menu's Added
- Fixed Profile bug where if anamorphic was selected when the profile was clicked, the resolution boxes would not be filled out.
- Fixed Anamorphic and Chapter markers were saved in the wrong order.
- Added version tag code to avoid having to update all the windows manually. Pulls version straight from settings file now.
dynaflash [Wed, 20 Jun 2007 20:08:20 +0000 (20:08 +0000)]
MacGui: ScanController modification so it skips the opening scan choice sheet and goes right to the file browse window if the "DVD Auto Detect" is turned off in the preferences.
Saves a few clicks on selecting source files.
Also, small change to controller.mm so that if an invalid source is selected, it shows up instead of the dvd name.
Scan panel if no auto detect could use a bit of fine tuning, but it works.
dynaflash [Tue, 19 Jun 2007 17:44:09 +0000 (17:44 +0000)]
MacGui: Close Main Window issue fixed.
- Can now close the main HB window while HB is running and then re-open it with the "Main Window" selection in the "Window" toolbar menu without disturbing the current encode.
- Note: should probably add "Main Window" to the Dock Icon Context menu as well.
dynaflash [Tue, 19 Jun 2007 15:18:11 +0000 (15:18 +0000)]
MacGui: Chapter Popup fix condition where user can select a start chapter greater than the end chapter
- Old behavior would result in a 00:00:00 encode
- Now checks upon change and defaults to a single chapter rip relative to the start chapter.
- Also fixed audio bitrate title in gui window from (Hz) to (khz)
dynaflash [Mon, 18 Jun 2007 19:02:20 +0000 (19:02 +0000)]
MacGui: Pref for Encode Done alert added
- Added combobox to the Preferences nib so user can select "None", "Alert Window", "Growl Notification", "Alert Window and Growl Notification".
- Defaults to "Alert Window" if user has never set it before.
saintdev [Sun, 17 Jun 2007 00:51:17 +0000 (00:51 +0000)]
Switch buf->key to buf->frametype which is a bitmask telling us what type of frame we are dealing with.
This doesn't change any functionality, but I need to be able to distinguish between x264 IDR and I frames for the upcoming matroska muxer.
This also has the side effect of making the code a little easier to read and maintain.
dynaflash [Thu, 14 Jun 2007 20:19:59 +0000 (20:19 +0000)]
MacGui: Disable DVD Drive Auto-Detect option in preferences.
- this feature allows you to use other dvd aware apps (mactheripper, dvd player, etc.) while using HB to encode a folder on your hard drive.
- checkbox in prefs nib to disable dvd drive auto detect
- when checked, hb does not poll for available drives at all.
- can still manually navigate to a dvd and select it though.
- is unchecked by default.
dynaflash [Thu, 14 Jun 2007 15:56:36 +0000 (15:56 +0000)]
MacGui: + 4 GB Mpeg-4 modification
- adds a preference in the preferences window under advanced to turn on the option to use 64 bit formatting.
- default is unchecked, so unless the user checks this preference, they will never even see the option in the main window, and HB will ignore it all of the time.
dynaflash [Thu, 14 Jun 2007 15:04:53 +0000 (15:04 +0000)]
MacGui: Enable + 4GB Mpeg-4 file output
- Add a checkbox under "Format" field to allow > 4 gb file output.
- Slightly raised the Format and Codecs popups to allow for checkbox (not totally conviced this is a good place for it, but should work for now).
- checkbox auto hides if any format other than mpeg-4 is chosen.
- checkbox unchecked by default.
- automatically unchecks if h.264 ipod is chosen
Note: It Might make sense to add some kind of global in preferences that controls whether or not that feature even presents itself at all, and default it to off so its only available if a user enables it in prefs.
jbrjake [Wed, 13 Jun 2007 18:41:23 +0000 (18:41 +0000)]
Finally recommitting clee's patch from r518 to allow 64-bit mp4 files that can hold more than 4 gigs... controlled by a boolean called job->largeFileSize and enabled from the cli with -4 or --large-file. Note that this breaks compatibility with stuff like the iPod, AppleTV, PS3 (I think), etc...so it is off by default.
Also converted a few stray hard tabs into soft tabs.
dynaflash [Wed, 13 Jun 2007 16:07:42 +0000 (16:07 +0000)]
MacGui: Add Turbo option for x264 two pass encoding
- 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.
jbrjake [Tue, 12 Jun 2007 03:39:39 +0000 (03:39 +0000)]
Disables extra audio tracks so they don't all play over the main audio track 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.
cleaner [Sun, 10 Jun 2007 17:07:43 +0000 (17:07 +0000)]
MacGui: Proposal for replacing UpdateUI timer in HBController. HBCore is a 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).