OSDN Git Service

handbrake-jp/handbrake-jp-git.git
17 years agoUpdated BUILD to include information about the updated version of libtool, autoconf...
maurj [Fri, 4 May 2007 19:53:10 +0000 (19:53 +0000)]
Updated BUILD to include information about the updated version of libtool, autoconf and automake needed to jam libdca on Mac OS X.  Updated AUTHORS to give me credit for the DTS integration, and updated CREDITS to give credit to the libdca authors.

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

17 years agoEnabled DTS channel mixdowns by moving to a more generic input channel layout set...
maurj [Fri, 4 May 2007 17:23:47 +0000 (17:23 +0000)]
Enabled DTS channel mixdowns by moving to a more generic input channel layout set of constants.  Updated Controller.mm to use these generic input layout constants when deciding which mixdowns to offer.

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

17 years agoTells x264 to use threads=cpus*1.5 instead of threads=cpus. This is because x264...
jbrjake [Wed, 2 May 2007 23:26:18 +0000 (23:26 +0000)]
Tells x264 to use threads=cpus*1.5 instead of threads=cpus. This is because x264 implemented sliceless threading since we last updated the revision we use. The codec now works best with more threads than processors, as odd as that seems at first blush.

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

17 years agoUpdates the Mac OS X contrib binary version to 0013, which includes x264 r654.
jbrjake [Wed, 2 May 2007 23:15:35 +0000 (23:15 +0000)]
Updates the Mac OS X contrib binary version to 0013, which includes x264 r654.

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

17 years agoUpdated contrib binary pack with x264-r654 and libdca
sr55 [Wed, 2 May 2007 18:56:44 +0000 (18:56 +0000)]
Updated contrib binary pack with x264-r654 and libdca

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

17 years agoUpdates x264 from r604 to r654, giving HandBrake sliceless threading, among other...
jbrjake [Wed, 2 May 2007 16:58:15 +0000 (16:58 +0000)]
Updates x264 from r604 to r654, giving HandBrake sliceless threading, among other things. Updates the MacIntel patch to continue working (needs testing), comments out the Linux patch since it seems all its changes have been merged into the x264 source (needs testing). New Mac and Cygwin contrib binary packs will have to be made.

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

17 years agoUpdated the CLI makefile to include the new libdca contrib for DTS audio support.
maurj [Wed, 2 May 2007 15:57:49 +0000 (15:57 +0000)]
Updated the CLI makefile to include the new libdca contrib for DTS audio support.

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

17 years agoAdded support for DTS audio. DTS audio streams (of 5.1 audio and below) will be...
maurj [Wed, 2 May 2007 15:56:39 +0000 (15:56 +0000)]
Added support for DTS audio.  DTS audio streams (of 5.1 audio and below) will be detected and decoded.  This requires a new library - libdca (and patch) - which is included (in patched form) in a new version of the pre-built UB Darwin contribs (0012). These have been uploaded to download.m0k.org/handbrake/contrib/ .
I haven't yet added any code to Controller.mm to recognise the DTS streams as supporting mono / 6ch DPL1 / DPL2 downmixes.
Note: running Jam on the new library required me to update some tools on Mac OS X - possibly libtool, autoconf, automake.  Not sure which made the difference, but these were the ones I updated.  it won't jam successfully without this.

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

17 years agoFixed makefile for cygwin. Replaced spaces with tab
sr55 [Wed, 2 May 2007 13:57:56 +0000 (13:57 +0000)]
Fixed makefile for cygwin. Replaced spaces with tab

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

17 years agomacGui: x264 Advanced preset strings, if user has specified a default string in prefs...
dynaflash [Mon, 30 Apr 2007 18:43:16 +0000 (18:43 +0000)]
macGui: x264 Advanced preset strings, if user has specified a default string in prefs, it is used and the most recent one (whether manually entered or from a preset) is not used.

-Built in presets now use all values in their dictionary to make the .plist more compatible for export to the CLI

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

17 years agoMacGui: Advanced Tab initial implementation
dynaflash [Mon, 30 Apr 2007 16:43:50 +0000 (16:43 +0000)]
MacGui: Advanced Tab initial implementation
- Sets groundwork for more robust x264 advanced options implementation
- currently strings are displayed and editable via textfield for x264 encodes
- for right now, the x264 string from preferences is ignored, need to figure out best way to implement that string.
- New Preset now takes the value from that field in advanced, negating the need for the field in "Add new Preset" window.

- NOTE: this also implements the new "Use Picture Settings" in presets to allow for "None", Use Current","Use Max from source".

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

