OSDN Git Service

handbrake-jp/handbrake-jp-git.git
16 years agoAllow mac gui to select AC-3 + AAC at the same time, still needs CLI work for the...
eddyg [Sat, 16 Feb 2008 01:13:09 +0000 (01:13 +0000)]
Allow mac gui to select AC-3 + AAC at the same time, still needs CLI work for the same.

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

16 years agoAllow multiple output audio tracks from a single DVD audio track.
eddyg [Fri, 15 Feb 2008 23:37:54 +0000 (23:37 +0000)]
Allow multiple output audio tracks from a single DVD audio track.

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

16 years agoAlways use a sample rate of 48000hz for AC3.
jbrjake [Thu, 14 Feb 2008 18:57:18 +0000 (18:57 +0000)]
Always use a sample rate of 48000hz for AC3.

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

16 years agoWinGui:
sr55 [Thu, 14 Feb 2008 18:50:49 +0000 (18:50 +0000)]
WinGui:
- Disable Audio Bitrate and Sample Rate dropdowns when AC3 is selected.

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

16 years agoReverts 1262, since, duh, sample size != sample duration.
jbrjake [Thu, 14 Feb 2008 15:06:53 +0000 (15:06 +0000)]
Reverts 1262, since, duh, sample size != sample duration.

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

16 years agoCalculate AC3-in-M4V frame sizes based on channel count instead of always using 1536.
jbrjake [Thu, 14 Feb 2008 03:49:10 +0000 (03:49 +0000)]
Calculate AC3-in-M4V frame sizes based on channel count instead of always using 1536.

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

16 years agoAC3 from DVD via HB converted to M4V for viewing on ATV
eddyg [Thu, 14 Feb 2008 02:19:09 +0000 (02:19 +0000)]
AC3 from DVD via HB converted to M4V for viewing on ATV

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

16 years agoWinGui:
sr55 [Wed, 13 Feb 2008 23:26:25 +0000 (23:26 +0000)]
WinGui:
- Removed option to disable verbose CLI.

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

16 years agoMacGui: remove the preference to turn off verbose output in the activity window.
dynaflash [Wed, 13 Feb 2008 14:25:06 +0000 (14:25 +0000)]
MacGui: remove the preference to turn off verbose output in the activity window.
- non verbose output is of no use whatsoever to the macgui
- uses "HB_DEBUG_ALL" for hb_init
- removed preference from preferences window

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

16 years agoUpdate x264 to revision 736 and update the vbv 2 pass patch by Gabriel Bouvigne to...
dynaflash [Tue, 12 Feb 2008 16:00:18 +0000 (16:00 +0000)]
Update x264 to revision 736 and update the vbv 2 pass patch by Gabriel Bouvigne to the Feb 6 version.
- As usual jam only until ub contrib packs are updated
- Will require a clean checkout (updating will not work) as jam will need to download and compile a new contrib.
- vbv 2 pass patch is here: http://thread.gmane.org/gmane.comp.video.x264.devel/3093/focus=3502

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

16 years agoWhen x264 outputs frames as references for b-frame pyramids, flag them as such instea...
jbrjake [Tue, 12 Feb 2008 15:37:26 +0000 (15:37 +0000)]
When x264 outputs frames as references for b-frame pyramids, flag them as such instead of just marking them as regular b-frames.

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

16 years agoRefer to transitions in the presence-or-lack-thereof of progressive flags on MPEG...
jbrjake [Tue, 12 Feb 2008 15:31:38 +0000 (15:31 +0000)]
Refer to transitions in the presence-or-lack-thereof of progressive flags on MPEG-2 frames as Film->Video or vice versa instead of Progressive->Interlaced. Slightly more accurate,  and will make future comb detection of previews less confusing.

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

16 years agoRemoves unused variable (and gets rid of the compile warning for it). Change copied...
jbrjake [Tue, 12 Feb 2008 15:27:50 +0000 (15:27 +0000)]
Removes unused variable (and gets rid of the compile warning for it). Change copied from libmpcodec's official version of pullup.

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

16 years agoUse proper fourcc code of FMP4 for ffmpeg MPEG-4 video, instead of identifying it...
jbrjake [Sun, 10 Feb 2008 00:24:31 +0000 (00:24 +0000)]
Use proper fourcc code of FMP4 for ffmpeg MPEG-4 video, instead of identifying it as DivX, like ffmpeg used to.

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

