OSDN Git Service

handbrake-jp/handbrake-jp-git.git
16 years agoDon't let cropping get fooled by dark content - make sure that we only crop a row...
van [Mon, 23 Jun 2008 06:18:33 +0000 (06:18 +0000)]
Don't let cropping get fooled by dark content - make sure that we only crop a row or column if all pixels are within one quantization level of average value & average value is within one level of black. (fix for bug discussed in forum.handbrake.fr/viewtopic.php?f=12&t=6335)

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

16 years agoReintroduce Solaris support. Fully tested on everything - apart from Windows, which...
eddyg [Thu, 19 Jun 2008 04:23:52 +0000 (04:23 +0000)]
Reintroduce Solaris support. Fully tested on everything - apart from Windows, which really shouldn't be affected. Note that I've disabled troublesome components in ffmpeg that didn't work with Solaris. And disabled X support in libmpeg2 for all platforms - 'cos it shouldn't have been there.

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

16 years agoremove autogenerated file from svn. They should be regenerated on the
jstebbins [Thu, 19 Jun 2008 03:13:27 +0000 (03:13 +0000)]
remove autogenerated file from svn. They should be regenerated on the
platform being built on.  Mysterious errors occur if not.

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

16 years agoGetting rid of dvd open failure error, it is not an error when
eddyg [Thu, 19 Jun 2008 01:21:38 +0000 (01:21 +0000)]
Getting rid of dvd open failure error, it is not an error when
the input is a file.

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

16 years ago - Add COLR atom support to mpeg4ip
van [Wed, 18 Jun 2008 21:48:00 +0000 (21:48 +0000)]
 - Add COLR atom support to mpeg4ip
 - Add COLR atom to mp4 video tracks
 - Add colorspace info to h.264 VUI header

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

16 years agofor linux and cygwin. fix dep for HandBrakeCLI so that it is rebuilt when libhb...
jstebbins [Wed, 18 Jun 2008 18:15:15 +0000 (18:15 +0000)]
for linux and cygwin.  fix dep for HandBrakeCLI so that it is rebuilt when libhb changes

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

16 years agouse same compile optimizations that a jam build uses
jstebbins [Wed, 18 Jun 2008 17:54:14 +0000 (17:54 +0000)]
use same compile optimizations that a jam build uses

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

16 years agoFix building of faad2 with libtool 2.2.x
saintdev [Wed, 18 Jun 2008 00:55:37 +0000 (00:55 +0000)]
Fix building of faad2 with libtool 2.2.x

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

16 years agoRedo svn:eol-style=LF this time.
saintdev [Tue, 17 Jun 2008 22:32:05 +0000 (22:32 +0000)]
Redo svn:eol-style=LF this time.
native messes things up with windows client, and cygwin

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

16 years agoRemove assert()s.
saintdev [Tue, 17 Jun 2008 21:08:26 +0000 (21:08 +0000)]
Remove assert()s.
They were really only put there for initial debugging, never intended to make it into the final commit.

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

16 years agoCLI: Add a newline at the end of the hb_error message.
saintdev [Tue, 17 Jun 2008 20:38:17 +0000 (20:38 +0000)]
CLI: Add a newline at the end of the hb_error message.

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

16 years agoCLI: Simplify the handling of audio codecs, bitrate and samplerate.
saintdev [Tue, 17 Jun 2008 20:38:12 +0000 (20:38 +0000)]
CLI: Simplify the handling of audio codecs, bitrate and samplerate.
-libhb now handles copying of properties for pass-through.

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

16 years agoIf we're using pass-through, copy the input bitrate/sample rate to the output.
saintdev [Tue, 17 Jun 2008 20:38:08 +0000 (20:38 +0000)]
If we're using pass-through, copy the input bitrate/sample rate to the output.

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

16 years agoNo need to check the mixdown settings if pass-through is requested.
saintdev [Tue, 17 Jun 2008 20:37:58 +0000 (20:37 +0000)]
No need to check the mixdown settings if pass-through is requested.

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

