jstebbins [Fri, 31 Oct 2008 18:03:24 +0000 (18:03 +0000)]
LinGui: Activity Logs for individual encodes
- Individual activity logs are saved in the file format
"YYYY-MM-DD HH-MM-SS mymoviename.log".
- Default directory is <user config idr>/ghb/EncodeLogs
(usually ~/.config/ghb/EncodeLogs)
- Preference available to alternatively put them in the users output
movie directory with the output movie (by default set to "off").
sr55 [Thu, 30 Oct 2008 21:15:28 +0000 (21:15 +0000)]
WinGui:
- Activity logs for individual encodes can now be saved either:
+ With the encoded file
+ or to a a directory which is configured from options.
Log file format: "YYYY-MM-DD HH-MM-SS {Destination File Name}.txt"
Feature is disabled by default
dynaflash [Thu, 30 Oct 2008 18:11:58 +0000 (18:11 +0000)]
MacGui: Acivity Logs for individual encodes initial implementation
- Individual activity logs are saved in the file format "YYYY-MM-DD HH-MM-SS mymoviename.txt".
- Default directory is "~/Library/Application Support/HandBrake/EncodeLogs/".
- Advanced preference available to alternatively put them in the users output movie directory with the output movie (by default set to "off").
- Renamed the existing contextual menu items for the Activity Window to better reflect choices (function remains the same) as follows:
-- "Copy All Output" -> "Copy Window Contents".
-- "Clear Output" -> "Clear Window Contents".
-- "Open Log File" -> "Open Log File For This Session".
-- "Clear Log File" -> "Clear Log File For This Session".
- Added "Open Individual Log File Directory" to the Activity Window contextual menu to open this directory with the Finder
- Also commented out some macgui based activity log messages that were used to troubleshoot the new queue.
- Note: the individual activity logs are in addition to the existing session based activity log. If you do a scan of a new source during encoding, the new source scan log messages will be intermixed with the encode log messages as I have no clue how to separate stderr/stdout based on which instance of libhb is sending the messages.
van [Thu, 30 Oct 2008 05:38:36 +0000 (05:38 +0000)]
Fix for mpeg content that changes size in the middle of a decode (such as Doctor Who season 1 disc 2 title 4).
Problem reported in http://forum.handbrake.fr/viewtopic.php?f=4&t=4306
eddyg [Wed, 29 Oct 2008 21:22:53 +0000 (21:22 +0000)]
ETSI TS 102 366 V1.2.1 compliant AC3 in MP4, replaces older hacked version that was hardcoding the AC3 stream information in the dac3 atom based on the AppleTV startup movie stream.
van [Sun, 26 Oct 2008 03:33:29 +0000 (03:33 +0000)]
If an input uses a different color space than YUV420 (for example DV video uses YUV411) convert it to YUV420. Also, scale down inputs that have an odd width or height since h.264 requires that the width and height be even.
sr55 [Sat, 25 Oct 2008 20:36:04 +0000 (20:36 +0000)]
WinGui:
- Nested Presets bar (Built-in presets only)
- Both user and built-in presets are now stored in XML files
- Preset bar now has right-click menu with: Expand All, Collapse All and Delete
Known Issues:
- When a preset is removed, all items in the preset bar with child presets are collapsed.
- Right Click menu only works if the preset was selected before right clicking.
Code is probably a bit buggy so all feedback on this new bar is welcome.
dynaflash [Fri, 24 Oct 2008 15:43:55 +0000 (15:43 +0000)]
MacGui: Fix Target Size mode for Video Quality.
- Moved appropriate functions that used to be in prepareJob (pre resilient queue) into -calculateBitrate
- Added calls to -calculateBitrate when the format, audio tracks or chapters change.
jbrjake [Thu, 23 Oct 2008 18:12:02 +0000 (18:12 +0000)]
This should fix the flickering line bugs with deinterlace and decomb. Yadif needs the edges mirrored, and decomb's cubic interpolation has to be disabled at the tops and bottoms of frames.
jbrjake [Wed, 22 Oct 2008 21:39:28 +0000 (21:39 +0000)]
Bumps libmp4v2 to r36, which fixes the problem with QuickTime reading non-H.264 video, and also features a snazzy new layout and build routine thanks to KonaBlend (which necessitated a minor change to the include path for muxmp4.c).
jbrjake [Wed, 22 Oct 2008 15:25:20 +0000 (15:25 +0000)]
Scripts: massive update to manicure.rb, which now requires the 'plist' ruby gem to function. It now understands nested presets, reads cropping and loose anamorphic, and uses maxwidth and maxheight instead of width and height, among other changes.
jbrjake [Wed, 22 Oct 2008 14:19:58 +0000 (14:19 +0000)]
MacGui: Removes largeFileSize from the Universal preset since the Nano can't play 64-bit formatted MP4 files. Hopefully won't be an issue, although this leaves open the slight possibility of crashes at the end of encodes of long, noisy videos.
jbrjake [Sun, 19 Oct 2008 23:39:52 +0000 (23:39 +0000)]
Adds a configuration option for whether the COLR atom and h.264 VUI header should signal Bt.601 or Bt.7709 color, instead of just setting it based on whether the source is standard or high definition (which is preserved as default, and made more sensitive to letterboxed HD content).
jstebbins [Sat, 18 Oct 2008 23:48:53 +0000 (23:48 +0000)]
LinGui: add pref option to scale down high def previews
when this option is enabled, if the preview dims are above a threshold
then the size is scaled down to no larger than 1280x720.
1080p previews are too big for my laptop :-P
jstebbins [Fri, 17 Oct 2008 16:20:43 +0000 (16:20 +0000)]
LinGui: Make preset key/values mostly align with macui presets.
One step closer to having a common preset format.
Audio presets are still not compatible.
jbrjake [Wed, 15 Oct 2008 23:44:38 +0000 (23:44 +0000)]
Bumps libmp4v2 to r21, which fixes that include issue by folding the old 5.5G iPod UUID atom into the library, as well as a typing issue with Linux systems.
jstebbins [Wed, 15 Oct 2008 18:39:45 +0000 (18:39 +0000)]
LinGui: nested presets
new nested builtins.
user can create custom folders and drag n drop custom presets.
updated mac to linux presets plist translation tool to handle new format
eddyg [Tue, 14 Oct 2008 22:36:22 +0000 (22:36 +0000)]
a52_syncinfo() returns garbage values sometimes, so when scanning a stream check for two AC3 packets in a row that agree on their values before accepting them as gospel.
dynaflash [Tue, 14 Oct 2008 17:34:23 +0000 (17:34 +0000)]
MacGui: Finally!! Nested Presets - Initial implementation
- Currently just in the Built In presets.
- Special thanks to jbrjake for updating the new built in presets :)
-- jbrjake's notes on built in preset changes:
--- no more blind, broke, bedlam, or deux six quatre presets
--- detelecine and decomb for animation and television high profile presets
--- new x264 settings for most presets, which are still in a state of flux
--- iPod Hi-Rez renamed iPod Legacy, iPod Low-Rez renamed iPod Classic & iPod Nano, iPhone / iPod Touch renamed iPhone & iPod Touch
- Make sure to Update your Built In presets.
- Selecting the default preset (whether user specified or the hb default) automatically expands the proper parent folders
- "Folders" are stored as a different type of preset with key "Folder" where a value of 1 is a folder and 0 is a regular preset.
- Children presets (which can also be folder presets with their own children) are stored in an array in the folder preset with key "ChildrenArray"
- Levels are limited to three (including the root level).
- Though most of the code for creating custom user specified folders and dragging and dropping user presets into those folders is done, its not fully tested so is not currently implemented. In other words custom presets are still only at the root level.
- Known issue: dragging and dropping within custom user presets seems a touch "glitchy". Though in testing presets have not been lost.
sr55 [Mon, 13 Oct 2008 21:54:27 +0000 (21:54 +0000)]
WinGui:
- Started to decouple this code a bit. Common.cs (now Main.cs) no longer relies on the frmMain window being passed into it. frmAddPreset no longer requires to access QueryGenerator.cs
- QueryGenerator.cs, x264Panel.cs, PresetLoader.cs all moved into their own "frmMain" folder as that is the only place they should be used.
- Rearranged the base of frmMain.cs a bit.
sr55 [Mon, 13 Oct 2008 19:52:33 +0000 (19:52 +0000)]
WinGui:
- Fix preset bug where mkv and chapters are used in the preset, but on selecting said preset, the selected file extension would be m4v
- Fix in Audio panel where the track 1 bit-rate is not always set correctly if the preset also changes the audio mixdown
jbrjake [Sat, 11 Oct 2008 19:19:27 +0000 (19:19 +0000)]
Only associate audio tracks with an alternate group if there's more than one audio track. That way the iPhone doesn't show the audio selection button when it isn't necessary.
eddyg [Fri, 10 Oct 2008 00:41:15 +0000 (00:41 +0000)]
libhb: Fix linux compilation. Only set the pthread mutex type on cygwin since it is the only one that is using the wrong one as a default. Avoids having to get the enums right across OS's.
jbrjake [Thu, 9 Oct 2008 17:50:44 +0000 (17:50 +0000)]
Bumps x264 to r999, bringing with it, among other things, the removal of the b-rdo and bime options and new subme modes to replace them.
Subme 5 or greater now includes bime.
Subme 7 is now subme 6 with b-rdo
Subme 8 is the old subme 7 with b-rdo
Subme 9 is new, does RD-refinement for b-frames.
MacGui presets and advanced tab have been updated to reflect these changes (don't forget to update built-in presets).
CLI will wait, as manicure.rb is in a state of flux.
WinGui and LinGui still need to be updated.
jbrjake [Thu, 9 Oct 2008 15:11:27 +0000 (15:11 +0000)]
After discussion with eddyg, extending verbose logging level 2 from just memory-related logging to general-purpose housekeeping--stuff that isn't necessary when scrolling through activity logs users submit with bug reports and support queries. This includes things like thread start/exit messages and preview frames.
jbrjake [Thu, 9 Oct 2008 00:16:14 +0000 (00:16 +0000)]
Adds an hb_deep_log() function for multiple levels of debugging verbosity. Level 1 displays when hb_log does (job->verbose == 1) and is now meant for logging that helps in tech support. Level 2 adds memory-related logging like freed buffers, and level 3 is for granular stuff that displays once per sample, frame, packet, etc. The debug level continues to be set when hb_init() is called.
sr55 [Mon, 6 Oct 2008 21:38:54 +0000 (21:38 +0000)]
WinGui:
- Another small improvement to the activity window. If the user has only selected a small block of text, then the copy to clipboard function now only copies that, rather than the full log.
eddyg [Mon, 6 Oct 2008 21:36:01 +0000 (21:36 +0000)]
Change pthread mutex's to be explicitly NORMAL instead of relying on the default on a per OS basis. Cygwin was using RECURSIVE as a default, which does not block the caller upon a second lock. This commit fixes decomb, and slow, and slower deinterlace on Windows.
sr55 [Sun, 5 Oct 2008 19:18:25 +0000 (19:18 +0000)]
WinGui:
- Just moving stuff functions around to different places. Probably some more of this to come. frmMain / common.cs are a bit of a mess right now
van [Sat, 4 Oct 2008 19:21:49 +0000 (19:21 +0000)]
Sanity check in encfaacClose or we'll abort on an illegal channel spec or sample ratesince init sets job->die which causes close to be called when the work struct hasn't been fully set up.
sr55 [Sat, 4 Oct 2008 13:25:30 +0000 (13:25 +0000)]
WinGui:
- Added Copy to Clipboard button back to the Activity Log Window. Now works on Vista.
- Activity window now loads the load file for the last action. e.g If the last action was a scan, it'll load the scan log and if the last action was an encode, it will display the encode log.
That should make it a little bit easier to use / understand.
jstebbins [Sat, 4 Oct 2008 01:22:11 +0000 (01:22 +0000)]
LinGui: queue item editing
editing a pending item loads the item's settings and deletes it from the queue
editing a finished or running item just loads it's settings
jstebbins [Fri, 3 Oct 2008 20:59:50 +0000 (20:59 +0000)]
LinGui: change the top level structure that contains presets from a dictionary
to an array. Dictionaries are unordered sets, so this new structure
allows greater flexibility in how the presets may be ordered.
Is backwards compatible. Old structure is read and converted to new.
van [Fri, 3 Oct 2008 05:10:21 +0000 (05:10 +0000)]
- Only do 'lost PCR' checks (r1712) when we're dealing with something that could be an over-the-air transport stream. We can't lose the clock of a program stream and shouldn't have losses on an m2ts stream.
- Widen the DTS-to-PCR acceptance window from +-5sec to +-5min since there's nothing in the standard that bounds the offset between a DTS and its clock reference.
sr55 [Thu, 2 Oct 2008 11:55:10 +0000 (11:55 +0000)]
WinGui:
- Query Parser - Regex was failing when the audio track was listed as " + 1, English (AAC)" instead of something like " + 2, English (AC3) (5.1 ch), 48000Hz, 384000bps"
CygWin:
- Fixes make building on cygwin (I think - I was seeing some cygwin lib errors before however these seem to have just disappeared. If anyone has a failed build due to this, let me know.)
ffmpeg requires framerate num/den to be reducable to 16 bit quanitites for
mpeg-4. So round odd framerates to "close" standard framerate (which are
reducable). If there is no "close" framerate, the the rate is truncated
down to 16 bits.