OSDN Git Service

handbrake-jp/handbrake-jp-git.git
13 years agoMacGui: Fix dock icon behavior
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.

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

13 years agoWinGui:
sr55 [Sun, 15 Aug 2010 19:52:11 +0000 (19:52 +0000)]
WinGui:
- Fix for "del" key deleting items from the queue when additional modifier keys were pressed.

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

13 years agoWinGui:
sr55 [Sun, 15 Aug 2010 19:39:21 +0000 (19:39 +0000)]
WinGui:
- Fix some culture issues in the x264 window.

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

13 years agoFreenode IRC group confirmed, verification code removed.
jbrjake [Thu, 12 Aug 2010 15:13:42 +0000 (15:13 +0000)]
Freenode IRC group confirmed, verification code removed.

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

13 years agoFreenode verification code.
jbrjake [Wed, 11 Aug 2010 21:40:14 +0000 (21:40 +0000)]
Freenode verification code.

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

13 years agoMulti-line SSA packets handled by the SSA->UTF8 decoder.
jstebbins [Tue, 10 Aug 2010 22:30:14 +0000 (22:30 +0000)]
Multi-line SSA packets handled by the SSA->UTF8 decoder.
Contributed by davidfstr.

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

13 years agoWinGui:
sr55 [Sun, 8 Aug 2010 14:04:32 +0000 (14:04 +0000)]
WinGui:
- Just some cleanup of project / install files.

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

13 years agoMacGui: Remove logging line used for debugging previous commit.
dynaflash [Fri, 6 Aug 2010 13:55:02 +0000 (13:55 +0000)]
MacGui: Remove logging line used for debugging previous commit.

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

13 years agoMacGui: Store live previews in a sub directory in "~/Library/Application Support...
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.

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

13 years agoMacGui: Disable preview hud controls during new source scans.
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.

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

13 years agoMacGui: Do not call pictureSliderChanged in windowWillClose in HBPreviewController...
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!

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

13 years agoMacGui: Add separate method for cancelling a Live Preview encode.
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

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

13 years agoMacGui: Re-locate logic for encode done notifications as per user preferences.
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.

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

13 years agoMacGui: Remove unused method declaration.
dynaflash [Mon, 2 Aug 2010 14:06:53 +0000 (14:06 +0000)]
MacGui: Remove unused method declaration.

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

13 years agoDoxygen another configuration change.
sr55 [Sun, 1 Aug 2010 16:35:39 +0000 (16:35 +0000)]
Doxygen another configuration change.

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

13 years agoDoxy Settings tweaks
sr55 [Sun, 1 Aug 2010 16:20:46 +0000 (16:20 +0000)]
Doxy Settings tweaks

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

13 years agoDoxygen 1.7.x config file for testing.
sr55 [Sun, 1 Aug 2010 16:12:39 +0000 (16:12 +0000)]
Doxygen 1.7.x config file for testing.

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

13 years agoWinGui:
sr55 [Sat, 31 Jul 2010 19:26:05 +0000 (19:26 +0000)]
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.

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

13 years agoWinGui:
sr55 [Fri, 30 Jul 2010 20:41:12 +0000 (20:41 +0000)]
WinGui:
- Fix Growl for Windows feature.

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

13 years agoMacGui: Rework how we get encode and queue done alerts.
dynaflash [Mon, 26 Jul 2010 20:43:30 +0000 (20:43 +0000)]
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.

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

13 years agoWinGui:
sr55 [Sun, 25 Jul 2010 16:20:32 +0000 (16:20 +0000)]
WinGui:
- Fix some issues with the log window repeating the log header.

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

13 years agoWinGui:
sr55 [Sun, 25 Jul 2010 14:59:19 +0000 (14:59 +0000)]
WinGui:
- Cleanup stylecop warnings. Import new stylecop for resharper settings.

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

