OSDN Git Service

handbrake-jp/handbrake-jp-git.git
16 years agoProgram Streams: Vans patch to set a fake duration for program streams.
dynaflash [Tue, 1 Jan 2008 22:11:34 +0000 (22:11 +0000)]
Program Streams: Vans patch to set a fake duration for program streams.
Thanks Van!

git-svn-id: svn://localhost/HandBrake/trunk@1159 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoOnly drop frames when using VFR, not with regular detelecine.
jbrjake [Tue, 1 Jan 2008 18:50:48 +0000 (18:50 +0000)]
Only drop frames when using VFR, not with regular detelecine.
*facepalm*

git-svn-id: svn://localhost/HandBrake/trunk@1158 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Mon, 31 Dec 2007 17:31:24 +0000 (17:31 +0000)]
WinGui:
- Very small checking to improve the development expire code. (and for testing the irc bot)

git-svn-id: svn://localhost/HandBrake/trunk@1157 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacgui: Enable opening up .eyetv packages directly
dynaflash [Mon, 31 Dec 2007 17:24:09 +0000 (17:24 +0000)]
Macgui: Enable opening up .eyetv packages directly
- check source to see if the chosen file is a package
- if so, checks for the .eyetv extension
- then finds the program stream in the package and opens it.
- gui does not call hb_scan if source is identified as a package, but is not an .eyetv package to avoid scanning errant packages
- very verbose activity log messages from the gui for packages, would likely comment out for release, mostly to verify in testing.

git-svn-id: svn://localhost/HandBrake/trunk@1156 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoProgram Stream Enhancements - Van: Libhb
dynaflash [Mon, 31 Dec 2007 17:11:15 +0000 (17:11 +0000)]
Program Stream Enhancements - Van: Libhb
- Thanks Van !
- Identifies program streams by type instead of file extension
- Improves proper duration reporting of program streams
- fixes audio reconvergence code in libhb/sync.c trying to free a null buffer causing a crash
- Assorted other enhancements to encoding program streams.

git-svn-id: svn://localhost/HandBrake/trunk@1155 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoFixes a typo in MP4 chapter marker durations. Thanks, van!
jbrjake [Sat, 29 Dec 2007 16:03:29 +0000 (16:03 +0000)]
Fixes a typo in MP4 chapter marker durations. Thanks, van!

git-svn-id: svn://localhost/HandBrake/trunk@1154 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoExtends hb_set_anamorphic_size() to make it possible to do "dry-runs"...this way...
jbrjake [Fri, 28 Dec 2007 20:02:41 +0000 (20:02 +0000)]
Extends hb_set_anamorphic_size() to make it possible to do "dry-runs"...this way the MacGui can calculate loose anamorphic values for displaying preview images, before the job variables are directly set in work.c.

git-svn-id: svn://localhost/HandBrake/trunk@1153 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoBetter b-frame muxing. Instead of using an arbitrarily long offset and then later...
jbrjake [Fri, 28 Dec 2007 19:48:37 +0000 (19:48 +0000)]
Better b-frame muxing. Instead of using an arbitrarily long offset and then later walking the file to find the smallest one, now x264 uses the smallest delay it can from the start. This significantly cuts down muxing time.

As a side effect, it also makes fixing chapter markers + b-frames easy, so that's included too in muxmp4 (thanks, van!).

git-svn-id: svn://localhost/HandBrake/trunk@1152 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years ago"Great! Where are we going?"
jbrjake [Fri, 28 Dec 2007 18:17:24 +0000 (18:17 +0000)]
"Great! Where are we going?"
Prevents sync.c from prematurely ending the encode when its estimated maximum frame count is too low, by doubling that maximum.
Thanks for fixing this long-standing bug, van!

git-svn-id: svn://localhost/HandBrake/trunk@1151 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoPatches mpeg4ip's build script so it doesn't check for libmp4v2 compatibility in...
jbrjake [Fri, 28 Dec 2007 18:03:01 +0000 (18:03 +0000)]
Patches mpeg4ip's build script so it doesn't check for libmp4v2 compatibility in the system-level copy of faac, since HandBrak doesn't use that copy of the library. It always trips up Linux users. Thanks, saintdev!

git-svn-id: svn://localhost/HandBrake/trunk@1150 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoUpdated makefile for cygwin builds
sr55 [Thu, 27 Dec 2007 21:03:40 +0000 (21:03 +0000)]
Updated makefile for cygwin builds
app = download contrib binary package and compile source
all = use Jam to build the source
Works the same way as linux does now.

git-svn-id: svn://localhost/HandBrake/trunk@1149 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Maintain Picture Filters state across sources
dynaflash [Wed, 26 Dec 2007 16:26:57 +0000 (16:26 +0000)]
MacGui: Maintain Picture Filters state across sources
- Picture filters no longer reset to their defaults when a new source is chosen (includes vfr as well setEnabled to the fps drop down in the main window).
- Added a new method -setInitialPictureFilters to PictureController.m to setup the filters upon first scan instead of in -SetTitle which reset them every time a new title was accessed.

