OSDN Git Service

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

15 years agoWinGui:
sr55 [Wed, 13 May 2009 20:16:32 +0000 (20:16 +0000)]
WinGui:
- Create a log file directory if one doesn't exist on start-up.
- Always create presets.xml if the file doesn't exist. (not only if the HandBrake AppData folder doesn't exist)

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

15 years agoWinGui:
sr55 [Wed, 13 May 2009 20:07:52 +0000 (20:07 +0000)]
WinGui:
- Fix Activity Log window not updating for scan log
- Fix Process Affinity not being set for encodes.

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

15 years agoWinGui:
sr55 [Wed, 13 May 2009 19:50:47 +0000 (19:50 +0000)]
WinGui:
- The CLI status information can now optionally be displayed in the encode status bar in the GUI.
- Fixed Scan and Encode cancel functions with a hack. It was killing CMD.exe, not HandBrakeCLI.exe

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

15 years ago- set HandBrakeCLI stdio/stderr to unbuffered on native win32 platform;
konablend [Wed, 13 May 2009 19:27:22 +0000 (19:27 +0000)]
- set HandBrakeCLI stdio/stderr to unbuffered on native win32 platform;
  desired behavior is line-buffering but on win32 msvcrt there is no such thing and
  it becomes full-buffering which delays log/output enough to make it nonsensical.

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

15 years agoBuildSystem: docs
konablend [Wed, 13 May 2009 00:17:52 +0000 (00:17 +0000)]
BuildSystem: docs
- added blurb about troubleshooting and log files.
- regenerated doc/ txt files.

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

15 years agoMacGui: Implement DTS Pass Thru for MKV and DTS Sources.
dynaflash [Tue, 12 May 2009 18:06:22 +0000 (18:06 +0000)]
MacGui: Implement DTS Pass Thru for MKV and DTS Sources.

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

15 years ago# Changed
sr55 [Mon, 11 May 2009 12:49:29 +0000 (12:49 +0000)]
# Changed
- Initial work for multi-instance support. All CLI processes controled by their process ID, not Name. This prevents a scan from 1 instance killing a CLI encode from another.

# Fixed
- Disable angle dropdown when not using Libdvdnav
- Fixed issue with angle dropdown where first item is not selected. This caused the generate query to break due to "--angle" with no value.
- Fixed issue with the dropdown menu setup on the audio tab not working correctly due to updated encoder names and DTS support.
- Fixed an exception conditon on cancel scan.

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