13 years agoMacGui:
sr55 [Thu, 22 Jul 2010 19:09:41 +0000 (19:09 +0000)]
MacGui:
- Re-checking 3453 after accidentally removing it.

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

13 years agoWinGui:
sr55 [Thu, 22 Jul 2010 19:05:27 +0000 (19:05 +0000)]
WinGui:
- Fix an issue that would cause the in-gui encode status to screw up if the encoding time was over 24 hours.

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

13 years agoWinGui: Re-checkin updated stylecop settings
sr55 [Thu, 22 Jul 2010 18:32:18 +0000 (18:32 +0000)]
WinGui: Re-checkin updated stylecop settings

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

13 years agoWinGui:
sr55 [Thu, 22 Jul 2010 18:22:55 +0000 (18:22 +0000)]
WinGui:
- Sytlecop 4.4 re-checked in.

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

13 years agoReverting 3452
sr55 [Thu, 22 Jul 2010 18:20:19 +0000 (18:20 +0000)]
Reverting 3452

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

13 years agoMacGui: Fix issue where queue was being reloaded showing already completed encodes...
dynaflash [Thu, 22 Jul 2010 16:12:55 +0000 (16:12 +0000)]
MacGui: Fix issue where queue was being reloaded showing already completed encodes at launch. Borked in svn rev 3443.

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

13 years agoWinGui:
sr55 [Thu, 22 Jul 2010 10:44:54 +0000 (10:44 +0000)]
WinGui:
- Removed old settings debug tab, Code refactoring and some tweaks to stylecop so it's less noisy. Upgraded to Stylecop 4.4.0

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

13 years agox264 bump from r1677 to r1681
dynaflash [Wed, 21 Jul 2010 18:57:22 +0000 (18:57 +0000)]
x264 bump from r1677 to r1681

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

13 years agoMacGui: Fix how we get the current instances pid number since NSRunningApplication...
dynaflash [Mon, 19 Jul 2010 17:02:43 +0000 (17:02 +0000)]
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.

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

13 years agoBump libmkv to 0.6.4.1
saintdev [Mon, 19 Jul 2010 16:50:50 +0000 (16:50 +0000)]
Bump libmkv to 0.6.4.1
-Fixes a bug with the last byte of the SegmentUID overwriting the first byte of the MuxingApp EBML ID.

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

13 years agox264: Add "--disable-swscale" to the config as it borked the nightly build server...
dynaflash [Mon, 19 Jul 2010 12:56:39 +0000 (12:56 +0000)]
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.

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

13 years agoWinGui:
sr55 [Sun, 18 Jul 2010 16:38:23 +0000 (16:38 +0000)]
WinGui:
- Fix 2010 sln, rebuild resharper files.

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

13 years agoWinGui:
sr55 [Sat, 17 Jul 2010 22:33:00 +0000 (22:33 +0000)]
WinGui:
- ApplicationServices dll no longer uses Settings.settings

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

13 years agoWinGui:
sr55 [Sat, 17 Jul 2010 22:25:01 +0000 (22:25 +0000)]
WinGui:
- Some tweaks to the Logging code.

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

13 years agoWinGui:
sr55 [Sat, 17 Jul 2010 21:48:41 +0000 (21:48 +0000)]
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.

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

13 years agoMacGui: Initial implementation of new queue sync code which allows multi-instance...
dynaflash [Sat, 17 Jul 2010 19:15:38 +0000 (19:15 +0000)]
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.

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

13 years agox264 bump from r1675 to r1677
dynaflash [Fri, 16 Jul 2010 15:17:45 +0000 (15:17 +0000)]
x264 bump from r1675 to r1677
- Fixes compilation with shared ffmpeg libs
- Fixes PCM bug.

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

13 years agoWinGui:
sr55 [Thu, 15 Jul 2010 20:26:10 +0000 (20:26 +0000)]
WinGui:
- Fix an exception in the encode service safeStop method.

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

