OSDN Git Service

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agox264: bump to r1159-3da3f95
dynaflash [Mon, 25 May 2009 19:06:45 +0000 (19:06 +0000)]
x264: bump to r1159-3da3f95
- Various CABAC / CAVLC optimisations

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

15 years ago- bump to mp4v2-trunk-r349.
konablend [Sat, 23 May 2009 16:03:16 +0000 (16:03 +0000)]
- bump to mp4v2-trunk-r349.
- muxmp4.c minor updates to recent subtitle API changes.
- muxmp4.c do not set zero-length tags.
- renamed module libmp4v2 -> mp4v2.

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

15 years agoWinGui:
sr55 [Sat, 23 May 2009 14:58:01 +0000 (14:58 +0000)]
WinGui:
- Renamed the Queue folder and moved the Encoding stuff into it.
- Moves encode process information into a class object.

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

15 years agoWinGui:WinGui:
sr55 [Sat, 23 May 2009 14:57:00 +0000 (14:57 +0000)]
WinGui:WinGui:
- Stop button, now allows the CLI to cleanly exit by sending ctrl-c rather than killing the process.

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

15 years agoDarwin Xcode builds:
konablend [Sat, 23 May 2009 10:23:03 +0000 (10:23 +0000)]
Darwin Xcode builds:
- changed Xcode.app to build contrib with jobs=2 by default.
- changed Xcode project Base SDK for all Configurations from '10.5' to 'Current Mac OS' which
  will help us build on Snow Leopard.

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

15 years agoForgot a comma in common.c .
ritsuka [Sat, 23 May 2009 09:52:40 +0000 (09:52 +0000)]
Forgot a comma in common.c .

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

15 years ago- Add CoreAudio AAC as one of the encoder on Mac OS X.
ritsuka [Sat, 23 May 2009 09:46:36 +0000 (09:46 +0000)]
- Add CoreAudio AAC as one of the encoder on Mac OS X.
- Remove hb_init() and hb_init_express() macro. Rename hb_init_real() to hb_init()
- Add two more bitrate combination for audio codecs in common.h

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

15 years agoLinGui: fix a couple bugs in subtitle handling
jstebbins [Fri, 22 May 2009 22:46:59 +0000 (22:46 +0000)]
LinGui: fix a couple bugs in subtitle handling
- validation of subtitiles wasn't looking at the 'enabled' flag so it
  gave an incorrect warning message for subtitles that were not enabled
- subtitles were being erroneously enabled when there was no subtitle
  list in the preset

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

15 years agoLinGui: check gstreamer return values more carefully
jstebbins [Fri, 22 May 2009 19:08:44 +0000 (19:08 +0000)]
LinGui: check gstreamer return values more carefully
gstreamer seems to fail when run on remote X sessions

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

15 years agoLinGui:
jstebbins [Fri, 22 May 2009 16:22:04 +0000 (16:22 +0000)]
LinGui:
reload subtitles properly when a queue item is edited

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

15 years agoWinGui:
sr55 [Fri, 22 May 2009 13:33:39 +0000 (13:33 +0000)]
WinGui:
- Offer option to disable balloon popups on the tray icon.
- Misc code cleanup

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

15 years agoWinGui:
sr55 [Fri, 22 May 2009 00:08:58 +0000 (00:08 +0000)]
WinGui:
- Should probably have included the new audio panel files with that last check-in.

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

15 years agoWinGui:
sr55 [Fri, 22 May 2009 00:07:38 +0000 (00:07 +0000)]
WinGui:
- Moved the AudioPanel to it's own userControl.
- Tweaks to the Audio Track list to improve usability. Now shows track ID's to indicate which track is selected.
- Added missing file headers to some files.
- Moved subtitles onto their own tab in preparation for the new subtitle features.
- Improved control (widget) appearance on the Advanced tab.

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

15 years agoLinGui:
jstebbins [Thu, 21 May 2009 20:23:04 +0000 (20:23 +0000)]
LinGui:
add 'enable' checkbox to subtitle list and show all subtitles
in the list after scanning. Thanks eddyg for the suggestions.

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

15 years agoLinGui:
jstebbins [Wed, 20 May 2009 23:39:06 +0000 (23:39 +0000)]
LinGui:
- Move the subtitle track combo into the treeview list
  Each subtitle entry has its own combo to select the track now

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

15 years agoLinGui: give feedback indicating problems with subtitle selections
jstebbins [Wed, 20 May 2009 16:00:52 +0000 (16:00 +0000)]
LinGui: give feedback indicating problems with subtitle selections
- highlight subtitles that can not be encoded for some reason
  example: user adds several subtitles, then changes container from mkv to mp4
- validate subtitle list when adding to queue and show warning popup when
  there's a problem

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