git-svn-id: svn://localhost/HandBrake/trunk@1148 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Mon, 24 Dec 2007 18:43:10 +0000 (18:43 +0000)]
WinGui:
- Added GPL Licence comment at the top of each code file as required. (this may need to be changed later but will do for now)

git-svn-id: svn://localhost/HandBrake/trunk@1147 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoAdds a bunch of code comments to the x264 option controller, in order to make reading...
jbrjake [Fri, 21 Dec 2007 18:51:13 +0000 (18:51 +0000)]
Adds a bunch of code comments to the x264 option controller, in order to make reading the file slightly less of an exercise in masochism.

git-svn-id: svn://localhost/HandBrake/trunk@1146 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 21 Dec 2007 17:45:15 +0000 (17:45 +0000)]
WinGui:
- Changed back from Query Window to Query Editor tab by popular demand.
- Fixed a small issue with resolution calculating the height when it shouldn't.
- Removed some old labels from the main window.

git-svn-id: svn://localhost/HandBrake/trunk@1145 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 21 Dec 2007 15:21:12 +0000 (15:21 +0000)]
WinGui:
- Updated build number to match SVN.
- Fixed an issue where Encode & Pause buttons didn't enable / disable correctly on the queue.

git-svn-id: svn://localhost/HandBrake/trunk@1144 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 21 Dec 2007 15:13:24 +0000 (15:13 +0000)]
WinGui:
- Removed Chapter Marker window re-generation on chapter change. (Now consistant with the mac GUI)
- Fixed spelling error on a tooltip

git-svn-id: svn://localhost/HandBrake/trunk@1143 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Thu, 20 Dec 2007 18:22:52 +0000 (18:22 +0000)]
WinGui:
- Removed excess debug code in Title.cs. Haven't heard any complaints since 0.9.1 so It seems the problems are gone.

git-svn-id: svn://localhost/HandBrake/trunk@1142 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Thu, 20 Dec 2007 18:17:42 +0000 (18:17 +0000)]
WinGui:
- Some more code code cleanup done. Nothing major.

git-svn-id: svn://localhost/HandBrake/trunk@1141 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Thu, 20 Dec 2007 14:59:57 +0000 (14:59 +0000)]
WinGui:
- Moved alot of functions in frmMain.cs into their own class (common.cs)

git-svn-id: svn://localhost/HandBrake/trunk@1140 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agohb_log should not be used outside of HB Lib, it's private to HB, using
eddyg [Thu, 20 Dec 2007 02:44:41 +0000 (02:44 +0000)]
hb_log should not be used outside of HB Lib, it's private to HB, using
so causes an undeclared symbol warning. In test.c fprintf should be used.

git-svn-id: svn://localhost/HandBrake/trunk@1139 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 22:42:26 +0000 (22:42 +0000)]
WinGui:
- Some more code clean up
- Fixed: Skipped button not working on update checker.

git-svn-id: svn://localhost/HandBrake/trunk@1138 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 22:10:27 +0000 (22:10 +0000)]
WinGui:
- Some code clean up + removal of old unused code.

git-svn-id: svn://localhost/HandBrake/trunk@1137 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: DRC slider modifications
dynaflash [Wed, 19 Dec 2007 19:57:44 +0000 (19:57 +0000)]
MacGui: DRC slider modifications
- Use the float value field rounded to 100ths for the actual drc value passed to libhb (previously was using float down to millionths which was obscured from the user by the size of the value field).
-  move -audDRCSliderChanged method to where the other audio control methods are in controller.mm

git-svn-id: svn://localhost/HandBrake/trunk@1136 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 19:07:30 +0000 (19:07 +0000)]
WinGui:
- 2 Small fixes to the new Chapters tab

git-svn-id: svn://localhost/HandBrake/trunk@1135 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 17:23:54 +0000 (17:23 +0000)]
WinGui:
- Fixed issue where crop dropdown had no value on startup.
- Fixed an Autoname bug where \ was addeded incorrectly.
- Fixed bug where DRC was set incorrectly by preset parser.
- Removed some old code which is no longer going to be used.
- Changed De-Interlace options names to match MacGUI for consistency
- Moved HTTP Optimization to Output Settings for consistency with MacGUI
- Added form to show the generated query. Tools > Options > Show CLI Query
- Added Chapter Markers tab which operates the same was as the MacGUI

git-svn-id: svn://localhost/HandBrake/trunk@1134 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoRenumber start and stop timestamps for VFR, so they are continuous despite dropped...
jbrjake [Tue, 18 Dec 2007 20:08:12 +0000 (20:08 +0000)]
Renumber start and stop timestamps for VFR, so they are continuous despite dropped frames.
This fixes issues with jerky video when using VFR together with B-frames.