16 years agoSet svn:eol-style=native on most text files.
saintdev [Tue, 17 Jun 2008 20:01:15 +0000 (20:01 +0000)]
Set svn:eol-style=native on most text files.
Goodbye evil CRLF.

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

16 years agoLinGui: Initial import
jstebbins [Tue, 17 Jun 2008 15:40:49 +0000 (15:40 +0000)]
LinGui: Initial import

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

16 years agoWinGui:
sr55 [Tue, 17 Jun 2008 12:53:40 +0000 (12:53 +0000)]
WinGui:
- Issue in the query parser where "-2" would trigger a widget if found anywhere in the CLI string.
  This could appear in the source or destination filename and trigger it when it is not supposed to be on.
  added a space before the - in the regex which will hopefully be sufficient to fix the issue.

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

16 years agoMacGui: convert HBQueueController to be a subclass of NSWindowController - kudos...
dynaflash [Tue, 17 Jun 2008 12:40:17 +0000 (12:40 +0000)]
MacGui: convert HBQueueController to be a subclass of NSWindowController - kudos again to blindjimmy

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

16 years agoMacGui: Remove spurious NSString stringWithFormat calls in controller.mm Thanks blind...
dynaflash [Tue, 17 Jun 2008 12:30:46 +0000 (12:30 +0000)]
MacGui: Remove spurious NSString stringWithFormat calls in controller.mm Thanks blindjimmy for the extensive house cleaning.

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

16 years agoUpdates the Mac->CLI preset conversion script to handle the new keys for separate...
jbrjake [Sun, 15 Jun 2008 15:13:00 +0000 (15:13 +0000)]
Updates the Mac->CLI preset conversion script to handle the new keys for separate audio settings, and rearranges a little code in the CLI so the audio track settings are easier to generate.

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

16 years agoremove libhb.so from "all" target. It can't be build on x86_64 and nobody is
jstebbins [Sun, 15 Jun 2008 04:10:21 +0000 (04:10 +0000)]
remove libhb.so from "all" target.  It can't be build on x86_64 and nobody is
using it.  libhb.so can still be build with "make libhb.so"

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

16 years agofix building with make on linux. missing bz2 and faad
jstebbins [Sat, 14 Jun 2008 16:29:03 +0000 (16:29 +0000)]
fix building with make on linux.  missing bz2 and faad

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

16 years agoWinGui:
sr55 [Thu, 12 Jun 2008 17:54:15 +0000 (17:54 +0000)]
WinGui:
- Setup Auto for Audio Sample Rate.  (Passes 0 to CLI when set to Auto.)

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

16 years agoWinGui:
sr55 [Thu, 12 Jun 2008 17:02:33 +0000 (17:02 +0000)]
WinGui:
- Accidentally updated the project file in the last commit, so the following empty file is now required.
It will be used at a later date.

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

16 years agoWinGui:
sr55 [Thu, 12 Jun 2008 17:00:20 +0000 (17:00 +0000)]
WinGui:
- Fixed #78 and #79

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

16 years agoNew cropping algorithm - determine cropping rectangle from a median filter run across...
van [Thu, 12 Jun 2008 08:15:31 +0000 (08:15 +0000)]
New cropping algorithm - determine cropping rectangle from a median filter run across all the preview frames.

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

16 years ago - put the "find a usable frame rate" logic in the place that actually computes decod...
van [Thu, 12 Jun 2008 08:12:18 +0000 (08:12 +0000)]
 - put the "find a usable frame rate" logic in the place that actually computes decoder frame durations rather than just in the bitstream info routine.
 - start adding some comments describing how this horrible mess works.

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

16 years agoThere is no reason make should be creating stable builds by default in any OS. That...
jbrjake [Mon, 9 Jun 2008 13:46:46 +0000 (13:46 +0000)]
There is no reason make should be creating stable builds by default in any OS. That's what configure --release; jam is for.

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

