OSDN Git Service
sr55 [Fri, 13 Jul 2007 19:37:44 +0000 (19:37 +0000)]
WinGui:
- Some C# Code fixes. Parser.cs is currently missing in action. Will appear soon hopefully.
git-svn-id: svn://localhost/HandBrake/trunk@675
b64f7644-9d1e-0410-96f1-
a4d463321fa5
saintdev [Fri, 13 Jul 2007 06:28:48 +0000 (06:28 +0000)]
More accurate frame start/stop times for vorbis. This is needed for the upcoming Matroska muxer.
git-svn-id: svn://localhost/HandBrake/trunk@674
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 11 Jul 2007 13:18:24 +0000 (13:18 +0000)]
WinGui:
few other small changes + new form for hbcli's encode output
git-svn-id: svn://localhost/HandBrake/trunk@673
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 11 Jul 2007 12:56:13 +0000 (12:56 +0000)]
WinGui:
- Couple bug fixes + a bit of code tidy up.
git-svn-id: svn://localhost/HandBrake/trunk@672
b64f7644-9d1e-0410-96f1-
a4d463321fa5
brianmario [Wed, 11 Jul 2007 02:24:48 +0000 (02:24 +0000)]
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
git-svn-id: svn://localhost/HandBrake/trunk@671
b64f7644-9d1e-0410-96f1-
a4d463321fa5
brianmario [Tue, 10 Jul 2007 23:32:41 +0000 (23:32 +0000)]
removing suo files from checkout to prevent constant conflicts
git-svn-id: svn://localhost/HandBrake/trunk@670
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 10 Jul 2007 22:35:11 +0000 (22:35 +0000)]
WinGui:
- Just some more C# getting checked in. Not far from completion now.
git-svn-id: svn://localhost/HandBrake/trunk@669
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 10 Jul 2007 19:20:27 +0000 (19:20 +0000)]
MacGui: re-enable cancel button during title scan in scan controller.
git-svn-id: svn://localhost/HandBrake/trunk@668
b64f7644-9d1e-0410-96f1-
a4d463321fa5
brianmario [Mon, 9 Jul 2007 22:26:54 +0000 (22:26 +0000)]
added new parsing code to parse cli output into objects
git-svn-id: svn://localhost/HandBrake/trunk@667
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 9 Jul 2007 19:51:58 +0000 (19:51 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@666
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 9 Jul 2007 19:33:26 +0000 (19:33 +0000)]
MacGui: Small fix in main window
- gray out the auto crop field during encode
git-svn-id: svn://localhost/HandBrake/trunk@665
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 9 Jul 2007 19:07:38 +0000 (19:07 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@664
b64f7644-9d1e-0410-96f1-
a4d463321fa5
brianmario [Mon, 9 Jul 2007 18:41:35 +0000 (18:41 +0000)]
checking login
git-svn-id: svn://localhost/HandBrake/trunk@663
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 9 Jul 2007 18:41:29 +0000 (18:41 +0000)]
WinGui:
- Just a few updated files.
git-svn-id: svn://localhost/HandBrake/trunk@662
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 9 Jul 2007 16:45:25 +0000 (16:45 +0000)]
WinGui:
- Another chunk of code ported to C#
git-svn-id: svn://localhost/HandBrake/trunk@661
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 8 Jul 2007 23:56:26 +0000 (23:56 +0000)]
WinGui:
- C# Handbrake CLI output parsing code converted from vb.net project.
git-svn-id: svn://localhost/HandBrake/trunk@660
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 8 Jul 2007 19:46:03 +0000 (19:46 +0000)]
WinGui:
- Latest C# code
git-svn-id: svn://localhost/HandBrake/trunk@659
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 8 Jul 2007 18:29:26 +0000 (18:29 +0000)]
WinGui:
- All Supported Files (for File dialog window)
- Few other minor changes.
Initial C# code project which is due to replace current vb.net code. Partially functional.
git-svn-id: svn://localhost/HandBrake/trunk@658
b64f7644-9d1e-0410-96f1-
a4d463321fa5
saintdev [Sun, 8 Jul 2007 00:55:15 +0000 (00:55 +0000)]
Oops, that's 'management_active', not 'managed'.
git-svn-id: svn://localhost/HandBrake/trunk@657
b64f7644-9d1e-0410-96f1-
a4d463321fa5
saintdev [Sat, 7 Jul 2007 05:25:00 +0000 (05:25 +0000)]
vorbis: gracefully fail if encoder setup fails, and remove depriciated OV_ECTL_RATEMANAGE_AVG.
git-svn-id: svn://localhost/HandBrake/trunk@656
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 6 Jul 2007 16:11:06 +0000 (16:11 +0000)]
WinGui:
- Another small change to hbcli execution that was missed.
git-svn-id: svn://localhost/HandBrake/trunk@655
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 6 Jul 2007 16:09:50 +0000 (16:09 +0000)]
WinGui:
- Few changes to the way hbcli.exe is executed.
git-svn-id: svn://localhost/HandBrake/trunk@654
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 6 Jul 2007 15:41:29 +0000 (15:41 +0000)]
WinGui:
- And 1 spelling mistake corrected.
git-svn-id: svn://localhost/HandBrake/trunk@653
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 6 Jul 2007 15:40:25 +0000 (15:40 +0000)]
WinGui:
- Just a few things cleared up
git-svn-id: svn://localhost/HandBrake/trunk@652
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 6 Jul 2007 15:32:34 +0000 (15:32 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@651
b64f7644-9d1e-0410-96f1-
a4d463321fa5
saintdev [Fri, 6 Jul 2007 03:14:08 +0000 (03:14 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@650
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 4 Jul 2007 19:04:21 +0000 (19:04 +0000)]
WinGui:
- User can now set the default priority level for hbcli.exe from Tools > Options (set to normal by default)
git-svn-id: svn://localhost/HandBrake/trunk@649
b64f7644-9d1e-0410-96f1-
a4d463321fa5
awk [Wed, 4 Jul 2007 02:14:42 +0000 (02:14 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@648
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 3 Jul 2007 11:41:41 +0000 (11:41 +0000)]
WinGui:
- 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.
git-svn-id: svn://localhost/HandBrake/trunk@647
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 2 Jul 2007 21:36:04 +0000 (21:36 +0000)]
WinGui:
- 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
git-svn-id: svn://localhost/HandBrake/trunk@646
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 2 Jul 2007 16:31:09 +0000 (16:31 +0000)]
WinGui:
- Changed shell() to System.Diagnostics.Process.Start()
Appears to work a bit better than shell()
git-svn-id: svn://localhost/HandBrake/trunk@645
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@644
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@643
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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
git-svn-id: svn://localhost/HandBrake/trunk@642
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@641
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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
git-svn-id: svn://localhost/HandBrake/trunk@640
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 24 Jun 2007 20:33:29 +0000 (20:33 +0000)]
WinGui:
- Fixed small compile error
git-svn-id: svn://localhost/HandBrake/trunk@639
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 24 Jun 2007 20:09:28 +0000 (20:09 +0000)]
WinGui:
- Quick mod16 height calculation when the user enters a width. This doesn't take cropping into account!
git-svn-id: svn://localhost/HandBrake/trunk@638
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 23 Jun 2007 20:15:18 +0000 (20:15 +0000)]
WinGui:
- Icon file added to the Handbrake folder
git-svn-id: svn://localhost/HandBrake/trunk@637
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@636
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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
git-svn-id: svn://localhost/HandBrake/trunk@635
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@634
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@633
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 22 Jun 2007 21:48:46 +0000 (21:48 +0000)]
WinGUI:
- Small text changes on the read DVV window.
git-svn-id: svn://localhost/HandBrake/trunk@632
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 22 Jun 2007 18:42:41 +0000 (18:42 +0000)]
WinGUI:
- Fixed style problems in Vista and XP when using the stock windows theme. Should look far more consistent now.
git-svn-id: svn://localhost/HandBrake/trunk@631
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@630
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 22 Jun 2007 16:03:22 +0000 (16:03 +0000)]
- Minor design tweaks
git-svn-id: svn://localhost/HandBrake/trunk@629
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@628
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@627
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@626
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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)
git-svn-id: svn://localhost/HandBrake/trunk@625
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@624
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@623
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@622
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 14 Jun 2007 16:59:44 +0000 (16:59 +0000)]
MacGui: Remove Preference introduced in rev 620 to make users enable 64bit mp4 option.
The option is available at all times as per jbrjake.
git-svn-id: svn://localhost/HandBrake/trunk@621
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@620
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@619
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@618
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 13 Jun 2007 18:05:03 +0000 (18:05 +0000)]
One last update. Missed the image files.
That should be all the required windows GUI files up
git-svn-id: svn://localhost/HandBrake/trunk@617
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 13 Jun 2007 18:00:56 +0000 (18:00 +0000)]
git-svn-id: svn://localhost/HandBrake/trunk@616
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 13 Jun 2007 17:48:48 +0000 (17:48 +0000)]
Windows Source Code
git-svn-id: svn://localhost/HandBrake/trunk@614
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 13 Jun 2007 17:47:54 +0000 (17:47 +0000)]
Moving Windows Folder
git-svn-id: svn://localhost/HandBrake/trunk@613
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@607
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@606
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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).
git-svn-id: svn://localhost/HandBrake/trunk@605
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 8 Jun 2007 02:24:05 +0000 (02:24 +0000)]
Should fix jam building of the MacGui, which broke when the preferences were moved to separate source code/nib giles.
git-svn-id: svn://localhost/HandBrake/trunk@604
b64f7644-9d1e-0410-96f1-
a4d463321fa5
cleaner [Wed, 6 Jun 2007 20:05:55 +0000 (20:05 +0000)]
Debug output window is now opened automatically if it was visible when HB was closed.
git-svn-id: svn://localhost/HandBrake/trunk@603
b64f7644-9d1e-0410-96f1-
a4d463321fa5
cleaner [Wed, 6 Jun 2007 19:44:11 +0000 (19:44 +0000)]
- Removed obsolete 'DefAdvancedx264FlagsShow' preference setting
- Added 'verbose debug output' preference that was missing in [601]
git-svn-id: svn://localhost/HandBrake/trunk@602
b64f7644-9d1e-0410-96f1-
a4d463321fa5
cleaner [Wed, 6 Jun 2007 17:12:12 +0000 (17:12 +0000)]
- Moved preferences window from MainMenu.nib to Preferences.nib
- 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://localhost/HandBrake/trunk@601
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Wed, 6 Jun 2007 02:09:41 +0000 (02:09 +0000)]
A big batch of patches from eddyg.
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://localhost/HandBrake/trunk@600
b64f7644-9d1e-0410-96f1-
a4d463321fa5
cleaner [Tue, 5 Jun 2007 20:09:13 +0000 (20:09 +0000)]
Moved initialization of default preferences from [PrefsController 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://localhost/HandBrake/trunk@599
b64f7644-9d1e-0410-96f1-
a4d463321fa5
cleaner [Tue, 5 Jun 2007 16:46:30 +0000 (16:46 +0000)]
Typo fix and test of commit rights.
git-svn-id: svn://localhost/HandBrake/trunk@598
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 4 Jun 2007 19:59:34 +0000 (19:59 +0000)]
MacGui: Make Debug window non editable.
- can still copy and paste contents, but cannot edit it.
git-svn-id: svn://localhost/HandBrake/trunk@597
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 4 Jun 2007 19:55:45 +0000 (19:55 +0000)]
MacGui: Add stdout to the Debug Inspector window
- thanks again to Cleaner
git-svn-id: svn://localhost/HandBrake/trunk@596
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 30 May 2007 15:16:16 +0000 (15:16 +0000)]
MacGui: update scancontroller to help fix the HB floating window issue.
-Thanx Cleaner
git-svn-id: svn://localhost/HandBrake/trunk@595
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Sun, 27 May 2007 20:24:11 +0000 (20:24 +0000)]
MacGui: switches the x264 option widgets for mixed-refs, weightb, brdo, 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://localhost/HandBrake/trunk@594
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 22 May 2007 16:42:46 +0000 (16:42 +0000)]
MacGui: adds deblocking widgets for the x264 advanced options tab. God this 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://localhost/HandBrake/trunk@593
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 21 May 2007 16:50:21 +0000 (16:50 +0000)]
MacGui: Debug Window to read libhb output like cli in inspector window
- 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://localhost/HandBrake/trunk@592
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Sat, 19 May 2007 16:31:42 +0000 (16:31 +0000)]
MacGui: finishes out the b-frame x264 options by adding widgets for bime and direct-pred.
git-svn-id: svn://localhost/HandBrake/trunk@591
b64f7644-9d1e-0410-96f1-
a4d463321fa5
awk [Sat, 19 May 2007 01:55:32 +0000 (01:55 +0000)]
git-svn-id: svn://localhost/HandBrake/trunk@590
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 18 May 2007 16:34:16 +0000 (16:34 +0000)]
MacGui: Remove x264 option "No DCT-Decimate" value from option strings for 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://localhost/HandBrake/trunk@589
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Wed, 16 May 2007 18:34:29 +0000 (18:34 +0000)]
MacGui: adds x264 option widgets for b-rdo, weight, and b-pyramid. And a 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://localhost/HandBrake/trunk@588
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 16 May 2007 14:43:08 +0000 (14:43 +0000)]
macGui: move "Duration" to the title/chapter line for source and move "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://localhost/HandBrake/trunk@587
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 May 2007 22:05:55 +0000 (22:05 +0000)]
MacGui: adds x264 option widget for merange
git-svn-id: svn://localhost/HandBrake/trunk@586
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 May 2007 20:59:42 +0000 (20:59 +0000)]
MacGui: fix file suffix creation for .ogm (the break was misplaced in the case statement, so it'd always be null instead of .ogm).
Thanks for pointing it out, cleaner!
git-svn-id: svn://localhost/HandBrake/trunk@585
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 May 2007 20:49:03 +0000 (20:49 +0000)]
MacGui: use subq for subpixel motion estimation instead of subme. This helps 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://localhost/HandBrake/trunk@584
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 15 May 2007 20:33:42 +0000 (20:33 +0000)]
macGui: fix bug in Advanced x264 option widgets
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://localhost/HandBrake/trunk@583
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 May 2007 19:11:17 +0000 (19:11 +0000)]
MacGui: x264 options widget for motion estimation. This is the first widget 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://localhost/HandBrake/trunk@582
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 May 2007 16:56:45 +0000 (16:56 +0000)]
MacGui: more cosmetic whitespace changes for the x264 option stuff in controller.mm
git-svn-id: svn://localhost/HandBrake/trunk@581
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 May 2007 16:24:30 +0000 (16:24 +0000)]
MacGui: pretty up the x264 option section of controller.mm by using uniform white space (soft 4-space tabs) and adding a few carriage returns in clutch places for human legibility.
git-svn-id: svn://localhost/HandBrake/trunk@580
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 10 May 2007 18:40:52 +0000 (18:40 +0000)]
macGui: Fix broken connection from previous commit
- add preset panel outlet wrong type. is now back to NSPanel
git-svn-id: svn://localhost/HandBrake/trunk@579
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Thu, 10 May 2007 18:19:26 +0000 (18:19 +0000)]
MacGui: adds mixed-refs pop-up for the advanced x264 options.
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://localhost/HandBrake/trunk@578
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Wed, 9 May 2007 21:41:13 +0000 (21:41 +0000)]
Removes thread limitation for iPod encoding. With x264's new-ish sliceless 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://localhost/HandBrake/trunk@577
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 9 May 2007 17:31:31 +0000 (17:31 +0000)]
MacGui: Advanced Tab only shows x264 opt widgets when x264 is selected as 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://localhost/HandBrake/trunk@576
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 9 May 2007 15:05:26 +0000 (15:05 +0000)]
MacGui: Main Window Layout Change
- 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://localhost/HandBrake/trunk@575
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Wed, 9 May 2007 00:39:17 +0000 (00:39 +0000)]
MacGui: here's the .nib part of the r573 commit, which didn't take.
::shakes fist in rage at RapidSVN::
git-svn-id: svn://localhost/HandBrake/trunk@574
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Wed, 9 May 2007 00:37:49 +0000 (00:37 +0000)]
MacGui: rearranges the x264 option widgets in preparation for adding more, 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://localhost/HandBrake/trunk@573
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 8 May 2007 18:07:15 +0000 (18:07 +0000)]
MacGui: Advanced Options tab
- fix bug where setting an option when the string field is empty caused a malformed value.
git-svn-id: svn://localhost/HandBrake/trunk@572
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 8 May 2007 17:16:20 +0000 (17:16 +0000)]
macGui: Advanced Tab - Initial Implementation
- 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://localhost/HandBrake/trunk@571
b64f7644-9d1e-0410-96f1-
a4d463321fa5
maurj [Sun, 6 May 2007 21:32:01 +0000 (21:32 +0000)]
Updated the input channel layouts to store the source LFE information as 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://localhost/HandBrake/trunk@570
b64f7644-9d1e-0410-96f1-
a4d463321fa5