13 years agoWinGui:
sr55 [Thu, 15 Jul 2010 20:15:08 +0000 (20:15 +0000)]
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.

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

13 years agoWinGui:
sr55 [Thu, 15 Jul 2010 18:15:54 +0000 (18:15 +0000)]
WinGui:
- Cleanup

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

13 years agox264 bump from r1666 to r1675
dynaflash [Thu, 15 Jul 2010 15:51:54 +0000 (15:51 +0000)]
x264 bump from r1666 to r1675
- Various bug fixes and enhancements.

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

13 years agoWinGui:
sr55 [Tue, 13 Jul 2010 22:23:29 +0000 (22:23 +0000)]
WinGui:
- Minor label and tooltip changes in the options window.

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

13 years agoWinGui:
sr55 [Tue, 13 Jul 2010 22:02:00 +0000 (22:02 +0000)]
WinGui:
- Major rework of the Encode Service. This allows previews to be generated while an encode is running. I've left in a bunch of debug code for the moment so it may be a bit noisy at times if something goes a bit wrong. Will remove later when the code is known to work.
- The windows 7 Encode Progress Bar on the Task bar is working again.

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

13 years agoWinGui:
sr55 [Sat, 10 Jul 2010 13:33:11 +0000 (13:33 +0000)]
WinGui:
- Fix x264 tooltip for Pyramid BFrames

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

13 years agoWinGui:
sr55 [Sat, 10 Jul 2010 13:27:22 +0000 (13:27 +0000)]
WinGui:
- Fix an exception on the picture settings pane when very large Par Width/Height values present.

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

13 years agoWinGui:
sr55 [Sat, 10 Jul 2010 13:21:40 +0000 (13:21 +0000)]
WinGui:
- Fixed Queue import.

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

13 years agoWinGui:
sr55 [Fri, 9 Jul 2010 19:21:42 +0000 (19:21 +0000)]
WinGui:
- Moved code from the prevent sleep into ApplicationServices instead. Makes more sense to have it there.

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

13 years agoWinGui:
sr55 [Fri, 9 Jul 2010 19:15:08 +0000 (19:15 +0000)]
WinGui:
- Added a new preference that allows the user to prevent the system from going to sleep during an encode.

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

13 years agoBump x264 from r1659 to r1666
dynaflash [Fri, 9 Jul 2010 13:59:13 +0000 (13:59 +0000)]
Bump x264 from r1659 to r1666
- Various enhancements and bugfixes

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

13 years agoMacGui: Make .m4v (Use iTunes Friendly Naming) default in preferences.
dynaflash [Wed, 7 Jul 2010 17:17:32 +0000 (17:17 +0000)]
MacGui: Make .m4v (Use iTunes Friendly Naming) default in preferences.

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

13 years agoWinGui:
sr55 [Sun, 4 Jul 2010 19:11:55 +0000 (19:11 +0000)]
WinGui:
- Fix: Subq option was not updating the widget correctly on the Advanced panel

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

13 years agoWinGui:
sr55 [Sun, 4 Jul 2010 19:06:49 +0000 (19:06 +0000)]
WinGui:
- Fix Adaptive Quantization Strength ToolTip

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

13 years agofix crash due to processing invalid buf_out from work
jstebbins [Sun, 4 Jul 2010 18:29:27 +0000 (18:29 +0000)]
fix crash due to processing invalid buf_out from work
if the work function doesn't null out buf_out (as decavcodecvWork)
then buf_out can be garbage, or worse a prevously used buffer.

I'm flabbergasted this has never bitten me before.

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

13 years agoWinGui:
sr55 [Sun, 4 Jul 2010 17:50:37 +0000 (17:50 +0000)]
WinGui:
- Next step in the new Add Presets Window.  Now added Picture Size modes "None" and "Source Maximum". Note cropping values are stored with "Source Maximum" if custom crop is selected. Also included option to include filter settings.

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

