dynaflash [Wed, 17 Jun 2009 17:54:48 +0000 (17:54 +0000)]
MacGui: Sparkle Updater preferences changes.
- Change Check for Updates from "At Launch" to "Automatically".
- Add time interval popup to check for updates Hourly, Daily, Weekly or Montly. Defaults to Weekly.
jstebbins [Wed, 17 Jun 2009 16:54:43 +0000 (16:54 +0000)]
LinGui: ubuntu 9.04 uses an older version of webkit that doesn't have
the webkit_web_view_load_uri function. So use the depricated
webkit_web_view_open instead.
jstebbins [Wed, 17 Jun 2009 16:46:04 +0000 (16:46 +0000)]
LinGui: update appcast checker to handle modified format
exchange gtkhtml for webkitgtk in order to load html from the
link provided in the new appcast format.
sr55 [Wed, 17 Jun 2009 15:38:29 +0000 (15:38 +0000)]
WinGui:
- Updated the appcast checker to handle the modified appcast format.
- New option to set the number of days between update checks on startup. Default 5
konablend [Wed, 17 Jun 2009 14:17:08 +0000 (14:17 +0000)]
- secondary component of r2548: bugfix: libhb passes unaligned stack/heap buffers to ffmpeg.
- use av_malloc() for format-conversion buffer.
- use av_free() instead of free() for av_malloc() buffers.
konablend [Wed, 17 Jun 2009 05:22:14 +0000 (05:22 +0000)]
- bugfix: libhb passes unaligned stack/heap buffers to ffmpeg.
- fix is to use memalign or av_malloc (thanks Dark_Shikari); we choose av_malloc to delegate platform portability.
- bug manifested on any 32-bit x86 linux system; new and older ffmpeg versions; and further back than HB 0.9.3
konablend [Wed, 17 Jun 2009 00:05:07 +0000 (00:05 +0000)]
MacGUI: added 64-bit savvy application icon.
- icon is chosen based on compile-time architecture: HandBrake.icns or HandBrake-64.icns
- added action for MainMenu->About to call Controller.showAboutPanel as the default about panel needs dictionary override to force icon.
jstebbins [Tue, 16 Jun 2009 21:12:07 +0000 (21:12 +0000)]
LinGui: set up the job correctly for ana 3 when starting an encode
I forgot to set the apropriate dar or par and keep_display_aspect
when starting and encode.
dynaflash [Tue, 16 Jun 2009 19:39:04 +0000 (19:39 +0000)]
Macgui: Update Sparkle to 1.5 b6
- Compiles in 64 bit mode
- Requires a DSA signature for downloading updates
- remove over 3 mb of unused localized sparkle nibs.
konablend [Tue, 16 Jun 2009 18:26:04 +0000 (18:26 +0000)]
BuildSystem: added OSX packaging support.
- target is 'make pkg.create' which must be done after a normal build. No dependency checks are performed.
- at least 1 package for all platforms is always produced: .tar.bz2
- darwin builds with Xcode add 2 packages: CLI.dmg and GUI.dmg
- darwin builds sans Xcode add 1 package: CLI.dmg
jstebbins [Tue, 16 Jun 2009 17:43:59 +0000 (17:43 +0000)]
LinGui: change gtk install rule so that changes to PREFIX on the command
line of the top level make get propagated to gtk. This is needed when
building debian packages.
dynaflash [Tue, 16 Jun 2009 04:06:01 +0000 (04:06 +0000)]
MacGui: Subtitles - Fix bug where setting the first track to None ( deleting the previously selected track) cause the next track to be set to one subtitle track less than it should (thanks for the heads up Rodeo).
- Also removed a needless bit of boolean logic used to test mp4 multi vobsub removal.
dynaflash [Mon, 15 Jun 2009 16:39:54 +0000 (16:39 +0000)]
MacGui: Fix subtitle issues
- fix crash if only closed captions are selected (thanks van).
- set RENDERSUB when burned is selected for foreign audio search (thanks j45)
sr55 [Mon, 15 Jun 2009 14:56:23 +0000 (14:56 +0000)]
WinGui:
- Picture Settings: Height of 0 allows for no -l to be passed to the CLI
- Picture Settings / pre-sets now set 0 when no Height specified. Prevents the panel from using incorrect values when pre-sets are selected.
- Simplified the Encode.cs set-up. Includes changes to QueueHandler
dynaflash [Sat, 13 Jun 2009 19:50:12 +0000 (19:50 +0000)]
MacGui: Multiple subtitle tracks initial implementation
- Subtitles now get their own tab
- "None" track is an empty track, add a new subtitle track by switching it to a valid source track.
- First track allows for "Foreign Language Search" which replaces the old "Auto Select".
- Remove a previously selected track by setting it back to "None"
- Sanity Checks:
-- Allow only one Burned In track.
-- Text tracks do not allow burned in to be set.
-- MP4 specific:
--- Allow only one VobSub and force burned in to be set.
---- Trying to set more than one vobsub in mp4 results in a warning, and the first vobsub track is retained.
- Presets: Currently subtitles are not recorded into presets (which they never have been).
- Live Preview:
-- Foreign Language Search is borked for live preview, so is ignored
-- Burned in subtitles work for both mp4 and mkv
-- Text subtitles work for mp4 if set to default (preview has no way to turn soft subs on/off)
-- Text subtitles do not show up in preview window even if checked as default.
jstebbins [Sat, 13 Jun 2009 18:07:38 +0000 (18:07 +0000)]
dvdnav: fix title scanning issue
d->chapter needs to be initialized in hb_dvdnav_start. chapter loop detection
was triggering on chapters from previous title scans
jstebbins [Sat, 13 Jun 2009 17:40:29 +0000 (17:40 +0000)]
libhb: fix forced foreign language scan issues
- subtitles were not being added to list of subs to scan because the wrong
config was being checked for the forced flag. needed to use
job->select_subtitle_config instead of subtitle->config
- scr code in reader was preventing the majority of subtitle packets from
reaching decvobsub. made decvobsub more robust by adding ability to
re-sync in the event of lost packets. made scr recovery initialize
itself even in the event that it sees audio or subtitles before seeing
video.
jstebbins [Thu, 11 Jun 2009 23:26:05 +0000 (23:26 +0000)]
libhb: interjob vrate info did not get updated when there is an indepth scan
due to job sequence_id mismatch. masking interjob sequence_id properly fixes.
jstebbins [Thu, 11 Jun 2009 18:43:21 +0000 (18:43 +0000)]
CLI: add support for multiple subtitles and soft-subs
--subtitle takes a comma separated list of subtitles
--subtitle-scan has been removed. Add "scan" to --subtitle list instead.
--subtitle-force takes a comma separated list of subtitles that should be forced only
--subtitle-burn sets which subtitle to burn (only one)
--subtitle-default sets which soft-subtitle to make the default (only one)
sr55 [Thu, 11 Jun 2009 16:55:17 +0000 (16:55 +0000)]
WinGui:
- Fixed Keep AR disabled leaded to Aspect ratio being kept for width.
- Fixed Max Width / Height display and issues in Query Generator.
- Fixed some issues in the Preset Loader.
- Crop values are always mod 2 now.
sr55 [Tue, 9 Jun 2009 16:49:10 +0000 (16:49 +0000)]
WinGui:
- Custom Anamorphic with Keep AR should be mostly working now.
- Fixed another few bugs. (Incorrect DAR values and caching, Height value after scan incorrect for anamorphic modes)
jstebbins [Mon, 8 Jun 2009 23:01:48 +0000 (23:01 +0000)]
LinGui: revert the extra widgets for subtitle foreign audio search
put it back in the list with the normal subtitle tracks.
gets rid of extra preset keys that were really unnecessary
jstebbins [Mon, 8 Jun 2009 17:00:03 +0000 (17:00 +0000)]
LinGui: replace drc hscale with scalebutton
scale button pops up a scale when needed, so is more compact.
audio settings now all fit in one row. this opens the possibility
of making the audio tab behave more like the mac ui's
van [Mon, 8 Jun 2009 05:24:18 +0000 (05:24 +0000)]
Some DVD titles end with a 'link' command back to the beginning chapter which makes HB encode forever. If we move to an earlier chapter say we're done.
sr55 [Sun, 7 Jun 2009 23:04:05 +0000 (23:04 +0000)]
WinGui:
- Checkin of the new picutre settings panel (before I end up accidentally losing working code)
- Modes: None, Strict and Loose work (mostly). Custom does not work (yet)
van [Sun, 7 Jun 2009 05:01:10 +0000 (05:01 +0000)]
- nasty bug: at eof, dropping a delay queue frame for CFR could link the render video output to the free list causing hangs and/or garbage output.
- since frame rate conversion moved from sync to render, sync has to use input (title) frame rate, not output (job) frame rate.
- get rid of 'too many frames' check in sync. it can't be done here because it causes reader to deadlock and it belongs in the dvd reader anyway (only dvd input can loop).
jbrjake [Sat, 6 Jun 2009 17:02:17 +0000 (17:02 +0000)]
Adds a keep_display_aspect toggle to the job->anamorphic struct in order to fix a bug and implements it in the CLI. Also adds some more anamorphic settings to the job config display.
jbrjake [Fri, 5 Jun 2009 16:39:32 +0000 (16:39 +0000)]
CLI: Implements custom anamorphic. No more -p or -P. Choices are --strict-anamorphic, --loose-anamorphic, and the new --custom-anamorphic. The last of which also handles --pixel-aspect, --display-width, --itu-par, --modulus, and --keep-display-aspect options. Loose will also obey the pixel aspect and ITU PAR options.
Libhb: Fixed a small bug with custom anamorphic working off the source's display aspect even when dealing with a custom display aspect, and made the job config display aware that custom anamorphic exists.
Scripts: Updated manicure to write the new anamorphic option names.
jbrjake [Thu, 4 Jun 2009 17:52:01 +0000 (17:52 +0000)]
Adds an interjob structure to preserve some encode data across jobs within an instance of libhb. This allows correcting the estimated bitrate/filesize of 2-pass encodes of variable framerate content, as the actual frame count is known after the first pass. Thanks for putting the idea into code, Shaya.
jbrjake [Thu, 4 Jun 2009 17:37:43 +0000 (17:37 +0000)]
MacGui and CLI: New built-in presets. The list has been much pared down, and a stronger emphasis has been given to quality-based encoding. Video game console presets are gone because supporting them is an endlessly frustrating experience. Either they work with the Normal preset's vanilla main profile H.264 in a standard MP4 container, or they don't. The high profile presets have been condensed down into a single one. Many presets have been sped up. The AppleTV preset is now High Profile and uses better B-frame decisions. MacGui presets also now use the AudioList array.
jstebbins [Wed, 3 Jun 2009 23:30:37 +0000 (23:30 +0000)]
LinGui:
improve the behavior of "burned" flag when switching between
mkv and mp4 containers. since the list may contain a mix of subtitles
that is impossible in mp4, do a reasonable job of cleaning it up.
jstebbins [Wed, 3 Jun 2009 22:07:49 +0000 (22:07 +0000)]
softsubs:
- add ability to have 1 source subtitle feed many output subtitles
use hb_subtitle_add() to add output tracks.
example use case:
you want forced subtitles from a source track on one output track and
the entire subtitle stream from the same source track on a second
output track
- LinGui: make subtitle tab resemble functionality of the audio tab
any track can be added multiple times with different settings.
dynaflash [Tue, 2 Jun 2009 18:41:07 +0000 (18:41 +0000)]
MacGui: Fix issue in custom anamorphic where clicking the keep ar checkbox would cause the display width to creep up.
- Also disable the keep ar checkbox for strict anamorphic
jstebbins [Tue, 2 Jun 2009 15:32:01 +0000 (15:32 +0000)]
softsubtitles:
- when doing an indepth scan, do not scan CC tracks
- separate subtitle configureation attributes into separate
hb_subtitle_config_t. Add an instance of this to hb_job_t for
setting the attributes of the subtitle found through an indepth scan
- Add a default_track flag to hb_subtitle_config_t that tells the muxer
that the track should be flaged as the default. muxmkv uses this.
- When an indepth scan is complete, check to see if the autoselected
subtitle matchces (by id) one of the manually selected subtitles.
If a match is found, the autoselected subtitle with all the attributes
the user assigned to it replaces the manually selected subtitle.
- LinGui: Add "Default" column to subtitle tab. This is a radio that lets
the user choose which subtitle should be displayed by default.
jstebbins [Sat, 30 May 2009 21:49:32 +0000 (21:49 +0000)]
LinGui: fix subtitle selection when title has no subtitles
when the preset had a subtitle enabled and the title has no subtitles
subtitle selection was being set to "auto" which causes a pointless indepth scan
dynaflash [Fri, 29 May 2009 18:58:39 +0000 (18:58 +0000)]
MacGui: Add Toolbar Item for Preview Window
- Note this icon already existed in /macosx/icons/.
- Definitely not a final icon, but rather probably a placeholder so we could get the toolbar complete.
konablend [Fri, 29 May 2009 18:36:26 +0000 (18:36 +0000)]
mp4 cleanups
- removed unused ipoutil.cpp; has been incorporated into mp4v2 some time ago.
- changed hard-coded buffer sizes to use sizeof.
- bump mp4v2 r349 -> r355; has bugfixes which prevents read-in errors.
dynaflash [Fri, 29 May 2009 17:47:26 +0000 (17:47 +0000)]
MacGui: Add Preference to use CoreAudio in place of FAAC when choosing a preset.
- Defaulted to "On".
- Effectively allows the macgui to use core audio by default while maintaining the cross platform faac encoder in the built in preset's internally.
- Also means that one can manually choose faac after selecting a preset if so desired.