OSDN Git Service

handbrake-jp/handbrake-jp-git.git
13 years agocli: add better logging for ac3 encoder fallback and track dropping
jstebbins [Fri, 31 Dec 2010 17:44:48 +0000 (17:44 +0000)]
cli: add better logging for ac3 encoder fallback and track dropping

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

13 years agoWinGui:
sr55 [Fri, 31 Dec 2010 17:08:18 +0000 (17:08 +0000)]
WinGui:
- Quick fix for the folder source selection when selecting a drive letter. It appears escape chars were getting sent to the CLI when they shouldn't have been. I'll tidy this up later.

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

13 years agofix a re-synchronization problem in bluray reading
jstebbins [Thu, 30 Dec 2010 19:18:37 +0000 (19:18 +0000)]
fix a re-synchronization problem in bluray reading
bd_seek doesn't seek to exactly where you tell it to.  It goes to the nearest
access unit that is *before* the position you request.  When we loose
TS sync, we were doing a bd_seek in the process of resynchronizing that
would take us to a much earlier position.  Then we would hit the same
bad location and loose sync again.  Lather, rinse, repeat...

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

13 years agoLinGui: change the icon for preset options to something more appropriate
jstebbins [Wed, 29 Dec 2010 23:52:23 +0000 (23:52 +0000)]
LinGui: change the icon for preset options to something more appropriate

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

13 years agoLinGui: fix icon identifiers in ui xml
jstebbins [Wed, 29 Dec 2010 21:45:48 +0000 (21:45 +0000)]
LinGui: fix icon identifiers in ui xml
For stock icons, the name should be "stock_id" instead of "icon_name"

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

13 years agoMacGui: Fix popup and output file extension inconsistency. Patch by Rodeo. Thanks!
dynaflash [Tue, 28 Dec 2010 17:52:00 +0000 (17:52 +0000)]
MacGui: Fix popup and output file extension inconsistency. Patch by Rodeo. Thanks!
- Issue with mis matching formats and extensions described here http://forum.handbrake.fr/viewtopic.php?f=4&t=19001 .

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

13 years agoMacGui: Only scan ten previews when doing a queue encode scan since we don't need...
dynaflash [Tue, 28 Dec 2010 17:22:39 +0000 (17:22 +0000)]
MacGui: Only scan ten previews when doing a queue encode scan since we don't need additional previews at this point since everything is already set.
- Patch by Rodeo. Thanks!

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

13 years agox264 bump from r1804 to r1834
dynaflash [Mon, 27 Dec 2010 17:05:29 +0000 (17:05 +0000)]
x264 bump from r1804 to r1834

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

13 years agoMacGui: Free the source display name for the ui before re-allocating it when doing...
dynaflash [Mon, 27 Dec 2010 16:22:21 +0000 (16:22 +0000)]
MacGui: Free the source display name for the ui before re-allocating it when doing a queue edit rescan.
- Fixes a consistent crash when trying to edit a queue item.

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

13 years agoLinGui: disable the 'Add to Queue' button while scanning.
jstebbins [Tue, 21 Dec 2010 23:52:06 +0000 (23:52 +0000)]
LinGui: disable the 'Add to Queue' button while scanning.
It's not a good idea try to access title info while the scan is in progress.

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

13 years agoLinGui: update to latest presets
jstebbins [Tue, 21 Dec 2010 18:54:21 +0000 (18:54 +0000)]
LinGui: update to latest presets

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

13 years agocli: allow setting modulus with ana-none
jstebbins [Fri, 17 Dec 2010 16:36:22 +0000 (16:36 +0000)]
cli: allow setting modulus with ana-none

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

13 years agoprevent crash with strict ana and non-mod-2 dimensions.
jstebbins [Fri, 17 Dec 2010 16:31:54 +0000 (16:31 +0000)]
prevent crash with strict ana and non-mod-2 dimensions.
and make par computation in loose ana a little more accurate.

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