13 years agofix some preset issues
jstebbins [Sat, 3 Jul 2010 18:24:11 +0000 (18:24 +0000)]
fix some preset issues
add b-pyramid=none to appletv presets and remove b-pyramid hack from encx264.c
change samplerate from 48 to 'Auto' in all presets
cap samplerate to 48khz since none of the encoders support higher rates
remove obsolete UsesMaxPictureSettings from all presets. replace with UsesPictureSettings=2

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

13 years agoWinGui:
sr55 [Sat, 3 Jul 2010 16:38:58 +0000 (16:38 +0000)]
WinGui:
- Refactored The Query Generator to allow for more control on the AddPreset Window.
- Also fix an issue where an empty x264 query would still result in -x being added to the query.

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

13 years agoWinGui:
sr55 [Sat, 3 Jul 2010 14:58:53 +0000 (14:58 +0000)]
WinGui:
- Few extra tweaks to improve how user custom queries are handled.

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

13 years agoWinGui:
sr55 [Sat, 3 Jul 2010 14:41:32 +0000 (14:41 +0000)]
WinGui:
- Improve the way Custom queries are handled form the query editor. It's now hooked up so that the "Add to Queue" feature can warn of duplicates and it will now also display the correct source and destination in the queue window when encoding a custom job.

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

13 years agoLinGui: improvements to maxWidth/maxHeight preset gui
jstebbins [Tue, 29 Jun 2010 00:15:59 +0000 (00:15 +0000)]
LinGui: improvements to maxWidth/maxHeight preset gui
Add checkbox for each of max width/height entries in the presets save dialog.
When not checked, the value is not stored to the preset.
If neither is checked, UsesPictureSettings=2 is assumed.
If either is checked, UsesPictureSettings=1 is assumed.

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

13 years agoMacGui: Presets - Add abliity to modify width and height on a preset independent...
dynaflash [Mon, 28 Jun 2010 20:11:34 +0000 (20:11 +0000)]
MacGui: Presets - Add abliity to modify width and height on a preset independent of the currently loaded settings via repurposing the old "Current" picture size setting in the add new preset dialogue.
- Changes "Current" to "Custom".
- When Custom is selected two text fields for width and height appear, initially populated with the current picture settings which means that if not changed will behave as old "Current" settings used to.
- Editable fields means the preset can be save to pic dimensions other than what is setup for the current encode setup.
- For example you can have a dvd loaded up and then save a preset using say 1280 x 720 as max dims, even though the currently loaded source would not have allowed that before.

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

13 years agoImprove program stream detection
jstebbins [Mon, 28 Jun 2010 18:10:15 +0000 (18:10 +0000)]
Improve program stream detection
We were getting some false positives on some files.
In some cases this would lead to a crash. In all cases it leads
to a failure to scan or encode properly.

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

13 years agoLinGui: Add max width/height widgets to preset save dialog
jstebbins [Mon, 28 Jun 2010 15:59:31 +0000 (15:59 +0000)]
LinGui: Add max width/height widgets to preset save dialog
These are only visible when autosize is disabled, meaning the user
has chosen to set specific video dimensions.  These values are used
when a preset or title is loaded to set the default storage dimensions.

This allows setting arbitrary PictureWidth/PictureHeight in the preset
which was not previously possible.  The values were previously limited
to what the currently loaded source would allow you to enter into
the picture settings width/height fields.

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

13 years agodisable libvaapi when building ffmpeg
jstebbins [Sun, 27 Jun 2010 19:47:37 +0000 (19:47 +0000)]
disable libvaapi when building ffmpeg
we don't use it.  causes link errors on systems that have this library installed.

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

13 years agoMacGui: fix uninteded side effect of code that enforces maxWidth/Height when loading...
jstebbins [Sun, 27 Jun 2010 16:50:32 +0000 (16:50 +0000)]
MacGui: fix uninteded side effect of code that enforces maxWidth/Height when loading anamorphic preset
PictureControler relies on job->maxWidth and job->maxHeight being 0.  These should only be set when
the preset is initailly loaded and the presets values are initialized.

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

