OSDN Git Service

handbrake-jp/handbrake-jp-git.git
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

13 years agoWinGui:
sr55 [Sat, 12 Jun 2010 11:31:02 +0000 (11:31 +0000)]
WinGui:
- Some changes that didn't get picked up from the last checkin.

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

13 years agoWinGui:
sr55 [Sat, 12 Jun 2010 11:16:39 +0000 (11:16 +0000)]
WinGui:
- Svn Rev added to services dll.

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

13 years agoWinGui:
sr55 [Fri, 11 Jun 2010 21:12:17 +0000 (21:12 +0000)]
WinGui:
- Fixes an issue where the Stop button would disappear when the Queue list has paused but the last encode is still completing.

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

13 years agoWinGui:
sr55 [Fri, 11 Jun 2010 21:08:44 +0000 (21:08 +0000)]
WinGui:
- Fixes some issues with status labels not updating correctly on the queue window.
- Now includes encode status on the queue window.
- Minor UI tweaks.

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

13 years agoWinGui:
sr55 [Fri, 11 Jun 2010 18:57:37 +0000 (18:57 +0000)]
WinGui:
- Improvements to the IQueue and IEncode interface. This allows for some cleanup of code in frmMain and frmPreview

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

13 years agox264 bump from 1627 to 1643
jstebbins [Wed, 9 Jun 2010 18:00:42 +0000 (18:00 +0000)]
x264 bump from 1627 to 1643
More various bug fixes and enhancements.
Fixes an mmx issue that caused aac and lame audio encoding breakage.

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

13 years agoLinGui: initialize srt language with preferred language from prefernces
jstebbins [Wed, 9 Jun 2010 16:54:36 +0000 (16:54 +0000)]
LinGui: initialize srt language with preferred language from prefernces
whenever a new srt is added to the subtitle list.

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

13 years agoCLI: missed another conditional that forces burned subs in mp4
jstebbins [Tue, 8 Jun 2010 23:47:07 +0000 (23:47 +0000)]
CLI: missed another conditional that forces burned subs in mp4
also, print "Foreign Audio Search" instead of "Render/Burn in" in the log
during an indepth_scan.

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

13 years agoCLI: subtitle scan was still skipping subs if not burned in mp4
jstebbins [Tue, 8 Jun 2010 20:48:59 +0000 (20:48 +0000)]
CLI: subtitle scan was still skipping subs if not burned in mp4
since we now support the Nero spec for vobsubs in mp4, this isn't necessary

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

13 years agoLinGui: remove debug printf
jstebbins [Tue, 8 Jun 2010 05:18:36 +0000 (05:18 +0000)]
LinGui: remove debug printf

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

13 years agoLinGui: fix some problems i introduced with the recent audio tab changes
jstebbins [Tue, 8 Jun 2010 01:37:06 +0000 (01:37 +0000)]
LinGui: fix some problems i introduced with the recent audio tab changes

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

13 years agoLinGui: rework some of the logic behind the audio tab handler
jstebbins [Mon, 7 Jun 2010 21:49:38 +0000 (21:49 +0000)]
LinGui: rework some of the logic behind the audio tab handler
gets rid of some duplication of values that i had.  makes it
easier to keep the visible list and the data structures behind
it in sync.

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

13 years agoWinGui:
sr55 [Mon, 7 Jun 2010 19:47:40 +0000 (19:47 +0000)]
WinGui:
- Make public settings in the parsing models. Remove some unneeded methods.

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

13 years agoWinGui:
sr55 [Mon, 7 Jun 2010 18:51:59 +0000 (18:51 +0000)]
WinGui:
- Created interfaces for the Scan, Queue and Encode Services.

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

13 years agoLinGui: fix stupid thinko in yesterdays audio panel changes
jstebbins [Mon, 7 Jun 2010 17:08:36 +0000 (17:08 +0000)]
LinGui: fix stupid thinko in yesterdays audio panel changes

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

13 years agoLinGui: fix some spam in the log about hash item not found
jstebbins [Sun, 6 Jun 2010 20:35:39 +0000 (20:35 +0000)]
LinGui: fix some spam in the log about hash item not found
audio encoder item wasn't always getting initialized

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