13 years agocli: fix constant quality setting for theora
jstebbins [Fri, 17 Dec 2010 16:13:52 +0000 (16:13 +0000)]
cli: fix constant quality setting for theora
we had special cased such that only % values were being allowed for theora

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

13 years agoAdjust x264 qpmin for QT compatibility.
jstebbins [Thu, 16 Dec 2010 23:38:58 +0000 (23:38 +0000)]
Adjust x264 qpmin for QT compatibility.
A recent change in x264 lowered the default qpmin to 0.
QuickTime has trouble with very low QPs (resulting in visual artifacts).
Known to affect QuickTime 7, QuickTime X and iTunes.
Testing shows that a qpmin of 3 works.

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

13 years agoPreset name change for consistancy
sr55 [Sat, 11 Dec 2010 20:32:25 +0000 (20:32 +0000)]
Preset name change for consistancy

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

13 years agoPreset name change for consistancy
sr55 [Sat, 11 Dec 2010 20:32:08 +0000 (20:32 +0000)]
Preset name change for consistancy

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

13 years agoWinGui:
sr55 [Fri, 10 Dec 2010 22:30:58 +0000 (22:30 +0000)]
WinGui:
- Fix queue editing. Some settings were lost after clicking "Edit" on the queue context menu.

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

13 years agoWinGui:
sr55 [Fri, 10 Dec 2010 21:57:14 +0000 (21:57 +0000)]
WinGui:
- Fix a culture issue in the x264 panel sliders. double.tryparse was failing to correctly parse doubles.

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

13 years agoremove debug life
sr55 [Sat, 4 Dec 2010 21:24:30 +0000 (21:24 +0000)]
remove debug life

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

13 years agoAdd CLI version info to the --preset-list option
sr55 [Sat, 4 Dec 2010 21:23:48 +0000 (21:23 +0000)]
Add CLI version info to the --preset-list option

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

13 years agoWinGui:
sr55 [Sat, 4 Dec 2010 15:24:08 +0000 (15:24 +0000)]
WinGui:
- Fix Adaptive Quant Strength Slider not resetting correctly with presets which do not have the value set.

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

13 years agoWinGui:
sr55 [Fri, 3 Dec 2010 21:51:11 +0000 (21:51 +0000)]
WinGui:
- Fix the Verbose option.

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

13 years agoWinGui:
sr55 [Fri, 3 Dec 2010 21:08:10 +0000 (21:08 +0000)]
WinGui:
- Sort the versioning out for the upcoming release.
- Move the EnumHelper to the correct library. It was in the wrong place.

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

13 years agoWinGui:
sr55 [Fri, 3 Dec 2010 20:58:51 +0000 (20:58 +0000)]
WinGui:
- Fix Memory Detection on 64bit systems when the system has >4GB of ram.

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

13 years agox264 bump from r1790 to r1804
dynaflash [Thu, 2 Dec 2010 00:25:54 +0000 (00:25 +0000)]
x264 bump from r1790 to r1804
- this bump actually has the weightp 1 improvement which was an error in the last bump. Duh!
- Again the weightp 1 improvement is noted here http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=e440dc0f7909c67cdca148fc8a9ea413521e0e5b
- Also changes qpmin default to 0 as addressed here http://git.videolan.org/?p=x264.git;a=commit;h=04256645537d17b66f2a46bd8605859e91e0cf8a

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

13 years agox264 bump from r1772 to r1790
dynaflash [Wed, 1 Dec 2010 16:07:09 +0000 (16:07 +0000)]
x264 bump from r1772 to r1790
- Various fixes and enhancments including weightp 1 having a better speed tradeoff. http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=e440dc0f7909c67cdca148fc8a9ea413521e0e5b

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

13 years ago[libhb] Change bad block handling using libdvdread to scan forward for
eddyg [Tue, 30 Nov 2010 20:55:36 +0000 (20:55 +0000)]
[libhb] Change bad block handling using libdvdread to scan forward for
good blocks instead of jumping to the end of cell after encountering
bad blocks. Changed handling of libdvdnav to not abort after just 10
failures, however it will still jump to end of cell, I couldn't see
how to scan forward for good blocks.

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

