dynaflash [Wed, 29 Aug 2007 14:26:57 +0000 (14:26 +0000)]
MacGui: Fix Picture Preview crash when sizing below 16 pixels width or height.
- Set width and height stepper minimums to 32 px
- use sanity conditional for accessing hb_get_preview() so below 32 px either way the preview does not change
- Used 32 threshold since afaik, no human being can discern any meaningful detail from a 32 px image anyway
superdump [Wed, 29 Aug 2007 14:21:31 +0000 (14:21 +0000)]
These calls to free produce double free warnings. It seems that removing the avpicture_free calls doesn't stop the warnings. Confusing to me as the buffers aren't freed elsewhere, but removing these seems to work.
superdump [Tue, 28 Aug 2007 22:04:52 +0000 (22:04 +0000)]
- Roll back avpicture_alloc to malloc + avpicture_fill. This fixes the MacGUI preview window crashing.
- Free the sws context after its use to avoid a memleak.
dynaflash [Mon, 27 Aug 2007 13:34:50 +0000 (13:34 +0000)]
MacGui: disable interface during scanning, and if there is no valid title found
- Prevents crashing when attmepting to access audio variables when a valid source is not present.
eddyg [Mon, 27 Aug 2007 01:55:10 +0000 (01:55 +0000)]
Added rudimentory error handling to HB. Instead of using hb_log() use hb_error(). Also causes us to stop muxing when we get a write error in MP4 and MKV containers. Still requires macosx dialog box by dynaflash (see main.mm for stub to use).
sr55 [Fri, 24 Aug 2007 21:10:32 +0000 (21:10 +0000)]
WinGui:
- Fixed View DVD Information window not loading the dvdinfo.dat file every time the window is launched.
- Fixed a small file path issue with frmReadDVD
dynaflash [Fri, 24 Aug 2007 19:38:08 +0000 (19:38 +0000)]
MacGui: Fix main window closing to it doesnt crash HB and allow you to get it back. Also, closing main window now does NOT quit HandBrake.
- Courtesy of Ritsuka. Thanks Ritsuka!
jbrjake [Fri, 24 Aug 2007 19:21:30 +0000 (19:21 +0000)]
Doubles the number of frames checked for cadence changes, streamlines their storage with a for loop, gets rid of inaccurate "Interlaced->Progressive" messages during scanning, and, during encoding, displays those messages with time stamps in seconds instead of using the PTS units.
jbrjake [Fri, 24 Aug 2007 19:20:21 +0000 (19:20 +0000)]
Allows stream.c to try to read .VOB, .TS, and .mpeg files in addition to .vob, .ts, .m2t, and .mpg files. These are just more hard-coded file type extensions.
awk, if this is a Bad Idea for a reason I'm ignorant of, feel free to revert.
dynaflash [Thu, 23 Aug 2007 18:25:20 +0000 (18:25 +0000)]
MacGui: Clean up source files used in Source Scanning
- Remove now deprecated DriveDetector.h and DriveDetector.m
- Add HBDVDDetector.m as it was misnamed in the commit before our release.
dynaflash [Wed, 22 Aug 2007 19:10:11 +0000 (19:10 +0000)]
MacGui: internal change to Controller.mm
- move preset loading code from awakeFromNib to a new method called loadPresets
- remove references to unused x264Opts.plist file we never used.
sr55 [Tue, 21 Aug 2007 15:40:27 +0000 (15:40 +0000)]
- Fixed Spelling typo (Thanks saintdev).
- Fixed File_Open not finding ts files.
- Fixed Incorrect Version Number for update checker.
- Fixed DVDTitle Dropdown displaying no title error when there was only 1 item in it.
dynaflash [Tue, 21 Aug 2007 05:55:36 +0000 (05:55 +0000)]
MacGui: Add subtitle widgets for eddyg's forced subtitle implementation.
- Create checkbox called "Forced" next to the NSPopUp button for subtitle selection with outlet named fSubForcedCheck
- Create a new preference checkbox to use subtitles instead of dubbed audio track if so desired.
dynaflash [Sun, 19 Aug 2007 07:16:14 +0000 (07:16 +0000)]
MacGui: Small pre release bug fixes
- Deinterlace On in preferences now sets deinterlacing to "Fast" upon launch
- Fixed bug AutoCrop was set to "Custom" upon launch.
- Changed verbage in Preference Panel to Activity Window instead of Debug Window.
jbrjake [Sun, 19 Aug 2007 04:22:36 +0000 (04:22 +0000)]
CLI/MacGui: removes weightb=0 from the turbo option string, because it was causing frame count differences for the 2nd pass. Also removes a stray colon from the Broke preset.
dynaflash [Sat, 18 Aug 2007 06:43:57 +0000 (06:43 +0000)]
MacGui: Better implementation of the new scan controller for reading physical dvds.
- This one is all blindjimmy's doing, Thanks!
- adds a VIDEO_TS check for reading random vobs off of a general purpose dvd.
- uses a new cocoa class instead of the old c functions for drive detection.
jbrjake [Fri, 17 Aug 2007 20:57:52 +0000 (20:57 +0000)]
Prevents a bus error at scan time with DVDs that have a weird cell structure. Much gratitude to dynaflash, as without his patient assistance tele-debugging this, I would have been forced to buy a copy of Young Guns.
dynaflash [Thu, 16 Aug 2007 19:10:11 +0000 (19:10 +0000)]
MacGui: fix scancontroller to use mount point instead of file path for physical commercial dvds.
- thanks for the work on this one blindjimmy !
- needs to be prettier, but wanted it checked in asap before release for testing.
jbrjake [Wed, 15 Aug 2007 20:14:53 +0000 (20:14 +0000)]
Adds scripts to the Makefile for Mac to "make gui-release" and "make cli-release" to easily build a .dmg for each. The gui one uses bz compression, since the MacGui isn't Panther-compatible anyway. To save bandwidth, not including pdfs or api.
jbrjake [Tue, 14 Aug 2007 16:15:30 +0000 (16:15 +0000)]
Moves the filters' logging info to work.c, adds parameter info. I also changed the deinterlace filter name to include its default method (ffmpeg) and removed the logging line from work.c that said if job->deinterlace was true or not, as it's now superfluous.
dynaflash [Mon, 13 Aug 2007 19:46:41 +0000 (19:46 +0000)]
MacGui: Add detelecine parameter to Presets using key PictureDetelecine.
- note, this is currently only observed is use current picture settings is specified at the time of preset creation.
jbrjake [Mon, 13 Aug 2007 18:14:28 +0000 (18:14 +0000)]
MacGui: nerfs the presets, as collapsible triangle folder thingies are waiting for the next release. Also adds one for CRF (shamelessly ripped from Sharktooth's CQ-ASP_Q2_eq(crf) profile for MEGui.) Hopefully I watered the presets down enough, but who knows...they might still encode too slowly for the masses.
dynaflash [Mon, 13 Aug 2007 17:02:37 +0000 (17:02 +0000)]
MacGui: Detelecine initial implementation
- Added -VideoFramerateChanged method to controller.mm to detect NTSC Film content to error check detelecine.
- Auto detected or manually choosing 23.967 (NTSC Film) disables detelecine checkbox in the picture preview window.
jbrjake [Mon, 13 Aug 2007 16:14:06 +0000 (16:14 +0000)]
"Same as source" changes. Old behavior: mark all NTSC content as 23.976. New behavior: mark all NTSC content as 29.97, only use 23.976 when scanning shows a title reporting itself as mostly progressive.
Also threw in a bunch of commented out logging messages for diagnostic usage.
And notification during encodes when progressive flags go on or off (only works in jam builds until the contrib binary packs get rebuilt).
jbrjake [Fri, 10 Aug 2007 21:47:23 +0000 (21:47 +0000)]
MacGui: modifies some presets.
- Removes "HB-" from the preset names.
- Adds Broke preset for people who still encode to CD size.
- Adds Blind preset for people who want an encode done *right now*.
- Adds Deux Six Quatre preset with commonly found x264 settings.
- Changes iPhone preset audio bitrate to 128 (160 is incompatible, unlike on the iPod).
- Applies turbo to all existing presets that used 2-pass.
- Switches the Animation and Television presets to use "Same as source" fps.