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
WinGui:
- Option to set an External SRT as default.
- Import preset now adds the preset to the preset list. Includes a few UI/QueryGenerator.cs fixes for this.
MacGui: srt subtitle support initial implementation
- Allows adding an external srt sub file as a subtitle source.
-- Adds fields for srt language, char code and offset in ms.
- Known issues: adding the srt file to the sources list also adds a new subtitle track for that source, however to "set" it you have to click on it.
- srt subtitles do not seem to work in preview even if set to default.
LinGui: fix destination update problem
destination was getting overwritten at the end of a scan, so if the
user modified it during the scan, they lost the setting
LinGui: fix crash on empty buffer from stderr
somehow, i'm getting a buffer that has nothing but a '\0' char
g_io_channel_write_chars gets really upset about the nil character and crashes
WinGui:
- The options panel (frmOptions) is now completely wrapped in TableLayoutPanels.
- The rest of the GUI has been changed to Tahoma, 8pt font.
- QueueHandler and it's related classes have been refactored and documented.
- new option has been added that prompts the user before encoding when the query under the "Query Editor" tab does not match the GUI settings. It can be disabled in the options window.
- A bug where "last_encode_log.txt" failed to be read has been fixed that was caused by exiting the CLI window shortly after starting the encode.
WinGui:
- Updates Picture Settings code. A mix/match of old/new/libhb code.
- Custom anamorphic mode widgets are not hooked up yet, but if the user sets them manually, they will work just fine.
- Some of the logic has been simplified so that it works better however it's not bullet proof in terms of allowing users to misbehave.
van [Mon, 13 Jul 2009 05:21:25 +0000 (05:21 +0000)]
- Some DVB programs have a lot of streams (20 for BBC HD) so up max from 16 to 32
- If we find a DVB AC-3 stream descriptor mark the associated stream as AC-3 so we don't mistakenly type it as MPEG-2.
- Introduces a new mode structure for decomb, to make more flexible combinations of options possible, as well as a debug mode that overlays the combing mask on the output. A full explanation of the new modes can be found at the top of libhb/decomb.c. The new default parameter string is: 7:2:6:9:80:16:16:10:20:20:4:2:50:24:1
- Cleans up some compiler warnings for decomb.
- Partially fixes mcdeint in decomb. I would not suggest using it yet, but it's getting piped the right data, it no longer outstrides its memory, and lavc finally fixed their Snow bug that broke iterative ME). Seems to work well on fully interlaced material, with the spatial metric (2nd paramter) set to -1. Output with hybrid material and when actually decombing is...poor, but these are, hopefully, surmountable problems.
- Lays some groundwork for bobbing.
LinGui: more preset list improvements
- Make separate menu items for creating new folders and saving presets
- Make custom preset and folder names editable
LinGui: fix behavior when changing storage height in custom anamorphic mode
when the storage height changes, update the display height before making
other calculations. otherwise, the change has affects on display width.
LinGui: fix a build problem
If the timestamp on marshallers.list gets updated, marshallers.c/h failed
to build. Not usually a problem for recipients of a source tar or svn since
pre-built marshallers.c/h are provided.
CLI: fix a problem with using the forced subtitle short option flag (-F)
and make a small improvement to the option arg parser function str_split
that is used in suptitle option parsing. It can now parse lists that
are have empty elements (e.g ",2,3,4,,6" fist and fifth are empty)
libhb: DVD drive region detection on linux
Read and log the region mask of the DVD drive.
We get the occasional linux user that has an unset region. Logging
the region will help isolate the problem more quickly.
When caching frame durations for the delay_queue, store the times of the frames coming out of the filters, not the frames entering the render pipeline from sync. This way times don't get assigned to incorrect frames when filters delay output.
LinGui: gtk 2.12 compatibility fixes
- ifdef 2.16 specific code.
use g_object_set_property to set action properties with older gtk versions.
- remove "orientation" property from vbox widgets.
It's not recognized by older gtk versions
LinGui: Check return values of hal calls
When searching for list of connected dvd drives, system permissions
can cause failures that would cause a crash.
LinGui: fix a build problem
if marshalers.list timestamp is somehow made newer than marshalers.h/c
glib-genmarshal would fail to recreate marshalers.h/c. This isn't
normally a problem since I check these generated file into svn.
WinGui:
- UI design tweaks, consistent font usage, tableLayout for frmMain
- Bug Fixes related to using source label instead of source path.
- thanks to darkassassin
- Few small tweaks/ fixes to above patch.
- Fixed: Delete all built in presets option.