MacGui: Audio ... Add an "Add All Tracks" button to the audio tab.
- Patch by circleone... Thanks again!
- Adds all available source tracks at the default mixdown etc. to the macgui in one click.
WinGui:
- Some changes to the way logging / exceptions are handled. This may fix an intermittent issue that causes a large number of exception windows to appear.
MacGui: Audio ... Allow more than 4 audio tracks.
- Patch courtesy of circleone ... Thanks!
- Use a NSTableView to dynamically add/delete audio tracks ala the Subtitle tab.
- Sets a 24 track limit until someone tests more than 24 tracks (the libhb 8 track limit was removed as per http://trac.handbrake.fr/changeset/3531).
- Replaces the old static 4 tracks to a dynamic array.
- Moves macgui audio handling to a separate class.
Known caveats:
- Borks queue editing which needs a revamp anyway.
- Queue window display needs to be adjusted to show more than 4 tracks appropriately. Again, its cosmetic and is not a show stopper.
- There may be other possible unknown side effects even though tested on all presets. That said, I feel it needs to get in so that we can get feedback from nightlies.
Bump ffmpeg from 22950 to 25082
It's been 5 months since an ffmpeg bump.
One negative is that we loose LATM support.
The LATM patch is just impossible to apply
anymore since ffmpeg dropped support for using
the external faad lib. There are ifdef's in the
code should anyone wish to revert to an earlier
ffmpeg and enable LATM.
Unencrypted BD directory trees only. Doesn't support iso images.
Also, no PGS subtitle support yet.
Chapters and angles are supported.
Adds a new contrib libbluray.
Adds new option to hb_scan() for duration of short titles to filter.
This applies to BD and DVD multi-title scans only. Does not apply
to any single title scans.
Fixes memory leak during scan. hb_buffer_close() was not freeing
all buffers in a chain of buffers passed to it.
LinGui: simplify source selection dialog
I don't need the checkbox to toggle file/folder selection mode anymore
(at least on ubutnu, fedora is just fubar anyway).
jstebbins [Tue, 31 Aug 2010 15:05:42 +0000 (15:05 +0000)]
Fix muxing problem with certain sources/settings
The fifo depth limit that was put in place to prevent out of memory
conditions was too aggressive. It caused buffers to be flushed to
the output too early with cercain settings.
This change monitors memory usage (i.e. buffer sizes) rather
than just fifo depth in order to decide when to flush buffers
to prevent out of memory conditions.
sr55 [Sun, 29 Aug 2010 20:41:07 +0000 (20:41 +0000)]
WinGui:
- Created an error service, renamed the frmExceptionWindow to ExceptionWindow and removed it's duplicate from the main project. It's all in the AppServices library.
sr55 [Fri, 27 Aug 2010 20:09:10 +0000 (20:09 +0000)]
WinGui:
- Added a new option which allows the autoname feature to output to the source directory. It will append output_ to the start of the filename, if the auto-generated name is the same as the source file.
jstebbins [Wed, 25 Aug 2010 17:42:52 +0000 (17:42 +0000)]
Change how native tools are built in a cross compiling environment.
Was using hb's core build system for these tools. Now using
accepted practice in autoconf for native tools.
dynaflash [Tue, 24 Aug 2010 18:28:28 +0000 (18:28 +0000)]
x264 bump from r1698 to r1703
- Introduces trellis and psy-trellis for cavlc.
- Same modes as cabac.
- Lingui is already setup for it as of svn 3491. Macgui and wingui to follow suit.
- Other various enhancements and fixes.
sr55 [Fri, 20 Aug 2010 19:15:16 +0000 (19:15 +0000)]
WinGui:
- Added new audio/subs option: "Use Preferred Language for Audio and Subtitles" and "Add Closed Captions when available"
Thanks to Shatian for the Patch!
dynaflash [Fri, 20 Aug 2010 15:07:37 +0000 (15:07 +0000)]
MacGui: Fix issue where multi instance was improperly detecting the number of instances.
- Fixes an issue where the second instance would ignore the first instances queue and resetting running encodes back to pending.
dynaflash [Thu, 19 Aug 2010 18:45:59 +0000 (18:45 +0000)]
MacGui: Encode status readout now two lines, first line is the name of the file being encoded and second line is the progress. Changed both for main window and queue window.
dynaflash [Mon, 16 Aug 2010 14:48:19 +0000 (14:48 +0000)]
MacGui: Fix dock icon behavior
- patch by KonaB1end ... Thanks!
- Fixes issue where minimized main window would not unminiaturize when the dock icon is clicked.
- Fixes same issue with a closed main window.
dynaflash [Fri, 6 Aug 2010 04:28:33 +0000 (04:28 +0000)]
MacGui: Store live previews in a sub directory in "~/Library/Application Support/HandBrake/Previews" named by pidnum.
- Allows multi-instances to encode live previews without overwriting the live preview for any other instance (since previously we assumed single instance so there was just one live preview file for each container.
- Clean up of the previews directory when a single instance is laucnhed to make sure we do not build up a pile of old previews.
- Removed old code for live previews which handled the deprecated avi and ogm containers.
dynaflash [Thu, 5 Aug 2010 16:45:00 +0000 (16:45 +0000)]
MacGui: Disable preview hud controls during new source scans.
- Fixes a crash where trying to get a preview image when a new source is being loaded will cause a crash
- Mirrors enableUI in the main window.
dynaflash [Thu, 5 Aug 2010 05:04:52 +0000 (05:04 +0000)]
MacGui: Do not call pictureSliderChanged in windowWillClose in HBPreviewController.m as it causes a crash when quitting the macgui without a source loaded up.
- Thanks Sean_McG for spotting the bug!
dynaflash [Wed, 4 Aug 2010 17:11:02 +0000 (17:11 +0000)]
MacGui: Add separate method for cancelling a Live Preview encode.
- Also replace deprecated removeFileAtPath:handler: with removeItemAtPath:error: in HBPreviewController
dynaflash [Tue, 3 Aug 2010 15:43:25 +0000 (15:43 +0000)]
MacGui: Re-locate logic for encode done notifications as per user preferences.
- Fixes an issue where a system beep would occur after every encode when Alert Window was chosen.
- Also means less calls to showGrowlDoneNotification as we were calling it after every encode and then checking the user prefs instead of checking prefs before calling it.
WinGui:
- Simply the versioning of the Windows GUI so it's less confusing.
- GUI now only displays the CLI Version. The GUI will however check that it's own executable build revision is not greater than the CLI and report an error if it is.
MacGui: Rework how we get encode and queue done alerts.
- Add separate checkbox for system alert sound in Preferences > General > When Done (previously it was automatic only when "When Done" included the alert panel")
- System alert sound will play whenever the specified Alert When Done event occurs if its checked (this includes the Growl alerts which come up as encodes roll off of the queue) which addresses the sound part of this forum thread http://forum.handbrake.fr/viewtopic.php?f=22&t=17347#p80456. Thanks to BradleyS for the suggestion.
- Also fix an issue introduced in the multi instance queue commmit (ref 3450) where the Alert Window would come up one encode too early instead of at the end of the queue if you use the alert window for when queue is completed. This addresses forum thread http://forum.handbrake.fr/viewtopic.php?f=12&t=17367 thanks to noved for picking up on it.
- Get rid of a touch of commented code from rev 3450 which is worthless.
MacGui: Fix how we get the current instances pid number since NSRunningApplication is a 10.6 only api and therefore breaks 10.5 compatibility (which also borked the nightly build).
- Many thanks to ritsuka for pointing this out.
- Also adds ability to get the full path to each running instance if we need it in the future.
- Note: Adds additional logging to hbInstances which can be removed when we see fit. But for now imho could be useful since we are early in multi-instance queue encoding.
x264: Add "--disable-swscale" to the config as it borked the nightly build server and is not used for libx264 anyway, only applies to the x264 cli which we do not use.
WinGui:
- Remove the old school splash screen. Doesn't really serve a purpose now.
- Added Jobs Pending to the current Encode status string in the Main window task bar.
- Some minor refactoring.
MacGui: Initial implementation of new queue sync code which allows multi-instance encoding.
This allows more than one instances of HandBrake.app to run off of the same queue file.
In the case of multi-instance use these changes occur in the queue window:
- The delete icon for a given queue item does not exist in the queue window if another instance is doing the encoding.
- The encoding icon does not spin if another instance is doing the encoding.
- As before if the queue window is for the instance doing the encoding on that item it will be animated and "spins".
- The queue window status readout now also includes the output file name for the file being encoded for that instance.
Known bugs:
- Drag and Drop queue reordering is somwehat borked. Doesn't corrupt queue but can not allow a drop in some instances.
- I have tested this over 20 multi instance encodes and not once had an issue, but anytime more than one instance is writing to the same external file anything can happen. Beware!
- The session activity log will of course be full of activity log info from all instances in a multi instance scenario. Individual encode logs are unaffected.
WinGui:
- Multiple instance support.
Each instance has a unique id. id = 0 will use the standard log/queue files.
id = 1,2...n will use standard file names but with the instance id added to the end.
This means that each instance will have it's own queue. Queue is not shared between Instances
If multiple queue files are found when starting up, it will offer to load them all in.