13 years agoWinGui:
sr55 [Sun, 27 Jun 2010 14:26:36 +0000 (14:26 +0000)]
WinGui:
- Fix the Installer script to include the new Win7 API Dlls.

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

13 years agoMacGui: apply maxHeight in non-anamorphic
jstebbins [Sat, 26 Jun 2010 23:00:43 +0000 (23:00 +0000)]
MacGui: apply maxHeight in non-anamorphic
in anamorphic mode, apply maxWidth&maxHeight and adjust dimensions with
hb_set_anamorphic_size.

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

13 years agoLinGui: fix some issues with loading custom anamorphic settings from preset.
jstebbins [Sat, 26 Jun 2010 22:54:36 +0000 (22:54 +0000)]
LinGui: fix some issues with loading custom anamorphic settings from preset.
as the settings were incrementally loaded, each changing widget triggered
updates that could conflict with the preset values being loaded.

fix an issue with hight getting stuck at certain values.  Incorrect rounding
caused a recalculation that put height back to it's previous value.

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

13 years agomake hb_set_anamorphic_size keep storage aspect when maxHeight is applied
jstebbins [Sat, 26 Jun 2010 22:51:00 +0000 (22:51 +0000)]
make hb_set_anamorphic_size keep storage aspect when maxHeight is applied
before, it would not recalculate width after changing height.
also, in ana mode 3, fix storage asepct if !keep_display_aspect

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

13 years agoWinGui:
sr55 [Sat, 26 Jun 2010 22:13:02 +0000 (22:13 +0000)]
WinGui:
- Expose the "When Done" option on the queue window.
- Minor UI tweaks to the queue window.

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

13 years agoWinGui:
sr55 [Sat, 26 Jun 2010 20:09:58 +0000 (20:09 +0000)]
WinGui:
- Integrated Windows 7 Taskbar support. The taskbar icon now shows the encode progress bar.

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

13 years agobump x264 from 1649 to 1659
jstebbins [Sat, 26 Jun 2010 17:56:32 +0000 (17:56 +0000)]
bump x264 from 1649 to 1659
various bug fixes and enhancements
fixes win XP crashes

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

13 years agoPreserve subtitle track that matches foreign audio search when the
jstebbins [Sat, 26 Jun 2010 16:55:26 +0000 (16:55 +0000)]
Preserve subtitle track that matches foreign audio search when the
resulting output track would not be an exact duplicate.  We
were removing the track even when forced flags differed.

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

13 years agoWinGui:
sr55 [Fri, 25 Jun 2010 19:59:06 +0000 (19:59 +0000)]
WinGui:
- Added batch folder scan support to the executable on launch

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

13 years agoWinGui:
sr55 [Fri, 25 Jun 2010 19:46:38 +0000 (19:46 +0000)]
WinGui:
- Allow files to be dropped on the GUI executable. (Including shortcuts). This will automatically try to scan the file. Users can add their own registry entries to add an "open with" if they choose.
- Fixed an exception that occurs when a scanned file returns no titles.
- Fixed an issue where pressing "No" to the on close warning (when encodes are running) would cancel the encode anyway.

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

13 years agoLinGui: initialize picture width/height, even when there is no valid title
jstebbins [Thu, 24 Jun 2010 21:43:40 +0000 (21:43 +0000)]
LinGui: initialize picture width/height, even when there is no valid title
the ui widgets were just being set to 0 till a title was loaded.

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

13 years agoLinGui: fix audio preset initialization
jstebbins [Thu, 24 Jun 2010 21:04:40 +0000 (21:04 +0000)]
LinGui: fix audio preset initialization
sometimes audio settings were to being initialized correctly
to the values in the preset.  some code that sets reasonable
values when the encoder changes from passthru to non-passthru
was getting invoked and overwriting the preset values.

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