13 years agoCLI: update the built in presets
sr55 [Tue, 30 Nov 2010 19:43:28 +0000 (19:43 +0000)]
CLI: update the built in presets

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

13 years agoAdded AC3 track to ATV2 preset
sr55 [Tue, 30 Nov 2010 19:38:00 +0000 (19:38 +0000)]
Added AC3 track to ATV2 preset

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

13 years agoATV2 and iP4 presets based on the iPad one. These may need tweaking, so provide feedb...
sr55 [Tue, 30 Nov 2010 19:26:49 +0000 (19:26 +0000)]
ATV2 and iP4 presets based on the iPad one. These may need tweaking, so provide feedback on the forums if you have problems

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

13 years agoMacGui: fix a typo and change how we word how many encodes are left in the queue...
dynaflash [Tue, 30 Nov 2010 18:37:16 +0000 (18:37 +0000)]
MacGui: fix a typo and change how we word how many encodes are left in the queue in the main window.
- Patches by Rodeo.
- Further explanation can be found here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18807

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

13 years agoMacGui: fix character encodings in the log file as well as the title popup string...
dynaflash [Tue, 30 Nov 2010 18:21:33 +0000 (18:21 +0000)]
MacGui: fix character encodings in the log file as well as the title popup string in the main menu dialogue.
- Patch by axfree. Thanks!
- Changes are discussed here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18677

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

13 years agoMacGui: Audio mixdown fix
dynaflash [Tue, 30 Nov 2010 17:19:03 +0000 (17:19 +0000)]
MacGui: Audio mixdown fix
- Patch by Rodeo. Thanks!
- Update the list of permitted mixdowns when the source audio track changes.
- Discussed here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18840

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

13 years agoWinGui:
sr55 [Sat, 27 Nov 2010 22:43:41 +0000 (22:43 +0000)]
WinGui:
- Fix a bug with the Scan Started and Ended Event Handlers.
- Make the Error window Top Most.

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

13 years agoWinGui:
sr55 [Sat, 27 Nov 2010 15:58:52 +0000 (15:58 +0000)]
WinGui:
- Fix an issue with the auto naming where it would use the source file extension in the output filename.

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

13 years agoLinGui: fix problem with adding mp3 audio in mp4 container
jstebbins [Fri, 26 Nov 2010 01:47:36 +0000 (01:47 +0000)]
LinGui: fix problem with adding mp3 audio in mp4 container

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

13 years agofix sync of ssa subtitles when using point-to-point encoding
jstebbins [Mon, 22 Nov 2010 21:52:05 +0000 (21:52 +0000)]
fix sync of ssa subtitles when using point-to-point encoding

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

13 years agoWinGui:
sr55 [Sat, 20 Nov 2010 21:00:50 +0000 (21:00 +0000)]
WinGui:
- Fix Nightly build

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

13 years agoWinGui:
sr55 [Sat, 20 Nov 2010 15:39:43 +0000 (15:39 +0000)]
WinGui:
- Fix an issue where changing the encode completion option on the queue didn't take effect until HandBrake was restarted.

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

13 years agoWinGui:
sr55 [Fri, 19 Nov 2010 19:16:29 +0000 (19:16 +0000)]
WinGui:
- Added support for preset descriptions (currently disabled so as not to interfere with the release)

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

13 years agoWinGui:
sr55 [Fri, 19 Nov 2010 18:22:58 +0000 (18:22 +0000)]
WinGui:
- Some code (currently disabled) to support reading chapter names from source.
- Updates to tooltips for the release.

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

13 years agox264 bump from r1766 to r1772
dynaflash [Wed, 17 Nov 2010 20:41:32 +0000 (20:41 +0000)]
x264 bump from r1766 to r1772
- Various fixes and enhancements.

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

