OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoWinGui:
sr55 [Tue, 14 Apr 2009 21:48:34 +0000 (21:48 +0000)]
WinGui:
- Move some files around. Removes frmMain folder. Removes old x264panel file which is no longer used. Fixes namespace errors.

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

15 years agoThis patch adds mingw32 cross-compilation support to HandBrake trunk to
konablend [Tue, 14 Apr 2009 20:10:57 +0000 (20:10 +0000)]
This patch adds mingw32 cross-compilation support to HandBrake trunk to
produce native win32 binaries. The main benefits are the binary does not have
any Cygwin runtime requirements and various host platforms can be leveraged
to build HandBrake.

Cross-compilation toolchains are complex to setup and recommended for experts
only; but once setup it can build at speeds similar to native builds,
on Darwin or Linux.

BUILD INSTRUCTIONS:
  Add mingw32 toolchain to beginning of your path and take the toolchain
  prefix from gcc (eg: i386-mingw32-gcc) and pass to configure:

    ./configure --cross=i386-ming32

PRODUCTS:
  - hb.lib (static library)
  - HandBrakeCLI.exe

DOWNLOADS:
  Contrib downloads need to be seeded with:
  - pthreads-w32-2-8-0-release.tar.gz (new)
  - xvidcore-20090311.tar.gz

SUMMARY:
  Specifically, all GUI trees are not impacted.

  configure
  - added --cross=PREFIX
  - reworked search for gcc and cross-compile related tools to use prefix

  contrib/
  - sub-patches added as needed for mingw

  contrib/xvidcore/
  - bumped from 1.1.3 -> 1.2.1+ (daily 20090311)
  - reconstituted P01-cygwin.patch
  - created new P00-darwin.patch needed for macho64 asm flag on x86_64 arch

  libhb/
  - uint -> uint32_t
  - remaining changes guarded by mingw32 macro.

  test/
  - modified to support pthread-compatibility library attach/detach.
  - all changes guarded by mingw32 macro.

BRANCHES:
  source: https://hbfork.googlecode.com/svn/branches/mingw@28
  target: svn://svn.handbrake.fr/HandBrake/trunk@2325

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

15 years agoLinGui: first cut at anamorphic picture settings enhancements
jstebbins [Mon, 13 Apr 2009 21:26:18 +0000 (21:26 +0000)]
LinGui: first cut at anamorphic picture settings enhancements

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

15 years agoBuildSystem: docs (OSX)
konablend [Mon, 13 Apr 2009 18:06:49 +0000 (18:06 +0000)]
BuildSystem: docs (OSX)
- updated Xcode.app build instructions to make sure custom shell environment/PATH propagates to Xcode.
- various spelling corrections.

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

15 years agoMake MULTIPLE_MOD handle mod 1 correctly
jstebbins [Mon, 13 Apr 2009 18:03:32 +0000 (18:03 +0000)]
Make MULTIPLE_MOD handle mod 1 correctly

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

15 years agoWinGui
sr55 [Mon, 13 Apr 2009 17:28:21 +0000 (17:28 +0000)]
WinGui
- Small tweak to PresetLoader code - http://forum.handbrake.fr/viewtopic.php?f=12&t=9558&p=51085#p51085

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

15 years agoWinGui:
sr55 [Mon, 13 Apr 2009 17:15:46 +0000 (17:15 +0000)]
WinGui:
- Cut the Query Parser code down by 509 lines of code.
- Fixed issue in Preview window, (mkv files were not playing back)

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

15 years agoWinGui:
sr55 [Sun, 12 Apr 2009 20:10:47 +0000 (20:10 +0000)]
WinGui:
- Improvements to the preview window design.
- Code tweaks to make it less crash / error prone (QT Control)

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

15 years agoDon't crash during scan when a DVD contains an invalid PTT or PGC index. (Bug & fix...
van [Sun, 12 Apr 2009 06:59:40 +0000 (06:59 +0000)]
Don't crash during scan when a DVD contains an invalid PTT or PGC index. (Bug & fix from user macrule in forum post forum.handbrake.fr/viewtopic.php?f=4&t=10291&sid=8b5a573526397f7c26c44e2a50c6dc63#p54152)

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

15 years agoLinGui: older versions of glib don't have g_dgettext, so don't use it
jstebbins [Fri, 10 Apr 2009 22:05:06 +0000 (22:05 +0000)]
LinGui: older versions of glib don't have g_dgettext, so don't use it

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