17 years agomacGui: Change the Growl encode done notification to be the same as the onscreen...
dynaflash [Fri, 27 Apr 2007 16:21:38 +0000 (16:21 +0000)]
macGui: Change the Growl encode done notification to be the same as the onscreen notification. Thanks jbrjake!

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

17 years agomacGui: Growl Support initial implementation
dynaflash [Fri, 27 Apr 2007 15:53:56 +0000 (15:53 +0000)]
macGui: Growl Support initial implementation
- include Growl.framework in xcode project
- Growl notify when encode is done
- fix cancelled encode finished bug
- may want a user pref to let them select if they want a notification and what type, on screen or grow. or both
- right now, its both.

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

17 years agomacGui: Encode Done Notification initial implementation
dynaflash [Thu, 26 Apr 2007 16:03:10 +0000 (16:03 +0000)]
macGui: Encode Done Notification initial implementation
- System alert sound as well as an NSAlert window to notify the user their encode is completed.
 - No dock icon bounce yet.

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

17 years agoVarious fixes:
saintdev [Thu, 26 Apr 2007 07:57:59 +0000 (07:57 +0000)]
Various fixes:
- Include parsecsv.c in the Jamfile so we can compile the CLI with Jam
- Quiet some compiler warnings in parsecsv.{c,h}
- Check some return values in muxmp4.c and encfaac.c and die gracefully if there is a problem.
- Correctly set the number of audio channels in the stsd atom.

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

17 years agoMacGui: Presets and Main Menu
dynaflash [Wed, 25 Apr 2007 20:16:32 +0000 (20:16 +0000)]
MacGui: Presets and Main Menu
- Add PSP built in preset for jbrjake ;)
- Move "Presets" main menu item to the left of "Window"

- Use "Update Built-In Presets" to use PSP preset.

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

17 years agoMacGui: Queue modifications
dynaflash [Wed, 25 Apr 2007 18:28:41 +0000 (18:28 +0000)]
MacGui: Queue modifications
- Queue is now integral to encoding
- removed "Enable Queue" Checkbox
- made "Add to Queue" and "Show queue" always usable
- Rip method in controller.mm always calls addToQueue even for one rip, but then automatically rips it.
- Added queue status field.
- fixes bug in 0.8.5 where having queue enabled and clicking rip with nothing in the queue causes HB to do nothing.

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

17 years agoNamed Chapter Markers build fix
dynaflash [Wed, 25 Apr 2007 17:50:05 +0000 (17:50 +0000)]
Named Chapter Markers build fix
- xcode project required to successfully build.
- failed on previous commit.
- This should be last thing for successful build

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

17 years agoFix Previous Bad commit for Cyanders Chapter Markers
dynaflash [Wed, 25 Apr 2007 17:24:58 +0000 (17:24 +0000)]
Fix Previous Bad commit for Cyanders Chapter Markers

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

17 years agoCyanders Named Chapter Markers
dynaflash [Wed, 25 Apr 2007 17:23:20 +0000 (17:23 +0000)]
Cyanders Named Chapter Markers
- Thanks Cyander

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

17 years agoMacGui: Correct Version to 0.8.5b1 in all references to HandBrake.app
dynaflash [Mon, 23 Apr 2007 19:43:14 +0000 (19:43 +0000)]
MacGui: Correct Version to 0.8.5b1 in all references to HandBrake.app
- This corrects the version number in the get info window

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

17 years agoNests the pdf directory inside the doc directory, for the "make release" .dmg
jbrjake [Fri, 20 Apr 2007 18:14:34 +0000 (18:14 +0000)]
Nests the pdf directory inside the doc directory, for the "make release" .dmg

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

17 years agoRemoved rtf changelog as it is not required
sr55 [Fri, 20 Apr 2007 18:09:42 +0000 (18:09 +0000)]
Removed rtf changelog as it is not required

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

17 years agoUpdates "make release" to use proper intercapping (HandBrake not Handbrake) and to...
jbrjake [Fri, 20 Apr 2007 18:03:40 +0000 (18:03 +0000)]
Updates "make release" to use proper intercapping (HandBrake not Handbrake) and to include the pdf manuals in the disk image.

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

17 years agoCredit Nyx's b-frame work
jbrjake [Fri, 20 Apr 2007 17:34:11 +0000 (17:34 +0000)]
Credit Nyx's b-frame work

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

17 years agoTidied up the Mac OS X GUI prefs window layout a bit
maurj [Fri, 20 Apr 2007 17:21:58 +0000 (17:21 +0000)]
Tidied up the Mac OS X GUI prefs window layout a bit

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

