OSDN Git Service

handbrake-jp/handbrake-jp-git.git
16 years ago- support blu-ray, avchd & dvb x264
van [Sat, 31 May 2008 17:00:42 +0000 (17:00 +0000)]
- support blu-ray, avchd & dvb x264
- support video files handled by ffmpeg (avi, mkv, mp4, etc.)

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

16 years agoHack to fix building in xcode
van [Sat, 31 May 2008 16:56:26 +0000 (16:56 +0000)]
Hack to fix building in xcode

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

16 years agoFix for unplayable m4v/mp4 files due to negative numbers in ctts atom.
van [Sat, 31 May 2008 16:53:24 +0000 (16:53 +0000)]
Fix for unplayable m4v/mp4 files due to negative numbers in ctts atom.

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

16 years agoReverts r1475 until it plays nice with Xcode + make
jbrjake [Sat, 31 May 2008 15:26:25 +0000 (15:26 +0000)]
Reverts r1475 until it plays nice with Xcode + make

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

16 years agoMacGUI: remove white spaces from the picture settings window.
ritsuka [Sat, 31 May 2008 12:01:26 +0000 (12:01 +0000)]
MacGUI: remove white spaces from the picture settings window.

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

16 years agoupdate.c altered to use both appcast.xml and appcast_unstable.xml
sr55 [Fri, 30 May 2008 20:27:26 +0000 (20:27 +0000)]
update.c altered to use both appcast.xml and appcast_unstable.xml
now uses a single tag, <cli></cli> for version information.

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

16 years agoCLI: Use default audio settings of 160kbps @ 48kHz, just like the MacGui and WinGui.
jbrjake [Fri, 30 May 2008 18:24:00 +0000 (18:24 +0000)]
CLI: Use default audio settings of 160kbps @ 48kHz, just like the MacGui and WinGui.

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

16 years agoCLI: Only sanity check the user-specified audio samplerate *after* it's been converte...
jbrjake [Fri, 30 May 2008 18:14:51 +0000 (18:14 +0000)]
CLI: Only sanity check the user-specified audio samplerate *after* it's been converted from kHz to Hz. This was just a cosmetic error.

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

16 years agoMacGui: Add decomb setting to presets
dynaflash [Thu, 29 May 2008 19:09:32 +0000 (19:09 +0000)]
MacGui: Add decomb setting to presets
- Even though currently in svn we allow for a custom setting, only observe Off and Default. So if a preset is created using "Custom" in the decomb NSPopUp the preset will actually use Default, so you will have to set it back to Custom manually.
- This is temporary as the "Custom" setting *should* be deprecated at some point.

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

16 years agogit-svn-id: svn://localhost/HandBrake/trunk@1471 b64f7644-9d1e-0410-96f1-a4d463321fa5
jbrjake [Thu, 29 May 2008 17:23:39 +0000 (17:23 +0000)]
git-svn-id: svn://localhost/HandBrake/trunk@1471 b64f7644-9d1e-0410-96f1-a4d463321fa5

16 years agoWhen encoding anamorphic with lavc, ensure PAR values are 8-bit. Thanks, j45!
jbrjake [Thu, 29 May 2008 15:54:08 +0000 (15:54 +0000)]
When encoding anamorphic with lavc, ensure PAR values are 8-bit. Thanks, j45!

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

16 years agoStore video aspect ratio in the avi header.
ritsuka [Fri, 23 May 2008 11:57:40 +0000 (11:57 +0000)]
Store video aspect ratio in the avi header.

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

16 years ago...on the other hand, when we *are* using VFR we *do* want to break on drops, so...
jbrjake [Wed, 21 May 2008 19:14:13 +0000 (19:14 +0000)]
...on the other hand, when we *are* using VFR we *do* want to break on drops, so we're not trying to filter null frames.

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

16 years agoWhen using detelecine but not dropping frames (non-VFR detelecine), continue looping...
jbrjake [Wed, 21 May 2008 18:34:35 +0000 (18:34 +0000)]
When using detelecine but not dropping frames (non-VFR detelecine), continue looping through the filter chain if the detelecine filter says to drop a frame.

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