git-svn-id: svn://localhost/HandBrake/trunk@1133 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: add outlets for the DRC descriptive labels and disable/enable along with...
dynaflash [Tue, 18 Dec 2007 15:57:16 +0000 (15:57 +0000)]
MacGui: add outlets for the DRC descriptive labels and disable/enable along with the rest of the interface.

git-svn-id: svn://localhost/HandBrake/trunk@1132 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Add Preset Window
dynaflash [Tue, 18 Dec 2007 15:44:42 +0000 (15:44 +0000)]
MacGui: Add Preset Window
- Make the preset description field text wrap.

git-svn-id: svn://localhost/HandBrake/trunk@1131 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Queue Update - thanks travistex
dynaflash [Mon, 17 Dec 2007 16:25:38 +0000 (16:25 +0000)]
MacGui: Queue Update - thanks travistex
- The primary change is that HBJob now copies the relevant fields out of hb_job_s that it needs. It no longer keeps a pointer reference to libhb's job.
- The only time the queue looks at libhb's jobs is when scanning the job list in order to build of the GUI queue display.
- Removed all uses of hb_current_job().
- Canceled jobs now stay listed in the queue, with a canceled icon.

git-svn-id: svn://localhost/HandBrake/trunk@1130 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMissed trunk makefile when checking in 1109
sr55 [Fri, 14 Dec 2007 19:23:47 +0000 (19:23 +0000)]
Missed trunk makefile when checking in 1109

git-svn-id: svn://localhost/HandBrake/trunk@1129 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 14 Dec 2007 16:51:42 +0000 (16:51 +0000)]
WinGui:
- Removed some old CLI handler files that were never completed.
- Removed Quickstart Window along with some redundant code.
- Removed the Query Editor tab as it is no longer really needed.
- Removed CRF option as this is now the default.
- Removed DRC Checkbox. The slider is now used for activation.
- Few changes to the Naming of GUI items to match the MacGUI.
- Warnings about no source / destination removed from  Save/open presets and set default options. Will only appear on Queue and Encode buttons now.
- Fixed autonaming issue where it was enabled even when it was disabled.
- Added option to the Tools menu to display the current CLI query. This may be useful now that the Query editor tab is gone.
- Options window design tweaked.

git-svn-id: svn://localhost/HandBrake/trunk@1128 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: HTTP optimized mp4 implementation
dynaflash [Fri, 14 Dec 2007 16:19:46 +0000 (16:19 +0000)]
MacGui: HTTP optimized mp4 implementation
- New checkbox to enable http optimized mp4's
- Shows/Hides depending on the "format" selection
- Presets use new objectForKey:@"Mp4HttpOptimize"
- Also renamed the outlet for 64 bit mp4's to more descriptive "fDstMp4LargeFileCheck"

git-svn-id: svn://localhost/HandBrake/trunk@1127 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: DRC Slider minor visual fix
dynaflash [Thu, 13 Dec 2007 16:43:49 +0000 (16:43 +0000)]
MacGui: DRC Slider minor visual fix
- fix spacing in 2.0 (Loud) and 3.0 (Louder)
- Gee, thanks superdump ;)

git-svn-id: svn://localhost/HandBrake/trunk@1126 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: DRC Slider Enhancements
dynaflash [Thu, 13 Dec 2007 16:26:40 +0000 (16:26 +0000)]
MacGui: DRC Slider Enhancements
- Add some description to the slider settings to help users
- 1.0 (Off) 2.0 (Loud) 3.0 (Louder) 4.0 (Loudest)
- Also changed slider so tickmarks are on the bottom and tickmarks are only shown for each .50

git-svn-id: svn://localhost/HandBrake/trunk@1125 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoOnly call the dynamic range compression function when the user-inputted value is...
jbrjake [Thu, 13 Dec 2007 15:24:42 +0000 (15:24 +0000)]
Only call the dynamic range compression function when the user-inputted value is greater than 1, rather than non-zero. This prevents calling the function when it's only going to return the default values anyway.

git-svn-id: svn://localhost/HandBrake/trunk@1124 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMPEG-2 stream reading fixes for missing audio, multiple audio tracks, language codes...
jbrjake [Thu, 13 Dec 2007 14:20:17 +0000 (14:20 +0000)]
MPEG-2 stream reading fixes for missing audio, multiple audio tracks, language codes, reading streams larger than 2GB, and incorrect title numbers. This vastly expands HandBrake's TS/PS compatibility. Thanks, van!

git-svn-id: svn://localhost/HandBrake/trunk@1123 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoUpdates manicure for the new default CRF setting in the CLI, so it doesn't add a -Q.
jbrjake [Thu, 13 Dec 2007 13:55:56 +0000 (13:55 +0000)]
Updates manicure for the new default CRF setting in the CLI, so it doesn't add a -Q.