17 years agoAUTHORS file claimed to be for "MediaFork previously HandBrake" - changed to just...
maurj [Fri, 20 Apr 2007 17:11:23 +0000 (17:11 +0000)]
AUTHORS file claimed to be for "MediaFork previously HandBrake" - changed to just be HandBrake

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

17 years agoUpdated AUTHORS file to shout about all the extra bits I've added for 0.8.5b1:)
maurj [Fri, 20 Apr 2007 17:08:23 +0000 (17:08 +0000)]
Updated AUTHORS file to shout about all the extra bits I've added for 0.8.5b1:)

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

17 years agoFixed PrefsController.m so that the default prefs are correctly used when a user...
maurj [Fri, 20 Apr 2007 16:50:55 +0000 (16:50 +0000)]
Fixed PrefsController.m so that the default prefs are correctly used when a user has never run HandBrake before.

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

17 years agoGetting the Jamrules and Makefile.config ready for the return of the update checker.
jbrjake [Fri, 20 Apr 2007 16:34:08 +0000 (16:34 +0000)]
Getting the Jamrules and Makefile.config ready for the return of the update checker.
- Ends HB_BUILD with an odd number, denoting an unstable (beta) build
- Updates HB_VERSION in Jamrules to 0.8.5b1
The LATEST file still needs to be iterated on the webserver, after which update checking can be switched on.

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

17 years agoMacGui: update Built-In Presets to all use a 48 khz audio sample rate.
dynaflash [Fri, 20 Apr 2007 13:42:39 +0000 (13:42 +0000)]
MacGui: update Built-In Presets to all use a 48 khz audio sample rate.

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

17 years agoImproved the bitrate in Controller.mm to deal with different bitrates for different...
maurj [Fri, 20 Apr 2007 11:21:31 +0000 (11:21 +0000)]
Improved the bitrate in Controller.mm to deal with different bitrates for different codecs, to avoid disappointed users, and applications crashes.
Instated a max of 320 kbps for MP3, as it won't encode at 384. Instated a min of 48 kbps for Vorbis, as it crashes if anything lower is selected.
Changed the approach to setting and retrieving the bitrates slightly, to use the NSPopUpButton's menuitem tags to store the bitrate for each item (since not all menus will have all items).

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

17 years agoMacGui: Initial implementation of capping avialable bitrates depending on audio track...
dynaflash [Thu, 19 Apr 2007 18:35:49 +0000 (18:35 +0000)]
MacGui: Initial implementation of capping avialable bitrates depending on audio track mixdown
- added AudioTrackMixdownChanged method to controller.mm which evaluates other selections and adjusts available bitrates to choose from
- currently just caps bitrates at 160 for anything other than 6 channel discrete
- 6 channel discrete in either audio track mixdown enables bitrates up to 384.
- Will likely need to add other conditions as well

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

17 years agoSmall change to Controller.mm to ensure that Stereo is offered as a mixdown when...
maurj [Thu, 19 Apr 2007 08:25:59 +0000 (08:25 +0000)]
Small change to Controller.mm to ensure that Stereo is offered as a mixdown when we have a mono audio source but a non-mono-supporting output codec.  Previously, no mixdown was being offered in this situation.

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

17 years agoThis change stops Presets from saving and loading "language / audio format" track...
maurj [Thu, 19 Apr 2007 08:07:53 +0000 (08:07 +0000)]
This change stops Presets from saving and loading "language / audio format" track selections (the "Track 1/2" popups) and mixdowns (the "Track 1/2 Mix" popups) in the Mac OS GUI.  In practice, this was causing more confusion than the default behaviour.

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

17 years agoAdd 384 kbps to Audio Bitrates selection for use with 6 channel discrete
dynaflash [Wed, 18 Apr 2007 19:15:02 +0000 (19:15 +0000)]
Add 384 kbps to Audio Bitrates selection for use with 6 channel discrete
- We still need to filter out which bitrates are available depending on mixdown. Right now, you can select 320 in gui for a stereo track even though libhb limits it to 160, so its misleading.

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

17 years agoMacGui: Added HandBrake Users Guide under the Help menu. Links to our wiki guide.
dynaflash [Wed, 18 Apr 2007 18:44:43 +0000 (18:44 +0000)]
MacGui: Added HandBrake Users Guide under the Help menu. Links to our wiki guide.

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

