OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoLinGui: oops, delete some debugging output
jstebbins [Sat, 12 Jul 2008 23:14:28 +0000 (23:14 +0000)]
LinGui: oops, delete some debugging output

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

15 years agoLinGui: Add preferences dialog
jstebbins [Sat, 12 Jul 2008 22:59:01 +0000 (22:59 +0000)]
LinGui: Add preferences dialog
gives access to some some previously hidden settings

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

15 years agoMuch improved decomb filter. Totally different algorithm, with a temporal element...
jbrjake [Fri, 11 Jul 2008 21:59:15 +0000 (21:59 +0000)]
Much improved decomb filter. Totally different algorithm, with a temporal element, a block window, and a simple weighting decision for which deinterlacer to use. See code comments.

The code isn't well optimized yet, and would probably benefit from -O3 (as opposed to the -Os optimization level currently used in macosx builds).

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

15 years agoLinGui: bump progress bar to 100% when work done event received
jstebbins [Thu, 10 Jul 2008 23:38:59 +0000 (23:38 +0000)]
LinGui: bump progress bar to 100% when work done event received
since it doesn't quite get there sometimes.

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

15 years agoLinGui: fix minor problem in setting up decomb
jstebbins [Thu, 10 Jul 2008 19:03:31 +0000 (19:03 +0000)]
LinGui: fix minor problem in setting up decomb

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

15 years agoLinGui: Add link to HandBrake Guide to help menu
jstebbins [Thu, 10 Jul 2008 18:02:47 +0000 (18:02 +0000)]
LinGui: Add link to HandBrake Guide to help menu

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

15 years agoWinGui:
sr55 [Thu, 10 Jul 2008 15:55:37 +0000 (15:55 +0000)]
WinGui:
- Activity log window code changed significantly. Now, instead of refeshing the whole log every 5 seconds, it only adds the new lines of log output.
- Fixed bugs where the autoUpdate thread could keep running after the windows had been closed, causing exceptions to occur.
- Removed some debug code from frmMain

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

15 years agoMacGui: Remove scanned source framrate display from "Same as source" in the fps popup.
dynaflash [Thu, 10 Jul 2008 15:52:45 +0000 (15:52 +0000)]
MacGui: Remove scanned source framrate display from "Same as source" in the fps popup.
- Some feel this is misleading and shouldn't be there since same as source now uses true source frame durations.
- made the fps and encoder popups narrower to fit.

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

15 years agoUpdate x264 to rev r901-58d7d06
dynaflash [Wed, 9 Jul 2008 15:46:21 +0000 (15:46 +0000)]
Update x264 to rev r901-58d7d06
- Fixes a bad pixelation issue under certain circumstances in I frames with vbv
- Assorted optimizations including manual loop unrolling
- Also finally removed our deprecated macintel patch

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

15 years agoFix mkv A/V sync problem created by R1542.
van [Tue, 8 Jul 2008 20:34:06 +0000 (20:34 +0000)]
Fix mkv A/V sync problem created by R1542.

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

15 years agoWinGui:
sr55 [Mon, 7 Jul 2008 22:05:18 +0000 (22:05 +0000)]
WinGui:
- Version information now pulled from the CLI (any problems with this breaking on Vista let me know plz!)
- GUI startup optimized to counter the effect of the slightly sluggish version check from CLI (above)
- Added "Format" box just like the macgui. Move the Video Codec dropdown to the correct position on the video tab.
- Few other changes to mimic the macgui.
- Changed Functions.CLI to Functions.Encode
- Cleaned up and added icons to the source menu.

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

15 years agoChange HandBrake from using the libsamplerate linear interpolator for resampling...
eddyg [Sun, 6 Jul 2008 22:53:43 +0000 (22:53 +0000)]
Change HandBrake from using the libsamplerate linear interpolator for resampling audio to using the SINC medium quality interpolator. Testing has shown a significant improvement in audio using this interpolator when upsampling the audio, most significant for 22Khz up to 48Khz, the audio is a lot brighter.

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

