OSDN Git Service

handbrake-jp/handbrake-jp-git.git
14 years agoMacGUI: added 64-bit savvy application icon.
konablend [Wed, 17 Jun 2009 00:05:07 +0000 (00:05 +0000)]
MacGUI: added 64-bit savvy application icon.
- icon is chosen based on compile-time architecture: HandBrake.icns or HandBrake-64.icns
- added action for MainMenu->About to call Controller.showAboutPanel as the default about panel needs dictionary override to force icon.

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

14 years agoLinGui: set up the job correctly for ana 3 when starting an encode
jstebbins [Tue, 16 Jun 2009 21:12:07 +0000 (21:12 +0000)]
LinGui: set up the job correctly for ana 3 when starting an encode
I forgot to set the apropriate dar or par and keep_display_aspect
when starting and encode.

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

14 years agoMacgui: Update Sparkle to 1.5 b6
dynaflash [Tue, 16 Jun 2009 19:39:04 +0000 (19:39 +0000)]
Macgui: Update Sparkle to 1.5 b6
- Compiles in 64 bit mode
- Requires a DSA signature for downloading updates
- remove over 3 mb of unused localized sparkle nibs.

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

14 years agoLinGui: add controls to all setting an explicit par in ana mode 3
jstebbins [Tue, 16 Jun 2009 19:21:33 +0000 (19:21 +0000)]
LinGui: add controls to all setting an explicit par in ana mode 3

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

14 years agoBuildSystem: osx packaging updated to create .dmg in 2 passes; results in ~9% filesiz...
konablend [Tue, 16 Jun 2009 19:10:21 +0000 (19:10 +0000)]
BuildSystem: osx packaging updated to create .dmg in 2 passes; results in ~9% filesize reduction.

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

14 years agoBuildSystem: added OSX packaging support.
konablend [Tue, 16 Jun 2009 18:26:04 +0000 (18:26 +0000)]
BuildSystem: added OSX packaging support.
- target is 'make pkg.create' which must be done after a normal build. No dependency checks are performed.
- at least 1 package for all platforms is always produced: .tar.bz2
- darwin builds with Xcode add 2 packages: CLI.dmg and GUI.dmg
- darwin builds sans Xcode add 1 package: CLI.dmg

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

14 years agoLinGui: change gtk install rule so that changes to PREFIX on the command
jstebbins [Tue, 16 Jun 2009 17:43:59 +0000 (17:43 +0000)]
LinGui: change gtk install rule so that changes to PREFIX on the command
line of the top level make get propagated to gtk. This is needed when
building debian packages.

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