git-svn-id: svn://localhost/HandBrake/trunk@1122 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoCLI: Makes CRF (constant rate factor) the default constant quality mode, instead...
jbrjake [Thu, 13 Dec 2007 02:29:29 +0000 (02:29 +0000)]
CLI: Makes CRF (constant rate factor) the default constant quality mode, instead of CQP (constant quantization parameter). This means the -Q short option now turns CQP on and CRF off, whereas up until now it did the reverse. The long option has accordingly changed from --crf to --cqp.

( CRF has been the default in the MacGui since r526 )

git-svn-id: svn://localhost/HandBrake/trunk@1121 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Presets (code cleanup)
dynaflash [Wed, 12 Dec 2007 19:27:19 +0000 (19:27 +0000)]
MacGui: Presets (code cleanup)
- Remove unneeded conditional in -selectPreset used to test if the old NSTableView was enabled or not.

git-svn-id: svn://localhost/HandBrake/trunk@1120 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Presets Drawer improvements
dynaflash [Wed, 12 Dec 2007 18:49:10 +0000 (18:49 +0000)]
MacGui: Presets Drawer improvements
- Get rid of useless NSTabView
- Rearrange NSOutlineView so full size is visible, also make 100 px taller
- Also made changing the drc slider change the Output from the preset name to Custom, like the other controls do.
- Moved -audioDRCSliderChanged from the video controls to the "GUI Controls Changed" section of controller.mm

git-svn-id: svn://localhost/HandBrake/trunk@1119 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Dynamic Range Control implemented in the audio tab of the main window.
dynaflash [Wed, 12 Dec 2007 16:05:59 +0000 (16:05 +0000)]
MacGui: Dynamic Range Control implemented in the audio tab of the main window.
- represented by a slider indicating value from 1.0 to 4.0
- Defaults to 1.0
- Granularity of 1/100
- Implemented in presets
- If key for drc is not present, preset will automatically return it to its default of 1.0

git-svn-id: svn://localhost/HandBrake/trunk@1118 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoOoops -- when copying and pasting code snippets, it helps to have the right types.
jbrjake [Wed, 12 Dec 2007 15:55:35 +0000 (15:55 +0000)]
Ooops -- when copying and pasting code snippets, it helps to have the right types.

git-svn-id: svn://localhost/HandBrake/trunk@1117 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoDon't copy the frame before passing it to x264, let x264 look directly into our HB...
eddyg [Wed, 12 Dec 2007 01:05:02 +0000 (01:05 +0000)]
Don't copy the frame before passing it to x264, let x264 look directly into our HB buffer instead. x264 will copy the data from it as required.

git-svn-id: svn://localhost/HandBrake/trunk@1116 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Update Presets to use NSOutlineView and change the associated methods to...
dynaflash [Mon, 10 Dec 2007 19:01:04 +0000 (19:01 +0000)]
MacGui: Update Presets to use NSOutlineView and change the associated methods to support the NSOutlineView delegate required methods.
- Change necessary to move to nested presets.
- Layout still to be determined
- Method to actually change the setting for the preset changed from -tableViewSelected to more appropriate -presetSelected in Controller.mm

git-svn-id: svn://localhost/HandBrake/trunk@1115 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoCli:
sr55 [Mon, 10 Dec 2007 01:41:34 +0000 (01:41 +0000)]
Cli:
Chapter markers with csv file input fixed.

git-svn-id: svn://localhost/HandBrake/trunk@1114 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Sun, 9 Dec 2007 22:16:16 +0000 (22:16 +0000)]
WinGui:
- Removed extra folder.png file from the Resources
- Added support for Dynamic Range compression on a scale of 1 to 4.

git-svn-id: svn://localhost/HandBrake/trunk@1113 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: cosmetic changes for the advanced x264opts controller source code. Replaces...
jbrjake [Sun, 9 Dec 2007 16:56:07 +0000 (16:56 +0000)]
MacGui: cosmetic changes for the advanced x264opts controller source code. Replaces hard tabs with soft, clears up some issues with over-indentation. The file's still a total mess, of course.

git-svn-id: svn://localhost/HandBrake/trunk@1112 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoCosmetic changes for the presets. Alphabetical sorting, no more hard tabs, and extra...
jbrjake [Sun, 9 Dec 2007 16:30:50 +0000 (16:30 +0000)]
Cosmetic changes for the presets. Alphabetical sorting, no more hard tabs, and extra white space.

git-svn-id: svn://localhost/HandBrake/trunk@1111 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoAdds a preset for the 360, accounts for filters in the presets, updates manicure...
jbrjake [Sat, 8 Dec 2007 21:43:00 +0000 (21:43 +0000)]
Adds a preset for the 360, accounts for filters in the presets, updates manicure.rb formatting, removes from the presets the keyint stuff that's now handled in encx264.c, and slightly tweaks the x264 options of a few presets. Also, Animation and Television now use slower deinterlacing, and the latter uses weak denoising as well. Not sure why the @tv preset used trellis=2, brought that down to 1.