16 years ago- More robust stream duration estimation: take 16 (position,pts) samples then do...
van [Sat, 9 Feb 2008 05:40:09 +0000 (05:40 +0000)]
- More robust stream duration estimation: take 16 (position,pts) samples then do a max likelihood estimate of the average rate based on the rate between all pairs of samples.
- When we detect a sync error attempt to resync so that we can handle streams where a few bytes have been inserted or deleted.

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

16 years agoMacGui: fix picture sizing issue in presets where creating a preset using an HD sourc...
dynaflash [Thu, 7 Feb 2008 18:39:05 +0000 (18:39 +0000)]
MacGui: fix picture sizing issue in presets where creating a preset using an HD source (ie. 960 x 544) and then using that preset on a smaller source (ie. dvd) would cause the smaller source to be upscaled to the larger size. Now preset is restricted to scale no larger than the current source regardless of size when it was created.

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

16 years agoMacGui: Add the Forced subtitles checkbox to custom user presets
dynaflash [Thu, 7 Feb 2008 16:43:51 +0000 (16:43 +0000)]
MacGui: Add the Forced subtitles checkbox to custom user presets
- uses  [preset setObject:[NSNumber numberWithInt:1] forKey:@"SubtitlesForced"] to turn the forced checkbox on in the preset
- Not added to any built in presets
- checkbox is unchecked for any preset that doesnt explicitly have it set.

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

16 years ago- correct the way that output timestamps are generated so that VFR will work with...
van [Mon, 4 Feb 2008 17:31:00 +0000 (17:31 +0000)]
- correct the way that output timestamps are generated so that VFR will work with bframes.

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

16 years agoVariable frame rate improvements.
jbrjake [Mon, 4 Feb 2008 16:53:27 +0000 (16:53 +0000)]
Variable frame rate improvements.
- Makes it work better with the source's time stamps and avoids discontinuities, by removing its lazy assumption that all frames are 3003 ticks long.
- Handles more than 1 frame being dropped out of 5.
- Preserves chapter markers from being dropped along with frames they're attached to (thanks van!).
- Also, since VFR no longer requires input at 29.97 fps, removes the hard-coding of that frame rate.

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

16 years agoAdd patches to the xvid and mpeg4ip configure scripts for nasm 2.00.
saintdev [Mon, 4 Feb 2008 01:22:33 +0000 (01:22 +0000)]
Add patches to the xvid and mpeg4ip configure scripts for nasm 2.00.

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

16 years agoRemove the seperate action for mpeg4ip on cygwin from the contrib
saintdev [Mon, 4 Feb 2008 01:22:30 +0000 (01:22 +0000)]
Remove the seperate action for mpeg4ip on cygwin from the contrib
Jamfile. It was only applying a patch. This makes things a little easier
to maintain and makes mpeg4ip similar to other contribs wrt. patching.

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

16 years agoRevert "Cygwin: Patches for xvid and mpeg4ip Updated to work with new nasm 2.x.x"
saintdev [Mon, 4 Feb 2008 01:22:25 +0000 (01:22 +0000)]
Revert "Cygwin: Patches for xvid and mpeg4ip Updated to work with new nasm 2.x.x"

This reverts revision 1235.

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

16 years agoWinGui:
sr55 [Sat, 2 Feb 2008 15:34:27 +0000 (15:34 +0000)]
WinGui:
- now using C#.Net 08
- Fixed bug with VFR setting framerate when enabled.
- Fixed potential framerate bug (passing framerate without -r to the CLI)

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

16 years agoDouble hb_log() max line length to avoid truncation of x264 options in display.
eddyg [Thu, 31 Jan 2008 23:28:02 +0000 (23:28 +0000)]
Double hb_log() max line length to avoid truncation of x264 options in display.

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

16 years agoMacGUI: Revert a part of the previous commit.
ritsuka [Wed, 30 Jan 2008 17:17:18 +0000 (17:17 +0000)]
MacGUI: Revert a part of the previous commit.

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

16 years agoAdded more files to the ignore list.
ritsuka [Wed, 30 Jan 2008 17:07:03 +0000 (17:07 +0000)]
Added more files to the ignore list.

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

16 years agoAdd some svn:ignore propertys, I hope.
ritsuka [Wed, 30 Jan 2008 16:49:38 +0000 (16:49 +0000)]
Add some svn:ignore propertys, I hope.

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