13 years agoMacGui: Use libhb for mixdown limits as well as defaults.
dynaflash [Wed, 17 Nov 2010 20:27:48 +0000 (20:27 +0000)]
MacGui: Use libhb for mixdown limits as well as defaults.
- Patch by Rodeo.

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

13 years agofix a problem with search progress indicator and p-to-p
jstebbins [Sun, 14 Nov 2010 01:56:07 +0000 (01:56 +0000)]
fix a problem with search progress indicator and p-to-p
using incorrect timestamp gave bad progress percent

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

13 years agofix a problem with the first timestamp returned from av_parser_parse2
jstebbins [Sun, 14 Nov 2010 01:54:27 +0000 (01:54 +0000)]
fix a problem with the first timestamp returned from av_parser_parse2

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

13 years agoFix initial chapter number when doing p-to-p in bluray
jstebbins [Sat, 13 Nov 2010 22:18:06 +0000 (22:18 +0000)]
Fix initial chapter number when doing p-to-p in bluray
when seeking in bluray, lookup the current chapter when seek is complete

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

13 years agofix problem with delayed audio when using point-to-point
jstebbins [Sat, 13 Nov 2010 17:34:14 +0000 (17:34 +0000)]
fix problem with delayed audio when using point-to-point
first audio buffer after finding start point had bad start time calculation.

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

13 years agoWinGui:
sr55 [Thu, 11 Nov 2010 14:17:57 +0000 (14:17 +0000)]
WinGui:
- Fix the build.

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

13 years agoWinGui:
sr55 [Thu, 11 Nov 2010 12:26:34 +0000 (12:26 +0000)]
WinGui:
- Remove some code that has been causing a crash after encoding has completed.

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

13 years agotweak audio bitrate limits
jstebbins [Thu, 11 Nov 2010 05:11:22 +0000 (05:11 +0000)]
tweak audio bitrate limits

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

13 years agofix a couple A/V/Sub sync issues
jstebbins [Wed, 10 Nov 2010 21:38:50 +0000 (21:38 +0000)]
fix a couple A/V/Sub sync issues
Fixes an issue with getting the first timestamp in all streams in sync.
Also fixes sync of passthru subs when using point-to-point.

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

13 years agoMacGui: disable the drc audio widget unless the source is AC3.
dynaflash [Wed, 10 Nov 2010 19:35:39 +0000 (19:35 +0000)]
MacGui: disable the drc audio widget unless the source is AC3.
- original patch by Rodeo ... KVO refactor by circleone.

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

13 years agobump ffmpeg from r25374 to r25689
jstebbins [Wed, 10 Nov 2010 16:51:35 +0000 (16:51 +0000)]
bump ffmpeg from r25374 to r25689
brings back LATM support

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

13 years agobump x264 from r1745 to r1766
jstebbins [Wed, 10 Nov 2010 16:49:52 +0000 (16:49 +0000)]
bump x264 from r1745 to r1766
bugs squashed and some improvements
http://mailman.videolan.org/pipermail/x264-devel/2010-November/007920.html

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

13 years agoWinGui:
sr55 [Tue, 9 Nov 2010 18:03:22 +0000 (18:03 +0000)]
WinGui:
- Missed comment and reset.

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

13 years agoWinGui:
sr55 [Tue, 9 Nov 2010 18:02:22 +0000 (18:02 +0000)]
WinGui:
- Don't display an exception after the process was deliberately killed.

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

13 years agoMacGui: fix alignment of the widgets in the Advanced Panel.
dynaflash [Tue, 9 Nov 2010 04:12:37 +0000 (04:12 +0000)]
MacGui: fix alignment of the widgets in the Advanced Panel.
- Patch by Rodeo.

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

13 years agoMacGui: Fix queue and auto m4v ...
dynaflash [Mon, 8 Nov 2010 22:00:51 +0000 (22:00 +0000)]
MacGui: Fix queue and auto m4v ...
- patch (as previous) by circleone
- Fix it so that the queue does not attempt to process an extra queue item when the output file already exists.
- Using AC3 Passthru as the codec will trigger the output file to have the .m4v extension when using mp4.

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

