OSDN Git Service

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

16 years agoWinGui:
sr55 [Sun, 6 Jan 2008 16:33:57 +0000 (16:33 +0000)]
WinGui:
- Fixed: for Auto-naming where it would incorrectly set directory when the user had no default set
- Fixed: A few control's were not set to transparent so showed up incorrectly on themed windows machines.

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

16 years agoMacGUI: Fixed "Alert Window And Growl" option (thanks travistex) and small alignment...
ritsuka [Sun, 6 Jan 2008 12:42:15 +0000 (12:42 +0000)]
MacGUI: Fixed "Alert Window And Growl" option (thanks travistex) and small alignment changes in the Activity Window.

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

16 years agoStructural changes:
jbrjake [Sat, 5 Jan 2008 01:26:17 +0000 (01:26 +0000)]
Structural changes:
- Gets rid of global and class variables
- Moves CLI option parsing to its own method
- Moves output display to its own class
- Removes unnecessary temporary hashes

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

16 years agoFill in the "Encoded By:" tag in MP4 files with "HandBrake" followed by the version...
jbrjake [Fri, 4 Jan 2008 18:37:03 +0000 (18:37 +0000)]
Fill in the "Encoded By:" tag in MP4 files with "HandBrake" followed by the version number and build date. Thanks for making me aware that libmp4v2 had an MP4SetMetadataTool() function, realityking.

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

16 years agoadd me per jbrjake's request to check svn account
van [Fri, 4 Jan 2008 06:49:45 +0000 (06:49 +0000)]
add me per jbrjake's request to check svn account

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

16 years agoChange url to check LATEST file to "handbrake.fr"
dynaflash [Thu, 3 Jan 2008 19:48:34 +0000 (19:48 +0000)]
Change url to check LATEST file to "handbrake.fr"

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

16 years agoMacGui: Loose Anamorphic initial implementation
dynaflash [Thu, 3 Jan 2008 19:11:26 +0000 (19:11 +0000)]
MacGui: Loose Anamorphic initial implementation
- Changes the PAR checkbox to an anamorphic NSPopUp Button with "None", "Strict", and "Loose".
- Sanity checks against the ffmpeg encoder, until that gets fixed.
- removed six unneeded outlets for picture sizing in Controller.mm.
- Previous presets will gracefully degrade to us "Strict" if anamorphic is specified.
- I know about the bug where the picture window changes size on the first width drop when resizing Loose Anamorphic, so dont ask ;)

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

16 years agoWinGui:
sr55 [Wed, 2 Jan 2008 16:58:39 +0000 (16:58 +0000)]
WinGui:
- Chapters.csv and dvdinfo.dat are now saved in the windows temporary folder. This should mean the application doesn't need admin rights on Vista. Thanks to "doubt" for the patch.
- Few UI theme tweaks.

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

16 years agoProgram Streams: Vans patch to set a fake duration for program streams.
dynaflash [Tue, 1 Jan 2008 22:11:34 +0000 (22:11 +0000)]
Program Streams: Vans patch to set a fake duration for program streams.
Thanks Van!

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

16 years agoOnly drop frames when using VFR, not with regular detelecine.
jbrjake [Tue, 1 Jan 2008 18:50:48 +0000 (18:50 +0000)]
Only drop frames when using VFR, not with regular detelecine.
*facepalm*

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

16 years agoWinGui:
sr55 [Mon, 31 Dec 2007 17:31:24 +0000 (17:31 +0000)]
WinGui:
- Very small checking to improve the development expire code. (and for testing the irc bot)

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

16 years agoMacgui: Enable opening up .eyetv packages directly
dynaflash [Mon, 31 Dec 2007 17:24:09 +0000 (17:24 +0000)]
Macgui: Enable opening up .eyetv packages directly
- check source to see if the chosen file is a package
- if so, checks for the .eyetv extension
- then finds the program stream in the package and opens it.
- gui does not call hb_scan if source is identified as a package, but is not an .eyetv package to avoid scanning errant packages
- very verbose activity log messages from the gui for packages, would likely comment out for release, mostly to verify in testing.

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