16 years agoMacGui: For VFR set the frame rate to the title frame rate (Same as Source) and disab...
dynaflash [Mon, 19 May 2008 15:11:08 +0000 (15:11 +0000)]
MacGui: For VFR set the frame rate to the title frame rate (Same as Source) and disable the frame rate popup.

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

16 years agoWindows line endings begone!
jbrjake [Mon, 19 May 2008 03:26:43 +0000 (03:26 +0000)]
Windows line endings begone!

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

16 years agoRe-allow constant frame rates. The MacGui should probably be updated to always use...
jbrjake [Sat, 17 May 2008 22:55:41 +0000 (22:55 +0000)]
Re-allow constant frame rates. The MacGui should probably be updated to always use title fps for VFR instead of "Same as Source" which might be 23.976, but it's taken care of in work.c now so it's purely a cosmetic thing.

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

16 years agoWinGui:
sr55 [Sat, 17 May 2008 20:20:25 +0000 (20:20 +0000)]
WinGui:
- Changes -a auto  to -a 1 (The CLI was throwing an error message with auto)
- Misc other changes and code cleanup.

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

16 years agoWinGui:
sr55 [Thu, 15 May 2008 23:54:19 +0000 (23:54 +0000)]
WinGui:
- Fixed: http://forum.handbrake.fr/posting.php?mode=reply&f=12&t=6088

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

16 years agoWinGui:
sr55 [Thu, 15 May 2008 23:41:54 +0000 (23:41 +0000)]
WinGui:
- Fix for http://forum.handbrake.fr/viewtopic.php?f=12&t=6086

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

16 years agoCLI: Sample rates given by the user in kHz need to be converted to Hz for libhb.
jbrjake [Thu, 15 May 2008 20:23:03 +0000 (20:23 +0000)]
CLI: Sample rates given by the user in kHz need to be converted to Hz for libhb.

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

16 years agoAllow the user to directly set a pixel aspect height and width, instead of using...
jbrjake [Tue, 13 May 2008 14:55:56 +0000 (14:55 +0000)]
Allow the user to directly set a pixel aspect height and width, instead of using the autodetection in strict and loose anamorphic. This allows rescaling 1:1 PAR material to be anamorphic.

To use in an interface, simply set job->pixel_ratio to 3, job->height and job->width to the desired output size, and job->pixel_aspect_height and job->pixel_aspect_width to the desired PAR. For now this is only for really advanced users who know what numbers they want for those values.

Controlled through the CLI as optional arguments to -P.

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

16 years agoMacGUI: Make HBOutputPanelWindowController an NSWindowController subclass. Patch...
ritsuka [Tue, 13 May 2008 11:24:27 +0000 (11:24 +0000)]
MacGUI: Make HBOutputPanelWindowController an NSWindowController subclass. Patch by blindjimmy.

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

16 years agoMacGUI: Make PictureController a subclass of NSWindowController. Patch by blindjimmy.
ritsuka [Sun, 11 May 2008 10:09:01 +0000 (10:09 +0000)]
MacGUI: Make PictureController a subclass of NSWindowController. Patch by blindjimmy.

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

16 years ago- Use a separate Sparkle appcast feed for unstable (snapshot) releases.
jbrjake [Fri, 9 May 2008 15:08:11 +0000 (15:08 +0000)]
- Use a separate Sparkle appcast feed for unstable (snapshot) releases.
- Use variables in the macosx/HandBrake.plist so SVN doesn't flag it as modified every time the dynamically generated build date/version changes. (Thanks, blindjimmy!)

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

16 years agoWinGui:
sr55 [Wed, 7 May 2008 21:56:43 +0000 (21:56 +0000)]
WinGui:
- Activity window no longer prevents main window UI interaction.
- Fixed bug which would keep HandBrake in memory after the program was closed. It was still running but not visible.
- Removed old files

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