13 years agoMacGui: Audio
dynaflash [Mon, 8 Nov 2010 21:47:52 +0000 (21:47 +0000)]
MacGui: Audio
- Switched the audio object to use KVO internally to make the code more legible, to allow switching the codec to eventually cause the mp4 output extension to be re-evalutated, and to make sure the bitrate and mixdown popups are empty when the track is disable (the None track).

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

13 years agoWinGui;
sr55 [Mon, 8 Nov 2010 20:59:33 +0000 (20:59 +0000)]
WinGui;
- Fix a potential crash condition in the encode service.

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

13 years agoWinGui:
sr55 [Sun, 7 Nov 2010 19:40:30 +0000 (19:40 +0000)]
WinGui:
- Added numerous bits of code that have been lying around my system for a while. None of this is hooked up. Just pushing it into the repository so I don't lose it. It may be used for  a future release.

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

13 years agoFix encx264 to accomodate upcoming x264 api change.
jstebbins [Sun, 7 Nov 2010 19:03:10 +0000 (19:03 +0000)]
Fix encx264 to accomodate upcoming x264 api change.
i_qpplus1 is going away, so eliminate our use of it.  Isn't needed anyway.

Also switch from using x264_picture_alloc to x264_picture_init.
We are supplying out own buffer, so we should be using init instead of alloc.

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

13 years agoWinGui:
sr55 [Sun, 7 Nov 2010 18:46:56 +0000 (18:46 +0000)]
WinGui:
- Collaspe the preview window if QT is not installed. Hide the QuickTime playback options.

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

13 years agoImproved logging of keyint min/max
jstebbins [Sun, 7 Nov 2010 17:21:13 +0000 (17:21 +0000)]
Improved logging of keyint min/max
And small tweak to keyint_max calculation.

x264 slightly changed the way the automatic min-keyint is calculated.
Also, keyint infinite was added. This does not cause any encoding issues,
but depending on the settings and the framerate, the log contained
keyint values that don't correspond to the actual encode's values.

The keyint_max was calculated, 59.94 fps sources will get a keyint of 599
rather than 600.  With this change, It is rounded to the closest integer
then multiplied by 10.

Thanks to Rodeo

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

13 years agoBump cpu count limit from 8 to 64
jstebbins [Sun, 7 Nov 2010 16:35:24 +0000 (16:35 +0000)]
Bump cpu count limit from 8 to 64

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

13 years agoFix use of uninitialized variable in mpeg PS detection.
jstebbins [Sun, 7 Nov 2010 16:33:29 +0000 (16:33 +0000)]
Fix use of uninitialized variable in mpeg PS detection.
This could easily cause PS detection to fail.

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

13 years agoAllow longer SRT filename paths.
jstebbins [Sun, 7 Nov 2010 16:29:59 +0000 (16:29 +0000)]
Allow longer SRT filename paths.
Bump from 128 to 256.

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

13 years agooops, delete debug printf...
jstebbins [Sat, 6 Nov 2010 21:15:31 +0000 (21:15 +0000)]
oops, delete debug printf...

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

13 years agofix audio sync when resampling 48khz to 44.1khz
jstebbins [Sat, 6 Nov 2010 21:14:14 +0000 (21:14 +0000)]
fix audio sync when resampling 48khz to 44.1khz
Rounding errors in timestamp calculations caused a gradual slip
in both sync.c and encfaac.c.

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

13 years agoWinGui:
sr55 [Sat, 6 Nov 2010 20:20:45 +0000 (20:20 +0000)]
WinGui:
- Remove the Caliburn / Service Locator references. Not going to put this in the upcoming release. No need to bloat the installer with the dlls when they are not currently used.

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