16 years agoWinGui:
sr55 [Wed, 30 Jan 2008 15:54:37 +0000 (15:54 +0000)]
WinGui:
- Updated the help menu links.

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

16 years agoIHB: - Various bugfix
ritsuka [Wed, 30 Jan 2008 12:28:55 +0000 (12:28 +0000)]
IHB: - Various bugfix
- IHB can loads .ihbdevice presets from a directory inside the application bundle, and from ~/Application Support/Instant Handbrake
- A .ihbdevice file can contain multiple presets, but IHB only reads the first at the moment. I am not sure how to handle multiple presets yet.
- The only way to create an .ihbprofile file is to edit DeviceController.m , another thing I still need to think about.

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

16 years agoMacGui: Adds Loose Anamorphic information to the queue display
dynaflash [Tue, 29 Jan 2008 16:11:47 +0000 (16:11 +0000)]
MacGui: Adds Loose Anamorphic information to the queue display
- patch by travistex

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

16 years agoWinGui:
sr55 [Sun, 27 Jan 2008 18:06:52 +0000 (18:06 +0000)]
WinGui:
- Few tweaks to the iPod Atom Checkbox and Optimise MP4 Checkbox
- Removal of x264b30

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

16 years agoIHB: New experimental device based preset system. Still incomplete.
ritsuka [Sat, 26 Jan 2008 19:19:04 +0000 (19:19 +0000)]
IHB: New experimental device based preset system. Still incomplete.
Added a script that automatically adds the svn revision number to Express.plist

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

16 years agoCygwin: Patches for xvid and mpeg4ip Updated to work with new nasm 2.x.x
sr55 [Sat, 26 Jan 2008 18:22:55 +0000 (18:22 +0000)]
Cygwin: Patches for xvid and mpeg4ip Updated to work with new nasm 2.x.x

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

16 years agoAdd an (optional) iso639_2b field to the language struct so that we will accept eithe...
van [Thu, 24 Jan 2008 20:37:03 +0000 (20:37 +0000)]
Add an (optional) iso639_2b field to the language struct so that we will accept either ISO 639-2/T or /B codes in input content (particularly MPEG transport stream PMTs) but will always generate /T codes in mp4s to keep QuickTime happy.

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

16 years agoMacGui: Fix bug where switching titles with vfr on changes the framerate from 29...
dynaflash [Wed, 23 Jan 2008 14:33:25 +0000 (14:33 +0000)]
MacGui: Fix bug where switching titles with vfr on changes the framerate from 29.97 which is required by vfr.
- Note: mostly cosmetic to the gui as libhb is pretty much ignoring the framerate specified by the gui when vfr is on anyway. But the gui should reflect as much as possible what libhb is doing behind the scenes.

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

16 years agoUpdated my entry in Authors
eddyg [Wed, 23 Jan 2008 00:51:47 +0000 (00:51 +0000)]
Updated my entry in Authors

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

16 years ago- Make MPEG audio (and other audio types besides AC3) work.
van [Tue, 22 Jan 2008 22:06:28 +0000 (22:06 +0000)]
- Make MPEG audio (and other audio types besides AC3) work.
- Since the stream is closed after the scan then reopened by reader, we have to preserve all the state we gathered during the scan (like audio id to TS PID bindings) across the close. For now do this by ignoring the close call & doing a close internally when a stream of a different name is opened.
- Don't overfill ts_packetbuf and abort just because an audio stream was missing the AC3 sync pattern (MPEG & DTS streams don't even have an AC3 sync pattern).
- Get rid of several unused variables so that this compiles with no warnings.

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

16 years ago- rather than completely giving up on a dvd because we got a read error on next_vobu...
van [Tue, 22 Jan 2008 21:55:38 +0000 (21:55 +0000)]
- rather than completely giving up on a dvd because we got a read error on next_vobu, just skip to the start of the next cell & keep going.
- get rid of some unused variables so this compiles with no warnings.

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

16 years agoMacGui: comment out two unused variables from legacy update system to quell build...
dynaflash [Tue, 22 Jan 2008 19:59:53 +0000 (19:59 +0000)]
MacGui: comment out two unused variables from legacy update system to quell build warnings, will remove completely after 0.9.2 is released.

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

16 years agoMaintains separate filter settings for each job. This prevents the MacGui from using...
jbrjake [Tue, 22 Jan 2008 19:53:33 +0000 (19:53 +0000)]
Maintains separate filter settings for each job. This prevents the MacGui from using the same filter settings for every job in the queue. Patch from travistex.

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