15 years agoWinGui:
sr55 [Fri, 10 Apr 2009 14:27:27 +0000 (14:27 +0000)]
WinGui:
- Added option to set verbosity level. default 1

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

15 years agoMacGui: Put AVI, OGM and Xvid out of our misery
dynaflash [Fri, 10 Apr 2009 01:24:38 +0000 (01:24 +0000)]
MacGui: Put AVI, OGM and Xvid out of our misery
- Note: renders custom presets using these obsolete (not an issue for built in presets as none have ever used them for good reason).

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

15 years agoLinGui: simplify the code that creates the mask for rounded widget corners
jstebbins [Thu, 9 Apr 2009 19:58:35 +0000 (19:58 +0000)]
LinGui: simplify the code that creates the mask for rounded widget corners

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

15 years agoLinGui: give the hud nicer looking rounded corners
jstebbins [Thu, 9 Apr 2009 17:55:11 +0000 (17:55 +0000)]
LinGui: give the hud nicer looking rounded corners

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

15 years agoLinGui: customize hud colors
jstebbins [Wed, 8 Apr 2009 23:23:48 +0000 (23:23 +0000)]
LinGui: customize hud colors
uses standard rc-file mappings, so user can customize as well

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

15 years agoLinGui: create custom widget that manages multiple overlay layers
jstebbins [Wed, 8 Apr 2009 17:26:10 +0000 (17:26 +0000)]
LinGui: create custom widget that manages multiple overlay layers
composites the layers using per-pixel and global alpha values
the preview hud now uses this.

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

15 years agoWinGui:
sr55 [Tue, 7 Apr 2009 11:24:43 +0000 (11:24 +0000)]
WinGui:
- Fix small regex error in QueryParser.cs related to video framerate.

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

15 years agoLinGui: Say ba-bye to avi & ogm & xvid
jstebbins [Mon, 6 Apr 2009 15:50:36 +0000 (15:50 +0000)]
LinGui: Say ba-bye to avi & ogm & xvid

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

15 years agoLinGui: adjustment to position of hud
jstebbins [Mon, 6 Apr 2009 15:50:26 +0000 (15:50 +0000)]
LinGui: adjustment to position of hud

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

15 years agoWinGui:
sr55 [Mon, 6 Apr 2009 15:45:15 +0000 (15:45 +0000)]
WinGui:
- Removes xvid encoder option.

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

15 years agoWinGui:
sr55 [Mon, 6 Apr 2009 15:40:15 +0000 (15:40 +0000)]
WinGui:
- Removes ogm and avi file containers

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

15 years agoWinGui:
sr55 [Mon, 6 Apr 2009 15:15:40 +0000 (15:15 +0000)]
WinGui:
- Add support for drag/drop of a source file onto the main window. Source will be scanned on drop.
- Misc code tweaks.

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

15 years agoLinGui: improve behavior of hud enter/leave and timout events
jstebbins [Mon, 6 Apr 2009 06:17:50 +0000 (06:17 +0000)]
LinGui: improve behavior of hud enter/leave and timout events

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

15 years agoLinGui: figured out how to do the hud in a better way.
jstebbins [Mon, 6 Apr 2009 03:17:11 +0000 (03:17 +0000)]
LinGui: figured out how to do the hud in a better way.
window reparenting isn't needed now, and I can do alpha blending with
the video through cairo.

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

15 years agoLinGui: oops, forgot to actually rescale the image when making the
jstebbins [Sun, 5 Apr 2009 17:19:54 +0000 (17:19 +0000)]
LinGui: oops, forgot to actually rescale the image when making the
preview window fullscreen

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

15 years agoLinGui: only update prefs file after a delay.
jstebbins [Sun, 5 Apr 2009 05:09:31 +0000 (05:09 +0000)]
LinGui: only update prefs file after a delay.
storing window positions as windows move creates rappid changes

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

15 years agoFix botched r2256 as suggested by forum user greed in post http://forum.handbrake...
van [Sun, 5 Apr 2009 03:55:12 +0000 (03:55 +0000)]
Fix botched r2256 as suggested by forum user greed in post forum.handbrake.fr/viewtopic.php?f=4&t=9758&sid=b6deb84bf0f30e9dfa504e19d4c2d5c3&p=53722#p53722

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

15 years agoLinGui: if fullscreen preview, don't reduce HD video to 80% of screen.
jstebbins [Sun, 5 Apr 2009 02:48:09 +0000 (02:48 +0000)]
LinGui: if fullscreen preview, don't reduce HD video to 80% of screen.

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