13 years agofix windows crash and probably other random nastiness.
jstebbins [Sat, 6 Nov 2010 17:22:12 +0000 (17:22 +0000)]
fix windows crash and probably other random nastiness.
Initializing extradata_size to non-zero makes ffmpeg think it
needs to parse extradata.  But in the non-broken-by-microsoft case
we leave extradata as uninitialized junk.  So ffmpeg parses uninitialized
data and sometimes marches off into the weeds.

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

13 years agofix framerate detection again (really, i mean it this time)
jstebbins [Fri, 5 Nov 2010 23:29:31 +0000 (23:29 +0000)]
fix framerate detection again (really, i mean it this time)
integer overflow was causing our sanity checks of ffmpegs frame rate
to fail.  We would then fall back to using less accurate values.

Also removes the completely incorrect adjustment that I made based on
ticks_per_frame.  That is only useful in a different code path.

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

13 years agolog the title duration before throwing it out when it's too short
jstebbins [Fri, 5 Nov 2010 21:56:32 +0000 (21:56 +0000)]
log the title duration before throwing it out when it's too short

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

13 years agoFix hb_get_best_mixdown to allow downmixing 7.1 to 5.1
jstebbins [Fri, 5 Nov 2010 20:12:31 +0000 (20:12 +0000)]
Fix hb_get_best_mixdown to allow downmixing 7.1 to 5.1
Use hb_get_best_mixdown in places in the LinGui that were duplicating
code.

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

13 years agoLinGui: fix auto audio track selection problem
jstebbins [Fri, 5 Nov 2010 18:49:36 +0000 (18:49 +0000)]
LinGui: fix auto audio track selection problem
When passthru is requested, and the first audio track of the source isn't
passthru compatible, it picked the first track instead of moving on
to a compatible track.

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

13 years agofix start/stop time of last lame buffer
jstebbins [Thu, 4 Nov 2010 21:15:47 +0000 (21:15 +0000)]
fix start/stop time of last lame buffer
after flushing lame, the flushed buffers start/stop time were not
being set.

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

13 years agoLinGui: update copyright dates
jstebbins [Wed, 3 Nov 2010 23:28:54 +0000 (23:28 +0000)]
LinGui: update copyright dates

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

13 years agoLinGui: Fix a problem with updating mixdown combo
jstebbins [Wed, 3 Nov 2010 20:27:24 +0000 (20:27 +0000)]
LinGui: Fix a problem with updating mixdown combo
The first time the codec combo changes, the mixdown didn't get
sanitized and updated.

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

13 years agofix framerate detection of ffmpeg sources
jstebbins [Wed, 3 Nov 2010 00:35:02 +0000 (00:35 +0000)]
fix framerate detection of ffmpeg sources
found another spot where ticks_per_frame was not being accounted for.

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

13 years agoLinGui: Fix psy-rd formatting to be locale safe
jstebbins [Tue, 2 Nov 2010 22:13:30 +0000 (22:13 +0000)]
LinGui: Fix psy-rd formatting to be locale safe
Reverts the previous commit regarding this.
Uses '|' as separator between psy-rd and psy-trellis parameters
since ',' is ambiguous in locales that use ',' as decimal point.

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

13 years agoLinGui: Use '.' for all locales when passing floats to x264
jstebbins [Tue, 2 Nov 2010 16:16:31 +0000 (16:16 +0000)]
LinGui: Use '.' for all locales when passing floats to x264
x264 doesn't accept internationalized decimal points.
So force '.' when converting floats.

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

13 years agoWinGui:
sr55 [Mon, 1 Nov 2010 20:56:29 +0000 (20:56 +0000)]
WinGui:
- Second attempt at build fix. Fixes references.

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

13 years agoWinGui:
sr55 [Mon, 1 Nov 2010 20:46:37 +0000 (20:46 +0000)]
WinGui:
- Attempt to fix the nightly build.

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

13 years agofix spelling of 'track' in cli help
jstebbins [Mon, 1 Nov 2010 20:27:43 +0000 (20:27 +0000)]
fix spelling of 'track' in cli help

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

13 years agoWinGui:
sr55 [Mon, 1 Nov 2010 20:23:19 +0000 (20:23 +0000)]
WinGui:
- Some re factoring of the Framework library

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

