build system: fix 32 bit build on Snow Leopard
gcc-4.2 on SL reports i686 (but generates x86_64 code by default)
and uname -m reports i386 (unless you hold 6+4 keys while booting)
so modify configure.py to always add '-arch xxx' option on os x
Also, update libtheora to svn 16547 since the 1.0 release doesn't compile
on SL.
WinGui:
- Fix spelling error with regards to no auto name directory set.
- Lower Res check limit to 620. Should allow overscan tv's to work just fine.
- cleaned up program.cs a bit.
- Fixed the show queue button. It now activates the queue window correctly.
WinGui:
- Remove 2 options.
"Enable DVD drive detection..." Feature seems stable, so no longer required.
"Load my default preset" No real need for this option.
jstebbins [Mon, 31 Aug 2009 18:49:39 +0000 (18:49 +0000)]
libhb: fix PAR issue with DV
For some (maybe all) DV, ffmpeg doesn't give us the sample_aspect_ratio in
the context. So when it's missing, try looking it up in the AVStream info.
sr55 [Sat, 29 Aug 2009 21:08:50 +0000 (21:08 +0000)]
WinGui:
- Fix a nasty culture issue with the Video Quality slider. Should now work correctly for systems which represent floats as 1,25 instead of 1.25
ritsuka [Sat, 29 Aug 2009 07:00:01 +0000 (07:00 +0000)]
MacGUI: Renamed HBPreviewController.mm to HBPreviewController.m to enable the new clang static analyzer goodness, there was no reason for this file to use Objective-C++
sr55 [Fri, 28 Aug 2009 15:04:25 +0000 (15:04 +0000)]
WinGui:
- Fix issue changing file format causing the audio encoder dropdown to be set to ""
- Fixed an issue with autoName function and format dropdown with regards to AC3 in the audio list. Also, CC or SRT
- Combined a bunch of functions in x264Panel into one.
dynaflash [Wed, 26 Aug 2009 16:50:51 +0000 (16:50 +0000)]
MacGui: Picture Filters
- Re order NSPopupButton selections for Detelecine, Decomb, Deinterlace, and Denoise so the first three choices for each are ordered: Off, Custom, Default
- Change so off is "Off" instead of "None"
- NOTE: This *will* break any custom user presets that use these filters. You will need to recreate them. Built In Presets will be updated properly.
sr55 [Wed, 26 Aug 2009 16:47:33 +0000 (16:47 +0000)]
WinGui:
- Updated Growl to 2.0.0.20
- Added 2 new options. "Growl when queue completes" and "Growl when encode completes"
- Added 1 new option. "Disable Resolution Calculation for "None" and "Custom" modes."
- Changed Filters dropdown menus for consistency and to match the new layout
- Fixed a problem with the Destination save dialog box double appending a file extension. Also added m4v to the filer.
jstebbins [Wed, 26 Aug 2009 16:29:05 +0000 (16:29 +0000)]
LinGui: picture filter changes
- change "None" to "Off" for detelecine, decomb, deinterlace, and denoise
- add decomb/deinterlace switch, hide controls that are not active
- update builtin presets to reflect change in order of "Custom" option
sr55 [Tue, 25 Aug 2009 16:16:00 +0000 (16:16 +0000)]
WinGui:
- Fix several issues with Picture Settings panel related to aspect ration and resolution calculation.
- Fix issue where file extension could be mp4 when chapters is enabled. Problem in the autoname function.
- Fix a regex error in the appcast reader and make it more robust to errors.
- Clear up changelog
jstebbins [Mon, 24 Aug 2009 17:32:22 +0000 (17:32 +0000)]
build system: some changes that simplify things for packaging tools
- Add DESTDIR to install path for HandBrakeCLI
- Modify linux packaging rules for deb and rpm packages to use DESTDIR
- lingui: only update icon cache during install if DESTDIR is not set
- patch out the hardcoded install path for m4 macros in libdvdread and libdvdnav
when uid==0
ritsuka [Fri, 21 Aug 2009 12:25:51 +0000 (12:25 +0000)]
Reworked the hud to be more responsive, and added a category to QTMovieView so the hud is displayed even if fMovieView is the first responder.
Cleanup the movie loading code for future changes.
sr55 [Wed, 19 Aug 2009 13:02:50 +0000 (13:02 +0000)]
WinGui:
- Changed the Chapter Markers tab so that it doesn't clear the Chapter names if the feature is disable / re-enabled. It'll now keep user set names for each source.
- Moved the Add/Remove buttons to the top of the audio panel. This should better indicate the work flow.
- Moved the Add/remove subtitle buttons to the top of the subtitle panel for the same reason.
jstebbins [Mon, 17 Aug 2009 13:30:14 +0000 (13:30 +0000)]
LinGui: fix dependency in makefile
ghbcellrenderertext.$(OBJEXT) depends on marshalers.h, not ghbcellrenderertext.c
I can't see why, but this could be related to the random deletion of this
source file.
jstebbins [Mon, 17 Aug 2009 13:13:53 +0000 (13:13 +0000)]
LinGui: fix incorrect test in Makefile.am
change "test -n" to "test -d".
check for directory existence instead of checking for an empty string when
the string can never be empty
jstebbins [Tue, 11 Aug 2009 17:41:04 +0000 (17:41 +0000)]
LinGui: fix some compatibility issues
- use new gnome session manager when available for shutdown and pm inhibit
- fall back to old gnome power manager when sm is not available
- fix webkit build error on Ubuntu 8.04 TLS
jstebbins [Sun, 9 Aug 2009 16:51:44 +0000 (16:51 +0000)]
libhb: don't truncate last chapter of a stream
When an ffmpeg stream doesn't have chapters, we insert a dummy chapter
into our chapter list that has the same duration as the title. But the
title duration is only a guess. Later, when the chapter end time is reached,
we increment the chapter number. In the reader, we exit if the current
chapter number is greater than the last chapter. This patch only increments
the chapter number in stream if there is actually another chapter. This
way reader will continue till the file is exhausted
dynaflash [Fri, 7 Aug 2009 15:39:02 +0000 (15:39 +0000)]
Revert x264 back to rev x264-r1195-5d75a9b.tar.gz until MB Tree works with weighted bframes and uses weighted prediction for better fades. Since MB Tree reportedly changes the crf curve significantly we need to test our rf values in our presets as they are likely to change.
- Left x264 rev r1198-a1ed468 on the server so it can be tested with a one line change to contrib/x264/module.defs
dynaflash [Fri, 7 Aug 2009 14:42:36 +0000 (14:42 +0000)]
x264 bump to r1198-a1ed468
- Introduces Macroblock-tree ratecontrol (on by default)
- Various 1-pass VBV tweaks
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=a1ed468f67476fbbe49e1fbfe1a567be0c052d44
jstebbins [Thu, 6 Aug 2009 23:00:08 +0000 (23:00 +0000)]
LinGui: use a different method of stripping video file name extensions
before the new destination filename is constructed the original files
extension is stripped. this new method catches a larger variety of
extensions without the need to explicitly list them all.
jbrjake [Sat, 1 Aug 2009 14:09:02 +0000 (14:09 +0000)]
- Bumps x264 to r1195-5d75a9b. x264 has new default settings: subme 6->7, bframes 0->3, 8x8dct 0->1, psnr 1->0, ssim 1->0, ref 1->3, mixed-refs 0->1, trellis 0->1, weightb 0->1
- Explicitly enables SSIM and PSNR metrics for all x264 encodes
- MacGui: Updates Advanced tab for new x264 defaults
- MacGui and CLI: Updates built-in presets to produce the same output given the new default x264 settings
LinGui: fix a problem with running mingw cross compiled ghb under wine
wine's implementation of GetVolumeInformation requires a '\' after drive
letters. if not, it returns junk.
WinGui:
- Fixed and issue during scan where missing audio track information would cause the log parser to throw an exception.
- Added support for "Growl for Windows" http://growlforwindows.com/gfw/ - Thanks to bdunnington
libhb: remove duplicate title detection from scan
Many timest the titles are not really duplicate. The detection logic only
checked that they used the same sectors of the disc, but there are many other
things that can make the titles different.
LinGui: prevent initiation of another scan while a scan is in progress
attempting to start a scan while already scanning usually resulted in a
crash, and shouldn't be allowed anyway.
WinGui:
- getCliProcess(): This is now massively faster at returning the process ID of HandBrakeCLI. This means that the GUI updates it's elements far faster instead of the noticeable few seconds pause when an encode starts. This also fixes an error message that would appear if the CLI process quit before the GUI was setup.
- Code re factoring in Main.cs. Reduced the amount of code needed for a few functions.
- Combined the Encode and Queue handler. This just makes things a bit easier when other parts of the GUI need the encode process info. The new CLI handling code is not in yet.
- Added the CLI build environment to the About window
WinGui:
- Fix a bug introduced in the last PictureSettings check-in. Width text box would be 0 if strict anamorphic was selected after a scan had completed.
LinGui: fix problem with trying to access non-existent hash key "subtitle_scan"
an invalid job sequence_id caused an attempt to access a value that
hadn't been set yet.
LinGui: fix problem that causes dvd drive to close immediately after an eject
a stray bit of code was attempting to read from the drive causing it to
close the tray.
LinGui: fix a problem with encode cancel logic
declining to cancel the encode would permit the current encode to continue,
but then the next encode would not start.
WinGui:
- Added new options: preferred language, "Dub Foreign language audio" and "Use Foreign language audio and Subtitles"
- Changed built-in language list to native spellings.
- Fixes to CLI Scan Parser AudioTrack.\
- Note: Subtitles panel is not hooked up for this yet.
LinGui: switch to using the native_name field of the language table
when it's available, it's a better choice since users will recognize
their it easier when it is written in their native language