git-svn-id: svn://localhost/HandBrake/trunk@1110 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoUpdated jamfile to fix a small compile issue with zlib
sr55 [Sat, 8 Dec 2007 20:49:54 +0000 (20:49 +0000)]
Updated jamfile to fix a small compile issue with zlib
Updated makefiles to support cygwin building on platforms other than XP

git-svn-id: svn://localhost/HandBrake/trunk@1109 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoAdds extra, user-selectable dynamic range compression to the liba52 interface, making...
jbrjake [Sat, 8 Dec 2007 18:15:38 +0000 (18:15 +0000)]
Adds extra, user-selectable dynamic range compression to the liba52 interface, making softer sounds louder. Based on code from liba52's A52Decoder, used in Perian's preferences pane. Set with a job->dynamic_range_compression float, with valid values being 1.0 - 4.0.

Controlled from the CLI with --dynamic-range-compression or -D.

git-svn-id: svn://localhost/HandBrake/trunk@1108 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 7 Dec 2007 22:03:24 +0000 (22:03 +0000)]
WinGui:
- Implemented Auto File naming option. Can be enabled from Tools > Options
- Implemented Auto Select Subtitle feature for Forced Subtitles.

git-svn-id: svn://localhost/HandBrake/trunk@1107 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoAdds parsing of picture filter settings.
jbrjake [Fri, 7 Dec 2007 18:42:14 +0000 (18:42 +0000)]
Adds parsing of picture filter settings.

git-svn-id: svn://localhost/HandBrake/trunk@1106 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: fix a bracket on same line screw up from the last commit.
dynaflash [Fri, 7 Dec 2007 18:30:19 +0000 (18:30 +0000)]
MacGui: fix a bracket on same line screw up from the last commit.

git-svn-id: svn://localhost/HandBrake/trunk@1105 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: fix issue in which picture settings filters in presets would'nt set to "off...
dynaflash [Fri, 7 Dec 2007 18:26:08 +0000 (18:26 +0000)]
MacGui: fix issue in which picture settings filters in presets would'nt set to "off" if the preset didnt have the key for that filter.
- If a filter is not detected in the preset, the preset will assume it should be set to Off or None as the case may be.

git-svn-id: svn://localhost/HandBrake/trunk@1104 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 7 Dec 2007 18:23:18 +0000 (18:23 +0000)]
WinGui:
- Fixed the resolution handling code that got broken in the previous checkin