13 years agoWinGui:
sr55 [Sun, 6 Jun 2010 18:37:18 +0000 (18:37 +0000)]
WinGui:
- Some tweaks to hopefully fix the nightly build.

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

13 years agoWinGui:
sr55 [Sun, 6 Jun 2010 18:28:28 +0000 (18:28 +0000)]
WinGui:
- Change ToolsVersion to 3.5 for the build server

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

13 years agoWinGui:
sr55 [Sun, 6 Jun 2010 18:22:39 +0000 (18:22 +0000)]
WinGui:
- Moved all the services that handle parsing, scanning, encodes and the queue out into a separate library.

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

13 years agoLinGui: Improvements to audio panel
jstebbins [Sun, 6 Jun 2010 18:20:53 +0000 (18:20 +0000)]
LinGui: Improvements to audio panel
When codec is "Choose for me", show the codec chosen in the list, but leave the combo
box showing "Choose for me".  This way, if the user saves the settings in a new preset,
the audio codec saved remaines 'auto' instead of reverting to the codec that was chosen.

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

13 years agoWinGui:
sr55 [Sun, 6 Jun 2010 14:23:40 +0000 (14:23 +0000)]
WinGui:
- Remove unused reference.

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

13 years agoWinGui:
sr55 [Sun, 6 Jun 2010 14:14:19 +0000 (14:14 +0000)]
WinGui:
- Some changes / improvements to the current models / parsing models.

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

13 years agoWinGui:
sr55 [Sun, 6 Jun 2010 14:09:39 +0000 (14:09 +0000)]
WinGui:
#interop - Use Drawing.Size instead of using a model.

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

13 years agoCLI: remove 'L' from short opts so that getopt_long properly flags it as an invalid...
jstebbins [Sat, 5 Jun 2010 16:34:32 +0000 (16:34 +0000)]
CLI: remove 'L' from short opts so that getopt_long properly flags it as an invalid option
I forgot to remove this short option when the --longest was removed.
Also fix the default case of the switch to print the option that failed
rather than the next option.

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

13 years agoWinGui:
sr55 [Fri, 4 Jun 2010 21:19:13 +0000 (21:19 +0000)]
WinGui:
#interop
- Missing documentation headers + stylecop tweaks / cleanup

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

13 years agoWinGui
sr55 [Fri, 4 Jun 2010 20:47:27 +0000 (20:47 +0000)]
WinGui
#interop
- Removed resharper file

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

13 years agoWinGui:
sr55 [Fri, 4 Jun 2010 20:46:45 +0000 (20:46 +0000)]
WinGui:
#interop
- Integrated Stylecop into the 2008 solution
- Added file headers

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

13 years agoWinGui:
sr55 [Fri, 4 Jun 2010 20:33:16 +0000 (20:33 +0000)]
WinGui:
# interop
- Fix Namespaces
- Changed so it's .NET 3.5 compatible.
- Removed usings which were not needed and placed usings inside the namespace.

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