17 years agoMacGui: Replace the "Rip" button with "Start". As we are generally removing reference...
dynaflash [Wed, 18 Apr 2007 18:16:10 +0000 (18:16 +0000)]
MacGui: Replace the "Rip" button with "Start". As we are generally removing reference to ripping in regard to HandBrake ... even though it sort of still can.

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

17 years agoMacGui: Minor cosmetic changes
dynaflash [Wed, 18 Apr 2007 17:45:02 +0000 (17:45 +0000)]
MacGui: Minor cosmetic changes
- Change preset buttons "+", "-", and drawer toggle buttons to the Small Square type
- Blame jbrjake if you don't like them :)

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

17 years agoMacGui: Cosmetic change and default pref change
dynaflash [Wed, 18 Apr 2007 16:22:51 +0000 (16:22 +0000)]
MacGui: Cosmetic change and default pref change
- Make CRF the default method for Constant Quality encodes
- Change the "Audio" tab to "Audio & Subtitles" so people dont get all in an uproar about where the subtitles are located

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

17 years agoMacGui: Clean up a few things w/x264optstring prefs and presets
dynaflash [Wed, 18 Apr 2007 14:51:38 +0000 (14:51 +0000)]
MacGui: Clean up a few things w/x264optstring prefs and presets
- Change abr of AppleTV built in preset to 2500 kbps
- Note: as usual, after updating your copy, use "Update Built-In Presets" in the presets menu for changes to take effect.
- Fix so that closing picture window does not reset the preset chosen display to "Custom"
- Add a user preference to show or hide the chosen x264 option strings in the main gui window. Defaults to off.

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

17 years agoImproved the Mac OS GUI's handling of language / audio track settings in presets...
maurj [Wed, 18 Apr 2007 11:34:52 +0000 (11:34 +0000)]
Improved the Mac OS GUI's handling of language / audio  track settings in presets.  It is now much better placed to deal with scenarios where the preset's saved language / audio setting doesn't have a match in the selected title's audio list.
So, e.g. if you insert a disk with a title with only mono AC3 tracks, but the preset is "English AC3 5.1", then it will default to selecting the first audio track rather than selecting "None".
In making these changes, I've also added some utility functions to Controller.mm - one to add all audio tracks for a title to a popup menu, and one to select a track in a popup menu based on a search prefix string.  These are really just tidying up what was already there in a reusable way.

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

17 years agoRemoved all references to the old job->surround variable, as it is no longer used...
maurj [Wed, 18 Apr 2007 09:03:46 +0000 (09:03 +0000)]
Removed all references to the old job->surround variable, as it is no longer used.  Also, removed the "Extract 5.1 Dolby Digital to 6-Channel AAC" preference option from the Mac OS GUI prefs window and controller, as it is no longer needed.  It may be worth adding in a new "Default mixdown" preference in its place for a future version of Handbrake?

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

17 years agoMacGui: Picture Preview - Anamorphic
dynaflash [Tue, 17 Apr 2007 16:51:50 +0000 (16:51 +0000)]
MacGui: Picture Preview - Anamorphic
- Properly show the anamorhic height instead of output height.
- This distorts the preview picture in HB's Picture Preview, but is actually correct.

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

17 years agoCleaning up the code a bit.
clee [Tue, 17 Apr 2007 09:38:12 +0000 (09:38 +0000)]
Cleaning up the code a bit.

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

17 years ago64-bit data atoms break some consumer devices. We need to figure out a smarter way...
clee [Tue, 17 Apr 2007 04:11:59 +0000 (04:11 +0000)]
64-bit data atoms break some consumer devices. We need to figure out a smarter way of doing this.

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

17 years agoFix a major memory leak introduced in Nyx's bframe patch.
saintdev [Tue, 17 Apr 2007 02:41:43 +0000 (02:41 +0000)]
Fix a major memory leak introduced in Nyx's bframe patch.

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

17 years agoSuccessfully create MP4 files bigger than 4GB
clee [Mon, 16 Apr 2007 23:03:01 +0000 (23:03 +0000)]
Successfully create MP4 files bigger than 4GB

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

17 years agoPrevents a bus error at the end of muxing when b-frames are enabled.
jbrjake [Mon, 16 Apr 2007 22:50:21 +0000 (22:50 +0000)]
Prevents a bus error at the end of muxing when b-frames are enabled.

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

17 years agoMacGui: Fix Presets mangling the x264 option strings for the umpteenth time.
dynaflash [Mon, 16 Apr 2007 20:59:16 +0000 (20:59 +0000)]
MacGui: Fix Presets mangling the x264 option strings for the umpteenth time.
- Replace the Optional x264 string NSTextView with an NSTextField
- Change when the field is emptied after creation.
- Reset the value of the ChickenSandwich.

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