16 years agoPrevents VFR from leaving PTS gaps at dropped frames, so it works properly with the...
jbrjake [Tue, 22 Jan 2008 17:19:43 +0000 (17:19 +0000)]
Prevents VFR from leaving PTS gaps at dropped frames, so it works properly with the new sync and MP4 muxing code in r1223 and r1224 that passes through the source's time stamps.

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

16 years agoMacGui: Remove one last section of code which generated the old update alert window...
dynaflash [Tue, 22 Jan 2008 17:16:46 +0000 (17:16 +0000)]
MacGui: Remove one last section of code which generated the old update alert window, duh!

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

16 years agoMacGui: Remove deprecated -updateAlertDone method used in the old updating scheme
dynaflash [Tue, 22 Jan 2008 17:06:55 +0000 (17:06 +0000)]
MacGui: Remove deprecated -updateAlertDone method used in the old updating scheme
- Deprecated due to the Sparkle updater implementation

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

16 years agoaccount for quantization bias when computing durations for vfr.
van [Tue, 22 Jan 2008 17:05:12 +0000 (17:05 +0000)]
account for quantization bias when computing durations for vfr.

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

16 years agoWhen vfr is selected use the frame timing from render.c rather than generating duplic...
van [Tue, 22 Jan 2008 16:48:52 +0000 (16:48 +0000)]
When vfr is selected use the frame timing from render.c rather than generating duplicate frames to turn the content back into 30fps.

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

16 years agoMacGui: Fix issue where selecting the chapter tab can crash the macgui if no valid...
dynaflash [Tue, 22 Jan 2008 16:01:59 +0000 (16:01 +0000)]
MacGui: Fix issue where selecting the chapter tab can crash the macgui if no valid source is selected
- patch by travistex

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

16 years agoMacGui: Make Legacy iPod presets truly backwards compatible
dynaflash [Tue, 22 Jan 2008 15:33:02 +0000 (15:33 +0000)]
MacGui: Make Legacy iPod presets truly backwards compatible
- Preset code now adds "level=30" to the advanced options string if the deprecated "x264 (h.264 iPod)" is detected as encoder in a legacy preset.

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

16 years agoPut the correct subtitle language in the Queue for the Mac GUI.
eddyg [Tue, 22 Jan 2008 01:47:52 +0000 (01:47 +0000)]
Put the correct subtitle language in the Queue for the Mac GUI.

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

16 years agoUpdates manicure to parse the new way of setting iPod-compatible encodes in MacGui...
jbrjake [Mon, 21 Jan 2008 22:30:41 +0000 (22:30 +0000)]
Updates manicure to parse the new way of setting iPod-compatible encodes in MacGui presets, and includes the new presets in the CLI.

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

16 years agoChange subtitle position to prevent displaying within a 2% margin of the height of...
eddyg [Mon, 21 Jan 2008 21:29:33 +0000 (21:29 +0000)]
Change subtitle position to prevent displaying within a 2% margin of the height of the screen, rather than using a 20px fixed margin.

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

16 years agoMacgui: update built in presets to comply with the new x264 encoder and Add iPod...
dynaflash [Mon, 21 Jan 2008 20:53:22 +0000 (20:53 +0000)]
Macgui: update built in presets to comply with the new x264 encoder and Add iPod Atom checkbox.
- Use "Update Built In Presets" to , well update your built in presets
- No behavioral change in gui as preset code is backwards compatible to presets create using the old dropdown values.

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

16 years agoMacGui: Be Gone x264 (h.264 iPod) encoder drop down!
dynaflash [Mon, 21 Jan 2008 17:54:16 +0000 (17:54 +0000)]
MacGui: Be Gone x264 (h.264 iPod) encoder drop down!
- Added an "Insert iPod Atom" checkbox right under "HTTP optimized" checkbox which sets job->ipod_atom = 1; in prepareJob if checked (Note: the name of the checkbox is currently up for debate, we are taking suggestions though the current name is most indicative of what it does).
-Level is now handled in the advanced panel opt strings for x264 and width is no longer sanity checked by the gui.
- Changed the remaining x264 (Main) to just x264
- Modified preset code to account for legacy presets from old dropdowns
- Modified built in presets to include "level=30" for iPod / iPhone presets NOTE: Update your built in presets if you want the iPod and iPhone presets to be compatible.
- Removed the "Reset Picture to 640 for x264 iPod" preference from the Preferences -> Picture panel.

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