15 years agoMake chapters in mp4 & mkv ffmpeg input files work again (not sure when they got...
van [Mon, 11 May 2009 07:22:49 +0000 (07:22 +0000)]
Make chapters in mp4 & mkv ffmpeg input files work again (not sure when they got broken). Correct timestamp type (it's signed, not unsigned) and do some code cleanup.
Fixes problem reported in http://forum.handbrake.fr/viewtopic.php?f=12&t=10701&sid=4c007d887bf65f3e397203fc2bba1d12

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

15 years agoAnother subtitle muxing fix: Don't check the rdy bit before calling OutputTrackChunk...
van [Mon, 11 May 2009 07:12:39 +0000 (07:12 +0000)]
Another subtitle muxing fix: Don't check the rdy bit before calling OutputTrackChunk so subtitles get output as early as possible based on their start time rather than just before their stop time. (rdy is still checked for non-subtitle tracks since their rdy bit is in the allRdy mask that's tested in the outer loop.)

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

15 years agoFix another subtitle interleaving botch - for mkv's we want the subtitle in the clust...
van [Sat, 9 May 2009 20:49:00 +0000 (20:49 +0000)]
Fix another subtitle interleaving botch - for mkv's we want the subtitle in the cluster where it starts, not the cluster where it ends.

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

15 years agoEnable chapter boundary check for ffmpeg input even when chapters marker are disabled...
ritsuka [Sat, 9 May 2009 08:49:30 +0000 (08:49 +0000)]
Enable chapter boundary check for ffmpeg input even when chapters marker are disabled, fixes an issue where the encoding process wouldn't stop at the right time.

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

15 years agoWork around ffmpeg bug where raw video decoder doesn't use frame buffer allocation...
van [Sat, 9 May 2009 04:39:28 +0000 (04:39 +0000)]
Work around ffmpeg bug where raw video decoder doesn't use frame buffer allocation routine in context.get_buffer so we never get a chance to put our pts in the frame.

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

15 years ago- Fixed the size for tx3g samples in muxmp4.c I forgot to add the size of the string...
ritsuka [Fri, 8 May 2009 16:03:21 +0000 (16:03 +0000)]
- Fixed the size for tx3g samples in muxmp4.c I forgot to add the size of the string byte count to the total sample size.
- Small fixes in deccc608sub.c, trim null characters away.
- Moved the duration time from hb_mux_object_s to hb_mux_data_s so that multiple subtitle tracks can be muxed with interference.
- Uses par to calculate the subtitle track width so that It will be the same as the video track.

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

15 years agoMacGui: Preset Import / Export initial implementation and auto updating of built...
dynaflash [Fri, 8 May 2009 04:24:46 +0000 (04:24 +0000)]
MacGui: Preset Import / Export initial implementation and auto updating of built in presets.
- Preset Import / Export:
-- Export is only available to custom user presets.
-- Export is only the selected preset at this time.
-- Exported presets will be tagged with their build number.
-- Import of mutiple presets.
--- Compatible with LinGui presets.
--- NOT compatible with WinGui presets at this time.
- Built-In preset auto-updating:
-- Adds the key/value pair to the UserPresets.plist file for key "PresetBuildNumber".
-- If the HandBrake.app build number as defined in the Info.plist key "CFBundleVersion" is > the built in presets  "PresetBuildNumber" then the - (IBAction)addFactoryPresets:(id)sender is called to automagically update the built in presets.
-- An alert window is shown along with a system beep ( can be turned off in Preferences -> Advanced for svn mavens and devs) to tell the user that the built in presets are going to be updated.
-- NOTE: First launch of this build will initiate a built in preset update even though the built in presets are the same, since the build number will be added to the built in presets.

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

15 years agoBuildSystem: minor meta-data fix: HB_PROJECT_BUILD_SYSTEMF now correctly defined.
konablend [Fri, 8 May 2009 03:24:30 +0000 (03:24 +0000)]
BuildSystem: minor meta-data fix: HB_PROJECT_BUILD_SYSTEMF now correctly defined.

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

15 years agoFix timestamps on CC's they are now 100% ready and working. Thanks to j45 and ritsuka...
eddyg [Fri, 8 May 2009 00:33:01 +0000 (00:33 +0000)]
Fix timestamps on CC's they are now 100% ready and working. Thanks to j45 and ritsuka for their assistence in getting soft subs finally in HB.

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

15 years agoCombine multiple CC lines into one, trimming whitespace, and adding proper language...
eddyg [Thu, 7 May 2009 23:52:25 +0000 (23:52 +0000)]
Combine multiple CC lines into one, trimming whitespace, and adding proper language code based on first audio track language.

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

15 years agoWinGui:
sr55 [Thu, 7 May 2009 23:00:33 +0000 (23:00 +0000)]
WinGui:
- Notify users that built-in presets have been updated (when preset version < handbrake version.)
- Option to disable that alert in Options > Advanced tab

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

15 years agoSoft Subtitle Support in the MP4 Muxer.
ritsuka [Thu, 7 May 2009 21:59:20 +0000 (21:59 +0000)]
Soft Subtitle Support in the MP4 Muxer.

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

15 years agoWinGui:
sr55 [Thu, 7 May 2009 20:29:25 +0000 (20:29 +0000)]
WinGui:
- Built-in presets get automatically re-generated if a newer build number is detected. This is required since the installer no longer installs presets. (overwrite older versions on install of new version) (As of a few builds ago, presets are automatically generated on first launch)

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

15 years ago# New
sr55 [Thu, 7 May 2009 15:09:33 +0000 (15:09 +0000)]
# New
- DTS support on the audio tab
- Angle support added to the source options

# Changed
- Chapter Markers are not selectable when only 1 chapter is selected or available
- Last Encode and scan logs now stored in application data folder. This will make them more persistent.
- Option to open the HandBrake log folder from the Activity window right click menu

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

15 years agoMacGui: Change new preset code to use AudioList for storing the audio track informati...
dynaflash [Thu, 7 May 2009 14:38:48 +0000 (14:38 +0000)]
MacGui: Change new preset code to use AudioList for storing the audio track information as per the lingui.
- This does *not* change existing presets, only affects any new presets created.
- Results in the macgui and lingui being in sync in terms of preset.plist structure

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

15 years agoChange CC608 decoder to be its own thread
eddyg [Thu, 7 May 2009 04:37:47 +0000 (04:37 +0000)]
Change CC608 decoder to be its own thread

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

15 years agoMinor change in sub printing
eddyg [Wed, 6 May 2009 23:03:06 +0000 (23:03 +0000)]
Minor change in sub printing

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

15 years agoRemoved double EOF for CC's (one from dvd and one from cc), fixed compiler warnings...
eddyg [Wed, 6 May 2009 22:58:21 +0000 (22:58 +0000)]
Removed double EOF for CC's (one from dvd and one from cc), fixed compiler warnings for CC.

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

15 years agosubtitle muxing:
jstebbins [Wed, 6 May 2009 22:41:17 +0000 (22:41 +0000)]
subtitle muxing:
initialize mux_data for passthru subtitles in muxmp4 and muxmkv
add non-continuous tracks for passthru subtitles in muxcommon
log closed caption data that gets to the muxer

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

15 years agoFix Closed Caption start/stop times, switched to SRT encoding including markup for...
eddyg [Wed, 6 May 2009 22:25:34 +0000 (22:25 +0000)]
Fix Closed Caption start/stop times, switched to SRT encoding including markup for text subs internal to HB.

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

15 years agoFix several boneheaded mistakes in fifo ready logic.
van [Wed, 6 May 2009 06:42:21 +0000 (06:42 +0000)]
Fix several boneheaded mistakes in fifo ready logic.

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

15 years agoMissed file
eddyg [Wed, 6 May 2009 04:17:18 +0000 (04:17 +0000)]
Missed file

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

15 years agoVOBSUB encoder skeleton for use with mkv VOBSUB pass-through
eddyg [Wed, 6 May 2009 04:16:40 +0000 (04:16 +0000)]
VOBSUB encoder skeleton for use with mkv VOBSUB pass-through

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

15 years agoPush an EOF onto the subtitle fifos from the reader for DVD VOBSUBs and also from...
eddyg [Wed, 6 May 2009 02:25:58 +0000 (02:25 +0000)]
Push an EOF onto the subtitle fifos from the reader for DVD VOBSUBs and also from cc608 for closed captions

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

15 years agoClean up subtitles at end of encode if not consumed and free fifo.
eddyg [Tue, 5 May 2009 21:41:15 +0000 (21:41 +0000)]
Clean up subtitles at end of encode if not consumed and free fifo.

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

15 years agoMacGui: disable and deselect chapter markers when only one chapter is being encoded...
dynaflash [Tue, 5 May 2009 17:28:50 +0000 (17:28 +0000)]
MacGui: disable and deselect chapter markers when only one chapter is being encoded, whether it be a single chapter title or user specified chapter.

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

15 years agoLinGui:
jstebbins [Tue, 5 May 2009 16:00:13 +0000 (16:00 +0000)]
LinGui:
disable chapters markers when there is only one chapter in the title
or when the user chooses to encode only one chapter of the title

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

15 years agoRewrite pass-through timestamps in sync, put on subtitle->fifo_out for muxing. Also...
eddyg [Tue, 5 May 2009 04:49:28 +0000 (04:49 +0000)]
Rewrite pass-through timestamps in sync, put on subtitle->fifo_out for muxing. Also put the mp4 subtitle display inline with muxing - easy for ritsuka to put into a subtitle track ;)

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