16 years agoProgram Stream Enhancements - Van: Libhb
dynaflash [Mon, 31 Dec 2007 17:11:15 +0000 (17:11 +0000)]
Program Stream Enhancements - Van: Libhb
- Thanks Van !
- Identifies program streams by type instead of file extension
- Improves proper duration reporting of program streams
- fixes audio reconvergence code in libhb/sync.c trying to free a null buffer causing a crash
- Assorted other enhancements to encoding program streams.

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

16 years agoFixes a typo in MP4 chapter marker durations. Thanks, van!
jbrjake [Sat, 29 Dec 2007 16:03:29 +0000 (16:03 +0000)]
Fixes a typo in MP4 chapter marker durations. Thanks, van!

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

16 years agoExtends hb_set_anamorphic_size() to make it possible to do "dry-runs"...this way...
jbrjake [Fri, 28 Dec 2007 20:02:41 +0000 (20:02 +0000)]
Extends hb_set_anamorphic_size() to make it possible to do "dry-runs"...this way the MacGui can calculate loose anamorphic values for displaying preview images, before the job variables are directly set in work.c.

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

16 years agoBetter b-frame muxing. Instead of using an arbitrarily long offset and then later...
jbrjake [Fri, 28 Dec 2007 19:48:37 +0000 (19:48 +0000)]
Better b-frame muxing. Instead of using an arbitrarily long offset and then later walking the file to find the smallest one, now x264 uses the smallest delay it can from the start. This significantly cuts down muxing time.

As a side effect, it also makes fixing chapter markers + b-frames easy, so that's included too in muxmp4 (thanks, van!).

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

16 years ago"Great! Where are we going?"
jbrjake [Fri, 28 Dec 2007 18:17:24 +0000 (18:17 +0000)]
"Great! Where are we going?"
Prevents sync.c from prematurely ending the encode when its estimated maximum frame count is too low, by doubling that maximum.
Thanks for fixing this long-standing bug, van!

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

16 years agoPatches mpeg4ip's build script so it doesn't check for libmp4v2 compatibility in...
jbrjake [Fri, 28 Dec 2007 18:03:01 +0000 (18:03 +0000)]
Patches mpeg4ip's build script so it doesn't check for libmp4v2 compatibility in the system-level copy of faac, since HandBrak doesn't use that copy of the library. It always trips up Linux users. Thanks, saintdev!

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

16 years agoUpdated makefile for cygwin builds
sr55 [Thu, 27 Dec 2007 21:03:40 +0000 (21:03 +0000)]
Updated makefile for cygwin builds
app = download contrib binary package and compile source
all = use Jam to build the source
Works the same way as linux does now.

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

16 years agoMacGui: Maintain Picture Filters state across sources
dynaflash [Wed, 26 Dec 2007 16:26:57 +0000 (16:26 +0000)]
MacGui: Maintain Picture Filters state across sources
- Picture filters no longer reset to their defaults when a new source is chosen (includes vfr as well setEnabled to the fps drop down in the main window).
- Added a new method -setInitialPictureFilters to PictureController.m to setup the filters upon first scan instead of in -SetTitle which reset them every time a new title was accessed.

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

16 years agoWinGui:
sr55 [Mon, 24 Dec 2007 18:43:10 +0000 (18:43 +0000)]
WinGui:
- Added GPL Licence comment at the top of each code file as required. (this may need to be changed later but will do for now)

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

16 years agoAdds a bunch of code comments to the x264 option controller, in order to make reading...
jbrjake [Fri, 21 Dec 2007 18:51:13 +0000 (18:51 +0000)]
Adds a bunch of code comments to the x264 option controller, in order to make reading the file slightly less of an exercise in masochism.

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

16 years agoWinGui:
sr55 [Fri, 21 Dec 2007 17:45:15 +0000 (17:45 +0000)]
WinGui:
- Changed back from Query Window to Query Editor tab by popular demand.
- Fixed a small issue with resolution calculating the height when it shouldn't.
- Removed some old labels from the main window.

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