16 years agoCropping fix for matted content that has a border top & bottom (rather than just...
van [Fri, 4 Jul 2008 19:09:51 +0000 (19:09 +0000)]
Cropping fix for matted content that has a border top & bottom (rather than just on the top). Fixes problem from forum post forum.handbrake.fr/viewtopic.php?p=37064&sid=1a6b16b9a89cf7c26d9ff4f0c3b1823a#p37064

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

16 years agoWinGui:
sr55 [Fri, 4 Jul 2008 16:10:48 +0000 (16:10 +0000)]
WinGui:
- Drive detection lists DVD title in Source Menu (Optional Feature)
- Updated the help menu to match the macgui.
- Added "cancel" button to frmReadDVD so if the CLI get's stuck, user can cancel the scan without restarting the GUI

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

16 years agoChange libsamplerate from 0.1.2 to 0.1.4, See http://www.mega-nerd.com/SRC/ChangeLog...
eddyg [Thu, 3 Jul 2008 00:15:37 +0000 (00:15 +0000)]
Change libsamplerate from 0.1.2 to 0.1.4, See mega-nerd.com/SRC/ChangeLog for fixes and improvements.

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

16 years agoWinGui:
sr55 [Wed, 2 Jul 2008 19:04:27 +0000 (19:04 +0000)]
WinGui:
- Small oversight. Fix bug with the remove preset button if no preset is selected

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

16 years agoWinGui:
sr55 [Wed, 2 Jul 2008 19:01:36 +0000 (19:01 +0000)]
WinGui:
- Better implementation of the presets bar. Code moved into it's own class.
- Can now Remove Single or delete all built in presets.
- User presets are no longer taged with "--"
- CLI window no longer appears when grabbing the information for presets.dat from HandBrakeCLI.exe

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

16 years agoMacGui: Fixed a crash when dismissing the open window.
ritsuka [Wed, 2 Jul 2008 13:34:20 +0000 (13:34 +0000)]
MacGui: Fixed a crash when dismissing the open window.

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

16 years agoAdded Paul Kendalls ffmpeg AAC-LATM codec. Allows HB to decode AAC-LATM
eddyg [Wed, 2 Jul 2008 00:00:02 +0000 (00:00 +0000)]
Added Paul Kendalls ffmpeg AAC-LATM codec. Allows HB to decode AAC-LATM
MPEG-TS DVB streams.

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

16 years agoLinGui: add hidden preset option to allow direct QP/CRF entry for ffmpeg and
jstebbins [Tue, 1 Jul 2008 22:56:09 +0000 (22:56 +0000)]
LinGui: add hidden preset option to allow direct QP/CRF entry for ffmpeg and
x264.  just add "directqp=enable" to a custom preset.  custom preset file
is ~/.config/ghb/custom_presets

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

16 years agoWinGui:
sr55 [Tue, 1 Jul 2008 16:22:51 +0000 (16:22 +0000)]
WinGui:
- Fix for iPod atom, Large File, Optimize check boxes not disabling correctly in all situations when the file extension or encoder changes.

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

16 years agoEnable subtitle-scan to work when using Xvid as the encoder. Also checks return value...
eddyg [Tue, 1 Jul 2008 05:51:27 +0000 (05:51 +0000)]
Enable subtitle-scan to work when using Xvid as the encoder. Also checks return values from the work Init functions to enable Work threads to abort the encode should they not initialise properly.

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

16 years agoLinGui: clean up temporary file turds upon exit
jstebbins [Mon, 30 Jun 2008 23:53:04 +0000 (23:53 +0000)]
LinGui: clean up temporary file turds upon exit

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

16 years agoLinGui: add detected dvd drives to file menu for quick access. this is a
jstebbins [Mon, 30 Jun 2008 16:51:20 +0000 (16:51 +0000)]
LinGui: add detected dvd drives to file menu for quick access.  this is a
variation of a request saintdev made.  hope he likes it.

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

16 years agoWinGui:
sr55 [Mon, 30 Jun 2008 14:24:47 +0000 (14:24 +0000)]
WinGui:
- Queue system moved into it's own class.
- Queue now uses a listview display instead of a simple list. It now displays some information about each encode instead of the CLI String.
- Misc other Fixes.

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

16 years ago - fix an error in the SCR calculation that would cause an extra frame to be dropped...
van [Mon, 30 Jun 2008 05:01:01 +0000 (05:01 +0000)]
 - fix an error in the SCR calculation that would cause an extra frame to be dropped at an SCR discontinuity.
 - fix a rounding error in the encx264 init_delay computation that would underestimate the delay for progressive content and cause spurious "init_delay too small" messages.
 - clean up the sync.c "video time didn't advance" logic and try to make the error mgs more useful for debugging frame duration problems.

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

16 years agoIf we always require a buffer to be available on every fifo we'll eventually deadlock...
van [Mon, 30 Jun 2008 04:32:49 +0000 (04:32 +0000)]
If we always require a buffer to be available on every fifo we'll eventually deadlock since video and audio run at different rates. Instead take the earliest available buffer (so we don't starve any of the fifos) but don't lock up if fifos are occasionally empty.

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