16 years ago- get rid of 'chapter merging'.
van [Sun, 20 Jan 2008 07:06:17 +0000 (07:06 +0000)]
- get rid of 'chapter merging'.
- check for 'beginning of cell' before 'end of cell' so zero length cells don't
  make us advance to the next cell too early & fail to generate a chapter mark.
- don't read beyond the last cell of a title.
- if we get a read error just skip to the next vobu instead of giving up.
- fix the next_vobu mask (the top two bits have special meaning, not just
  the MSB), make the next vobu decision logic a bit closer to what a hardware
  dvd player uses (interpret the 2^30 bit as "look for a better vobu pointer
  in this navpack), make the 'end of vobu chain' recognition more robust.
- when we're searching for a navpack because we couldn't read the block
  'next_vobu' points to, recognize when we walk out of the current cell &
  just go to the next cell for this title.
- treat an internal vobu with a null prev_vobu pointer as if it were end-of-cell
  and advance to the next cell.
- use consistent case in log messages (always "dvd:" rather than a random mix
  of upper & lower case).

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

16 years agoSet the alternate group for the audio tracks. Does only work when building with jam...
ritsuka [Sat, 19 Jan 2008 17:37:53 +0000 (17:37 +0000)]
Set the alternate group for the audio tracks. Does only work when building with jam, contrib pack is not updated yet.

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

16 years agoPatches mpeg4ip to add some new features:
ritsuka [Sat, 19 Jan 2008 17:14:34 +0000 (17:14 +0000)]
Patches mpeg4ip to add some new features:
- pasp atom;
- layer and alternate_group property in tkhd atom.

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

16 years ago- Removed the damned MediaFork.icns file that should have been removed ages ago!...
sr55 [Fri, 18 Jan 2008 22:25:11 +0000 (22:25 +0000)]
- Removed the damned MediaFork.icns file that should have been removed ages ago! Tidy up after yourself folks!

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

16 years agoUse IS0 639-2/T language codes instead of ISO 639-2/B language codes because QuickTim...
jbrjake [Fri, 18 Jan 2008 20:21:03 +0000 (20:21 +0000)]
Use IS0 639-2/T language codes instead of ISO 639-2/B language codes because QuickTime is a whiny little PITA too simple-minded to handle the concept of synonymous terms.

Should fix any issues with audio tracks showing up with "Undetermined" language in QT/iTunes/iPod.

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

16 years agoCygwin Contrib pack download file - Incorrect EOL markers threw it. Now fixed
sr55 [Fri, 18 Jan 2008 16:11:00 +0000 (16:11 +0000)]
Cygwin Contrib pack download file - Incorrect EOL markers threw it. Now fixed

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

16 years agoCygwin Contrib pack updated to 0014
sr55 [Fri, 18 Jan 2008 16:09:31 +0000 (16:09 +0000)]
Cygwin Contrib pack updated to 0014

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

16 years agoMacGui: Remove the /macosx/localize.sh file from the make build process as it was...
dynaflash [Thu, 17 Jan 2008 15:15:42 +0000 (15:15 +0000)]
MacGui: Remove the /macosx/localize.sh file from the make build process as it was messing up the sparkle updater and in the future we want to localize the nibs the correct way anyway so its not needed.

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

16 years agoMacGui: small tweak to check for duplicate output file before adding to the queue...
dynaflash [Thu, 17 Jan 2008 14:39:34 +0000 (14:39 +0000)]
MacGui: small tweak to check for duplicate output file before adding to the queue. patch courtesy of travistex.

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

16 years agoMacGui: Fix funky preview image colors in the Picture Preview window on PPC, introdu...
dynaflash [Thu, 17 Jan 2008 14:34:24 +0000 (14:34 +0000)]
MacGui: Fix funky preview image colors in the Picture Preview window on PPC,  introduced with the NSImage implementation (rev 1189)

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

16 years agoWinGui:
sr55 [Wed, 16 Jan 2008 22:25:43 +0000 (22:25 +0000)]
WinGui:
- Better presets panel implementation. Preset names are now loaded from file rather than being pre-set in the application.

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