17 years agoRe-organized so make is the preferred build method, standardized some text layout...
jbrjake [Mon, 16 Apr 2007 17:17:36 +0000 (17:17 +0000)]
Re-organized so make is the preferred build method, standardized some text layout stuff, and removed a stray reference to libmediafork.

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

17 years agoMacGui: Presets Built in changes-
dynaflash [Mon, 16 Apr 2007 17:05:09 +0000 (17:05 +0000)]
MacGui: Presets Built in changes-
-iPod add x264 opt string: "frameref=1:bframes=0:nofast_pskip:subq=6:partitions=p8x8,p8x4,p4x8,i4x4:qcomp=0:me=umh:nodct_decimate", 1500 kbps abr and 48 samplerate and 160 kbps dpl2 audio
- AppleTV add x264 opt string: "bframes=3:ref=1:subme=5:me=umh:no-fast-pskip=1:no-dct-decimate=1:trellis=2"

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

17 years agoMuch better B-frame muxing frame-reordering. This will preserve the sps/pps info...
jbrjake [Mon, 16 Apr 2007 16:58:57 +0000 (16:58 +0000)]
Much better B-frame muxing frame-reordering. This will preserve the sps/pps info, properly offset the first frame, and flush any remaining frames at the end of the encode.

Patch by: Nyx

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

17 years agoFixed a bug in the Mac GUI (Controller.mm), introduced in rev 511, whereby selecting...
maurj [Mon, 16 Apr 2007 10:41:44 +0000 (10:41 +0000)]
Fixed a bug in the Mac GUI (Controller.mm), introduced in rev 511, whereby selecting "none" on an audio popup when "none" was already selected on the other audio popup would cause an infinite loop, leading to a crash.
Changed the audio popup logic in PrepareJob to use the second audio track settings as the first audio track when the first audio track is set to "none" but the second audio track has a source track selected.

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

17 years agoAmended controller.mm to prevent the user from selecting the same audio track twice...
maurj [Mon, 16 Apr 2007 10:10:18 +0000 (10:10 +0000)]
Amended controller.mm to prevent the user from selecting the same audio track twice in the Mac GUI.  This is because we are currently unable to extract the same track twice without ending up with silence in the second audio.
Amended a few calls to AudioTrackPopUpChanged to use the convenience version of this function, which passes in a mixdownToUse value of 0.

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

17 years agoUnbreak the build! Yay. (Should have been part of r508).
clee [Sun, 15 Apr 2007 21:31:00 +0000 (21:31 +0000)]
Unbreak the build! Yay. (Should have been part of r508).

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

17 years agohb_log is for libhb; use fprintf like the rest of the file.
clee [Sun, 15 Apr 2007 08:47:10 +0000 (08:47 +0000)]
hb_log is for libhb; use fprintf like the rest of the file.

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

17 years agoCleaning up some compiler warnings.
clee [Sun, 15 Apr 2007 08:41:11 +0000 (08:41 +0000)]
Cleaning up some compiler warnings.

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

17 years agoBump HB_VERSION to 0.8.5b1 for regular builds, 0.8.5s for snapshot builds
jbrjake [Sat, 14 Apr 2007 17:49:24 +0000 (17:49 +0000)]
Bump HB_VERSION to 0.8.5b1 for regular builds, 0.8.5s for snapshot builds

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

17 years agoPlaced the changelog in the NEWS file.
sr55 [Sat, 14 Apr 2007 13:51:07 +0000 (13:51 +0000)]
Placed the changelog in the NEWS file.

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

17 years agoUpdated links (dynalias to m0k.org) and added some "make" build comments in BUILD...
sr55 [Sat, 14 Apr 2007 13:48:06 +0000 (13:48 +0000)]
Updated links (dynalias to m0k.org) and added some "make" build comments in BUILD for the CYGWIN environment.

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

17 years agoCleaned up the windows changelog and removed some details that really were not required.
sr55 [Sat, 14 Apr 2007 13:40:29 +0000 (13:40 +0000)]
Cleaned up the windows changelog and removed some details that really were not required.

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

17 years agoMacGui: Fix x264 options strings in the queue by implementing patch from Nyx. Thanks...
dynaflash [Fri, 13 Apr 2007 17:26:43 +0000 (17:26 +0000)]
MacGui: Fix x264 options strings in the queue by implementing patch from Nyx. Thanks Nyx!
- x264 options passing to the queue no longer crash HandBrake.

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