14 years agoMacGui: Queue - Only display audio tracks with a valid track selected (removes the...
dynaflash [Tue, 16 Jun 2009 15:08:05 +0000 (15:08 +0000)]
MacGui: Queue - Only display audio tracks with a valid track selected (removes the useless "None" tracks in the display).

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

14 years agoMacGui: Subtitles - Fix bug where setting the first track to None ( deleting the...
dynaflash [Tue, 16 Jun 2009 04:06:01 +0000 (04:06 +0000)]
MacGui: Subtitles - Fix bug where setting the first track to None ( deleting the previously selected track) cause the next track to be set to one subtitle track less than it should (thanks for the heads up Rodeo).
- Also removed a needless bit of boolean logic used to test mp4 multi vobsub removal.

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

14 years agoWinGui:
sr55 [Mon, 15 Jun 2009 21:32:19 +0000 (21:32 +0000)]
WinGui:
- Moving from mkv to mp4 now leaves only 1 vobsub track on the list. Any others are removed.

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

14 years agoCLI:
sr55 [Mon, 15 Jun 2009 19:06:38 +0000 (19:06 +0000)]
CLI:
- Fixes keyboard input on the MinGW port. (Thanks Kona)

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

14 years agoMacGui: Fix subtitle issues
dynaflash [Mon, 15 Jun 2009 16:39:54 +0000 (16:39 +0000)]
MacGui: Fix subtitle issues
- fix crash if only closed captions are selected (thanks van).
- set RENDERSUB when burned is selected for foreign audio search (thanks j45)

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

14 years agoLinGui: foreign audio search didn't set subtitle dest to RENDERSUB
jstebbins [Mon, 15 Jun 2009 16:02:35 +0000 (16:02 +0000)]
LinGui: foreign audio search didn't set subtitle dest to RENDERSUB
when burned was selected.

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

14 years agoWinGui:
sr55 [Mon, 15 Jun 2009 14:56:23 +0000 (14:56 +0000)]
WinGui:
- Picture Settings: Height of 0 allows for no -l to be passed to the CLI
- Picture Settings / pre-sets now set 0 when no Height specified. Prevents the panel from using incorrect values when pre-sets are selected.
- Simplified the Encode.cs set-up. Includes changes to QueueHandler

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

14 years agoWinGui:
sr55 [Sun, 14 Jun 2009 13:31:24 +0000 (13:31 +0000)]
WinGui:
- Small tweaks to Encode.cs
- write2disk queue recovery feature is now completely handled in QueueHandler
- Auto naming is on by default.

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

14 years agoWinGui:
sr55 [Sun, 14 Jun 2009 12:00:46 +0000 (12:00 +0000)]
WinGui:
- Missed the new subtitle files in the last check-in.

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

14 years agoWinGui:
sr55 [Sat, 13 Jun 2009 19:55:49 +0000 (19:55 +0000)]
WinGui:
- New subtitle tab. All complaints to j45 please.

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

14 years agoMacGui: Multiple subtitle tracks initial implementation
dynaflash [Sat, 13 Jun 2009 19:50:12 +0000 (19:50 +0000)]
MacGui: Multiple subtitle tracks initial implementation
- Subtitles now get their own tab
- "None" track is an empty track, add a new subtitle track by switching it to a valid source track.
- First track allows for "Foreign Language Search" which replaces the old "Auto Select".
- Remove a previously selected track by setting it back to "None"
- Sanity Checks:
-- Allow only one Burned In track.
-- Text tracks do not allow burned in to be set.
-- MP4 specific:
--- Allow only one VobSub and force burned in to be set.
---- Trying to set more than one vobsub in mp4 results in a warning, and the first vobsub track is retained.
- Presets: Currently subtitles are not recorded into presets (which they never have been).
- Live Preview:
-- Foreign Language Search is borked for live preview, so is ignored
-- Burned in subtitles work for both mp4 and mkv
-- Text subtitles work for mp4 if set to default (preview has no way to turn soft subs on/off)
-- Text subtitles do not show up in preview window even if checked as default.

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

14 years agoLinGui: delete usage of job->select_subtitle. it's definition has been removed
jstebbins [Sat, 13 Jun 2009 18:52:32 +0000 (18:52 +0000)]
LinGui: delete usage of job->select_subtitle. it's definition has been removed
from libhb.  it's functionality was moved into the interjob struct

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

14 years agodvdnav: oops. initialize d->chapter to 0 instead of first chapter
jstebbins [Sat, 13 Jun 2009 18:13:53 +0000 (18:13 +0000)]
dvdnav: oops. initialize d->chapter to 0 instead of first chapter
otherwise, we don't get the initial chapter marker event

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

14 years agodvdnav: fix title scanning issue
jstebbins [Sat, 13 Jun 2009 18:07:38 +0000 (18:07 +0000)]
dvdnav: fix title scanning issue
d->chapter needs to be initialized in hb_dvdnav_start.  chapter loop detection
was triggering on chapters from previous title scans

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

14 years agolibhb: fix forced foreign language scan issues
jstebbins [Sat, 13 Jun 2009 17:40:29 +0000 (17:40 +0000)]
libhb: fix forced foreign language scan issues
- subtitles were not being added to list of subs to scan because the wrong
  config was being checked for the forced flag.  needed to use
  job->select_subtitle_config instead of subtitle->config
- scr code in reader was preventing the majority of subtitle packets from
  reaching decvobsub.  made decvobsub more robust by adding ability to
  re-sync in the event of lost packets.  made scr recovery initialize
  itself even in the event that it sees audio or subtitles before seeing
  video.

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

14 years agoWinGui:
sr55 [Fri, 12 Jun 2009 19:35:23 +0000 (19:35 +0000)]
WinGui:
- Added support for the new subtitle information in the log format. Will deal with the new GUI elements later.

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

14 years agoCLI: remove usage of strtok_r in subtitle option handling. it's not available
jstebbins [Fri, 12 Jun 2009 18:15:38 +0000 (18:15 +0000)]
CLI: remove usage of strtok_r in subtitle option handling.  it's not available
in mingw.  instead, parse the csv options into a char** in ParseOptions.

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

14 years agoWinGui:
sr55 [Fri, 12 Jun 2009 14:19:19 +0000 (14:19 +0000)]
WinGui:
- Move all DllImports into win32.cs

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

14 years agolibhb: interjob vrate info did not get updated when there is an indepth scan
jstebbins [Thu, 11 Jun 2009 23:26:05 +0000 (23:26 +0000)]
libhb: interjob vrate info did not get updated when there is an indepth scan
due to job sequence_id mismatch.  masking interjob sequence_id properly fixes.

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

14 years agoWinGui:
sr55 [Thu, 11 Jun 2009 20:01:57 +0000 (20:01 +0000)]
WinGui:
- Remove some code which isn't required to handle preset adding/removal/expand/collapse

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

14 years agoLinGui: per irc discussion with D_S, in turbo 1st pass, leave weightb alone
jstebbins [Thu, 11 Jun 2009 18:49:59 +0000 (18:49 +0000)]
LinGui: per irc discussion with D_S, in turbo 1st pass, leave weightb alone
if b-adapt=2.

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

14 years agoWinGui:
sr55 [Thu, 11 Jun 2009 18:45:22 +0000 (18:45 +0000)]
WinGui:
- Misc Code changes / Fixes

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

14 years agoCLI: add support for multiple subtitles and soft-subs
jstebbins [Thu, 11 Jun 2009 18:43:21 +0000 (18:43 +0000)]
CLI: add support for multiple subtitles and soft-subs
--subtitle takes a comma separated list of subtitles
--subtitle-scan has been removed. Add "scan" to --subtitle list instead.
--subtitle-force takes a comma separated list of subtitles that should be forced only
--subtitle-burn sets which subtitle to burn (only one)
--subtitle-default sets which soft-subtitle to make the default (only one)

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

14 years agoWinGui:
sr55 [Thu, 11 Jun 2009 18:32:56 +0000 (18:32 +0000)]
WinGui:
- Don't really know why I was using strings to compare to floats :/

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

14 years agoWinGui:
sr55 [Thu, 11 Jun 2009 18:29:19 +0000 (18:29 +0000)]
WinGui:
- Few more possible culture issues.

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

14 years agoWinGui
sr55 [Thu, 11 Jun 2009 18:27:10 +0000 (18:27 +0000)]
WinGui
- Fix a culture issue in the new picture settings code.

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

14 years agoWinGui:
sr55 [Thu, 11 Jun 2009 18:19:40 +0000 (18:19 +0000)]
WinGui:
- Don't return 0 on calculateWidth and Height

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

14 years agoWinGui:
sr55 [Thu, 11 Jun 2009 16:58:58 +0000 (16:58 +0000)]
WinGui:
- Added some guards in height and width change functions to prevent both values dropping below 64

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

14 years agoWinGui:
sr55 [Thu, 11 Jun 2009 16:55:17 +0000 (16:55 +0000)]
WinGui:
- Fixed Keep AR disabled leaded to Aspect ratio being kept for width.
- Fixed Max Width / Height display and issues in Query Generator.
- Fixed some issues in the Preset Loader.
- Crop values are always mod 2 now.

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

14 years agoLinGui: small cleanup of warning messages when powermanagement inhibit
jstebbins [Wed, 10 Jun 2009 20:59:34 +0000 (20:59 +0000)]
LinGui: small cleanup of warning messages when powermanagement inhibit
functions fail.

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

14 years agoLinGui: remove the big jump in the drc slider when going from 1.0->Off
jstebbins [Wed, 10 Jun 2009 16:26:45 +0000 (16:26 +0000)]
LinGui: remove the big jump in the drc slider when going from 1.0->Off

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

14 years agoWinGui:
sr55 [Tue, 9 Jun 2009 21:48:37 +0000 (21:48 +0000)]
WinGui:
- Fix the QueryGenerator setting incorrect width/height values for anamorphic modes.

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

14 years agoLinGui: fix a problem with parameters to a signal that caused segfaults
jstebbins [Tue, 9 Jun 2009 17:00:21 +0000 (17:00 +0000)]
LinGui: fix a problem with parameters to a signal that caused segfaults

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

14 years agoWinGui:
sr55 [Tue, 9 Jun 2009 16:49:10 +0000 (16:49 +0000)]
WinGui:
- Custom Anamorphic with Keep AR should be mostly working now.
- Fixed another few bugs. (Incorrect DAR values and caching, Height value after scan incorrect for anamorphic modes)

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

14 years agoWinGui:
sr55 [Tue, 9 Jun 2009 15:29:19 +0000 (15:29 +0000)]
WinGui:
- A number of fixes to the new picture settings panel. Should be mostly working bar an issue with Custom with KeepAR enabled.

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

14 years agoLinGui: dim the drc label along with the control when passthru is selected
jstebbins [Mon, 8 Jun 2009 23:59:05 +0000 (23:59 +0000)]
LinGui: dim the drc label along with the control when passthru is selected

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

14 years agoLinGui: revert the extra widgets for subtitle foreign audio search
jstebbins [Mon, 8 Jun 2009 23:01:48 +0000 (23:01 +0000)]
LinGui: revert the extra widgets for subtitle foreign audio search
put it back in the list with the normal subtitle tracks.
gets rid of extra preset keys that were really unnecessary

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

14 years agoLinGui: replace drc hscale with scalebutton
jstebbins [Mon, 8 Jun 2009 17:00:03 +0000 (17:00 +0000)]
LinGui: replace drc hscale with scalebutton
scale button pops up a scale when needed, so is more compact.
audio settings now all fit in one row.  this opens the possibility
of making the audio tab behave more like the mac ui's

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

14 years agoWinGui:
sr55 [Mon, 8 Jun 2009 16:18:38 +0000 (16:18 +0000)]
WinGui:
- Fixes some crashes in the new picture settings panel and hooks up the presetLoader and query parser so they work with the new options.

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

14 years agoLinGui: allow up to 99 audio tracks since libhb now supports that many
jstebbins [Mon, 8 Jun 2009 14:42:09 +0000 (14:42 +0000)]
LinGui: allow up to 99 audio tracks since libhb now supports that many

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

14 years agoLinGui: forgot to set keep_display_aspect when setting up and encode job
jstebbins [Mon, 8 Jun 2009 14:29:41 +0000 (14:29 +0000)]
LinGui: forgot to set keep_display_aspect when setting up and encode job
was only setting it for previews.

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

14 years agoSome DVD titles end with a 'link' command back to the beginning chapter which makes...
van [Mon, 8 Jun 2009 05:24:18 +0000 (05:24 +0000)]
Some DVD titles end with a 'link' command back to the beginning chapter which makes HB encode forever. If we move to an earlier chapter say we're done.

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

14 years agoWinGui:
sr55 [Sun, 7 Jun 2009 23:09:07 +0000 (23:09 +0000)]
WinGui:
- Small fix for loose. Truncate not round display width.

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

14 years agoWinGui:
sr55 [Sun, 7 Jun 2009 23:04:05 +0000 (23:04 +0000)]
WinGui:
- Checkin of the new picutre settings panel (before I end up accidentally losing working code)
- Modes: None, Strict and Loose work (mostly).  Custom does not work (yet)

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

14 years ago - nasty bug: at eof, dropping a delay queue frame for CFR could link the render...
van [Sun, 7 Jun 2009 05:01:10 +0000 (05:01 +0000)]
 - nasty bug: at eof, dropping a delay queue frame for CFR could link the render video output to the free list causing hangs and/or garbage output.
 - since frame rate conversion moved from sync to render, sync has to use input (title) frame rate, not output (job) frame rate.
 - get rid of 'too many frames' check in sync. it can't be done here because it causes reader to deadlock and it belongs in the dvd reader anyway (only dvd input can loop).

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

14 years ago- mingw fixes to use fopen() with 'b' flag.
konablend [Sat, 6 Jun 2009 23:04:51 +0000 (23:04 +0000)]
- mingw fixes to use fopen() with 'b' flag.
- include pthread.h for pthread_win32 attach/detach decls.

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

14 years agolibhb: correct error in preview scaling
jstebbins [Sat, 6 Jun 2009 17:05:45 +0000 (17:05 +0000)]
libhb: correct error in preview scaling

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

14 years agoLinGui: use new job->anamorphic.keep_display_apsect flag for ana mode 3
jstebbins [Sat, 6 Jun 2009 17:05:12 +0000 (17:05 +0000)]
LinGui: use new job->anamorphic.keep_display_apsect flag for ana mode 3

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

14 years agoAdds a keep_display_aspect toggle to the job->anamorphic struct in order to fix a...
jbrjake [Sat, 6 Jun 2009 17:02:17 +0000 (17:02 +0000)]
Adds a keep_display_aspect toggle to the job->anamorphic struct in order to fix a bug and implements it in the CLI. Also adds some more anamorphic settings to the job config display.

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

14 years agoProbably a good idea to set the new par width after calculating it.
jbrjake [Fri, 5 Jun 2009 22:07:01 +0000 (22:07 +0000)]
Probably a good idea to set the new par width after calculating it.

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

14 years agoLinGui: when preview window is really small, the hud can be wider than
jstebbins [Fri, 5 Jun 2009 18:55:31 +0000 (18:55 +0000)]
LinGui: when preview window is really small, the hud can be wider than
the image.  center the image when this is the case.

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

14 years agocli: remove unused variable that generated a compile warning
jstebbins [Fri, 5 Jun 2009 17:02:46 +0000 (17:02 +0000)]
cli: remove unused variable that generated a compile warning

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

14 years agoCLI: List ca_aac as an the audio encoder in the help, when running in OS X.
jbrjake [Fri, 5 Jun 2009 17:00:25 +0000 (17:00 +0000)]
CLI: List ca_aac as an the audio encoder in the help, when running in OS X.

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

14 years agoCLI: Implements custom anamorphic. No more -p or -P. Choices are --strict-anamorphic...
jbrjake [Fri, 5 Jun 2009 16:39:32 +0000 (16:39 +0000)]
CLI: Implements custom anamorphic. No more -p or -P. Choices are --strict-anamorphic, --loose-anamorphic, and the new --custom-anamorphic. The last of which also handles --pixel-aspect, --display-width, --itu-par, --modulus, and --keep-display-aspect options. Loose will also obey the pixel aspect and ITU PAR options.

Libhb: Fixed a small bug with custom anamorphic working off the source's display aspect even when dealing with a custom display aspect, and made the job config display aware that custom anamorphic exists.

Scripts: Updated manicure to write the new anamorphic option names.

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

14 years agoLinGui: fix a problem in validation of the subtitle list while setting up job
jstebbins [Fri, 5 Jun 2009 16:34:33 +0000 (16:34 +0000)]
LinGui: fix a problem in validation of the subtitle list while setting up job

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

14 years agoLinGui: make "Foreign Audio Search" a separate widget instead of adding it
jstebbins [Thu, 4 Jun 2009 21:14:41 +0000 (21:14 +0000)]
LinGui: make "Foreign Audio Search" a separate widget instead of adding it
like a to the subtitle track list as if it were a regular subtitle track.

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

14 years agoLinGui:
jstebbins [Thu, 4 Jun 2009 18:45:02 +0000 (18:45 +0000)]
LinGui:
fix a couple problems with showing the cropped region in the preview

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

14 years agoLinGui: new builtin presets
jstebbins [Thu, 4 Jun 2009 18:26:19 +0000 (18:26 +0000)]
LinGui: new builtin presets

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

14 years agoAdds an interjob structure to preserve some encode data across jobs within an instanc...
jbrjake [Thu, 4 Jun 2009 17:52:01 +0000 (17:52 +0000)]
Adds an interjob structure to preserve some encode data across jobs within an instance of libhb. This allows correcting the estimated bitrate/filesize of 2-pass encodes of variable framerate content, as the actual frame count is known after the first pass. Thanks for putting the idea into code, Shaya.

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

14 years agoMacGui and CLI: New built-in presets. The list has been much pared down, and a strong...
jbrjake [Thu, 4 Jun 2009 17:37:43 +0000 (17:37 +0000)]
MacGui and CLI: New built-in presets. The list has been much pared down, and a stronger emphasis has been given to quality-based encoding. Video game console presets are gone because supporting them is an endlessly frustrating experience. Either they work with the Normal preset's vanilla main profile H.264 in a standard MP4 container, or they don't. The high profile presets have been condensed down into a single one. Many presets have been sped up. The AppleTV preset is now High Profile and uses better B-frame decisions. MacGui presets also now use the AudioList array.

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

14 years agoLinGui:
jstebbins [Wed, 3 Jun 2009 23:30:37 +0000 (23:30 +0000)]
LinGui:
improve the behavior of "burned" flag when switching between
mkv and mp4 containers.  since the list may contain a mix of subtitles
that is impossible in mp4, do a reasonable job of cleaning it up.

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

14 years ago- whups: fixed corrupted patch from r2477.
konablend [Wed, 3 Jun 2009 22:55:23 +0000 (22:55 +0000)]
- whups: fixed corrupted patch from r2477.

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

14 years agoLinGui: make default width of subtitle track colum wider so that it
jstebbins [Wed, 3 Jun 2009 22:48:11 +0000 (22:48 +0000)]
LinGui: make default width of subtitle track colum wider so that it
doesn't need to readjust it's size when a longer subtitle is added

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

14 years ago- added patch comment indicating when it may be removed.
konablend [Wed, 3 Jun 2009 22:48:03 +0000 (22:48 +0000)]
- added patch comment indicating when it may be removed.

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

14 years agosoftsubs:
jstebbins [Wed, 3 Jun 2009 22:07:49 +0000 (22:07 +0000)]
softsubs:
- add ability to have 1 source subtitle feed many output subtitles
  use hb_subtitle_add() to add output tracks.
  example use case:
    you want forced subtitles from a source track on one output track and
    the entire subtitle stream from the same source track on a second
    output track
- LinGui: make subtitle tab resemble functionality of the audio tab
  any track can be added multiple times with different settings.

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

14 years agosoftsubs: allow 1 source to many output subs by duplicating the
jstebbins [Wed, 3 Jun 2009 14:46:04 +0000 (14:46 +0000)]
softsubs: allow 1 source to many output subs by duplicating the
subtitle buffer where necessary

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

14 years ago- fixed regression: mov/png-sequence decoding.
konablend [Wed, 3 Jun 2009 03:55:55 +0000 (03:55 +0000)]
- fixed regression: mov/png-sequence decoding.
- regression was introduced in r2469 (ffmpeg-r18421); workaround is to disable CorePNG p-frames.

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

14 years agolibdvdnav: add patch that moves reading title label below validity checks
jstebbins [Tue, 2 Jun 2009 21:05:12 +0000 (21:05 +0000)]
libdvdnav: add patch that moves reading title label below validity checks
this eliminates the garbage title information libdvdnav spewed to stderr

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

14 years agoMacGui: Fix activity log headers to show correct version when clearing the window...
dynaflash [Tue, 2 Jun 2009 20:02:06 +0000 (20:02 +0000)]
MacGui: Fix activity log headers to show correct version when clearing the window as well as the session log.

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

14 years agoMacGui: Fix issue in custom anamorphic where clicking the keep ar checkbox would...
dynaflash [Tue, 2 Jun 2009 18:41:07 +0000 (18:41 +0000)]
MacGui: Fix issue in custom anamorphic where clicking the keep ar checkbox would cause the display width to creep up.
- Also disable the keep ar checkbox for strict anamorphic

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

14 years agoUpdates manicure to handle the new audio list array, as well as making a few more...
jbrjake [Tue, 2 Jun 2009 18:32:21 +0000 (18:32 +0000)]
Updates manicure to handle the new audio list array, as well as making a few more preset options overridable from the CLI.

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

14 years agoFFMPEG.
konablend [Tue, 2 Jun 2009 17:31:09 +0000 (17:31 +0000)]
FFMPEG.
- bump ffmpeg from 0.5 (approx r17887) to r19067 (thanks van).
- fixed latm patch; latmaac input no longer crashes.
- removed P02-darwin-h264-dsp-crash.

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

14 years agosoftsubtitles:
jstebbins [Tue, 2 Jun 2009 15:32:01 +0000 (15:32 +0000)]
softsubtitles:
- when doing an indepth scan, do not scan CC tracks
- separate subtitle configureation attributes into separate
  hb_subtitle_config_t.  Add an instance of this to hb_job_t for
  setting the attributes of the subtitle found through an indepth scan
- Add a default_track flag to hb_subtitle_config_t that tells the muxer
  that the track should be flaged as the default. muxmkv uses this.
- When an indepth scan is complete, check to see if the autoselected
  subtitle matchces (by id) one of the manually selected subtitles.
  If a match is found, the autoselected subtitle with all the attributes
  the user assigned to it replaces the manually selected subtitle.
- LinGui: Add "Default" column to subtitle tab.  This is a radio that lets
  the user choose which subtitle should be displayed by default.

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

14 years agoCygwin - latest bump in x264 no longer requires build-time patch.
konablend [Tue, 2 Jun 2009 03:37:30 +0000 (03:37 +0000)]
Cygwin - latest bump in x264 no longer requires build-time patch.

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

14 years agoFix for New Zealand TV not following the mpeg2 standard
van [Tue, 2 Jun 2009 03:34:20 +0000 (03:34 +0000)]
Fix for New Zealand TV not following the mpeg2 standard

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

14 years agoLinGui: fix subtitle selection when title has no subtitles
jstebbins [Sat, 30 May 2009 21:49:32 +0000 (21:49 +0000)]
LinGui: fix subtitle selection when title has no subtitles
when the preset had a subtitle enabled and the title has no subtitles
subtitle selection was being set to "auto" which causes a pointless indepth scan

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

14 years ago- minor doc fix as a full-path is now required when specifying gcc from makefiles.
konablend [Sat, 30 May 2009 18:36:14 +0000 (18:36 +0000)]
- minor doc fix as a full-path is now required when specifying gcc from makefiles.

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

15 years agoMacGui: Add Toolbar Item for Preview Window
dynaflash [Fri, 29 May 2009 18:58:39 +0000 (18:58 +0000)]
MacGui: Add Toolbar Item for Preview Window
- Note this icon already existed in /macosx/icons/.
- Definitely not a final icon, but rather probably a placeholder so we could get the toolbar complete.

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

15 years agomp4 cleanups
konablend [Fri, 29 May 2009 18:36:26 +0000 (18:36 +0000)]
mp4 cleanups
- removed unused ipoutil.cpp; has been incorporated into mp4v2 some time ago.
- changed hard-coded buffer sizes to use sizeof.
- bump mp4v2 r349 -> r355; has bugfixes which prevents read-in errors.

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

15 years agoLinGui: explicitely map "AAC (CoreAudio)" preset value to faac
jstebbins [Fri, 29 May 2009 18:03:59 +0000 (18:03 +0000)]
LinGui: explicitely map "AAC (CoreAudio)" preset value to faac

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

15 years agoMacGui: Add Preference to use CoreAudio in place of FAAC when choosing a preset.
dynaflash [Fri, 29 May 2009 17:47:26 +0000 (17:47 +0000)]
MacGui: Add Preference to use CoreAudio in place of FAAC when choosing a preset.
- Defaulted to "On".
- Effectively allows the macgui to use core audio by default while maintaining the cross platform faac encoder in the built in preset's internally.
- Also means that one can manually choose faac after selecting a preset if so desired.

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

15 years agovobsub: fix yuv->rgb conversion of vobsub palette for mkv softsubs
jstebbins [Fri, 29 May 2009 16:26:51 +0000 (16:26 +0000)]
vobsub: fix yuv->rgb conversion of vobsub palette for mkv softsubs
the color components were reversed

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

15 years agox264 bump to r1163
dynaflash [Fri, 29 May 2009 03:50:42 +0000 (03:50 +0000)]
x264 bump to r1163
- oh, its been a few days. A vbv fix and 2% - 4% faster dia, hex, and umh. so why not ?

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

15 years agodvdnav: fix crash that occurs when a PGC has no programs
jstebbins [Fri, 29 May 2009 00:01:27 +0000 (00:01 +0000)]
dvdnav: fix crash that occurs when a PGC has no programs

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

15 years agofix sync problem with dts passthru and video re-sync
jstebbins [Thu, 28 May 2009 18:42:20 +0000 (18:42 +0000)]
fix sync problem with dts passthru and video re-sync
the video drop-frame logic for gaps in the dts stream was broken

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

15 years agoWinGui:
sr55 [Tue, 26 May 2009 22:38:29 +0000 (22:38 +0000)]
WinGui:
- Update query parser to support the updated Audio Panel

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

15 years agoWinGui:
sr55 [Tue, 26 May 2009 22:32:34 +0000 (22:32 +0000)]
WinGui:
- Missing Win32.cs File

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

15 years agoLinGui: automatically update the built-in presets when the hb build number changes
jstebbins [Tue, 26 May 2009 17:53:03 +0000 (17:53 +0000)]
LinGui: automatically update the built-in presets when the hb build number changes

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

15 years agoMacGui: Store the PresetBuildNumber value as an int instead of a string in the preset...
dynaflash [Tue, 26 May 2009 17:13:02 +0000 (17:13 +0000)]
MacGui: Store the PresetBuildNumber value as an int instead of a string in the presets plist.

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

15 years ago- removed xvidcore from build docs and regenerated txt versions.
konablend [Tue, 26 May 2009 15:36:27 +0000 (15:36 +0000)]
- removed xvidcore from build docs and regenerated txt versions.

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

15 years agorevert an erroneous modification to the build system
jstebbins [Tue, 26 May 2009 15:34:55 +0000 (15:34 +0000)]
revert an erroneous modification to the build system

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

15 years agoLinGui: expunge the remaining bits of xvid from the gtk gui
jstebbins [Tue, 26 May 2009 15:25:54 +0000 (15:25 +0000)]
LinGui: expunge the remaining bits of xvid from the gtk gui

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

15 years agoExcises xvid from libhb because it's not worthy. Having two different MPEG-4 Part...
jbrjake [Tue, 26 May 2009 15:23:21 +0000 (15:23 +0000)]
Excises xvid from libhb because it's not worthy. Having two different MPEG-4 Part 2 encoders is superfluous and when choosing between ffmpeg and xvid, xvid is the clear loser since we need to keep ffmpeg around for other functions and xvid constantly requires attention to ensure it compiles.

MacGui: Removes some stray references to the codec and unlinks it from the Xcode project.
CLI: Removes references to the codec and removes it as a dependency.

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