16 years agoMacGui: Sparkle Updater initial implementation
dynaflash [Wed, 16 Jan 2008 17:50:50 +0000 (17:50 +0000)]
MacGui: Sparkle Updater initial implementation
- Changed the call to hb_init to use "0" instead of the old check for updates at launch boolean value from the preferences
- Added Sparkle.framework to the xcode project
- Added "Check for updates..." menu item in the file menu
- Check for updates at launch in the preferences window now binds to SUCheckAtStartup in Shared User Defaults
- Macgui now checks for updates against our appcast at handbrake.fr/appcast.xml (this is specified in /macosx/HandBrake.plist as the value for the "SUFeedURL" which is added now.
- To check for update Sparkle compares the number in the "CFBundleVersion" (which is our build number) against the "sparkle:version="xxx"" in the enclosure tag in the appcast to trigger an update alert
- TO TEST: Change the CFBundleVersion in /macosx/HandBrake.plist to < 10101 (the dummy sparkle:version in the appcast right now) and build, upon launch you should get alerted of a new version available
- NOTE: The entire Sparkle.framework directory is added to the svn in this commit. Its 2.4 mb, though it looks like some things (particularly a ton of localized nibs) could be removed to slim it down quite a bit. As its the initial implementation and I know its tested I am committing the whole thing for this rev.

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

16 years agoWinGui:
sr55 [Wed, 16 Jan 2008 16:17:37 +0000 (16:17 +0000)]
WinGui:
- Tested and fixed a few issues with the appcast updater.
- Fixed a small issue where dropdowns wouldn't have a default value on startup if presets.dat was missing and user defaults was turned off.
- Disabled loose anamorphic for ffmpeg and xvid encodes.
- Added a useful error message to the presets bar when presets.dat is missing.

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

16 years agoTest commit to try to figure out why Trac missed r1199 ...
jbrjake [Tue, 15 Jan 2008 20:32:02 +0000 (20:32 +0000)]
Test commit to try to figure out why Trac missed r1199 ...

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

16 years agoMake makes its glorious comeback -- you're stuck in a jam no more! Mac OS X Contrib...
jbrjake [Tue, 15 Jan 2008 20:04:42 +0000 (20:04 +0000)]
Make makes its glorious comeback -- you're stuck in a jam no more! Mac OS X Contrib Binary Pack ++ to 0021. There are a bunch of weird symbol errors like 'ranlib: for architecture: ppc file: lib/libxvidcore.a(timer.o) has no symbols
' but everything seems to work okay with the components throwing the errors...

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

16 years agoBumps libhb's copy of libmkv to 0.6.1.3, fixing the >2GB file crashes in Linux.
jbrjake [Tue, 15 Jan 2008 16:02:07 +0000 (16:02 +0000)]
Bumps libhb's copy of libmkv to 0.6.1.3, fixing the >2GB file crashes in Linux.

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

16 years agoApplies an experimental patch to x264 allowing VBV contraints on ABR in 2-pass mode...
jbrjake [Tue, 15 Jan 2008 14:58:08 +0000 (14:58 +0000)]
Applies an experimental patch to x264 allowing VBV contraints on ABR in 2-pass mode. Also disables the adaptive quantization patch for the time being, in anticipation of a stable AQ v4.

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

16 years agoBumps libhb's copy of x264 to r720.
jbrjake [Tue, 15 Jan 2008 14:47:33 +0000 (14:47 +0000)]
Bumps libhb's copy of x264 to r720.

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

16 years agoIHB: Now it's possible to choose where the converted files will be saved. Yay!
ritsuka [Tue, 15 Jan 2008 14:42:21 +0000 (14:42 +0000)]
IHB: Now it's possible to choose where the converted files will be saved. Yay!

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

16 years agoMacGui: fixes scanning progress bar, still uses indeterminate for single title only...
dynaflash [Mon, 14 Jan 2008 19:53:18 +0000 (19:53 +0000)]
MacGui: fixes scanning progress bar, still uses indeterminate for single title only scans.

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

16 years agoIHB: Interface beautifications, and an appletv preset.
ritsuka [Mon, 14 Jan 2008 19:51:39 +0000 (19:51 +0000)]
IHB: Interface beautifications, and an appletv preset.

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

16 years agoUse weightb=0 for turbo 1st pass x264 options. This prevents frame count discrepancie...
jbrjake [Mon, 14 Jan 2008 17:52:28 +0000 (17:52 +0000)]
Use weightb=0 for turbo 1st pass x264 options. This prevents frame count discrepancies between passes that can lead to a crash at the end of the 2nd pass.

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

16 years agoDon't bother informing the user when grayscale is off, since that's the case 99%...
jbrjake [Mon, 14 Jan 2008 16:15:10 +0000 (16:15 +0000)]
Don't bother informing the user when grayscale is off, since that's the case 99% of the time anyway.

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

16 years agoMacGui: Warn of duplicate output filenames when adding to the queue.
dynaflash [Mon, 14 Jan 2008 13:58:19 +0000 (13:58 +0000)]
MacGui: Warn of duplicate output filenames when adding to the queue.
- Thanks travistex

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

16 years agoFix JamFile which broke jam when PictureGLView files were removed from xcode project...
dynaflash [Sun, 13 Jan 2008 20:07:56 +0000 (20:07 +0000)]
Fix JamFile which broke jam when PictureGLView files were removed from xcode project in 1190

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

16 years agoMacgui: Remove now defunct PictureGLView .h and .mm as they are no longer necessary...
dynaflash [Sun, 13 Jan 2008 15:04:52 +0000 (15:04 +0000)]
Macgui: Remove now defunct PictureGLView .h and .mm as they are no longer necessary since switching to NSImageView.
- Effectively completes the removal of "Useless OpenGL Effects" from Picture Preview.

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

16 years agoMacGui: Switch PicturePreview to use NSImageView instead of the openGL view.
dynaflash [Sat, 12 Jan 2008 22:45:15 +0000 (22:45 +0000)]
MacGui: Switch PicturePreview to use NSImageView instead of the openGL view.
- thanks travistex
- uses a new method makeImageForPicture which gets the previews into an NS image.

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

16 years agoMacGUI: Make a copy of HBCore in macosx folder.
ritsuka [Fri, 11 Jan 2008 19:00:30 +0000 (19:00 +0000)]
MacGUI: Make a copy of HBCore in macosx folder.

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

16 years agoIHB: A new xcode project file, plus some experimental changes to test HBCore.
ritsuka [Fri, 11 Jan 2008 18:41:54 +0000 (18:41 +0000)]
IHB: A new xcode project file, plus some experimental changes to test HBCore.

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

16 years agoFixed jam error caused by my previous commit.
ritsuka [Fri, 11 Jan 2008 17:57:44 +0000 (17:57 +0000)]
Fixed jam error caused by my previous commit.

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

16 years agoMacGUI: move IHB source code to his own folder.
ritsuka [Fri, 11 Jan 2008 17:48:18 +0000 (17:48 +0000)]
MacGUI: move IHB source code to his own folder.

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

16 years agoMacGui: False Update notices BE GONE!
dynaflash [Thu, 10 Jan 2008 17:11:20 +0000 (17:11 +0000)]
MacGui: False Update notices BE GONE!
- fixed the errant build numbers in the xcode project.

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

16 years agoMacGui: Fix issue where presets were not applying their filters properly the picture...
dynaflash [Thu, 10 Jan 2008 15:00:57 +0000 (15:00 +0000)]
MacGui: Fix issue where presets were not applying their filters properly the picture preview window.

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

16 years agoWinGui:
sr55 [Wed, 9 Jan 2008 21:16:41 +0000 (21:16 +0000)]
WinGui:
- Fixed bug in subtitle parsing code. Didn't handle "," in languages

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

16 years agoWinGui:
sr55 [Wed, 9 Jan 2008 20:02:18 +0000 (20:02 +0000)]
WinGui:
- Added an Activity window which can view a verbose log from the CLI after an encode has completed. (it would be nice if someone could find a way of making this live!)
- The main GUI window now has an icon based toolbar similar to the macGUI instead of having standard buttons along the bottom for Encode and Queue.
- Some of the controls on the Options panel have had transparent backgrounds added so they don't look out of place on theme'd computers.

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

16 years agoMacGui: Add some activity log messages pertaining to source scan selection
dynaflash [Wed, 9 Jan 2008 14:46:52 +0000 (14:46 +0000)]
MacGui: Add some activity log messages pertaining to source scan selection
- Add message telling if user tried to open a physical dvd, reports the volume name instead of path (like hb_scan does now). This should help us with support as it tells us from the log what commercial dvd the user is trying to scan directly in most cases.
-  Add message to tell us which title the user chose to scan for a title specific scan
- Cosmetic changes: changed messages and macgui leader to all lowercase to blend in better with the rest of the libhb messages

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

16 years agoMacGui: Add preset name used (or custom) to the queue and activity log
dynaflash [Wed, 9 Jan 2008 05:45:36 +0000 (05:45 +0000)]
MacGui: Add preset name used (or custom) to the queue and activity log
- Courtesy of travistex
- Uses "Custom" if the settings do not reflect a preset
- Changed some names of functions in HBQueueController and added some comments
- The main controller now notifies the queue controller whenever jobs are added to libhb. This allows the queue to find out about such jobs without having to query libhb's job list periodically.

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

16 years agoMacGui: Be gone useless IB notices!
dynaflash [Tue, 8 Jan 2008 18:52:05 +0000 (18:52 +0000)]
MacGui: Be gone useless IB notices!
- Turn off IB notices in the Deployment as well as UB targets this time.

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

16 years agoMacGui: establish the source display name in browseSourcesDone instead of showNewScan...
dynaflash [Tue, 8 Jan 2008 18:43:31 +0000 (18:43 +0000)]
MacGui: establish the source display name in browseSourcesDone instead of showNewScan to alleviate using the same logic twice depending on source type
- Also adds the ability to scan .dvdmedia packages
- Also changes the xcode project to not report xib messages during building, which previously filled the screen with remedial alignment messages, etc.
- .xib warnings and errors are still reported

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

16 years agoMacGui: modify writeToActivityLog to use vargs
dynaflash [Tue, 8 Jan 2008 18:05:30 +0000 (18:05 +0000)]
MacGui: modify writeToActivityLog to use vargs
- thanks travistex
- can now accept input like: [self writeToActivityLog: "trying to open a package at: %s", [path UTF8String]];

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

16 years agoWinGui:
sr55 [Tue, 8 Jan 2008 17:42:20 +0000 (17:42 +0000)]
WinGui:
- Gray out the resolution boxes when Anamorphic is enabled. (Long overdue)

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

16 years agoWinGui:
sr55 [Tue, 8 Jan 2008 17:26:06 +0000 (17:26 +0000)]
WinGui:
- CMD window no longer appears during scanning
- Fixed FormatException on start up in the Development expiry code.

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

16 years agoMacGui: HandBrake.app xib nib conversion
dynaflash [Tue, 8 Jan 2008 15:43:09 +0000 (15:43 +0000)]
MacGui: HandBrake.app xib nib conversion
-  All nibs in the HandBrake target are now .xib file format
- Will only build with IB 3 and above, which means HandBrake.app now only build on Leopard
-  Changed the "Per-configuration Build Products Path" to be "$(PROJECT_DIR)/.." in order to successfully build - thanks travistex

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

16 years agoMacgui: Implement writeToActivityLog method with provides a simple way to send messag...
dynaflash [Tue, 8 Jan 2008 13:58:45 +0000 (13:58 +0000)]
Macgui: Implement writeToActivityLog method with provides a simple way to send messages to the activity window and log much like hb_log including a time stamp.
- example call : [self writeToActivityLog:"trying to open a package"];

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

16 years agoMacgui: Change to using stderr to write to the activity window from within the gui.
dynaflash [Mon, 7 Jan 2008 19:54:42 +0000 (19:54 +0000)]
Macgui: Change to using stderr to write to the activity window from within the gui.
- stdout works, but only when run from within xcode. not when hb is run by itself.
- Duh!

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

16 years ago- figure out MPEG PS duration from stream rather than faking it.
van [Sun, 6 Jan 2008 23:18:42 +0000 (23:18 +0000)]
- figure out MPEG PS duration from stream rather than faking it.
- correct some audio substream id mistakes: substream 2 is for dvd
  subtitles (in a vob) not lpcm, substream 10 is lpcm, dts seems
  to be a variant of ac3 (8), not its own code.
- incorporate suggestions from eddyg's code review.

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

16 years agofix for duplicate chapters when encoding with ffmpeg.
van [Sun, 6 Jan 2008 23:07:01 +0000 (23:07 +0000)]
fix for duplicate chapters when encoding with ffmpeg.

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

16 years agoApply same edit to chapter track as to video track so chapters will stay in
van [Sun, 6 Jan 2008 23:01:44 +0000 (23:01 +0000)]
Apply same edit to chapter track as to video track so chapters will stay in
sync with the video (otherwise they end up 2-4 frames late).

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