17 years agoMacGui: Show x264 options string right under the "Encoder" drop down in main window...
dynaflash [Fri, 13 Apr 2007 14:12:02 +0000 (14:12 +0000)]
MacGui: Show x264 options string right under the "Encoder" drop down in main window if x264 is selected and any advanced x264 options strings are going to be used. This fields reads any in presets and if a preset isnt selected, looks to see if any will be used from the preferences NSTextView.
- Temporary location most likely for debugging
- May move to another location
- May add a preference to toggle this info field on or off ?

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

17 years agoMacGui: Attempt to fix x264 options in Presets.
dynaflash [Thu, 12 Apr 2007 20:31:57 +0000 (20:31 +0000)]
MacGui: Attempt to fix x264 options in Presets.
- Empty the new preset opt string field right after creation.
- Verify new string are created in tact.

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

17 years agoMacGui: Presets - modify built in presets to work with the new audio formats. Make...
dynaflash [Thu, 12 Apr 2007 19:17:59 +0000 (19:17 +0000)]
MacGui: Presets - modify built in presets to work with the new audio formats. Make the x264 option strings available to all x264 profiles instead of just main profile

Built In Preset Changes:
- PS3: Change level to 41, audio one track, 160 kbps DPL2 mixdown
- AppleTV: Change Audio to one track, 160 kbps DPL2 mixdown
- iPod: Change Audio to one track, 128 kbps Stereo Mixdown

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

17 years agoMacGui: Presets now utilize Audio Mixdowns Thanks maurj!
dynaflash [Thu, 12 Apr 2007 18:38:40 +0000 (18:38 +0000)]
MacGui: Presets now utilize Audio Mixdowns Thanks maurj!
- Added second audio track support in presets
- Mixdowns regress gracefully depending on current dvd source
- Source Track 2 sets to "None" if one is specified that doesn't exist in current dvd.

Note: in initial testing, second track using 6 channel kills encode performance and yields a track with no sound. Needs to be tested and verified. Main track works flawlessly in initial testing.

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

17 years agoChangelog updated for Windows GUI
sr55 [Thu, 12 Apr 2007 12:18:31 +0000 (12:18 +0000)]
Changelog updated for Windows GUI

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