15 years agoWinGui:
sr55 [Mon, 4 May 2009 22:40:46 +0000 (22:40 +0000)]
WinGui:

# New
- Setup LibDVDNav option for scanning.

# Directory and logging changes
- The GUI now stores preset data in the systems user Application Data directory. This means that multi-user systems don't share the same single set of user presets.
- A History of logs are automatically stored in the systems application data directory.
- Changed the log preferences to make them a bit easier to understand.

# Bugs / Typos
- Fixed small bug in the version info regex parser.
- Fixed typo on x264 tab
- Fixed minor GUI issue on the Add Preset window (button transparency)
- Fixed disable Query Editor tab option (Thanks tlindgren)

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

15 years agoLinGui: arg! and remove debuggin output
jstebbins [Mon, 4 May 2009 21:04:32 +0000 (21:04 +0000)]
LinGui: arg! and remove debuggin output

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

15 years agoLinGui: preview crop border fix
jstebbins [Mon, 4 May 2009 21:01:42 +0000 (21:01 +0000)]
LinGui: preview crop border fix
fix slight virtical stretching when borders applied and mod is 16

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

15 years agoLinGui: another tweak to preview cropping borders
jstebbins [Mon, 4 May 2009 18:10:31 +0000 (18:10 +0000)]
LinGui: another tweak to preview cropping borders

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

15 years agoLinGui: tweaks to appearance of visible crop borders
jstebbins [Mon, 4 May 2009 17:18:06 +0000 (17:18 +0000)]
LinGui: tweaks to appearance of visible crop borders

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

15 years agofix mkv muxing. eddyg forgot to add a break in a switch he modified.
jstebbins [Mon, 4 May 2009 15:43:35 +0000 (15:43 +0000)]
fix mkv muxing.  eddyg forgot to add a break in a switch he modified.

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

15 years agoMacGui: preview changes to coincide with rev 2376
dynaflash [Mon, 4 May 2009 05:29:45 +0000 (05:29 +0000)]
MacGui: preview changes to coincide with rev 2376
- as per the LinGui changes to hb_get_preview (thanks jstebbins)
- also restores the gray crop border color
- consolidates some macgui preview code

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

15 years agoLinGui: preview changes
jstebbins [Mon, 4 May 2009 05:26:13 +0000 (05:26 +0000)]
LinGui: preview changes
- update hb_get_preview to allow upscaling and remove borders
- allow upscaling in the gui
- add user option to show visible cropping borders
- gui generates borders when needed instead of hb_get_preview, which
  allows for flexible alternatives like alternate colors

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

15 years agoSoft Subs Part 2: Auto-detect CC during scan, add CC to subtitle list in title, if...
eddyg [Mon, 4 May 2009 04:56:19 +0000 (04:56 +0000)]
Soft Subs Part 2: Auto-detect CC during scan, add CC to subtitle list in title, if selected then CC's are extracted, MP4 Muxer will dump the subs to the log at the end of encoding. TODO: Translate PTS for buf->start to HB format, add MP4 subtitle track and subs during muxing.

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