16 years agoWinGui:
sr55 [Fri, 21 Dec 2007 15:21:12 +0000 (15:21 +0000)]
WinGui:
- Updated build number to match SVN.
- Fixed an issue where Encode & Pause buttons didn't enable / disable correctly on the queue.

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

16 years agoWinGui:
sr55 [Fri, 21 Dec 2007 15:13:24 +0000 (15:13 +0000)]
WinGui:
- Removed Chapter Marker window re-generation on chapter change. (Now consistant with the mac GUI)
- Fixed spelling error on a tooltip

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

16 years agoWinGui:
sr55 [Thu, 20 Dec 2007 18:22:52 +0000 (18:22 +0000)]
WinGui:
- Removed excess debug code in Title.cs. Haven't heard any complaints since 0.9.1 so It seems the problems are gone.

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

16 years agoWinGui:
sr55 [Thu, 20 Dec 2007 18:17:42 +0000 (18:17 +0000)]
WinGui:
- Some more code code cleanup done. Nothing major.

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

16 years agoWinGui:
sr55 [Thu, 20 Dec 2007 14:59:57 +0000 (14:59 +0000)]
WinGui:
- Moved alot of functions in frmMain.cs into their own class (common.cs)

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

16 years agohb_log should not be used outside of HB Lib, it's private to HB, using
eddyg [Thu, 20 Dec 2007 02:44:41 +0000 (02:44 +0000)]
hb_log should not be used outside of HB Lib, it's private to HB, using
so causes an undeclared symbol warning. In test.c fprintf should be used.

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

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 22:42:26 +0000 (22:42 +0000)]
WinGui:
- Some more code clean up
- Fixed: Skipped button not working on update checker.

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

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 22:10:27 +0000 (22:10 +0000)]
WinGui:
- Some code clean up + removal of old unused code.

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

16 years agoMacGui: DRC slider modifications
dynaflash [Wed, 19 Dec 2007 19:57:44 +0000 (19:57 +0000)]
MacGui: DRC slider modifications
- Use the float value field rounded to 100ths for the actual drc value passed to libhb (previously was using float down to millionths which was obscured from the user by the size of the value field).
-  move -audDRCSliderChanged method to where the other audio control methods are in controller.mm

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

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 19:07:30 +0000 (19:07 +0000)]
WinGui:
- 2 Small fixes to the new Chapters tab

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

16 years agoWinGui:
sr55 [Wed, 19 Dec 2007 17:23:54 +0000 (17:23 +0000)]
WinGui:
- Fixed issue where crop dropdown had no value on startup.
- Fixed an Autoname bug where \ was addeded incorrectly.
- Fixed bug where DRC was set incorrectly by preset parser.
- Removed some old code which is no longer going to be used.
- Changed De-Interlace options names to match MacGUI for consistency
- Moved HTTP Optimization to Output Settings for consistency with MacGUI
- Added form to show the generated query. Tools > Options > Show CLI Query
- Added Chapter Markers tab which operates the same was as the MacGUI

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

16 years agoRenumber start and stop timestamps for VFR, so they are continuous despite dropped...
jbrjake [Tue, 18 Dec 2007 20:08:12 +0000 (20:08 +0000)]
Renumber start and stop timestamps for VFR, so they are continuous despite dropped frames.
This fixes issues with jerky video when using VFR together with B-frames.

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

16 years agoMacGui: add outlets for the DRC descriptive labels and disable/enable along with...
dynaflash [Tue, 18 Dec 2007 15:57:16 +0000 (15:57 +0000)]
MacGui: add outlets for the DRC descriptive labels and disable/enable along with the rest of the interface.

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

16 years agoMacGui: Add Preset Window
dynaflash [Tue, 18 Dec 2007 15:44:42 +0000 (15:44 +0000)]
MacGui: Add Preset Window
- Make the preset description field text wrap.

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