13 years agoWinGui:
sr55 [Fri, 4 Jun 2010 18:36:11 +0000 (18:36 +0000)]
WinGui:
- HandBrakeInterop Project. This can be used to tie into libhb.dll with C#. Thanks to RandomEdgy for writing this.
- Made a few minor changes to this source to make most of the libhb stuff internal to the library only. Added a 2008 project file. (This won't compile yet)

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

13 years agoMacGui: Add flexible dylib path manipulation so that we can handle external dylibs...
jstebbins [Fri, 4 Jun 2010 16:27:15 +0000 (16:27 +0000)]
MacGui: Add flexible dylib path manipulation so that we can handle external dylibs more easily
At startup, add any extra dylib paths to DYLD_FALLBACK_LIBRARY_PATH.  This is the last path
searched by the system for dylibs and we add our paths to the end of it's list, so this
will never override any system libs or paths the user has explicitly set.

Since applications read the environment once at startup, these changes don't take effect
until we restart with execv.  In order to avoid a possible exec bomb, we add a parameter to
the argv list to prevent any further exec's.

Note that this causes a minor glitch when running under gdb. The execv triggers a trap.  You
just have to 'continue'.

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

13 years agoLinGui: make Help->Guide work on windows/mingw
jstebbins [Fri, 4 Jun 2010 00:47:39 +0000 (00:47 +0000)]
LinGui: make Help->Guide work on windows/mingw
Call win api ShellExecute to open url in default browser.

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

14 years agoMacGui: Set the hud control panels origin based on the size of the actual preview...
dynaflash [Wed, 2 Jun 2010 16:49:18 +0000 (16:49 +0000)]
MacGui: Set the hud control panels origin based on the size of the actual preview window anchored at the bottom instead of setting it at the middle of the window.
- Should not block the actual preview as much.
- Move the origin setting code from -SetTitle into -displayPreview so that it is recalculated any time a new preview is generated, which includes changing encode size.

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

14 years agooops, left in a modified plist file location that i used for testing on linux
jstebbins [Wed, 2 Jun 2010 15:22:51 +0000 (15:22 +0000)]
oops, left in a modified plist file location that i used for testing on linux

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

14 years agoAdd preset override for anamorphic to manicure
jstebbins [Wed, 2 Jun 2010 15:20:17 +0000 (15:20 +0000)]
Add preset override for anamorphic to manicure
so when presets are regenerated the next time we don't loose the overrides

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

14 years agox264 bump from r1592 to r1627
dynaflash [Wed, 2 Jun 2010 13:42:12 +0000 (13:42 +0000)]
x264 bump from r1592 to r1627
- Various bugfixes and enhancements

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

14 years agofix potential buffer overrun
jstebbins [Wed, 2 Jun 2010 05:42:59 +0000 (05:42 +0000)]
fix potential buffer overrun
and a few compile time warnings about sign differences

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

14 years agohandle the utf8 byte order mark when present at the beginning of srt subs
jstebbins [Tue, 1 Jun 2010 23:02:41 +0000 (23:02 +0000)]
handle the utf8 byte order mark when present at the beginning of srt subs
it was tripping us up and causing the loss of the first subtitle

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

14 years agooops. forgot to commit the new file
jstebbins [Tue, 1 Jun 2010 21:28:33 +0000 (21:28 +0000)]
oops. forgot to commit the new file

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

14 years agoAdd SSA subtitle support
jstebbins [Tue, 1 Jun 2010 20:21:49 +0000 (20:21 +0000)]
Add SSA subtitle support
Thanks to davidfster

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

14 years agoAdd more subtitle info to the activity log
jstebbins [Tue, 1 Jun 2010 15:22:39 +0000 (15:22 +0000)]
Add more subtitle info to the activity log
adds forced and default flags for all types
adds offset and character codeset for SRT
Thanks Rodeo.

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

14 years agolink hb.dll with -static flag so that extra dll's are not required
jstebbins [Tue, 1 Jun 2010 00:41:17 +0000 (00:41 +0000)]
link hb.dll with -static flag so that extra dll's are not required

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

14 years agoCLI: allow overriding of the anamorphic mode of a preset
jstebbins [Sun, 30 May 2010 18:40:57 +0000 (18:40 +0000)]
CLI: allow overriding of the anamorphic mode of a preset

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

14 years agoadd check for reasonable vobsub width/height values when parsing out of mp4
jstebbins [Sun, 30 May 2010 18:22:32 +0000 (18:22 +0000)]
add check for reasonable vobsub width/height values when parsing out of mp4
if the values aren't good, use default of 720x480

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

14 years agopreserve vobsub palette, width, and height from mkv and mp4 vobsub tracks
jstebbins [Sun, 30 May 2010 18:15:03 +0000 (18:15 +0000)]
preserve vobsub palette, width, and height from mkv and mp4 vobsub tracks
Thanks to davidfster for mp4 palette addition.

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

14 years agoImprove left/right dplii surround separation
jstebbins [Sun, 30 May 2010 17:26:03 +0000 (17:26 +0000)]
Improve left/right dplii surround separation
This analysis and measurement shows that a difference of 4.8db between
Ls and Rs in Lt and Rt provides better separation than 3db
http://forum.doom9.org/showthread.php?t=57988

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

14 years agofix compiler warnings in several libhb files
jstebbins [Sun, 30 May 2010 17:08:12 +0000 (17:08 +0000)]
fix compiler warnings in several libhb files

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

14 years agoWinGui:
sr55 [Sun, 30 May 2010 13:08:07 +0000 (13:08 +0000)]
WinGui:
- Some additional cleanup to the Subtitles files.

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

14 years agoWinGui:
sr55 [Sun, 30 May 2010 13:02:23 +0000 (13:02 +0000)]
WinGui:
- Added resharper 5 file for the 2008 project.
- Unlocked VobSub in Mp4 to allow multiple tracks via passthru. Also fixed a bug with srt import handling.

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

14 years agoLinGui: tweak the ui to accommodate universal subtitle input
jstebbins [Sat, 29 May 2010 22:16:48 +0000 (22:16 +0000)]
LinGui: tweak the ui to accommodate universal subtitle input
don't show burned or forced fields for non-vobsubs
show subtitle type in the subtitle track combo box

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

14 years agoWinGui:
sr55 [Sat, 29 May 2010 19:32:21 +0000 (19:32 +0000)]
WinGui:
- 2008 Solution files.

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

14 years agoWinGui:
sr55 [Fri, 28 May 2010 17:57:42 +0000 (17:57 +0000)]
WinGui:
- Fixed add to queue destination check code.

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

14 years agofix a problem with point-to-point hanging when searching for start point
jstebbins [Wed, 26 May 2010 20:39:52 +0000 (20:39 +0000)]
fix a problem with point-to-point hanging when searching for start point
in reader, the timestamps were not being correctly adjusted for scr offset
before comparing to start time.  This could cause an early start in reader.
Then in sync, syncAudioWork stalled until the correct start of video was
found, causing the audio fifo to fill and stall the whole pipeline.

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

14 years agoMacgui: Sanity check multiple burned in vobsubs.
dynaflash [Wed, 26 May 2010 16:51:40 +0000 (16:51 +0000)]
Macgui: Sanity check multiple burned in vobsubs.

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

14 years agoLinGui: fix module.defs code merge error
jstebbins [Tue, 25 May 2010 21:02:47 +0000 (21:02 +0000)]
LinGui: fix module.defs code merge error
two incompatible changes merged without error and i missed it

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

14 years agoMacGui: Enable soft vobsubs in mp4
dynaflash [Tue, 25 May 2010 17:09:10 +0000 (17:09 +0000)]
MacGui: Enable soft vobsubs in mp4
- Initial patch by Rodeo. Thanks Rodeo!
- Enables soft vobsubsin macgui as per http://trac.handbrake.fr/changeset/3325
- Due to the fact that currently no quicktime based playback devices (yes, including computers and iphone/ipod/ipad) supports soft vobsubs, "Burned In" is on by default.
- Currently soft vobsubs are shown as supported by VLC (Lunettes) and Mplayer on the mac platform.

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

14 years agoadd support for Nero vobsubs in mp4
jstebbins [Mon, 24 May 2010 21:53:48 +0000 (21:53 +0000)]
add support for Nero vobsubs in mp4
Note that these do not work with any apple products that I know of.  Perian
might be able to do something with them.  MPlayer and VLC both grok nero
vobsubs.

libhb, cli, and lingui updated.

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

14 years agoLinGui: disable update checks for snapshot PPA since it does it's own update announce...
jstebbins [Mon, 24 May 2010 18:22:53 +0000 (18:22 +0000)]
LinGui: disable update checks for snapshot PPA since it does it's own update announcements

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

14 years agoLinGui: add option to completely disable update checking
jstebbins [Mon, 24 May 2010 18:15:40 +0000 (18:15 +0000)]
LinGui: add option to completely disable update checking
configure --disable-gtk-update-checks removes the code that does update checks
including the webkit library used for displaying the appcast.  this is
useful when packaging for a repository that has it's own update mechanism.

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