15 years agoLinGui: add fullscreen option to preview
jstebbins [Sun, 5 Apr 2009 01:48:55 +0000 (01:48 +0000)]
LinGui: add fullscreen option to preview

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

15 years agoLinGui:
jstebbins [Sat, 4 Apr 2009 21:21:28 +0000 (21:21 +0000)]
LinGui:
older version of libgtk don't have gtk_widget_get_window(), so use
widget->window instead.

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

15 years agoLinGui: preview and picture window changes
jstebbins [Sat, 4 Apr 2009 21:13:29 +0000 (21:13 +0000)]
LinGui: preview and picture window changes
- split picture settings into it's own window
- create overlay for preview window (like the mac ui, but not a pretty)
- save window positions and preview display status between sessions

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

15 years agoWinGui:
sr55 [Thu, 2 Apr 2009 15:21:45 +0000 (15:21 +0000)]
WinGui:
- Confirm file overwrite for encode destination.

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

15 years agoLinGui: fix some build dependency issues
jstebbins [Thu, 2 Apr 2009 15:11:43 +0000 (15:11 +0000)]
LinGui: fix some build dependency issues
- make configure depend on configure.ac, Makefile.am and src/Makefile.am
- add new icons to resource dependencies

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

15 years agoWinGui:
sr55 [Thu, 2 Apr 2009 15:10:21 +0000 (15:10 +0000)]
WinGui:
- Fix for Destination Browse button exception is destination is empty. (http://forum.handbrake.fr/viewtopic.php?f=12&t=10140)
- Added warning if user is about to add 2 or more items to the queue with the same destination path.

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

15 years agoBuildSystem: minor change adding --force to launched builds
konablend [Thu, 2 Apr 2009 04:54:57 +0000 (04:54 +0000)]
BuildSystem: minor change adding --force to launched builds
- helps with people who for some reason need to re-start the build without manually cleaning build/ dir.

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

15 years agoLinGui: add status icon that sits in the system tray
jstebbins [Thu, 2 Apr 2009 01:43:29 +0000 (01:43 +0000)]
LinGui: add status icon that sits in the system tray

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

15 years agoWinGui:
sr55 [Wed, 1 Apr 2009 23:48:34 +0000 (23:48 +0000)]
WinGui:
- Just some minor code tweaks to clean things up.

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

15 years agoWinGui:
sr55 [Wed, 1 Apr 2009 23:31:00 +0000 (23:31 +0000)]
WinGui:
- Fixes a small bug with the PSY RD slider not having a default of 1. Some code cleanups. (Thanks ExDeus)
- Cleaned up a few bits of code

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

15 years agoLinGui: Show notification when handbrake queue is complete
jstebbins [Wed, 1 Apr 2009 17:45:59 +0000 (17:45 +0000)]
LinGui: Show notification when handbrake queue is complete

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

15 years agoFix frame rate calculation for ffmpeg 0.5 - h.264 rate is now in fields per second...
van [Wed, 1 Apr 2009 04:40:08 +0000 (04:40 +0000)]
Fix frame rate calculation for ffmpeg 0.5 - h.264 rate is now in fields per second so convert it back to frames per second.

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

15 years agoWinGui:
sr55 [Tue, 31 Mar 2009 17:30:10 +0000 (17:30 +0000)]
WinGui:
- Updated Preview Query generation code to handle new -stop-at format.

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

15 years agoAdds a job->frame_to_stop variable similar to the existing pts_to_stop parameter...
jbrjake [Tue, 31 Mar 2009 17:19:37 +0000 (17:19 +0000)]
Adds a job->frame_to_stop variable similar to the existing pts_to_stop parameter, for ending an encode after a certain number of decoded frames.

CLI: Replaces --stop-at-pts and --stop-at-duration with a general --stop-at option. The argument is in the form unit:amount. So --stop-at duration:10 for a 10 second encode, --stop-at pts:300300 to end when that timestamp is reached, or --stop-at frame:1000 to stop after reading 1000 frames.

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

15 years agoFlush frames from the delay queue in render. This should add an extra couple of frame...
jbrjake [Tue, 31 Mar 2009 16:46:59 +0000 (16:46 +0000)]
Flush frames from the delay queue in render. This should add an extra couple of frames to the end of output when using same as source fps or vfr detelecine. Thanks, eddyg!

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

15 years agox264: bump to r1130-8475977
dynaflash [Sun, 29 Mar 2009 03:22:42 +0000 (03:22 +0000)]
x264: bump to r1130-8475977
- incremental speedups since last rev.

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

15 years agoLinGui: make KeepAspect flag differentiate mode 2 and mode 3 anamorphic
jstebbins [Sat, 28 Mar 2009 23:36:41 +0000 (23:36 +0000)]
LinGui: make KeepAspect flag differentiate mode 2 and mode 3 anamorphic

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

15 years agoRemove unneeded preview files at the beginning of a scan.
jstebbins [Fri, 27 Mar 2009 23:18:53 +0000 (23:18 +0000)]
Remove unneeded preview files at the beginning of a scan.
This prevents accumulation of potentially thousands of files during a session

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

15 years agoLinGui:
jstebbins [Fri, 27 Mar 2009 19:03:24 +0000 (19:03 +0000)]
LinGui:
rename a namedtuple to be more consistant with what it really is

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

15 years agoLinGui:
jstebbins [Fri, 27 Mar 2009 18:55:28 +0000 (18:55 +0000)]
LinGui:
- rewrite tool that creates a quoted string from a file in python
  resulting string is suitable for use as a C char*
- create_resources, remove redundant code from cut/past error

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

15 years agoLinGui: rewrite widget dependency creator in python
jstebbins [Fri, 27 Mar 2009 17:18:24 +0000 (17:18 +0000)]
LinGui: rewrite widget dependency creator in python

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

15 years agoLinGui:
jstebbins [Fri, 27 Mar 2009 15:58:11 +0000 (15:58 +0000)]
LinGui:
- add some error handling to resource parser
- modify how icons are deserialized in ghb since the python resource
  parser can't easily serialize the old way

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

15 years agoLinGui: rewrite my resource parser in python.
jstebbins [Fri, 27 Mar 2009 02:18:53 +0000 (02:18 +0000)]
LinGui: rewrite my resource parser in python.
It's not quite ready for use because it requires python 2.6 and none
of the distributions have 2.6 yet. I'm getting a head start.

This is the first of a few tools that I'm rewriting in python
because compiling them at build time causes problems in a cross
compiling environment.

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

15 years agoBuildSystem: added HandBrakeCLI to universal-binary combination.
konablend [Thu, 26 Mar 2009 22:41:19 +0000 (22:41 +0000)]
BuildSystem: added HandBrakeCLI to universal-binary combination.

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

15 years agoLinGui: save preset folder collapsed/expanded state. restore at startup.
jstebbins [Thu, 26 Mar 2009 00:34:38 +0000 (00:34 +0000)]
LinGui: save preset folder collapsed/expanded state. restore at startup.

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

15 years agoLinGui: remove debug output
jstebbins [Wed, 25 Mar 2009 23:38:00 +0000 (23:38 +0000)]
LinGui: remove debug output

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

15 years agoadd preference option to disable update checking
jstebbins [Wed, 25 Mar 2009 23:32:25 +0000 (23:32 +0000)]
add preference option to disable update checking

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

15 years agoLinGui:
jstebbins [Tue, 24 Mar 2009 21:53:45 +0000 (21:53 +0000)]
LinGui:
fix scaling problems with HD video that must be scaled to fit the screen

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

15 years agofix invalid property value in ui xml
jstebbins [Sun, 22 Mar 2009 01:35:29 +0000 (01:35 +0000)]
fix invalid property value in ui xml
fix initial value for show_presets preference

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

15 years agoLinGui: fix crash at start of a 2 pass encode
jstebbins [Sat, 21 Mar 2009 18:48:41 +0000 (18:48 +0000)]
LinGui: fix crash at start of a 2 pass encode
if you started an encode, then scanned another source, the second pass
would crash.  I was inadvertently deleting the 1st pass log file.

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

15 years agoCygwin: removed faad2 patch no longer required as per faad2 bump.
konablend [Fri, 20 Mar 2009 16:37:07 +0000 (16:37 +0000)]
Cygwin: removed faad2 patch no longer required as per faad2 bump.
- added -N flag to contrib usage of patch to ignore patches which appear already applied.

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

15 years agoCygwin: updated patch to support faac-1.26 -> 1.28 bump.
konablend [Fri, 20 Mar 2009 07:39:32 +0000 (07:39 +0000)]
Cygwin: updated patch to support faac-1.26 -> 1.28 bump.
BuildSystem: cleanup some makefile debug residuals and fix module bzip2 always-out-of-date condition.

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

15 years agoSolaris: updated patch to support faad-2.6.1 -> 2.7 bump.
konablend [Fri, 20 Mar 2009 07:25:37 +0000 (07:25 +0000)]
Solaris: updated patch to support faad-2.6.1 -> 2.7 bump.

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

15 years agoNew FAAC and FAAD2, sww http://www.audiocoding.com
eddyg [Fri, 20 Mar 2009 04:43:41 +0000 (04:43 +0000)]
New FAAC and FAAD2, sww http://www.audiocoding.com

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

15 years agoAnother minor step on the way back to Solaris compiles - not linking as yet.
eddyg [Fri, 20 Mar 2009 04:30:04 +0000 (04:30 +0000)]
Another minor step on the way back to Solaris compiles - not linking as yet.

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

15 years agoPorts tritical's EEDI2 deinterlacing interpolator from AviSynth and implements it...
jbrjake [Thu, 19 Mar 2009 17:30:56 +0000 (17:30 +0000)]
Ports tritical's EEDI2 deinterlacing interpolator from AviSynth and implements it in the decomb filter as an optional, non-default substitute for yadif's internal, lower quality spatial predictions.

EEDI2 interpolation is enabled by setting mode (the first decomb parameter) to 5. Decomb now accepts -1 as a spatial metric (the second parameter), to bypass combing detection and force deinterlacing of all frames in the specified mode. Additional parameters have been appended to the end of the settings list for decomb, to specify various settings used by EEDI2. The default values for those should work well.

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

15 years agoBuildSystem: solaris port (work in progress)
konablend [Tue, 17 Mar 2009 01:07:06 +0000 (01:07 +0000)]
BuildSystem: solaris port (work in progress)

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

15 years agoWinGui:
sr55 [Mon, 16 Mar 2009 18:15:29 +0000 (18:15 +0000)]
WinGui:
- Added right click menu to the queue with Move Up/Down and Delete options.

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

15 years agoMacGui: When launching a second instance of HB, warn of existing instance and do...
dynaflash [Mon, 16 Mar 2009 14:55:44 +0000 (14:55 +0000)]
MacGui: When launching a second instance of HB, warn of existing instance and do not alter the existing queue.
- Note: this does not mean multi-instance encoding off of one queue file works. For now its just better than messing up the first instances queue. Also useful for ui developing on one instance sans encoding while actually encoding with another instance.

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

15 years agoWinGui:
sr55 [Sun, 15 Mar 2009 14:12:48 +0000 (14:12 +0000)]
WinGui:
- Enable tabstops on the add preset window.
- Confirm closing of program if Queue is running (ExDeus)
- Minor fixes/cleanup from Exdeus (Destination Browse Button, Tools > Show Queue,  MessageBox in frmQueue)
- Code cleanup in a few other files.

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

15 years agoMacGui: setUsesThreadedAnimation to false for the progress indicators in the main...
dynaflash [Fri, 13 Mar 2009 19:56:59 +0000 (19:56 +0000)]
MacGui: setUsesThreadedAnimation to false for the progress indicators in the main window for 32 bit as well as 64 bit. also for fMovieCreationProgressIndicator in th preview window.
- For live preview this fixes an issue where the qtmovieview controller was not in focus.

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

15 years agoMacgui: set "setUsesThreadedAnimation" to false for the two main window progress...
dynaflash [Thu, 12 Mar 2009 21:48:16 +0000 (21:48 +0000)]
Macgui: set "setUsesThreadedAnimation" to false for the two main window progress indicators for 64 bit builds.
- Fix by jbrjake.
- Fixes an issue where clicking on the advanced tab renders the progress indicators inanimate and the rest of the ui sluggish.
- jbrjake found a note in the 10.5 dev notes regarding this possiblility. It was also noted that unless specified, setUsesThreadedAnimation defaults to true.
- Also there is a mention in the documentation that "... creating a thread just for the progress indicator can actually slow down your application." for NSProgressIndicator though no mention of 64 bit builds specifically.

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

15 years agoBuildSystem: darwin + Xcode dependencies and enhancements
konablend [Wed, 11 Mar 2009 05:18:47 +0000 (05:18 +0000)]
BuildSystem: darwin + Xcode dependencies and enhancements

This changeset focuses on a disconnect between Xcode targets HandBrakeCLI and HandBrake.app when
changest to external dependencies are made. The use case is to touch any .c file in libhb
which then builds .o and re-creates libhb.a; next the Xcode targets should at least re-link.
This did not happen because link-flags are used to add libhb.a and contrib libraries in Xcode;
which effectively hides them from Xcode.

The solution removes libhb.a from link-flags mechanism and places libhb.a as a framework library
known to Xcode; and the expected re-linking occurs. contrib libraries will continue to use link-flags
but since libhb.a has coarse-grained dependencies on contrib modules this will also cause Xcode
targets to re-link.

Further enhancements made to Xcode project:
- Xcode now scans any .c files for .h file dependencies; will help with Xcode sources;
  the effect against libhb.a is moot; libhb.a will be rebuilt by external system anyways.
- libbz2 and libz are now treated as framework libraries; it's more correct than listing
  all libraries as link-flags.
- moved FRAMEWORK_SEARCH_PATHS to project-level for consistency in future targets.
- moved LIBRARY_SEARCH_PATHS to project-level for conistency.
- enabled GCC_WARN_TYPECHECK_CALLS_TO_PRINTF at project-level.

[this changeset should not be a factor for other platforms; no side effects are expected]

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

15 years agoDetect bogus cell start and last addresses while scanning each title so we don't...
van [Wed, 11 Mar 2009 05:11:02 +0000 (05:11 +0000)]
Detect bogus cell start and last addresses while scanning each title so we don't crash later in dvdread. Fix from user "greed" in forum thread forum.handbrake.fr/viewtopic.php?f=4&t=9758&start=0

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

15 years agoFix CPU count detection on OSX.
saintdev [Wed, 11 Mar 2009 03:54:52 +0000 (03:54 +0000)]
Fix CPU count detection on OSX.

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

15 years agoClean up CPU count detection.
saintdev [Wed, 11 Mar 2009 00:06:11 +0000 (00:06 +0000)]
Clean up CPU count detection.
-No longer use 'grep' on linux to detect CPU count!
-Use sysctls on OSX.
-SunOS and CYGWIN are unmodified.

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

15 years agoBuildSystem: docs; new location for generated docs which we can point users to
konablend [Tue, 10 Mar 2009 23:22:24 +0000 (23:22 +0000)]
BuildSystem: docs; new location for generated docs which we can point users to
- doc/BUILD-Mac
- doc/BUILD-Linux
- doc/BUILD-Cygwin

BuildSystem: doc cleanup
- dropped wiki autogen stuff; not compatible with project goals.

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

15 years agoCygwin: ffmpeg build tweaks
konablend [Tue, 10 Mar 2009 22:43:11 +0000 (22:43 +0000)]
Cygwin: ffmpeg build tweaks
- bug: issues with universal input (including aac in mp4, wmv etc)
- fix: add -fno-common to GCC
- correctness: add --enable-memalign-hack as per ffmpeg docs
- these issues were possibly a regression introduced with the new build system
- a positive side effect to the build system is the availability of new makevar
  '<MODULE>.GCC.args.extra' which is a free-form way to add extra cflags to GCC functions.

[this changeset does not effect any other platforms]

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

15 years agoBuildSystem: initial _skeleton_ asm support for libhb.
konablend [Tue, 10 Mar 2009 07:05:42 +0000 (07:05 +0000)]
BuildSystem: initial _skeleton_ asm support for libhb.
- asm disposition is DISABLED.
- it can only be enabled via a hidden configure option (--enable-asm) but will only be useful once asm code is checked-in.
- this is checked-in early to not lose some internal configure enhancements made during asm build support impl.

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

15 years agoffmpeg release 0.5 (http://www.ffmpeg.org/changelog.html)
eddyg [Tue, 10 Mar 2009 04:11:46 +0000 (04:11 +0000)]
ffmpeg release 0.5 (www.ffmpeg.org/changelog.html)

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

15 years agoBuildSystem: doc cleanup
konablend [Tue, 10 Mar 2009 01:50:47 +0000 (01:50 +0000)]
BuildSystem: doc cleanup
- drop /wiki as this cannot be displayed without trac 'include' components or plugins.
- drop pre-generated txt files from /trunk as wiki pages will be posted manually.
- drop auto-posting of generated wiki from doc/module.* .

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

15 years agoBuildSystem: effects Darwin platforms only
konablend [Tue, 10 Mar 2009 01:26:46 +0000 (01:26 +0000)]
BuildSystem: effects Darwin platforms only
- fixed Darwin ppc hosted build reversion introduced in r2242.
- fixed Darwin + Xcode in all scenerios to honor --debug option

*** if building from Xcode there is no need to rebuild but you will have
    to close project and reload; xcodeproj has been updated.

*** if building from terminal there *should* be no need to rebuild;
    the first 'make' after an update is expected to trigger a reconfigure
    and libhb will rebuild.

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

15 years agoWinGui
sr55 [Mon, 9 Mar 2009 11:49:20 +0000 (11:49 +0000)]
WinGui
- Removed undeeded activate call for show queue
- Moved re-add job to the toolbar Queue menu.

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

15 years agolibvorbis: disabled build of examples
konablend [Mon, 9 Mar 2009 04:58:02 +0000 (04:58 +0000)]
libvorbis: disabled build of examples
- libvorbis autotooling leaves a lot to be desired; when building examples it
  tends to find libogg in all the wrong places, even when specifying --with-ogg=DIR
  we still must resort to other hacks to disable pkg-config.
- we don't need the examples; and disabling them is likely to make HB builds with less issues.

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

15 years agoBuildSystem: fixed configure --debug + Xcode
konablend [Mon, 9 Mar 2009 03:05:53 +0000 (03:05 +0000)]
BuildSystem: fixed configure --debug + Xcode
- only effects users building w/ Xcode from terminal or Xcode.app who need debug libhb.

Bug details:
- shunting through Xcode causes a re-configure to give GNUmakefile the 'Xcode' environment.
- re-configure simply clobbered CONF.args thus losing effect of initial --debug option.
- solution is to pass CONF.args to re-configure.

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

15 years agoBuildSystem: new files required for r2242.
konablend [Sun, 8 Mar 2009 23:07:23 +0000 (23:07 +0000)]
BuildSystem: new files required for r2242.

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

15 years agoBuildSystem: general, configure and Xcode updates.
konablend [Sun, 8 Mar 2009 22:50:57 +0000 (22:50 +0000)]
BuildSystem: general, configure and Xcode updates.

*** NOTICE:
This changeset requires a clean build directory. Please issue 'make xclean' inside
build dir(s) after 'svn up'. This will help ensure there are no unexpected results.

*** GENERAL:
- renamed makevar PROJECT/ -> SRC/ for clarity.
- renamed makevar PREFIX.install/ -> PREFIX/ for clarity.
- split custom GNUmakefile overrides into defs/rules files.
- inserted optional level of make customization at SRC/ level; see docs.
- dropped HB.repo.wcversion (svnversion is no longer used).
- corrected several 'rm' usages to use -f flag which avoids some build errors.
- refreshed generated 00-Building.*.txt docs; work still in progress on the wiki front.

*** CONFIGURE:
- made configure more robust; configure may now be run outside of build directory!
- adding log recording of configure activities.
- improved readability of default options for configure
- added:

    --force             overwrite existing build config
    --src=DIR           specify top-level source dir [.]
    --build=DIR         specify build scratch/output dir [.]
    --prefix=DIR        specify install dir for products [/Applications]

- dropped --launch-force (replaced by --force)
- dropped --launch-dir (replaced by --build)
- dropped --launch-log

*** XCODE:
- renamed pbxproj definition EXTERNAL_PROJECT -> EXTERNAL_SRC for clarity.
- fixed all configurations to default to EXTERNAL_JOBS=1 .
- enabled Xcode internal parallelization (libhb, HandBrakeCLI and HandBrake benefit).
- make now tickles Xcode build files to cause Info.plist regeneration and posting to HandBrake.app output;
  ie: svn up; click build and HandBrake.app's about panel will reflect the new repository rev.

*** DARWIN:
- added support to build universal binaries; see docs.

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

15 years agox264 bumped to r1125-10d6ef0
dynaflash [Sun, 8 Mar 2009 17:07:04 +0000 (17:07 +0000)]
x264 bumped to r1125-10d6ef0
- 1124: SSSE3 hpel_filter_v ~8% faster hpel filter on 64-bit Nehalem
- 1125: Faster SSE2 pixel_var ~32% faster var_16x16 on Conroe

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

15 years agoLinGui:
jstebbins [Sat, 7 Mar 2009 16:54:47 +0000 (16:54 +0000)]
LinGui:
cleanup x264 options string dependencies between subme, trellis, and psy-rd

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

15 years agoWinGui:
sr55 [Sat, 7 Mar 2009 12:53:48 +0000 (12:53 +0000)]
WinGui:
- Remove old decomb option from the Options windows
- Added patch by ExDeus which allows multi-select on the queue window, and re-adding of the currently running job.

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

15 years agoMacGui: The textarea was misaligned of 1px to the left.
ritsuka [Sat, 7 Mar 2009 12:03:58 +0000 (12:03 +0000)]
MacGui: The textarea was misaligned of 1px to the left.

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

15 years agoBuildSystem:
konablend [Sat, 7 Mar 2009 07:41:43 +0000 (07:41 +0000)]
BuildSystem:
- added diagnostic target for troubleshooting build environment issues.

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

15 years agoMacGui: Reverted the updateUI: timer mode to NSDefaultRunLoopMode. Hopefully this...
ritsuka [Sat, 7 Mar 2009 07:35:56 +0000 (07:35 +0000)]
MacGui: Reverted the updateUI: timer mode to NSDefaultRunLoopMode. Hopefully this will fix the ui weird behavior on x86_64 (progress bar lockup, interface slowdown, etc)

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

15 years agox264 bump to r1123-3d78062
dynaflash [Sat, 7 Mar 2009 05:02:06 +0000 (05:02 +0000)]
x264 bump to r1123-3d78062
- the holger special, general speedups
- 16x16 SATD: +18% speed on K8(64bit), +22% on K10(32bit), +42% on Penryn(64bit), +44% on Nehalem(64bit), +50% on P4(32bit), +98% on Conroe(64bit)
- Overall performance boost is up to ~15% on 64-bit Conroe.

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

15 years agoMacGui: Disable physical dvd access for 64 bit arches with an appropriate warning...
dynaflash [Fri, 6 Mar 2009 20:51:03 +0000 (20:51 +0000)]
MacGui: Disable physical dvd access for 64 bit arches with an appropriate warning since vlc is not 64 bit.
- Still allows access to dvd's mounted with Fairmount.
- Tested both intel and ppc

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

15 years agoMacGui: Fix issue where sometimes hb would not remember that the preview window was...
dynaflash [Fri, 6 Mar 2009 17:12:40 +0000 (17:12 +0000)]
MacGui: Fix issue where sometimes hb would not remember that the preview window was open at last quit.

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

15 years agoMacGui: Preview Window postioning fixes
dynaflash [Fri, 6 Mar 2009 16:32:59 +0000 (16:32 +0000)]
MacGui: Preview Window postioning fixes
- Make sure the preview window stays within the parameters of the screen as it resizes, even on multiple monitor systems.
- Among other things fixes an issue where preview window being opened up at launch would push part of it off screen as it resized to a new source.

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

15 years agoMacGui: Set hud overlay controls as initially hidden in Preview Window.
dynaflash [Fri, 6 Mar 2009 15:38:11 +0000 (15:38 +0000)]
MacGui: Set hud overlay controls as initially hidden in Preview Window.
- Fixes an issue where the controls are not properly arranged and available when preview window is open and there is no source currently loaded up.

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

15 years agoWinGui:
sr55 [Fri, 6 Mar 2009 14:27:44 +0000 (14:27 +0000)]
WinGui:
- Add an override for the queue show method. Saves calling setQueue() before Show().
- Fix a couple of message boxes appearing behind windows.
Thanks go to: ExDeus

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

15 years agoMacGui: Picture Settings - If Preview is in full screen and pic settings are open...
dynaflash [Thu, 5 Mar 2009 23:39:13 +0000 (23:39 +0000)]
MacGui: Picture Settings - If Preview is in full screen and pic settings are open, disable the toggle effect for the settings button in preview and move the Picture Settings panel on top of the full screen preview.
- Fixes issue where going into full screen mode in preview requires two clicks on the settings button to get the inspector to show on top of the full screen preview.

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

15 years agoMacGui: Fix picture settings panel so that it stays on top when open like a true...
dynaflash [Thu, 5 Mar 2009 23:07:19 +0000 (23:07 +0000)]
MacGui: Fix picture settings panel so that it stays on top when open like a true hud inspector.
- Add "Hide On Deactivate" property to the xib so that if another app is in focus the panel properly hides.

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

15 years agoMacGui: Fix wonky tabbed view layout in picture settings at launch.
dynaflash [Thu, 5 Mar 2009 21:02:58 +0000 (21:02 +0000)]
MacGui: Fix wonky tabbed view layout in picture settings at launch.
- For whatever the reason NSTabView does not like wantsCoreAnimationLayer set in the xib. So we set it programmatically in awakeFromNib in PictureController.

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