git-svn-id: svn://localhost/HandBrake/trunk@1103 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 7 Dec 2007 12:58:43 +0000 (12:58 +0000)]
WinGui:
- Update check on start-up moved onto a separate thread. Start-up should now be significantly faster. It will no longer stall if the server is slow responding.
- Sparkle style Updater now appears on start-up if an update exists rather than just a text label.
- Main form frmMain has been re-arranged slightly. Resolution boxes and Aspect ratio have been moved onto the picture settings tab. (Allows for more space on the tabbed portion of the window. Audio Tab has been re-arranged.
- Picture cropping text boxes have been changed to numeric boxes.
- Support for 2nd Audio track has been added.
- Support for Forced Subtitles has been added.

git-svn-id: svn://localhost/HandBrake/trunk@1102 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Thu, 6 Dec 2007 14:17:39 +0000 (14:17 +0000)]
WinGui:
- Fixed small text label position issue in the queue.

git-svn-id: svn://localhost/HandBrake/trunk@1101 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Thu, 6 Dec 2007 14:14:25 +0000 (14:14 +0000)]
WinGui:
- Fixed bug in Query Parser in relation to Titles (Error when 1 was set to auto)
- Added Batch Script creation option on the Queue.
- Added Toolbar to the queue (similar to the MacGui) and removed some old style buttons that are now on the toolbar.

git-svn-id: svn://localhost/HandBrake/trunk@1100 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Increase Presets Drawer width to 200 px to make room for nested presets.
dynaflash [Thu, 6 Dec 2007 13:25:57 +0000 (13:25 +0000)]
MacGui: Increase Presets Drawer width to 200 px to make room for nested presets.

git-svn-id: svn://localhost/HandBrake/trunk@1099 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Built-In Presets moved to new class: HBPresets
dynaflash [Wed, 5 Dec 2007 17:08:32 +0000 (17:08 +0000)]
MacGui: Built-In Presets moved to new class: HBPresets
- Built In Presets are now created and defined in the methods in HBPresets.h and HBPresets.m
- May move other preset methods here in the future as well.
- Updated Jamfile as appropriate

git-svn-id: svn://localhost/HandBrake/trunk@1098 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Scanning progress bar now shows as indeterminate (barber pole) as for some...
dynaflash [Tue, 4 Dec 2007 17:06:56 +0000 (17:06 +0000)]
MacGui: Scanning progress bar now shows as indeterminate (barber pole) as for some reason its progress is not reported since moving to leopard.
- Also added a new scanning message right when we call hb_scan for quicker feedback, especially when opening a new source while encoding another one.

git-svn-id: svn://localhost/HandBrake/trunk@1097 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Increase size of main window by 200 px wide and 50 px high.
dynaflash [Mon, 3 Dec 2007 19:23:08 +0000 (19:23 +0000)]
MacGui: Increase size of main window by 200 px wide and 50 px high.
- This should offer more room as we desperately need it.
- Should still offer compatibility with 1280 x 1024 display with the presets drawer open and a dock on either the bottom or side
- Also added more granularity to the Constant Quality slider, now can choose any whole percentage instead of just even.

git-svn-id: svn://localhost/HandBrake/trunk@1096 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Mon, 3 Dec 2007 11:21:51 +0000 (11:21 +0000)]
WinGui:
- Fixed Exception when only single chapter was added to the queue

git-svn-id: svn://localhost/HandBrake/trunk@1095 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoPatch liba52's downmixer to apply bias when going from 5.1 to Pro Logic 2, per rev49...
jbrjake [Sun, 2 Dec 2007 19:14:12 +0000 (19:14 +0000)]
Patch liba52's downmixer to apply bias when going from 5.1 to Pro Logic 2, per rev49 of a52codec (thanks for the fix, gbooker!).

This will make dpl2 downmixes play at a louder, more natural volume.

git-svn-id: svn://localhost/HandBrake/trunk@1094 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Sat, 1 Dec 2007 18:41:27 +0000 (18:41 +0000)]
WinGui:
- Optimize MP3 and iPod Atom check boxes implemented.
- Cleaned up a few if statements by removing unneeded brackets.

git-svn-id: svn://localhost/HandBrake/trunk@1093 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Sat, 1 Dec 2007 16:07:22 +0000 (16:07 +0000)]
WinGui:
- Fixed HandBrake CLI process priority level not getting set correctly.

git-svn-id: svn://localhost/HandBrake/trunk@1092 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Sat, 1 Dec 2007 00:09:00 +0000 (00:09 +0000)]
WinGui:
- Added VFR and Loose Anamorphic Check boxes.
- Added placeholder widgets for Optimise MP4 and iPod Atom Check boxes

git-svn-id: svn://localhost/HandBrake/trunk@1091 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 30 Nov 2007 23:18:40 +0000 (23:18 +0000)]
WinGui:
- Changed the presets to a treeview. This will allow presets to have child nodes for additional future presets.

git-svn-id: svn://localhost/HandBrake/trunk@1090 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 30 Nov 2007 22:01:56 +0000 (22:01 +0000)]
WinGui:
- Fixed small issue with the chapter display on the current job.

git-svn-id: svn://localhost/HandBrake/trunk@1089 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMac: Change the default configuration to Deployment, was switched to Development...
ritsuka [Fri, 30 Nov 2007 19:47:44 +0000 (19:47 +0000)]
Mac: Change the default configuration to Deployment, was switched to Development in 1080.
Fix some version numbers in other configurations.

git-svn-id: svn://localhost/HandBrake/trunk@1088 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoFix Solaris 10 compilation in new version of x264 with modified patch file
eddyg [Thu, 29 Nov 2007 21:56:21 +0000 (21:56 +0000)]
Fix Solaris 10 compilation in new version of x264 with modified patch file

git-svn-id: svn://localhost/HandBrake/trunk@1087 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Split Picture settings for new preset up into Size and Filters and add VFR...
dynaflash [Thu, 29 Nov 2007 19:50:24 +0000 (19:50 +0000)]
MacGui: Split Picture settings for new preset up into Size and Filters and add VFR to presets
- New Add preset Panel
- Now can specify how preset uses picture sizing (includes height, width, keep ar, anamorphic and cropping) separately from whether or not it uses Picture Filters (currently includes Deinterlace, Detelecine, VFR, Denoise, and Deblock (pp7) )
- Allows for greater flexibility in setting up your presets

git-svn-id: svn://localhost/HandBrake/trunk@1086 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Thu, 29 Nov 2007 18:52:55 +0000 (18:52 +0000)]
WinGui:
- Cleaned up some tab indexes on the main window

git-svn-id: svn://localhost/HandBrake/trunk@1085 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoGives the CLI a separate option for adding the iPod UUID atom to mp4 files, instead...
jbrjake [Wed, 28 Nov 2007 20:40:47 +0000 (20:40 +0000)]
Gives the CLI a separate option for adding the iPod UUID atom to mp4 files, instead of it just being a side-effect of using the x264b30 encoder. It's called with -I or --ipod-atom .

git-svn-id: svn://localhost/HandBrake/trunk@1084 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGUI: Fix a warning on 10.5
ritsuka [Wed, 28 Nov 2007 19:48:43 +0000 (19:48 +0000)]
MacGUI: Fix a warning on 10.5

git-svn-id: svn://localhost/HandBrake/trunk@1083 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Fix some warnings for compiling in 10.5
dynaflash [Wed, 28 Nov 2007 19:25:09 +0000 (19:25 +0000)]
MacGui: Fix some warnings for compiling in 10.5
- Fix NSMenuItem warnings in -audioPopupChanged in Controller.mm
- Fix cString warning in HBDVDDetectore.m

git-svn-id: svn://localhost/HandBrake/trunk@1082 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Tue, 27 Nov 2007 21:27:19 +0000 (21:27 +0000)]
WinGui:
- Removed some duplicate code and fixed a few small bugs.
- Changed the layout of the code slightly.
- Changed the DVD parser to use verbose CLI which can be displayed on the DVD information log page.

git-svn-id: svn://localhost/HandBrake/trunk@1081 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoNew build configuration for xcode: Deployment 10.4. Right now is only useful to build...
ritsuka [Tue, 27 Nov 2007 11:03:55 +0000 (11:03 +0000)]
New build configuration for xcode: Deployment 10.4. Right now is only useful to build HandBrake on Tiger.

git-svn-id: svn://localhost/HandBrake/trunk@1080 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGUI: Added a little macro in PictureGLView to make it compiles on Tiger again.
ritsuka [Tue, 27 Nov 2007 10:01:02 +0000 (10:01 +0000)]
MacGUI: Added a little macro in PictureGLView to make it compiles on Tiger again.

git-svn-id: svn://localhost/HandBrake/trunk@1079 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoFix Previous Bad Commit (1077)
dynaflash [Mon, 26 Nov 2007 16:22:15 +0000 (16:22 +0000)]
Fix Previous Bad Commit (1077)
Mac OSX 10.5 Leopard / Xcode 3 Compatibility
- Builds using jam on Leopard with Xcode 3 using the 10.5 sdk
- Will NOT build on Tiger. Leopard only.
- Contrib packs are not updated. Jam build only for now.

git-svn-id: svn://localhost/HandBrake/trunk@1078 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMac OSX 10.5 Leopard / Xcode 3 Compatibility
dynaflash [Mon, 26 Nov 2007 16:19:28 +0000 (16:19 +0000)]
Mac OSX 10.5 Leopard / Xcode 3 Compatibility
- Builds using jam on Leopard with Xcode 3 using the 10.5 sdk
- Will NOT build on Tiger. Leopard only.
- Contrib packs are not updated. Jam build only for now.

git-svn-id: svn://localhost/HandBrake/trunk@1077 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Fri, 23 Nov 2007 13:18:59 +0000 (13:18 +0000)]
WinGui:
- Fixed small bug in the query parser.

git-svn-id: svn://localhost/HandBrake/trunk@1076 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoUpdates the copy of x264 HandBrake uses to r700, bringing with it, among other goodie...
jbrjake [Wed, 21 Nov 2007 19:29:29 +0000 (19:29 +0000)]
Updates the copy of x264 HandBrake uses to r700, bringing with it, among other goodies, Mac OS X 10.5 x86_64 support and massive AltiVec enhancements for PPC. Also updates the adaptive quantizer patch to the latest version, fixing conflicts with b-rdo.

NOTE: Contrib packs are not updated. Build with jam, not make, for now.

git-svn-id: svn://localhost/HandBrake/trunk@1075 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoOptimize MP4 files for HTTP streaming (on the CLI it's -O or --optimize).
jbrjake [Wed, 21 Nov 2007 17:41:33 +0000 (17:41 +0000)]
Optimize MP4 files for HTTP streaming (on the CLI it's -O or --optimize).
Has mpeg4ip run a second pass after muxing is complete, to move the MOOV atom to the beginning of the file. To get this to work, I had to replace a patch from Perian, which has written the avc1 "Compressor Name" in the Pascal string style QuickTime expects. Unfortunately, that patch left mpeg4ip unable to parse its own output, when muxing x264 video. Instead, now the Compressor Name is a blank string, and QuickTime substitutes "H.264" for it.

NOTE: This is *not* hinting for RTP streaming, just shuffling the container around so it starts playing faster over the web.

git-svn-id: svn://localhost/HandBrake/trunk@1074 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: fix open last used source directory. broken in rev. 1067
dynaflash [Wed, 21 Nov 2007 15:42:00 +0000 (15:42 +0000)]
MacGui: fix open last used source directory. broken in rev. 1067
- Fix issue since 1067 where open the browse window to scan a new source would just default to "/" instead of the last chosen source directory.

git-svn-id: svn://localhost/HandBrake/trunk@1073 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Wed, 21 Nov 2007 14:50:50 +0000 (14:50 +0000)]
WinGui:
- Cleaned up the status update code for the splash screen.
- Added option to turn off automatic preset update on each launch.
- Removed some unneeded variables.

git-svn-id: svn://localhost/HandBrake/trunk@1072 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoFix the Linux Qt4 UI build.
clee [Mon, 19 Nov 2007 19:55:55 +0000 (19:55 +0000)]
Fix the Linux Qt4 UI build.

git-svn-id: svn://localhost/HandBrake/trunk@1071 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Mon, 19 Nov 2007 19:21:53 +0000 (19:21 +0000)]
WinGui:
- About window text cut down. Had some useless information.
- New "sparkle"-like update manager.
- Misc Other small updates and fixes.

git-svn-id: svn://localhost/HandBrake/trunk@1070 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoExit gracefully when trying to ifoOpen a title with no VTS entry, instead of crashing...
jbrjake [Mon, 19 Nov 2007 17:41:47 +0000 (17:41 +0000)]
Exit gracefully when trying to ifoOpen a title with no VTS entry, instead of crashing with a bus error.

git-svn-id: svn://localhost/HandBrake/trunk@1069 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Mon, 19 Nov 2007 17:15:56 +0000 (17:15 +0000)]
WinGui:
- Reverted Queue listview to listbox. Listview had a character limitation that could not be worked around.

git-svn-id: svn://localhost/HandBrake/trunk@1068 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: add "Open Source (Specify Title)" feature
dynaflash [Mon, 19 Nov 2007 16:15:40 +0000 (16:15 +0000)]
MacGui: add "Open Source (Specify Title)" feature
- Optional way to open your source and specify scanning a specific title only ala the cli.
- Should help with sources that tend to crash the macgui while scanning the entire source
- Only available via the file menu as an additional menu item
- All other open source methods are left untouched so to the average user the gui behaves as before.
- In the process eliminated unnecessary -showSourceScanPanel method which simply called -browseSources, now all gui widgets call -browseSources directly

git-svn-id: svn://localhost/HandBrake/trunk@1067 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGui:
sr55 [Sun, 18 Nov 2007 23:09:49 +0000 (23:09 +0000)]
WinGui:
- Changed Queue to a listview.
- Added human readable encode information for the item currently encoding.
- Window design improved.

git-svn-id: svn://localhost/HandBrake/trunk@1066 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWinGUI:
sr55 [Fri, 16 Nov 2007 22:49:34 +0000 (22:49 +0000)]
WinGUI:
- Image file updated in about window (due to removal of images folder)
- frmDvdInfo has few small design tweaks
- Few fixes in the Query Parser
- Build number added to application Settings.Designer.

git-svn-id: svn://localhost/HandBrake/trunk@1065 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMoves the readout of applied x264 options from test.c to work.c, so the MacGui can...
jbrjake [Fri, 16 Nov 2007 16:21:16 +0000 (16:21 +0000)]
Moves the readout of applied x264 options from test.c to work.c, so the MacGui can see it.

git-svn-id: svn://localhost/HandBrake/trunk@1064 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Activity Log
dynaflash [Fri, 16 Nov 2007 13:17:00 +0000 (13:17 +0000)]
MacGui:  Activity Log
- Add "Clear Log" to the activity window contextual menu
- Clears the log and prints a new date/time header in the log
- Useful for starting a new log without having to relaunch HB.

git-svn-id: svn://localhost/HandBrake/trunk@1063 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMinor preset changes:
jbrjake [Thu, 15 Nov 2007 20:10:16 +0000 (20:10 +0000)]
Minor preset changes:
- Removes chapter markers from PS3
- Moves the high profile presets to 16 B-frames (adaptive)
- Gets rid of erroneous audio bitrate and samplerate during ac3 pass-thru
- Removes 8x8dct from the QuickTime preset
- Drops Film to 1800kb/s

git-svn-id: svn://localhost/HandBrake/trunk@1062 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoMacGui: Move app support directory check to -init in controller.mm
dynaflash [Thu, 15 Nov 2007 14:48:16 +0000 (14:48 +0000)]
MacGui: Move app support directory check to -init in controller.mm
- Makes ~/Library/Application Support/HandBrake available to HBOutputPanelController immediately
- Elimates duplicate code to check for app support directory for both the presets as well as the activity log (as well as any other future features that will require this directory)
- Also fixed issue where clicking "Discard" in the update alert closes the main window and won't let it come back (this will be totally unnecessary once the Sparkle update system is implemented).

git-svn-id: svn://localhost/HandBrake/trunk@1061 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoAdds a scripts directory to the repository.
jbrjake [Wed, 14 Nov 2007 23:33:00 +0000 (23:33 +0000)]
Adds a scripts directory to the repository.
Manicure is a Ruby script to parse MacGui presets and translate them to other formats.

git-svn-id: svn://localhost/HandBrake/trunk@1060 b64f7644-9d1e-0410-96f1-a4d463321fa5