15 years agoLinGui:
jstebbins [Wed, 20 May 2009 00:28:51 +0000 (00:28 +0000)]
LinGui:
- fix a couple ui widget size/position issues
- fix subtitle selection when no match is found in a title for a subtitle preset
- fix an error in generating strings that describe a subtitles type

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

15 years agoChange minimum vobsub time from 3sec to 2sec, been meaning to do this for a while.
eddyg [Tue, 19 May 2009 22:41:17 +0000 (22:41 +0000)]
Change minimum vobsub time from 3sec to 2sec, been meaning to do this for a while.

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

15 years agoLinGui: forgot a couple files needed for the subtitle support
jstebbins [Tue, 19 May 2009 22:32:12 +0000 (22:32 +0000)]
LinGui: forgot a couple files needed for the subtitle support

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

15 years agomkv soft subtitle support
jstebbins [Tue, 19 May 2009 22:27:11 +0000 (22:27 +0000)]
mkv soft subtitle support
- new libmkv 0.6.4 with subtitle track support
- muxmkv supports vobsub and closed caption subtitles
- added subtitle format, source, and dest initialization to dvdnav
- moved subtitle_force flag into hb_subtitle_t struct as it needs to
  be settable per subtitle
- gtk ui added subtitle tab which allows selection of multiple subtitles
- reorgainize subtitle sync code to prevent dropping of subtitles when
  multiple subtitles are enabled

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

15 years agox264 bump to r1153-1248a52
dynaflash [Tue, 19 May 2009 04:24:22 +0000 (04:24 +0000)]
x264 bump to r1153-1248a52
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=1248a5256780201b0d0615bd2ccb34b07960e974

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

15 years agoBuildSystem: fixed regression introduced in r2425.
konablend [Tue, 19 May 2009 03:47:27 +0000 (03:47 +0000)]
BuildSystem: fixed regression introduced in r2425.
- a 'space' snuck it's way into EXTRACT.tarbase default setting.
- solution is to strip value of leading/trailing whitespace.
- tested against a full-build.

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

15 years agoBuildSystem: fixed EXTRACT.tarbase default to support .tar.bz2 and .tar.gz extensions.
konablend [Tue, 19 May 2009 02:26:29 +0000 (02:26 +0000)]
BuildSystem: fixed EXTRACT.tarbase default to support .tar.bz2 and .tar.gz extensions.

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

15 years agoGet rid of silence inserted at the beginning of mp4/mov/mkv files. GENPTS seems to...
van [Sun, 17 May 2009 07:35:27 +0000 (07:35 +0000)]
Get rid of silence inserted at the beginning of mp4/mov/mkv files. GENPTS seems to do the wrong thing on files with real time stamps & inserts a delay equal to the audio/video interleave offset.

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

15 years ago - I confused max program chains (999) with max programs (99) and made loop detection...
van [Sat, 16 May 2009 20:19:18 +0000 (20:19 +0000)]
 - I confused max program chains (999) with max programs (99) and made loop detection array too small. Thanks to JAS for pointing out the problem!
 - Fix bonehead error in pgc-relative offset calculation that broke seeking for titles with one pgc (e.g., almost everything).

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

15 years agoMinor cleanup in chapter size computation (backported from dvdnav.c).
van [Sat, 16 May 2009 07:08:43 +0000 (07:08 +0000)]
Minor cleanup in chapter size computation (backported from dvdnav.c).

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

15 years agoRemove some noise from the log: Only announce chapters when we're reading, not while...
van [Sat, 16 May 2009 07:06:38 +0000 (07:06 +0000)]
Remove some noise from the log: Only announce chapters when we're reading, not while we're getting previews and get rid of a spurious chapter annoucement in sync (video decoders announce chapters since that's where they first get put in the output data stream).

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

15 years ago - Handle titles that use more than one PGC (like the one in this thread: http:/...
van [Sat, 16 May 2009 07:00:02 +0000 (07:00 +0000)]
 - Handle titles that use more than one PGC (like the one in this thread: forum.handbrake.fr/viewtopic.php?f=5&t=10678&p=55575&hilit=genesis#p55620).
 - Make pgcn_map local rather than static since there can be simultaneous scans from both GUI and queue service threads and statics aren't thread safe. Also make map 32 bytes since standard allows only 255 PGCs per title.
 - Fix minor bugs in NextPgcn (used pgcn rather than next_pgcn so tested wrong bit) and dvdnav_seek (missing 'break' & extraneous 'while').

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

15 years agoLinGui: fix gtk building on ubuntu 8.0.4 LTS
jstebbins [Fri, 15 May 2009 16:58:47 +0000 (16:58 +0000)]
LinGui: fix gtk building on ubuntu 8.0.4 LTS

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