16 years agoWinGui:
sr55 [Wed, 7 May 2008 20:43:49 +0000 (20:43 +0000)]
WinGui:
- Got rid of the DVD info window. DVD information can now be read from the activity window.
- Removed some unused code calls to frmDvdInfo.
- Changed frmActivityWindow design, removed all buttons, text window now expands as the window size grows. Basically, the window is identical to the MacGUI window now.

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

16 years agoMacGUI: Fix toolbar item leaks for main and preferences windows. Patch by blindjimmy.
ritsuka [Wed, 7 May 2008 11:21:35 +0000 (11:21 +0000)]
MacGUI: Fix toolbar item leaks for main and preferences windows. Patch by blindjimmy.

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

16 years agoWinGui:
sr55 [Wed, 30 Apr 2008 15:35:31 +0000 (15:35 +0000)]
WinGui:
- Fixes copy to clipboard crash on vista. However it does not fix the fact that content is not copying.

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

16 years agoMacGUI: I forgot a file in my previous commit. Remove the close method from the heade...
ritsuka [Wed, 30 Apr 2008 13:57:43 +0000 (13:57 +0000)]
MacGUI: I forgot a file in my previous commit. Remove the close method from the header file too.

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

16 years agoMacGUI: Clean up HBPreferencesController, remove an unused method, and use standard...
ritsuka [Wed, 30 Apr 2008 13:41:45 +0000 (13:41 +0000)]
MacGUI: Clean up HBPreferencesController, remove an unused method, and use standard icons for the General and Advanced panel.

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

16 years agoWinGui: Bug Fixes
sr55 [Tue, 29 Apr 2008 21:34:43 +0000 (21:34 +0000)]
WinGui: Bug Fixes
- frmReadDVD recovers better when an error occurs.
- DVD Title dropdown no longer complains about no titles on 1 title sources.

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

16 years agoWinGui:
sr55 [Tue, 29 Apr 2008 16:29:33 +0000 (16:29 +0000)]
WinGui:
- Update checker now reads either unstable or stable appcast based on the last digit of the build number.

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

16 years agoOpens up another way to give x264 a constant QP or RF, by passing a direct value...
jbrjake [Sat, 26 Apr 2008 21:04:27 +0000 (21:04 +0000)]
Opens up another way to give x264 a constant QP or RF, by passing a direct value instead of a percentage that encx264.c has to convert.

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

16 years agoMacGUI: Remove the "toolbar" variable from Controller. Patch by blindjimmy.
ritsuka [Sat, 26 Apr 2008 11:19:37 +0000 (11:19 +0000)]
MacGUI: Remove the "toolbar" variable from Controller. Patch by blindjimmy.

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

16 years agoMacGUI: Generate the Application Support path using API calls. Patch by blindjimmy.
ritsuka [Sat, 26 Apr 2008 11:15:01 +0000 (11:15 +0000)]
MacGUI: Generate the Application Support path using API calls. Patch by blindjimmy.

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

16 years agoMacGUI: Add a return type to controller's init method. Patch by blindjimmy.
ritsuka [Sat, 26 Apr 2008 07:58:30 +0000 (07:58 +0000)]
MacGUI: Add a return type to controller's init method. Patch by blindjimmy.

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

16 years agoMacGUI: Remove last traces of "_" macro and TranslateString. Patch by blindjimmy.
ritsuka [Sat, 26 Apr 2008 07:54:10 +0000 (07:54 +0000)]
MacGUI: Remove last traces of "_" macro and TranslateString. Patch by blindjimmy.

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

16 years agoMacGUI: remove some old 10.4 specific code in HBDVDDetector. Patch by blindjimmy
ritsuka [Sat, 26 Apr 2008 07:42:13 +0000 (07:42 +0000)]
MacGUI: remove some old 10.4 specific code in HBDVDDetector. Patch by blindjimmy

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

16 years agoMacGui: make sure to strip off any source file extensions from the output file name.
dynaflash [Fri, 25 Apr 2008 14:26:23 +0000 (14:26 +0000)]
MacGui: make sure to strip off any source file extensions from the output file name.
- Fixes an issue where a .mpg file would come out as "mymovie.mpg.mp4" in the destination field.
- Also cleans up some formatting in my previous commit.

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