16 years agoMacGui: Queue Update - thanks travistex
dynaflash [Mon, 17 Dec 2007 16:25:38 +0000 (16:25 +0000)]
MacGui: Queue Update - thanks travistex
- The primary change is that HBJob now copies the relevant fields out of hb_job_s that it needs. It no longer keeps a pointer reference to libhb's job.
- The only time the queue looks at libhb's jobs is when scanning the job list in order to build of the GUI queue display.
- Removed all uses of hb_current_job().
- Canceled jobs now stay listed in the queue, with a canceled icon.

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

16 years agoMissed trunk makefile when checking in 1109
sr55 [Fri, 14 Dec 2007 19:23:47 +0000 (19:23 +0000)]
Missed trunk makefile when checking in 1109

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

16 years agoWinGui:
sr55 [Fri, 14 Dec 2007 16:51:42 +0000 (16:51 +0000)]
WinGui:
- Removed some old CLI handler files that were never completed.
- Removed Quickstart Window along with some redundant code.
- Removed the Query Editor tab as it is no longer really needed.
- Removed CRF option as this is now the default.
- Removed DRC Checkbox. The slider is now used for activation.
- Few changes to the Naming of GUI items to match the MacGUI.
- Warnings about no source / destination removed from  Save/open presets and set default options. Will only appear on Queue and Encode buttons now.
- Fixed autonaming issue where it was enabled even when it was disabled.
- Added option to the Tools menu to display the current CLI query. This may be useful now that the Query editor tab is gone.
- Options window design tweaked.

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

16 years agoMacGui: HTTP optimized mp4 implementation
dynaflash [Fri, 14 Dec 2007 16:19:46 +0000 (16:19 +0000)]
MacGui: HTTP optimized mp4 implementation
- New checkbox to enable http optimized mp4's
- Shows/Hides depending on the "format" selection
- Presets use new objectForKey:@"Mp4HttpOptimize"
- Also renamed the outlet for 64 bit mp4's to more descriptive "fDstMp4LargeFileCheck"

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

16 years agoMacGui: DRC Slider minor visual fix
dynaflash [Thu, 13 Dec 2007 16:43:49 +0000 (16:43 +0000)]
MacGui: DRC Slider minor visual fix
- fix spacing in 2.0 (Loud) and 3.0 (Louder)
- Gee, thanks superdump ;)

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

16 years agoMacGui: DRC Slider Enhancements
dynaflash [Thu, 13 Dec 2007 16:26:40 +0000 (16:26 +0000)]
MacGui: DRC Slider Enhancements
- Add some description to the slider settings to help users
- 1.0 (Off) 2.0 (Loud) 3.0 (Louder) 4.0 (Loudest)
- Also changed slider so tickmarks are on the bottom and tickmarks are only shown for each .50

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

16 years agoOnly call the dynamic range compression function when the user-inputted value is...
jbrjake [Thu, 13 Dec 2007 15:24:42 +0000 (15:24 +0000)]
Only call the dynamic range compression function when the user-inputted value is greater than 1, rather than non-zero. This prevents calling the function when it's only going to return the default values anyway.

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

16 years agoMPEG-2 stream reading fixes for missing audio, multiple audio tracks, language codes...
jbrjake [Thu, 13 Dec 2007 14:20:17 +0000 (14:20 +0000)]
MPEG-2 stream reading fixes for missing audio, multiple audio tracks, language codes, reading streams larger than 2GB, and incorrect title numbers. This vastly expands HandBrake's TS/PS compatibility. Thanks, van!

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

16 years agoUpdates manicure for the new default CRF setting in the CLI, so it doesn't add a -Q.
jbrjake [Thu, 13 Dec 2007 13:55:56 +0000 (13:55 +0000)]
Updates manicure for the new default CRF setting in the CLI, so it doesn't add a -Q.

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

16 years agoCLI: Makes CRF (constant rate factor) the default constant quality mode, instead...
jbrjake [Thu, 13 Dec 2007 02:29:29 +0000 (02:29 +0000)]
CLI: Makes CRF (constant rate factor) the default constant quality mode, instead of CQP (constant quantization parameter). This means the -Q short option now turns CQP on and CRF off, whereas up until now it did the reverse. The long option has accordingly changed from --crf to --cqp.

( CRF has been the default in the MacGui since r526 )

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