17 years agoUpdated the Mac GUI to use the new audio mixdowns. This means that the Mac GUI now...
maurj [Thu, 12 Apr 2007 11:42:51 +0000 (11:42 +0000)]
Updated the Mac GUI to use the new audio mixdowns.  This means that the Mac GUI now supports Dolby PRo Logic 2 mixdowns!
The Audio tab now has two mixdown NSPopUpButtons, which are set to display all of the possible mixdowns for the current input audio codec / output audio codec / input audio channel configuration.
A mixdown of HB_AMIXDOWN_DOLBYPLII is used by default (or the next best mixdown if this isn't possible).  Ideally this will become a prefs option to specify your choice of default audio mixdown.
For AC3 passthru, a single mixdown of "AC3 Passthru" is displayed.
I've had to update the Xcode project file, to make the Handbrake target look for headers in the "../contrib/include" folder too.  This is so that it can find the a52 headers which are now used by Controller.mm.
I've added an ac3flags property to hb_audio_s, to enable us to access the source ac3 flags outside of libhb.  This is set in scan.c for each source audio.
I've updated hb_mixdown_s and the hb_audio_mixdowns[] to include the CLI "short name" version of the mixdowns too, ready for the Mac GUI "default mixdown" prefs saving / loading.

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

17 years agoMade a small change to test.c to explicitly select the first audio track, and use...
maurj [Thu, 12 Apr 2007 08:24:02 +0000 (08:24 +0000)]
Made a small change to test.c to explicitly select the first audio track, and use the default mixdown, if no audio track has been specified via the -a option.  This fixes a crash in rev 495 when no audio track was specified.

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

17 years agoChecking in macosx/Controller.mm, which should have been included with rev 494. ...
maurj [Wed, 11 Apr 2007 15:42:21 +0000 (15:42 +0000)]
Checking in macosx/Controller.mm, which should have been included with rev 494.  it contains some changes to make the Mac GUI compile with the new audio mixdown code.

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

17 years agoAdded libhb and CLI support for Dolby Pro Logic II 5.0 matrix encoding. *NOT YET...
maurj [Wed, 11 Apr 2007 15:23:57 +0000 (15:23 +0000)]
Added libhb and CLI support for Dolby Pro Logic II 5.0 matrix encoding.  *NOT YET ADDED TO THE GUI*.  Handbrake now uses a more general "audio mixdown" concept.  For each audio track to be converted you specify a mixdown.  These are defined in common.h.
This checkin only allows you to specify one mixdown for all tracks in the CLI, although everything is in place internally to specify a different mixdown per track.  In the CLI, the "-6 --surround" option has been repurposed as a "-6 --mixdown" option, with a string parameter of mono/stereo/dpl1/dpl2/6ch.

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

17 years agoMacGui: Framerate Revert changes back to "Same as Source" from rev 492
dynaflash [Tue, 10 Apr 2007 18:13:29 +0000 (18:13 +0000)]
MacGui: Framerate Revert changes back to "Same as Source" from rev 492

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

17 years agoMacGui: Framerate
dynaflash [Tue, 10 Apr 2007 17:21:56 +0000 (17:21 +0000)]
MacGui: Framerate
- Deprecate "Same as source"
- Use "23.976" as default
- All presets previously using "Same as source" will automatically use "23.976" instead without modification

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

17 years agoMacGui: Presets - fix bug where editing the preset name corrupts the x264 option...
dynaflash [Tue, 10 Apr 2007 15:01:39 +0000 (15:01 +0000)]
MacGui: Presets - fix bug where editing the preset name corrupts the x264 option strings in the presets

- expand the hidden x264 option string display debugging field in the main window.

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

17 years agogtk2 and wx gui's are no longer used. Removed to save bandwidth.
sr55 [Mon, 9 Apr 2007 18:10:01 +0000 (18:10 +0000)]
gtk2 and wx gui's are no longer used. Removed to save bandwidth.

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

17 years agoAdded Changelog.rtf to allow editing.
sr55 [Mon, 9 Apr 2007 18:03:54 +0000 (18:03 +0000)]
Added Changelog.rtf to allow editing.

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

17 years agoAdded some documentation:
sr55 [Mon, 9 Apr 2007 18:02:30 +0000 (18:02 +0000)]
Added some documentation:
1. Change log for Handbrake 0.8.5b1 & Win GUI 2.2b1
2. FAQ for the Windows GUI

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

17 years agoContrib binaries with maurj patch to a52 for ProLogic II
prigaux [Sat, 7 Apr 2007 09:57:57 +0000 (09:57 +0000)]
Contrib binaries with maurj patch to a52 for ProLogic II

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

17 years agoMacGui: Built In Presets
dynaflash [Fri, 6 Apr 2007 16:54:48 +0000 (16:54 +0000)]
MacGui: Built In Presets
- Modify both AppleTV and PS3 to use 2500 abr
- Modify PS3 x264 opts to "level=30" only
- as always remember to update your built in presets in the presets menu when updating working copy.

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

17 years agoPre-compiled version of a52dec updated with maurj's patch included.
sr55 [Fri, 6 Apr 2007 13:52:47 +0000 (13:52 +0000)]
Pre-compiled version of a52dec updated with maurj's patch included.

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

17 years agoAdded patch file to jamfile for maurj's liba52 patch
sr55 [Fri, 6 Apr 2007 13:06:54 +0000 (13:06 +0000)]
Added patch file to jamfile for maurj's liba52 patch

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

17 years agoAdded a new patch file, to patch liba52 to support a Dolby Pro Logic II matrix encodi...
maurj [Fri, 6 Apr 2007 12:55:22 +0000 (12:55 +0000)]
Added a new patch file, to patch liba52 to support a Dolby Pro Logic II matrix encoding.  Note: this patch file isn't yet integrated into the Jam process, and the DPLII support in Handbrake isn't yet committed.  I've really only committed the patch so that someone kind (Prigaux?) can add it to the Jam process, and therefore patch the precompiled contrib library download.
The changes in this patch are backwards-compatible, i.e. the contrib library download can be updated and used without breaking the current projects.

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

17 years agoMacGui: Add PS3 Built in Preset. This needs to be tested by someone that has one...
dynaflash [Thu, 5 Apr 2007 18:57:26 +0000 (18:57 +0000)]
MacGui: Add PS3 Built in Preset. This needs to be tested by someone that has one (read: clee)

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

17 years agoMacGui: Last source directory used is now remembered and used the next time instead...
dynaflash [Thu, 5 Apr 2007 17:28:16 +0000 (17:28 +0000)]
MacGui: Last source directory used is now remembered and used the next time instead of being reset by browsing for a new destination directory each time.

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

17 years agoMacGui: Presets Menu now in Main Menu bar
dynaflash [Thu, 5 Apr 2007 16:52:31 +0000 (16:52 +0000)]
MacGui: Presets Menu now in Main Menu bar
- New "Update Built-in Presets" function automatically deletes existing built in presets and creates new up to date ones
- New "Delete Built-in Presets" deletes all built in presets
- "New Preset ..." accesses the new preset window

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

17 years agoCorrected small EOL marker issue.
sr55 [Thu, 5 Apr 2007 16:47:18 +0000 (16:47 +0000)]
Corrected small EOL marker issue.

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

17 years agoUploaded new contrib packaged which is compiled under GCC4 - Fixes many stack dump...
sr55 [Thu, 5 Apr 2007 16:46:25 +0000 (16:46 +0000)]
Uploaded new contrib packaged which is compiled under GCC4 - Fixes many stack dump issues under CYGWIN

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

17 years agoMacGui: disable Vorbis 6 channel encoding since it is broken in libhb.
dynaflash [Wed, 4 Apr 2007 20:04:43 +0000 (20:04 +0000)]
MacGui: disable Vorbis 6 channel encoding since it is broken in libhb.

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

17 years agoOoops. Restores xvid-in-mp4 functionality, which I broke with b-frame muxing. (Thanks...
jbrjake [Wed, 4 Apr 2007 19:25:45 +0000 (19:25 +0000)]
Ooops. Restores xvid-in-mp4 functionality, which I broke with b-frame muxing. (Thanks for the bug report, superdump, and thanks for pointing out where the problem was, saintdev.)

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

17 years agoMacGui: x264 options in presets - initial implementation
dynaflash [Wed, 4 Apr 2007 19:06:56 +0000 (19:06 +0000)]
MacGui: x264 options in presets - initial implementation
- x264 options string can be entered in NSTextview in the create new preset window
NOTE:
- When using x264, the gui first looks for a preset with a x264 option string available and then looks for the string in the preferences if it cant find it in the preset. So, if there is a string available in the preset, it ignores the string (if there is one available) in the prefs.

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

17 years agomaurj reported a double-free crash that I am unable to reproduce. This removes an...
saintdev [Wed, 4 Apr 2007 09:08:00 +0000 (09:08 +0000)]
maurj reported a double-free crash that I am unable to reproduce. This removes an extra free that appears to be the problem. Better to leak a little memory than have some users crash.

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

17 years agoFix a bus error if b-pyramid is given as an x264 option without specifying a value...
jbrjake [Tue, 3 Apr 2007 17:20:03 +0000 (17:20 +0000)]
Fix a bus error if b-pyramid is given as an x264 option without specifying a value. (Thanks for alerting me to the bug, saintdev)

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

17 years agoAmended work.c to remember the number of source A52 channels and lfe channels, so...
maurj [Mon, 2 Apr 2007 13:05:07 +0000 (13:05 +0000)]
Amended work.c to remember the number of source A52 channels and lfe channels, so that deca52.c can correctly detect a 5.1 source which needs mixing down to Dolby Digital.  Previously it was just mixing 5.1 down to stereo.  This has been broken since rev 438, when the multi-soundtrack bug was fixed.

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

17 years agoOops, got a little to unalloc-happy. Fixes a crash.
saintdev [Mon, 2 Apr 2007 00:27:35 +0000 (00:27 +0000)]
Oops, got a little to unalloc-happy. Fixes a crash.

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

17 years agoFix several MB of memory leaks in lame, and vorbis.
saintdev [Sun, 1 Apr 2007 04:47:47 +0000 (04:47 +0000)]
Fix several MB of memory leaks in lame, and vorbis.
6ch Vorbis doesn't seem quite ready for prime time.

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

17 years agoFix about 156,199 bytes of leaked memory.
saintdev [Sat, 31 Mar 2007 06:55:02 +0000 (06:55 +0000)]
Fix about 156,199 bytes of leaked memory.

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

17 years agoMacGui: Presets
dynaflash [Fri, 30 Mar 2007 18:29:27 +0000 (18:29 +0000)]
MacGui: Presets
- Show Built In Presets in a blue font and custom user presets in black to differentiate them.

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

17 years agomake HandbrakeCLI will make Handbrake without building all the contrib binaries....
sr55 [Fri, 30 Mar 2007 17:27:00 +0000 (17:27 +0000)]
make HandbrakeCLI will make Handbrake without building all the contrib binaries. These will be downloaded.

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

17 years ago2 Files added to allow for downloading of pre-compiled contrib binaries for windows.
sr55 [Fri, 30 Mar 2007 17:19:45 +0000 (17:19 +0000)]
2 Files added to allow for downloading of pre-compiled contrib binaries for windows.

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