summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Structural changes:jbrjake2008-01-051-84/+111
| | | | | | | | | - Gets rid of global and class variables - Moves CLI option parsing to its own method - Moves output display to its own class - Removes unnecessary temporary hashes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1165 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fill in the "Encoded By:" tag in MP4 files with "HandBrake" followed by the ↵jbrjake2008-01-041-0/+7
| | | | | | version number and build date. Thanks for making me aware that libmp4v2 had an MP4SetMetadataTool() function, realityking. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1164 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add me per jbrjake's request to check svn accountvan2008-01-041-0/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1163 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change url to check LATEST file to "handbrake.fr" dynaflash2008-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1162 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Loose Anamorphic initial implementationdynaflash2008-01-0310-211/+325
| | | | | | | | | | - Changes the PAR checkbox to an anamorphic NSPopUp Button with "None", "Strict", and "Loose". - Sanity checks against the ffmpeg encoder, until that gets fixed. - removed six unneeded outlets for picture sizing in Controller.mm. - Previous presets will gracefully degrade to us "Strict" if anamorphic is specified. - I know about the bug where the picture window changes size on the first width drop when resizing Loose Anamorphic, so dont ask ;) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-01-026-34/+63
| | | | | | | - Chapters.csv and dvdinfo.dat are now saved in the windows temporary folder. This should mean the application doesn't need admin rights on Vista. Thanks to "doubt" for the patch. - Few UI theme tweaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1160 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Program Streams: Vans patch to set a fake duration for program streams.dynaflash2008-01-011-5/+5
| | | | | | Thanks Van! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1159 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Only drop frames when using VFR, not with regular detelecine.jbrjake2008-01-011-2/+6
| | | | | | *facepalm* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1158 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-311-7/+1
| | | | | | - Very small checking to improve the development expire code. (and for testing the irc bot) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1157 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Enable opening up .eyetv packages directlydynaflash2007-12-311-12/+59
| | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1156 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Program Stream Enhancements - Van: Libhbdynaflash2007-12-314-239/+213
| | | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1155 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixes a typo in MP4 chapter marker durations. Thanks, van!jbrjake2007-12-291-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1154 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Extends hb_set_anamorphic_size() to make it possible to do "dry-runs"...this ↵jbrjake2007-12-283-40/+63
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1153 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Better b-frame muxing. Instead of using an arbitrarily long offset and then ↵jbrjake2007-12-283-39/+46
| | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1152 b64f7644-9d1e-0410-96f1-a4d463321fa5
* "Great! Where are we going?"jbrjake2007-12-281-2/+2
| | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1151 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patches mpeg4ip's build script so it doesn't check for libmp4v2 ↵jbrjake2007-12-282-1/+17
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1150 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated makefile for cygwin buildssr552007-12-271-9/+14
| | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Maintain Picture Filters state across sourcesdynaflash2007-12-263-22/+36
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1148 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-2433-5/+213
| | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1147 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a bunch of code comments to the x264 option controller, in order to ↵jbrjake2007-12-211-27/+147
| | | | | | make reading the file slightly less of an exercise in masochism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1146 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-2110-726/+190
| | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1145 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-214-8/+14
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1144 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-212-4/+1
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1143 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-201-76/+18
| | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1142 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-2019-284/+133
| | | | | | - Some more code code cleanup done. Nothing major. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1141 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-203-806/+821
| | | | | | - Moved alot of functions in frmMain.cs into their own class (common.cs) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1140 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_log should not be used outside of HB Lib, it's private to HB, using eddyg2007-12-201-1/+1
| | | | | | | so causes an undeclared symbol warning. In test.c fprintf should be used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1139 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-195-149/+73
| | | | | | | - Some more code clean up - Fixed: Skipped button not working on update checker. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1138 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-1912-130/+39
| | | | | | - Some code clean up + removal of old unused code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1137 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: DRC slider modificationsdynaflash2007-12-191-9/+7
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1136 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-191-3/+11
| | | | | | - 2 Small fixes to the new Chapters tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-194-306/+434
| | | | | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1134 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Renumber start and stop timestamps for VFR, so they are continuous despite ↵jbrjake2007-12-181-2/+30
| | | | | | | | dropped frames. This fixes issues with jerky video when using VFR together with B-frames. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1133 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add outlets for the DRC descriptive labels and disable/enable along ↵dynaflash2007-12-185-2/+15
| | | | | | with the rest of the interface. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1132 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Preset Windowdynaflash2007-12-182-1/+1
| | | | | | - Make the preset description field text wrap. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Update - thanks travistexdynaflash2007-12-178-307/+445
| | | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1130 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Missed trunk makefile when checking in 1109sr552007-12-141-95/+95
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1129 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-1414-1078/+442
| | | | | | | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1128 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: HTTP optimized mp4 implementationdynaflash2007-12-145-22/+46
| | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1127 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: DRC Slider minor visual fixdynaflash2007-12-132-3/+1
| | | | | | | - fix spacing in 2.0 (Loud) and 3.0 (Louder) - Gee, thanks superdump ;) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: DRC Slider Enhancementsdynaflash2007-12-132-1/+1
| | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1125 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Only call the dynamic range compression function when the user-inputted ↵jbrjake2007-12-131-1/+1
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1124 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MPEG-2 stream reading fixes for missing audio, multiple audio tracks, ↵jbrjake2007-12-135-193/+318
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1123 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updates manicure for the new default CRF setting in the CLI, so it doesn't ↵jbrjake2007-12-131-3/+3
| | | | | | add a -Q. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1122 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Makes CRF (constant rate factor) the default constant quality mode, ↵jbrjake2007-12-131-4/+4
| | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1121 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets (code cleanup)dynaflash2007-12-121-254/+248
| | | | | | - Remove unneeded conditional in -selectPreset used to test if the old NSTableView was enabled or not. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1120 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets Drawer improvementsdynaflash2007-12-123-7/+8
| | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1119 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Dynamic Range Control implemented in the audio tab of the main window.dynaflash2007-12-125-7/+38
| | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Ooops -- when copying and pasting code snippets, it helps to have the right ↵jbrjake2007-12-121-1/+1
| | | | | | types. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't copy the frame before passing it to x264, let x264 look directly into ↵eddyg2007-12-121-7/+20
| | | | | | our HB buffer instead. x264 will copy the data from it as required. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1116 b64f7644-9d1e-0410-96f1-a4d463321fa5