16 years agoMacGui: Audio Tab - Make sure that selecting a subsequent audio track does not re...
dynaflash [Fri, 25 Apr 2008 14:04:46 +0000 (14:04 +0000)]
MacGui: Audio Tab - Make sure that selecting a subsequent audio track does not re-enable the sample rate, bitrate, and drc settings on a previously selected AC3 Passthru track.

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

16 years agoChanges to support unstructured program streams (such as those produced by a Tivo...
van [Fri, 25 Apr 2008 07:11:39 +0000 (07:11 +0000)]
Changes to support unstructured program streams (such as those produced by a Tivo) and the three other forms of transport streams (m2ts, dvb-s & digicipher). Start of the changes necessary to support other types of video besides mpeg2.

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

16 years ago - Don't allow chapter durations to go negative (since durations are unsigned the...
van [Fri, 25 Apr 2008 06:44:35 +0000 (06:44 +0000)]
 - Don't allow chapter durations to go negative (since durations are unsigned the result will be interpreted as a huge positive number).
 - Revert the change to sync that pushed out the final frame of video -- on many DVDs this frame seems to be junk that's not intended to be displayed.

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

16 years agoBumps libx264 to 828-ee95c7f
jbrjake [Thu, 24 Apr 2008 22:33:33 +0000 (22:33 +0000)]
Bumps libx264 to 828-ee95c7f

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

16 years agoCLI: Fixes optical scan reading in OS X by mirroring the MacGui work from r821. Thank...
jbrjake [Thu, 24 Apr 2008 21:56:39 +0000 (21:56 +0000)]
CLI: Fixes optical scan reading in OS X by mirroring the MacGui work from r821. Thanks, blindjimmy!

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

16 years agoMacGui: only enable audio tracks if the previous tracks have been chosen.
dynaflash [Thu, 24 Apr 2008 15:48:22 +0000 (15:48 +0000)]
MacGui: only enable audio tracks if the previous tracks have been chosen.
- prevents a scenario in which you could have track 1 and track 4 selected with 2 and 3 as "None".

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

16 years agoWinGui:
sr55 [Thu, 24 Apr 2008 15:45:07 +0000 (15:45 +0000)]
WinGui:
- Fixed bug in user presets where it could remove any preset with a similar name as well as the one selected.

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

16 years agoWinGui:
sr55 [Thu, 24 Apr 2008 15:25:02 +0000 (15:25 +0000)]
WinGui:
- Move some code that sets the available audio bit-rates into functions instead of just repeating the code.
- Fixed some issues with the Audio panel. All tracks are now visible by default, however they will remain disabled if a previous track is not selected.

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

16 years agoWinGui:
sr55 [Wed, 23 Apr 2008 21:41:21 +0000 (21:41 +0000)]
WinGui:
- Added support for stable / unstable builds in the update checker.
- Setup the rss reader to read the cli-stable and cli-unstable tags in the appcast. This is now used for the version information.

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

16 years agolibhb:
sr55 [Sun, 20 Apr 2008 15:20:29 +0000 (15:20 +0000)]
libhb:
- Update.c updated to use appcast.xml rather than LATEST
- Expects to find 2 XML tags which have been added to appcast.xml e.g.
<cli-stable>2008021900 "0.9.2"</cli-stable>
<cli-unstable>2008041901 "0.9.3"</cli-unstable>

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

16 years agoFixes make building in OS X:
jbrjake [Fri, 18 Apr 2008 14:42:01 +0000 (14:42 +0000)]
Fixes make building in OS X:
- Switches default (snapshot) make target to use the Deployment Xcode target
- Makes it possible to jam contribs using make in OS X like is done in Linux
- This means no universal binaries from make, unless "make release" is used. That's the only time it uses the contrib download script. The snapshot target builds contribs locally.

To sum up: this now means that on a Mac, using:
make
....should be functionally equivalent to:
make clean; ./configure; ./jam

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

16 years agoHandle the case where hb_list_audio_config_item is passed an invalid index.
saintdev [Fri, 18 Apr 2008 01:57:47 +0000 (01:57 +0000)]
Handle the case where hb_list_audio_config_item is passed an invalid index.

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

16 years agoBump libmkv to 0.6.3
saintdev [Fri, 18 Apr 2008 01:57:42 +0000 (01:57 +0000)]
Bump libmkv to 0.6.3
Fixes issues with seeking and VLC.

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

16 years agoWinGui:
sr55 [Thu, 17 Apr 2008 21:17:23 +0000 (21:17 +0000)]
WinGui:
- Number of code corrections + Code cleanup

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

16 years agoWinGui:
sr55 [Thu, 17 Apr 2008 20:56:04 +0000 (20:56 +0000)]
WinGui:
- Removed some now redundant code (for last checkin)

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

16 years agoWinGui:
sr55 [Thu, 17 Apr 2008 20:53:10 +0000 (20:53 +0000)]
WinGui:
- Added theora support.
- Renamed the video encoders to match the mac gui.
- Made 64bit/OptimizeMP4/ipodatom invisible when non .mp4/m4v formats are in use

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

16 years agoWinGui: A few hundred fixes to the Audio Tab, Preset Loader and Query Generator.
sr55 [Thu, 17 Apr 2008 20:29:32 +0000 (20:29 +0000)]
WinGui: A few hundred fixes to the Audio Tab, Preset Loader and Query Generator.

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

16 years agoAvoid a divide by 0 in encfaac.c caused by the mixdown not being specified
eddyg [Thu, 17 Apr 2008 00:22:14 +0000 (00:22 +0000)]
Avoid a divide by 0 in encfaac.c caused by the mixdown not being specified
for AAC tracks (due toi a bug in HandBrake.app). Ensure that a mixdown
is always specified if not doing passthrough.

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

16 years agoWinGUI:
sr55 [Wed, 16 Apr 2008 15:42:06 +0000 (15:42 +0000)]
WinGUI:
- Moved appcast path from the RssReader.cs to the settings. Just makes it a bit easier to change for stable/unstable builds

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

16 years agoPrint a log line for the first chapter.
van [Tue, 15 Apr 2008 19:15:40 +0000 (19:15 +0000)]
Print a log line for the first chapter.

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

16 years agoMove clock recovery code from reader to demuxmpeg so it sees all frames & not just...
van [Tue, 15 Apr 2008 19:14:03 +0000 (19:14 +0000)]
Move clock recovery code from reader to demuxmpeg so it sees all frames & not just the ones we happen to be encoding. This change gives a more accurate clock and allows us to once again ignore audio during pass 1 of a 2 pass encode.

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

16 years agoMacGui: replace handbrake.m0k.org references with handbrake.fr in the entire macosx...
dynaflash [Tue, 15 Apr 2008 17:08:31 +0000 (17:08 +0000)]
MacGui: replace handbrake.m0k.org references with handbrake.fr in the entire macosx/ directory

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

16 years agoSaearch & Replace domain names to move from .m0k.org to handbrake.fr. Only covers...
jbrjake [Tue, 15 Apr 2008 16:51:05 +0000 (16:51 +0000)]
Saearch & Replace domain names to move from .m0k.org to handbrake.fr. Only covers trunk files, libhb, and test.

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

16 years agoWinGui: nullsoft installer GPL header file updated to handbrake.fr
sr55 [Tue, 15 Apr 2008 16:50:54 +0000 (16:50 +0000)]
WinGui: nullsoft installer GPL header file updated to handbrake.fr

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

16 years agoUse UTF8 encoding and LF line endings.
jbrjake [Tue, 15 Apr 2008 15:40:17 +0000 (15:40 +0000)]
Use UTF8 encoding and LF line endings.

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

16 years agoUpdated Cygwin patch file for the new version of x264
sr55 [Mon, 14 Apr 2008 17:47:15 +0000 (17:47 +0000)]
Updated Cygwin patch file for the new version of x264

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

16 years agoMacGui: Fix AC3 Passthru bitrate setting in audio tab when using a legacy preset...
dynaflash [Mon, 14 Apr 2008 15:55:56 +0000 (15:55 +0000)]
MacGui: Fix AC3 Passthru bitrate setting in audio tab when using a legacy preset from the old audio system.
- Now properly sets the source track input bitrate as the output bitrate in the NSPopUpButton so it displays correctly in the audio tab as well as the queue and allows you to make new presets from an older one.

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

16 years agoFix the automatic subtitle scan that I broke with r1412.
van [Mon, 14 Apr 2008 08:27:59 +0000 (08:27 +0000)]
Fix the automatic subtitle scan that I broke with r1412.

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

16 years agoFixes for different number of frames between pass 1 & 2, missing frames at end, and...
van [Sun, 13 Apr 2008 23:31:37 +0000 (23:31 +0000)]
Fixes for different number of frames between pass 1 & 2, missing frames at end, and an deadlock with pcm audio.
 - since the SCR clock recovery is done in reader.c we can't currently skip audio frames during pass 1 or we miss clock changes signaled by those frames & end up dropping more video frames in pass 1 than pass 2.
 - since many modules buffer frames we can't tell if we're done just by looking for empty fifos. Send an empty buffer to mark end-of-stream all the way along the processing pipeline & use it to flush internally buffered data.
 - in a processing pipeline you're done when the end of the pipe says your done. add a thread status variable so we can tell when individual threads are finished then make do_job wait until the encoder thread is done so that we're sure all the frames have been processed and sent to the muxer.
 - since the muxer alternates between reading video & audio packets we have to have enough buffer in the audio pipeline to handle a video-frame's worth of audio packets (33ms). Since pcm packets are <1ms we need >60 slots in the audio fifos or we'll deadlock.

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

16 years agoBumps x264 to the latest snapshot tarball, which version.sh translates from hashed...
jbrjake [Sun, 13 Apr 2008 18:22:49 +0000 (18:22 +0000)]
Bumps x264 to the latest snapshot tarball, which version.sh translates from hashed gobbledygook to 818 d4b7d2b.
Removes the VAQ patch since it's been committed since we last refreshed the lib.

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

16 years agoWhen dropping frames from pullup for VFR, deallocate the associated subtitle buffers...
jbrjake [Sun, 13 Apr 2008 01:37:02 +0000 (01:37 +0000)]
When dropping frames from pullup for VFR, deallocate the associated subtitle buffers instead of just hb_fifo_get-ing them into nowhere.

This should plug the crash-inducing memory leak Cyander noticed.

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

16 years agoWinGui:
sr55 [Sat, 12 Apr 2008 21:52:20 +0000 (21:52 +0000)]
WinGui:
- Fixed issue where Audio encoder would be changed if chapter markers was enabled/disabled.
This was an issue with the function that populates the audio encoder drop downs based on the file extension

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

16 years agoWinGui:
sr55 [Sat, 12 Apr 2008 21:37:49 +0000 (21:37 +0000)]
WinGui:
- Bug fixes with the audio panel in relation to not loading the apple tv preset correctly.
- Small UI font size issue fixed with sample rate dropdowns.

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

16 years agoWinGui:
sr55 [Sat, 12 Apr 2008 15:38:01 +0000 (15:38 +0000)]
WinGui:
- (Scratch last checkin. Audio panel now has a sensible implementation.) Audio Tracks 3 now invisible until audio track 2 has a selected track and Track 4 is also invisible until track 3 has a selected track.

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

16 years agoWinGui:
sr55 [Sat, 12 Apr 2008 14:54:33 +0000 (14:54 +0000)]
WinGui:
- Expands the audio tab to 4 audio tracks. This will require through testing. Users should avoid track combinations such as 1 & 4, 1 & 3, and 2 & 4. Instead, 1 & 2 & 3 or 1 & 2 or 2 & 3 & 4 should be used.

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

16 years agoWinGui:
sr55 [Fri, 11 Apr 2008 21:45:18 +0000 (21:45 +0000)]
WinGui:
- Fixed bug in the RSS reader.

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

16 years agoLet's try out saner b-frame init delays again.
jbrjake [Fri, 11 Apr 2008 19:36:07 +0000 (19:36 +0000)]
Let's try out saner b-frame init delays again.

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

16 years agoMacGui: Get rid of some harmless warnings in Controller.mm during compiling.
dynaflash [Fri, 11 Apr 2008 16:39:14 +0000 (16:39 +0000)]
MacGui: Get rid of some harmless warnings in Controller.mm during compiling.

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

16 years agoProvide more feedback as to the types of the streams in an MPEG Transport stream
eddyg [Fri, 11 Apr 2008 07:47:44 +0000 (07:47 +0000)]
Provide more feedback as to the types of the streams in an MPEG Transport stream

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

16 years agoFix brain fade in comments (it's been a long day).
van [Thu, 10 Apr 2008 07:31:54 +0000 (07:31 +0000)]
Fix brain fade in comments (it's been a long day).

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

16 years agoFix avi containers which I unwittingly broke with r1341.
van [Thu, 10 Apr 2008 07:05:09 +0000 (07:05 +0000)]
Fix avi containers which I unwittingly broke with r1341.

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

16 years agoMacGui: Do not call customSettingsUsed until we have an intelligent way to determine...
dynaflash [Thu, 10 Apr 2008 04:44:53 +0000 (04:44 +0000)]
MacGui: Do not call customSettingsUsed until we have an intelligent way to determine selected audio variables compared to presets so that presets stay selected.

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

16 years agoMacGui: Adjust positioning of Frame Rate in Video Tab to make sure the framerate...
dynaflash [Thu, 10 Apr 2008 04:37:46 +0000 (04:37 +0000)]
MacGui: Adjust positioning of Frame Rate in Video Tab to make sure the framerate label doesn't get cutoff when VFR is selected.

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

16 years agoMacGui: Implement per audio track drc
dynaflash [Tue, 8 Apr 2008 18:34:25 +0000 (18:34 +0000)]
MacGui: Implement per audio track drc
- Uses a small circular slider for each track
- Stops on ticks for .25 granularity
- Presets regress from global drc to apply it to all tracks if used in past custom preset.

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

16 years agoMacGui: Fix broken Add Preset function for adding custom presets.
dynaflash [Tue, 8 Apr 2008 15:10:22 +0000 (15:10 +0000)]
MacGui: Fix broken Add Preset function for adding custom presets.
- Was broken in rev 1385

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

16 years agoMacGui: Sanity Check AC3 passthrough against any input audio that is not AC3.
dynaflash [Tue, 8 Apr 2008 13:19:51 +0000 (13:19 +0000)]
MacGui: Sanity Check AC3 passthrough against any input audio that is not AC3.
- Previously only sanity checked against DTS.

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

16 years agoMacGUI: Forgot a file in my previous commit.
ritsuka [Tue, 8 Apr 2008 13:02:43 +0000 (13:02 +0000)]
MacGUI: Forgot a file in my previous commit.

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

16 years agoMacGUI: Fixed some crashes in the queue on x86_64
ritsuka [Tue, 8 Apr 2008 11:54:55 +0000 (11:54 +0000)]
MacGUI: Fixed some crashes in the queue on x86_64

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

16 years agoCLI: Generate default chapter marker titles when a marker file is not specified,...
jbrjake [Tue, 8 Apr 2008 05:11:25 +0000 (05:11 +0000)]
CLI: Generate default chapter marker titles when a marker file is not specified, that match the format used by the MacGui.

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

16 years agoFor snapshots, don't use the normal HB_VERSION number at all, just "svn" and the...
jbrjake [Tue, 8 Apr 2008 04:52:46 +0000 (04:52 +0000)]
For snapshots, don't use the normal HB_VERSION number at all, just "svn" and the revision number.

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

16 years agoMacGui: Fix errant encode done growl alert and send to MetaX function when finishing...
dynaflash [Tue, 8 Apr 2008 03:04:46 +0000 (03:04 +0000)]
MacGui: Fix errant encode done growl alert and send to MetaX function when finishing the first pass of a two pass encode.
- We now only send the alerts after an encode finishes as opposed to when a job *within* an encode finishes.

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

16 years agoCLI: m4v is a valid output format.
jbrjake [Tue, 8 Apr 2008 02:53:22 +0000 (02:53 +0000)]
CLI: m4v is a valid output format.

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

16 years agoMacGui: Enhance Growl notifications and send to metaX so that each encode is handled...
dynaflash [Mon, 7 Apr 2008 20:11:46 +0000 (20:11 +0000)]
MacGui: Enhance Growl notifications and send to metaX so that each encode is handled as it comes off of the queue.
- Previously only the last encode of a queue gave the finished growl notification and was sent to metaX. Now if specified by the user they happen as the encodes progress through the queue.

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

16 years agoWinGui:
sr55 [Mon, 7 Apr 2008 17:57:14 +0000 (17:57 +0000)]
WinGui:
- Fixed bug in query parser and preset code. Deinterlace option with " wraped around the value caused issues.

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

16 years agoMacGui: Fix the DTS source audio mixdown for an attempted AC3 passthru audio track
dynaflash [Mon, 7 Apr 2008 14:35:35 +0000 (14:35 +0000)]
MacGui: Fix the DTS source audio mixdown for an attempted AC3 passthru audio track
- Since AC3 Passthru will not work with a DTS audio source track, we us mp3 dpl2 for avi and aac dpl2 for mkv and mp4.
- Revert HandBrake.plist to pre 1385 as it was errantly checked in with that commit.

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

16 years agoMacGui: Implement per track audio settings.
dynaflash [Mon, 7 Apr 2008 05:02:18 +0000 (05:02 +0000)]
MacGui: Implement per track audio settings.
- Expands the number of audio tracks the macgui can encode to 4.
- Everything except drc is now set on a per track basis
- Be Gone self limiting "Codecs" PopUp !
- Can now use any audio codecs that the container will support in the same encode
- The previous "AAC + AC3" bizarre hybrid is now deprecated and you simply set them up per track
- Implement full audio list readout in the queue, tracks are now show one per line in a list like fashion
- Queue is no longer hard coded for just two tracks.
- Preset code updated to regress to handle previous presets that utilized the codecs popup to determine audio scheme to use
- Preset code now handles everything except language selection.
- The Format, Video Encoder and Audio codes are all now stored in the appropriate NSPopUp tags for very easy retrieval.
- Crazy format, codecs struct is now gone as we get that from the tags.
- AC3 Passthru properly shows the input bitrate and 48 khz samplerate in the appropriate popups
- Added Theora video encoder to OGM container
- Added libtheora to the libhb dylib
- NOTE: The check against trying to use AC3 Passthru on a DTS track is broken on the encoder popup.

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

16 years agoWinGui:
sr55 [Sun, 6 Apr 2008 23:33:28 +0000 (23:33 +0000)]
WinGui:
- Activity window now updates every 3 seconds during an encode, so the user can now watch the encode log as it is generated by the CLI.

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

16 years agoDuring conversion only log when there's an error or anomaly.
van [Sun, 6 Apr 2008 22:58:04 +0000 (22:58 +0000)]
During conversion only log when there's an error or anomaly.

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

16 years agoWinGui:
sr55 [Sun, 6 Apr 2008 22:56:40 +0000 (22:56 +0000)]
WinGui:
- Instead of highlighting checkboxes red if their selection is invalid. Display a MessageBox explaining the error.

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

16 years ago - Fix sync problems associated with sample rate conversion - the truncation error...
van [Sun, 6 Apr 2008 22:28:22 +0000 (22:28 +0000)]
 - Fix sync problems associated with sample rate conversion - the truncation error of the sample rate ratio would build up over time until the audio substantially lagged the video.
 - Don't feed audio through the sample rate converter if we don't have to - it's faster not to & it can introduce a delay that perturbs a/v sync.

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