16 years agoUpdate x264 to x264-r877-c74a8e2
dynaflash [Sun, 8 Jun 2008 21:49:14 +0000 (21:49 +0000)]
Update x264 to x264-r877-c74a8e2
- Eliminates the need for our last vbv 2 pass patch
- Updated reporting on processor optimizations
- 5 - 10 % faster trellis
- assorted improved cpu optimizations

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

16 years agoImprove image quality for ffmpeg constant quality
jstebbins [Sun, 8 Jun 2008 21:33:21 +0000 (21:33 +0000)]
Improve image quality for ffmpeg constant quality
Allow entry of QP for ffmpeg

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

16 years agoFixes make so it doesn't misidentify svn builds as stable releases.
jbrjake [Sun, 8 Jun 2008 20:34:36 +0000 (20:34 +0000)]
Fixes make so it doesn't misidentify svn builds as stable releases.

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

16 years agoUpdates HB's copy of ffmpeg to r13707, so libswscale builds on PowerPC without tweaki...
jbrjake [Sun, 8 Jun 2008 18:39:20 +0000 (18:39 +0000)]
Updates HB's copy of ffmpeg to r13707, so libswscale builds on PowerPC without tweaking the config.

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

16 years agoMacGui: Update Built in Presets to use new audio track layout and remove deprecated...
dynaflash [Fri, 6 Jun 2008 18:20:45 +0000 (18:20 +0000)]
MacGui: Update Built in Presets to use new audio track layout and remove deprecated Codecs key value.
- Update  your built in presets for this to take effect.
- Note: Since the preset code regresses there should be no functional difference noticed in the macgui.

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

16 years agoMacGui: fix issues with audio in presets
dynaflash [Fri, 6 Jun 2008 16:48:36 +0000 (16:48 +0000)]
MacGui: fix issues with audio in presets
- Change audio track behavior so that presets only set the audio tracks it has stored, and removes any other previously selected audio tracks
- Prevents a scenario whereby selecting the ATV preset then the iPod preset results in two identical audio tracks for the iPod
- Fix an issue where certain mixdowns and bitrates contained in a preset may not be available depending on a source which resulted in no selection.

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

16 years agoEncode the initial H.264 NAL units for PPS and SPS, not just the ones during work...
jbrjake [Fri, 6 Jun 2008 15:35:32 +0000 (15:35 +0000)]
Encode the initial H.264 NAL units for PPS and SPS, not just the ones during work. This was a regression caused by r270. Thanks for the patch, j45!

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

16 years agoMacgui: implement constant frame rate encoding for all but same as source.
dynaflash [Thu, 5 Jun 2008 16:00:58 +0000 (16:00 +0000)]
Macgui: implement constant frame rate encoding for all but same as source.
- implements svn rev 1496 in the macgui

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

16 years agoAdds a job->cfr boolean to indicate "encode this with a constant frame rate" instead...
jbrjake [Thu, 5 Jun 2008 15:59:24 +0000 (15:59 +0000)]
Adds a job->cfr boolean to indicate "encode this with a constant frame rate" instead of passing through the true frame durations from the source. Includes CLI implementation, which sets cfr to 1 if the user specifies a frame rate. Otherwise, it uses "same as source" frame rate.

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

16 years agoMacGui: Add "Auto" to audio sample rate selections
dynaflash [Wed, 4 Jun 2008 19:58:25 +0000 (19:58 +0000)]
MacGui: Add "Auto" to audio sample rate selections
- Auto simply uses the input audio's sample rate
- Built in presets updated to use Auto for all but device presets which still use 48.
- prepareJob now uses the selectedIndex's tag from the sample rate NSPopUp instead of libhb's built in array of sample rates

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

16 years agoCLI: Use the source's audio samplerate unless told otherwise.
jbrjake [Wed, 4 Jun 2008 19:56:54 +0000 (19:56 +0000)]
CLI: Use the source's audio samplerate unless told otherwise.

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