13 years agoMacGui: Allow mono audio mixdown for LAME
dynaflash [Mon, 21 Jun 2010 17:13:48 +0000 (17:13 +0000)]
MacGui: Allow mono audio mixdown for LAME
- Patch by Rodeo. Thanks Rodeo !

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

13 years agoLinGui: fix aq-strength slider range. should be 0-2, not 0-1
jstebbins [Sun, 20 Jun 2010 21:31:33 +0000 (21:31 +0000)]
LinGui: fix aq-strength slider range.  should be 0-2, not 0-1
Thanks Rodeo for pointing that out.

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

13 years agoguard against excessive memory consumption in the muxer better
jstebbins [Sun, 20 Jun 2010 21:22:52 +0000 (21:22 +0000)]
guard against excessive memory consumption in the muxer better
if there is a persistant skew in timestamps from 2 streams, the
fifo depth could still continue to grow.  Added extra check for
fullness of fifo.

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

13 years agofix problem with spurious timestamp change
jstebbins [Sun, 20 Jun 2010 21:20:40 +0000 (21:20 +0000)]
fix problem with spurious timestamp change
some rearrangement of code that was previously done to reader caused
scr_offset to be subtracted from renderOffset twice whenever a
new scr_offset was calculated.  this could cause subsequent timestamp
calculations to be way off and in at least one known case lead to
a crash due to consuming too much memory in hb_buffer_t's

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

13 years agoWinGui:
sr55 [Sun, 20 Jun 2010 11:57:46 +0000 (11:57 +0000)]
WinGui:
- Fix a few issues with the weightp x264 option.

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

13 years agoLinGui: Add jbrjake's new iPad preset
jstebbins [Sun, 20 Jun 2010 00:11:44 +0000 (00:11 +0000)]
LinGui: Add jbrjake's new iPad preset

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

13 years agoWinGui:
sr55 [Sat, 19 Jun 2010 22:23:16 +0000 (22:23 +0000)]
WinGui:
- THe Application dll wasn't getting tagged with the svn revision

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

13 years agoCLI: Adds built-in iPad preset.
jbrjake [Sat, 19 Jun 2010 16:41:21 +0000 (16:41 +0000)]
CLI: Adds built-in iPad preset.

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

13 years agoScripts: Updates manicure to handle peak framerate.
jbrjake [Sat, 19 Jun 2010 16:41:04 +0000 (16:41 +0000)]
Scripts: Updates manicure to handle peak framerate.

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

13 years agoMacGui: Adds a built-in iPad preset with a max width of 1024, peak fps of 29.97,...
jbrjake [Sat, 19 Jun 2010 16:40:01 +0000 (16:40 +0000)]
MacGui: Adds a built-in iPad preset with a max width of 1024, peak fps of 29.97, and, at least for now,  default x264 options.

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

13 years agoMacGui: Advanced x264 panel overhaul. - Updates labeling
jbrjake [Fri, 18 Jun 2010 20:40:34 +0000 (20:40 +0000)]
MacGui: Advanced x264 panel overhaul. - Updates labeling
- Updates tooltips
- Rearranges layout to group options by encoding features, analysis options, and psychovisual options
- Adds weightp checkbox
- Adds adaptive quantization slider going from 0 - 2.0
- Removes mixed-refs switch
- Removes weightb switch
- Removes no-fast-pskip switch
- Removes spurious 0 value for reference frames, clamps values to 1-16
- Converts b-pyramid from a checkbox to a menu to allow strict, makes normal instead of off the default
- Defaults b-pyramid to being on, removes it from string when it's on, and converts text values of strict or normal to a checked box since we're not offering strict.
- Makes psy-rd slider go to 2.0
- Changes analyse some (default) to most, add new some (i4x4,i8x8)
- Makes psy-trellis go in 0.05 increments instead of 0.1 increments.
- Stops hiding 8x8dct when analyse is none (thanks, Rodeo)
- Fixes animated reset of psy-rd and psy-trellis sliders when hidden (thanks, Rodeo)
- Hides psy-trellis when cabac goes off (thanks, Rodeo)

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