13 years agoLinGui: allow specifying file to scan on command line
jstebbins [Mon, 1 Nov 2010 18:06:08 +0000 (18:06 +0000)]
LinGui: allow specifying file to scan on command line
The gui will immediately scan this file at startup.
Makes 'Open with' nautilus options behave as expected.

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

13 years agoMacGui: Subtitle tab changes
dynaflash [Mon, 1 Nov 2010 16:08:00 +0000 (16:08 +0000)]
MacGui: Subtitle tab changes
- Patch by Rodeo ... Thanks!
- displays additional information about source subtitles (VOBSUB, SSA, etc. in addition to Text/Bitmap).
- disables the "Forced Only" checkbox for non-VOBSUB tracks.
- makes "Forced Only" the default for Foreign Language Search.
- makes the "Default" and "Burned In" checkboxes mutually exclusive (the checkboxes act like a radio button).

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

13 years agoWinGui:
sr55 [Sun, 31 Oct 2010 21:18:29 +0000 (21:18 +0000)]
WinGui:
- Added an implementation of IWindsorInstaller to the class libraries.

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

13 years agoWinGui:
sr55 [Sun, 31 Oct 2010 17:57:41 +0000 (17:57 +0000)]
WinGui:
- Tweak to the Activity window to make it clearer which encode log is selected. Also improves the logic which selects the correct log when the window loads.

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

13 years agoWinGui:
sr55 [Sun, 31 Oct 2010 17:39:36 +0000 (17:39 +0000)]
WinGui:
- Unsubscribe an event handler when cancelling the scan.

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

13 years agoWinGui:
sr55 [Sat, 30 Oct 2010 14:23:40 +0000 (14:23 +0000)]
WinGui:
- Fix a display issue on the queue where the pass count was incorrect.

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

13 years agoWinGui:
sr55 [Sat, 30 Oct 2010 14:18:21 +0000 (14:18 +0000)]
WinGui:
- Fix an issue where embedded SRT files were not getting detected correctly during scan. Regex was incorrect to pickup "UTF-8"

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

13 years agoWinGui:
sr55 [Sat, 30 Oct 2010 14:01:45 +0000 (14:01 +0000)]
WinGui:
- Fix a bug in the audio panel where changing selected audio track would incorrectly set the audio bit-rate control dropdown

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

13 years agofix a segfault and a deadlock if reader exits befor first buffer sent
jstebbins [Fri, 29 Oct 2010 16:17:48 +0000 (16:17 +0000)]
fix a segfault and a deadlock if reader exits befor first buffer sent
This can happen if enough of the source is good that it scans but the
beginning has an error that causes reader to exit.

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

13 years agoMacGui: Audio - Using fallback codec no longer sets the bit rate from the preset...
dynaflash [Fri, 29 Oct 2010 14:35:00 +0000 (14:35 +0000)]
MacGui: Audio - Using fallback codec no longer sets the bit rate from the preset. Setting the sample rate no longer sets the bit rate to the default if the currently selected bit rate is still supported.

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

13 years agoWinGui:
sr55 [Sun, 24 Oct 2010 10:58:36 +0000 (10:58 +0000)]
WinGui:
- Fix the nightly build. Was missing the service location dll.

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

13 years agoWinGui:
sr55 [Sat, 23 Oct 2010 21:15:11 +0000 (21:15 +0000)]
WinGui:
- Delete 2 unneeded dll's from the last checkin.

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

13 years agoWinGui:
sr55 [Sat, 23 Oct 2010 21:14:08 +0000 (21:14 +0000)]
WinGui:
- Bring in Caliburn 1.1 and Windsor / Service Locator. (For a later release)

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

13 years agoupdate baseline presets with weightp=0
jstebbins [Sat, 23 Oct 2010 19:26:51 +0000 (19:26 +0000)]
update baseline presets with weightp=0
eliminate hack that defaults weightp=0 when bframes=0

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