16 years agoUpdate svn:ignore for the new libs and hbversion.h
ritsuka [Wed, 4 Jun 2008 19:01:26 +0000 (19:01 +0000)]
Update svn:ignore for the new libs and hbversion.h

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

16 years agoMacGUI: Implements a part of the NSTableView delegate in ChapterTitles so that pressi...
ritsuka [Wed, 4 Jun 2008 18:54:56 +0000 (18:54 +0000)]
MacGUI: Implements a part of the NSTableView delegate in ChapterTitles so that pressing Return selects the next row and edits the chapter title so that the mouse or Mac OS X's full keyboard access is not required. Patch by bkiico517.

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

16 years agoFixes loose anamorphic
jbrjake [Wed, 4 Jun 2008 16:15:48 +0000 (16:15 +0000)]
Fixes loose anamorphic

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

16 years ago - add pixel_aspect_ratio reporting to the mpeg decoder
van [Wed, 4 Jun 2008 07:00:01 +0000 (07:00 +0000)]
 - add pixel_aspect_ratio reporting to the mpeg decoder
 - try lots harder to extract a useful video frame rate from libavcodec (successful for more files but still get junk from wmv's).
 - save all video parameters while we're getting previews then use the set we've seen most frequently as the parameters of the title.

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

16 years agoKeep track of the input pixel aspect ratio as well as the output one. Hopefully doesn...
jbrjake [Wed, 4 Jun 2008 03:08:53 +0000 (03:08 +0000)]
Keep track of the input pixel aspect ratio as well as the output one. Hopefully doesn't break anything.

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

16 years agoDon't crash in decmpeg2Info if we failed to get a preview due to not finding a sequen...
van [Tue, 3 Jun 2008 17:20:03 +0000 (17:20 +0000)]
Don't crash in decmpeg2Info if we failed to get a preview due to not finding a sequence header.

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

16 years agoUse index+1 for numbering interlaced previews, so realityking doesn't get confused.
jbrjake [Mon, 2 Jun 2008 15:50:34 +0000 (15:50 +0000)]
Use index+1 for numbering interlaced previews, so realityking doesn't get confused.

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

16 years agoUse loose breaks for detelecine. This reduces jerkiness with PAL->NTSC telecining...
jbrjake [Mon, 2 Jun 2008 14:43:34 +0000 (14:43 +0000)]
Use loose breaks for detelecine. This reduces jerkiness with PAL->NTSC telecining by dropping fewer frames.

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

16 years agoDon't crash during scan when source not recognized (bug found & fixed by John Stebbins)
van [Sun, 1 Jun 2008 20:58:33 +0000 (20:58 +0000)]
Don't crash during scan when source not recognized (bug found & fixed by John Stebbins)

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

16 years agoHave to handle hbversion.h in make, not just jam.
van [Sun, 1 Jun 2008 03:17:35 +0000 (03:17 +0000)]
Have to handle hbversion.h in make, not just jam.

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

16 years agoDon't call small frame displacements a "time reversal" & drop the frame on big ones.
van [Sun, 1 Jun 2008 03:15:57 +0000 (03:15 +0000)]
Don't call small frame displacements a "time reversal" & drop the frame on big ones.

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

16 years agox264: bump to version 859-ce13bb6 and update vbv patch(es)
dynaflash [Sat, 31 May 2008 19:20:22 +0000 (19:20 +0000)]
x264: bump to version 859-ce13bb6 and update vbv patch(es)
- Updates the 2 pass patch to Gabriel Bouvigne's v.10 vbv 2 pass patch http://article.gmane.org/gmane.comp.video.x264.devel/4048
- Eliminates the need for our previous 1 pass patch

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

16 years agoFix for cygwin builds - can't use "\n" in echo
van [Sat, 31 May 2008 18:58:06 +0000 (18:58 +0000)]
Fix for cygwin builds - can't use "\n" in echo

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

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