16 years agoWinGui:
sr55 [Fri, 27 Jun 2008 14:42:17 +0000 (14:42 +0000)]
WinGui:
- Added: Resolution calculation for non anamorphic encodes in the GUI.
- Added: Ability to minimize to the system tray. Includes popup notifications of encoding status.
- Added: Duration calculation based on Title and selected chapters.
- Added: Some more code comments and summaries
- Change: Activity window now only refreshes if there is an active HandBrakeCLI.exe running.
- Change: Browse button/ File mode checkbox for Source Selection Removed. Replaced with a Source Dropdown button in the main toolbar. (works a bit like the magui but still uses the 2 different dialog boxes)
- Change: Removed "Recommended Crop" label and simply let the dropdown set the cropping values. Added DVD resolution Label.
- Fixed: Preset loader now selects longest title and set's chapters to Auto. Before it would load in the last setting used which is bad.
- Fixed bug in the presetLoader() function with the 2nd audio channel track selection.

Final Note: Quite a bit of code has been moved around in this checkin to clear things up a bit.

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

16 years agoFix a crash when using mp4 and no audio tracks.
saintdev [Thu, 26 Jun 2008 01:19:47 +0000 (01:19 +0000)]
Fix a crash when using mp4 and no audio tracks.
Because there were no audio structs on list_audio, audio->config was attempting
to dereference a NULL pointer.

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

16 years agofix the build instructions
jstebbins [Wed, 25 Jun 2008 20:11:30 +0000 (20:11 +0000)]
fix the build instructions

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

16 years agoMacGui: Fixed overlapping button when resizing the preset drawer.
ritsuka [Wed, 25 Jun 2008 13:22:38 +0000 (13:22 +0000)]
MacGui: Fixed overlapping button when resizing the preset drawer.

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

16 years agoMacGUI: Replace MVMenuButton with standard controls. Thanks blindjimmy.
ritsuka [Wed, 25 Jun 2008 13:05:04 +0000 (13:05 +0000)]
MacGUI: Replace MVMenuButton with standard controls. Thanks blindjimmy.
Replace plus and minus icons with apple's one.

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

16 years agoMacGui: Replace valueForKey with objectForKey when accessing the NSDictionary in...
dynaflash [Wed, 25 Jun 2008 12:41:53 +0000 (12:41 +0000)]
MacGui: Replace valueForKey with objectForKey when accessing the NSDictionary in presets. Though this makes no functional difference, it is more consistent. Patch by blindjimmy. forum.handbrake.fr/viewtopic.php?f=4&t=6418

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

16 years agoget the right version info when building with make on linux
jstebbins [Mon, 23 Jun 2008 18:05:25 +0000 (18:05 +0000)]
get the right version info when building with make on linux

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

16 years agoLinGui: Allow scanning new source when work is in progress
jstebbins [Mon, 23 Jun 2008 15:48:13 +0000 (15:48 +0000)]
LinGui: Allow scanning new source when work is in progress
and allow stacking up jobs from multiple sources in the queue.

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

16 years agoLinGui: fix line wrapping in activity window.
jstebbins [Mon, 23 Jun 2008 15:14:39 +0000 (15:14 +0000)]
LinGui: fix line wrapping in activity window.
word wrapping in gtk is still broken.  use character wrapping.

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

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