13 years agoLinGui: add peak framrate checkbox to video tab
jstebbins [Fri, 18 Jun 2010 20:09:08 +0000 (20:09 +0000)]
LinGui: add peak framrate checkbox to video tab

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

13 years agoMacGui: Peak Framerate initial implementation
dynaflash [Fri, 18 Jun 2010 19:49:26 +0000 (19:49 +0000)]
MacGui: Peak Framerate initial implementation
- Adds a checkbox below the fps drop down to allow selecting pfr as long as Same as Source is not selected.
- Checkbox is shows and hides based on the fps dropdown.
- Uses job->cfr = 2 instead of 1 to enable libhb's pfr mode.

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

13 years agoWinGui:
sr55 [Fri, 18 Jun 2010 19:29:22 +0000 (19:29 +0000)]
WinGui:
- Forgot to make the pfr control visible :(

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

13 years agoWinGui:
sr55 [Fri, 18 Jun 2010 19:19:35 +0000 (19:19 +0000)]
WinGui:
- Updates to the x264 panel.
- Added a Peak Framerate checkbox (--pfr cli option)

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

13 years agoLinGui: change psy_trellis increments to 0.05
jstebbins [Fri, 18 Jun 2010 17:31:46 +0000 (17:31 +0000)]
LinGui: change psy_trellis increments to 0.05

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

13 years agoLinGui: revert part of the resource management changes of r3382
jstebbins [Thu, 17 Jun 2010 22:59:19 +0000 (22:59 +0000)]
LinGui: revert part of the resource management changes of r3382
Since fedora's pygtk is broken, I can't parse gdk_pixbuf's with python.
So revert to doing this in C code.

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

13 years agoLinGui: fix syntax error in debian package control file
jstebbins [Thu, 17 Jun 2010 14:21:13 +0000 (14:21 +0000)]
LinGui: fix syntax error in debian package control file
build depends are separated by ',' not space

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

13 years agox264 bump from 1643 to 1649
jstebbins [Wed, 16 Jun 2010 20:13:02 +0000 (20:13 +0000)]
x264 bump from 1643 to 1649
bug fixes and enhancements

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

13 years agoLinGui: update build dependencies to include python2.6 package
jstebbins [Wed, 16 Jun 2010 15:23:50 +0000 (15:23 +0000)]
LinGui: update build dependencies to include python2.6 package
by default the lauchpad build farm only installs a minimal python which is missing plistlib

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

13 years agoLinGui: changes to resource preprocessor
jstebbins [Tue, 15 Jun 2010 16:21:22 +0000 (16:21 +0000)]
LinGui:  changes to resource preprocessor
During the build, I was compiling tools for preprocessing and packaging
the gui description xml, preset defaults, widget dependencies, and icons.
The resulting resource_data.h file gets compiled into the binary.  These
tools are now implemented in python.  This eliminates the need to compile
the tools which caused complications when cross compiling.

This work was actually done many months ago.  But all the distributions
I wanted to support didn't have the libplist python module.  Now they all
do.

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

13 years agoLinGui: refresh x264 tab
jstebbins [Tue, 15 Jun 2010 16:15:53 +0000 (16:15 +0000)]
LinGui: refresh x264 tab
updated layout, labeling & tooltips
group options by encoding features, analysis options, and psychovisual options
change b-pyramid from checkbox to combo box to support None, Strict, and Normal options
expand psy-rd slider range to 0-2 (was 0-1)
relabel "Analysis" to "Partitions".
Add new "Most" option to Partitions that is the same as the old "Some"
Change "Some" option of Partitions to mean i4x4:i8x8
add weightp combo
add adaptive quantization strength slider
remove weightb checkbox
remove no-fast-pskip checkbox

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