OSDN Git Service

handbrake-jp/handbrake-jp-git.git
14 years agoWinGui:
sr55 [Sun, 2 Aug 2009 14:48:07 +0000 (14:48 +0000)]
WinGui:
- Fix subtitle offset control. Was limited to 100. Changed increment to 10ms jumps.
- Added Import CSV function for the chapter markers tab.

git-svn-id: svn://localhost/HandBrake/trunk@2746 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 1 Aug 2009 16:40:42 +0000 (16:40 +0000)]
WinGui:
- Updated Advanced Panel to match new defaults and new animate options.

git-svn-id: svn://localhost/HandBrake/trunk@2745 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: delete ancient todo list
jstebbins [Sat, 1 Aug 2009 16:11:20 +0000 (16:11 +0000)]
LinGui: delete ancient todo list
everything on the list was done long ago.  track should be used
for any new todo's

git-svn-id: svn://localhost/HandBrake/trunk@2744 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: accomodate new x264 defaults
jstebbins [Sat, 1 Aug 2009 16:09:51 +0000 (16:09 +0000)]
LinGui: accomodate new x264 defaults
- presets updated so that they behave as they did before defaults change
- added subme 10 option

git-svn-id: svn://localhost/HandBrake/trunk@2743 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years ago- Bumps x264 to r1195-5d75a9b. x264 has new default settings: subme 6->7, bframes...
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

git-svn-id: svn://localhost/HandBrake/trunk@2742 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a problem with running mingw cross compiled ghb under wine
jstebbins [Fri, 31 Jul 2009 20:59:45 +0000 (20:59 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2741 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 31 Jul 2009 15:51:06 +0000 (15:51 +0000)]
WinGui:
- Left a debug line change in by mistake. Fixed

git-svn-id: svn://localhost/HandBrake/trunk@2740 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 31 Jul 2009 15:50:17 +0000 (15:50 +0000)]
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

git-svn-id: svn://localhost/HandBrake/trunk@2739 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Thu, 30 Jul 2009 16:10:24 +0000 (16:10 +0000)]
WinGui:
- Picture Settings Custom Anamorphic feature, Keep AR mode completed.

git-svn-id: svn://localhost/HandBrake/trunk@2738 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: remove duplicate title detection from scan
jstebbins [Thu, 30 Jul 2009 14:56:24 +0000 (14:56 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2737 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Thu, 30 Jul 2009 14:10:27 +0000 (14:10 +0000)]
WinGui:
- Minor fix to display settings.
- Added Changelog.html to keep track of changes.

git-svn-id: svn://localhost/HandBrake/trunk@2736 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: prevent initiation of another scan while a scan is in progress
jstebbins [Wed, 29 Jul 2009 15:48:26 +0000 (15:48 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2735 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 25 Jul 2009 16:19:00 +0000 (16:19 +0000)]
WinGui:
- QueryGenerator: Don't use --pixel-aspect when using --keep-display-aspect

git-svn-id: svn://localhost/HandBrake/trunk@2734 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: fix audio lang code logging error
jstebbins [Sat, 25 Jul 2009 16:05:52 +0000 (16:05 +0000)]
CLI: fix audio lang code logging error

git-svn-id: svn://localhost/HandBrake/trunk@2733 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 25 Jul 2009 10:18:56 +0000 (10:18 +0000)]
WinGui:
- Make sure that chapter markers tab is enabled for all DVD based sources.

git-svn-id: svn://localhost/HandBrake/trunk@2732 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 24 Jul 2009 22:34:16 +0000 (22:34 +0000)]
WinGui:
- PictureSettings: Custom Anamorphic partially re-implemented.
    "NOT KEEPING DISPLAY ASPECT" Done.
    "KEEPING DISPLAY ASPECT RATIO" Still to do.

git-svn-id: svn://localhost/HandBrake/trunk@2731 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: when stopping an encode, give the user options similar to macui
jstebbins [Fri, 24 Jul 2009 21:57:35 +0000 (21:57 +0000)]
LinGui: when stopping an encode, give the user options similar to macui

git-svn-id: svn://localhost/HandBrake/trunk@2730 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: close file handle after querying dvd region mask from drive
jstebbins [Fri, 24 Jul 2009 20:39:22 +0000 (20:39 +0000)]
libhb: close file handle after querying dvd region mask from drive
this only affected linux since we only query the region mask on linux

git-svn-id: svn://localhost/HandBrake/trunk@2729 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 24 Jul 2009 17:47:47 +0000 (17:47 +0000)]
WinGui:
- Fix an exception if the ActivityWindow was not initialised before the first scan.

git-svn-id: svn://localhost/HandBrake/trunk@2728 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 24 Jul 2009 15:42:39 +0000 (15:42 +0000)]
WinGui:
- Some minor improvements to the ActivityWindow. The window now correctly views the correct log when a user starts a new scan or new encode.

git-svn-id: svn://localhost/HandBrake/trunk@2727 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Thu, 23 Jul 2009 20:10:29 +0000 (20:10 +0000)]
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

git-svn-id: svn://localhost/HandBrake/trunk@2726 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 22 Jul 2009 19:39:38 +0000 (19:39 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2725 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 22 Jul 2009 17:07:06 +0000 (17:07 +0000)]
WinGui:
- PictureSettings: Don't reset to source width after every scan or title change. Make sure AR is kept on title change.

git-svn-id: svn://localhost/HandBrake/trunk@2724 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 22 Jul 2009 16:41:08 +0000 (16:41 +0000)]
WinGui:
- Fix minor issue with the Queue layout. (darkassassin)

git-svn-id: svn://localhost/HandBrake/trunk@2723 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 22 Jul 2009 16:35:29 +0000 (16:35 +0000)]
WinGui:
- Possible fix for "clr20r3" error that some people have been seeing when trying to launch HB

git-svn-id: svn://localhost/HandBrake/trunk@2722 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: fix interjob recalculation of framerate
jstebbins [Wed, 22 Jul 2009 16:20:55 +0000 (16:20 +0000)]
libhb: fix interjob recalculation of framerate
there was loss of precision due to integer division.

git-svn-id: svn://localhost/HandBrake/trunk@2721 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a double free crash
jstebbins [Wed, 22 Jul 2009 15:32:28 +0000 (15:32 +0000)]
LinGui: fix a double free crash

git-svn-id: svn://localhost/HandBrake/trunk@2720 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: fix a compile warning in enctheora
jstebbins [Tue, 21 Jul 2009 18:35:28 +0000 (18:35 +0000)]
libhb: fix a compile warning in enctheora

git-svn-id: svn://localhost/HandBrake/trunk@2719 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: fix theora encoding of non 16pix aligned dimensions
jstebbins [Tue, 21 Jul 2009 18:18:48 +0000 (18:18 +0000)]
libhb: fix theora encoding of non 16pix aligned dimensions
the theora encoder requires it's "frame_width" and "frame_height" to
be aligned to 16pix.

This also updates to using the new API introduced in theora 1.0.

This is an interim fix. Later we will adjust our video buffers to actually
have 16pix aligned data in them.

git-svn-id: svn://localhost/HandBrake/trunk@2718 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Tue, 21 Jul 2009 15:05:51 +0000 (15:05 +0000)]
WinGui:
- Remove random Settings.cs file listing that shouldn't exist from the csproj file.

git-svn-id: svn://localhost/HandBrake/trunk@2717 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix problem with trying to access non-existent hash key "subtitle_scan"
jstebbins [Sun, 19 Jul 2009 18:38:28 +0000 (18:38 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2716 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: add advanced preference option to enable/disable automatic dvd scanning
jstebbins [Sun, 19 Jul 2009 18:21:05 +0000 (18:21 +0000)]
LinGui: add advanced preference option to enable/disable automatic dvd scanning

git-svn-id: svn://localhost/HandBrake/trunk@2715 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix problem that causes dvd drive to close immediately after an eject
jstebbins [Sun, 19 Jul 2009 17:34:22 +0000 (17:34 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2714 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a problem with encode cancel logic
jstebbins [Sat, 18 Jul 2009 17:18:51 +0000 (17:18 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2713 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 18 Jul 2009 11:43:18 +0000 (11:43 +0000)]
WinGui:
- Small bugfix to make sure the correct native language audio track is selected.

git-svn-id: svn://localhost/HandBrake/trunk@2712 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 18 Jul 2009 11:21:42 +0000 (11:21 +0000)]
WinGui:
- Added Subtitles support for the last check-in.
- Fixed a few bugs in the new Audio handling code.

git-svn-id: svn://localhost/HandBrake/trunk@2711 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix problem with wide text field causing window to resize
jstebbins [Fri, 17 Jul 2009 23:38:15 +0000 (23:38 +0000)]
LinGui: fix problem with wide text field causing window to resize

git-svn-id: svn://localhost/HandBrake/trunk@2710 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 17 Jul 2009 23:37:33 +0000 (23:37 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2709 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: switch to using the native_name field of the language table
jstebbins [Fri, 17 Jul 2009 23:02:11 +0000 (23:02 +0000)]
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

git-svn-id: svn://localhost/HandBrake/trunk@2708 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: add iso639-2 language code to audio track information display
jstebbins [Fri, 17 Jul 2009 22:34:43 +0000 (22:34 +0000)]
CLI: add iso639-2 language code to audio track information display

git-svn-id: svn://localhost/HandBrake/trunk@2707 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: add preference option to automatically add CC track if present
jstebbins [Fri, 17 Jul 2009 20:53:16 +0000 (20:53 +0000)]
LinGui: add preference option to automatically add CC track if present

git-svn-id: svn://localhost/HandBrake/trunk@2706 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 17 Jul 2009 20:07:41 +0000 (20:07 +0000)]
WinGui:
- Some fixes and code tweaks to the audio panel

git-svn-id: svn://localhost/HandBrake/trunk@2705 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: a better solution to the g_io_channel_write_chars abort
jstebbins [Fri, 17 Jul 2009 17:06:25 +0000 (17:06 +0000)]
LinGui: a better solution to the g_io_channel_write_chars abort

git-svn-id: svn://localhost/HandBrake/trunk@2704 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 17 Jul 2009 15:22:07 +0000 (15:22 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2703 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: add --srt-default option
jstebbins [Fri, 17 Jul 2009 15:07:34 +0000 (15:07 +0000)]
CLI: add --srt-default option
to make an srt the default subtitle, set --srt-default to the
index of the srt in the --srt-file list

git-svn-id: svn://localhost/HandBrake/trunk@2702 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoMacGui: Subtitles - fix bug that prevented being able to select burned in subtitles.
dynaflash [Fri, 17 Jul 2009 01:48:56 +0000 (01:48 +0000)]
MacGui: Subtitles - fix bug that prevented being able to select burned in subtitles.

git-svn-id: svn://localhost/HandBrake/trunk@2701 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoMacGui: remove broken conditional that was errantly included in srt subtitle initial...
dynaflash [Thu, 16 Jul 2009 22:45:39 +0000 (22:45 +0000)]
MacGui: remove broken conditional that was errantly included in srt subtitle initial implementation.

git-svn-id: svn://localhost/HandBrake/trunk@2700 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoMacGui: srt subtitle support initial implementation
dynaflash [Thu, 16 Jul 2009 18:36:08 +0000 (18:36 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2699 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix destination update problem
jstebbins [Thu, 16 Jul 2009 17:52:10 +0000 (17:52 +0000)]
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

git-svn-id: svn://localhost/HandBrake/trunk@2698 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix crash on empty buffer from stderr
jstebbins [Thu, 16 Jul 2009 17:29:17 +0000 (17:29 +0000)]
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

git-svn-id: svn://localhost/HandBrake/trunk@2697 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: shuffle things around on the picture tab a bit
jstebbins [Thu, 16 Jul 2009 00:29:34 +0000 (00:29 +0000)]
LinGui: shuffle things around on the picture tab a bit

git-svn-id: svn://localhost/HandBrake/trunk@2696 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: add a few srt codesets
jstebbins [Wed, 15 Jul 2009 17:45:58 +0000 (17:45 +0000)]
LinGui: add a few srt codesets
endianness matters for utf-16/32.  so add the BE/LE variations.

git-svn-id: svn://localhost/HandBrake/trunk@2695 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 15 Jul 2009 13:47:20 +0000 (13:47 +0000)]
WinGui:
- Experimental MacGUI preset import. (Single preset export only)

git-svn-id: svn://localhost/HandBrake/trunk@2694 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 15 Jul 2009 11:03:54 +0000 (11:03 +0000)]
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.

Thansk to darkassassin

git-svn-id: svn://localhost/HandBrake/trunk@2693 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Tue, 14 Jul 2009 23:11:09 +0000 (23:11 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2692 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinux Doc: mark CLI dependencies better
jstebbins [Mon, 13 Jul 2009 16:39:23 +0000 (16:39 +0000)]
Linux Doc: mark CLI dependencies better

git-svn-id: svn://localhost/HandBrake/trunk@2691 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: rearrange the preset menu a bit.
jstebbins [Mon, 13 Jul 2009 14:54:29 +0000 (14:54 +0000)]
LinGui: rearrange the preset menu a bit.

git-svn-id: svn://localhost/HandBrake/trunk@2690 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: when renaming a preset, prevent duplicates names from being used
jstebbins [Mon, 13 Jul 2009 14:38:41 +0000 (14:38 +0000)]
LinGui: when renaming a preset, prevent duplicates names from being used

git-svn-id: svn://localhost/HandBrake/trunk@2689 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoAdd support for ATSC (North American Digital TV) closed captions.
van [Mon, 13 Jul 2009 05:47:33 +0000 (05:47 +0000)]
Add support for ATSC (North American Digital TV) closed captions.

git-svn-id: svn://localhost/HandBrake/trunk@2688 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years ago - Some DVB programs have a lot of streams (20 for BBC HD) so up max from 16 to 32
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.

git-svn-id: svn://localhost/HandBrake/trunk@2687 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: update decomb filter string validation.
jstebbins [Sun, 12 Jul 2009 19:59:41 +0000 (19:59 +0000)]
LinGui: update decomb filter string validation.
it can now have up to 15 parameters

git-svn-id: svn://localhost/HandBrake/trunk@2686 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years ago- Introduces a new mode structure for decomb, to make more flexible combinations...
jbrjake [Sun, 12 Jul 2009 17:04:50 +0000 (17:04 +0000)]
- 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.

git-svn-id: svn://localhost/HandBrake/trunk@2685 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: more preset list improvements
jstebbins [Sat, 11 Jul 2009 17:34:29 +0000 (17:34 +0000)]
LinGui: more preset list improvements
- Make separate menu items for creating new folders and saving presets
- Make custom preset and folder names editable

git-svn-id: svn://localhost/HandBrake/trunk@2684 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: Add preset import/export
jstebbins [Fri, 10 Jul 2009 21:29:24 +0000 (21:29 +0000)]
LinGui: Add preset import/export
Only one item can be selected for export, but that item may be a
folder which contains multiple presets.

Import will handle a list of multiple presets and folders.

git-svn-id: svn://localhost/HandBrake/trunk@2683 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 10 Jul 2009 19:33:14 +0000 (19:33 +0000)]
WinGui:
- Quick Fix to the QueryGenerator.cs - was misbehaving with anamorphic options and width/height

git-svn-id: svn://localhost/HandBrake/trunk@2682 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 10 Jul 2009 19:17:40 +0000 (19:17 +0000)]
WinGui:
- Updated PictureSettings code from darkassassin + a few bug fixes.
- Reset to .NET framework 2.0

Note: this code is not quite ready for usage yet, wait for a few more checkins

git-svn-id: svn://localhost/HandBrake/trunk@2681 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: fix osx compilation problem
jstebbins [Fri, 10 Jul 2009 15:43:31 +0000 (15:43 +0000)]
CLI: fix osx compilation problem
osx doesn't have strndup, so make our own from strncpy

git-svn-id: svn://localhost/HandBrake/trunk@2680 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: accidentally commited x264 defaults changes prematurely, revert
jstebbins [Thu, 9 Jul 2009 22:53:10 +0000 (22:53 +0000)]
LinGui: accidentally commited x264 defaults changes prematurely, revert

git-svn-id: svn://localhost/HandBrake/trunk@2679 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix behavior when changing storage height in custom anamorphic mode
jstebbins [Thu, 9 Jul 2009 22:25:48 +0000 (22:25 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2678 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a build problem
jstebbins [Thu, 9 Jul 2009 16:44:32 +0000 (16:44 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2677 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: fix a problem with using the forced subtitle short option flag (-F)
jstebbins [Thu, 9 Jul 2009 16:41:40 +0000 (16:41 +0000)]
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)

git-svn-id: svn://localhost/HandBrake/trunk@2676 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: DVD drive region detection on linux
jstebbins [Thu, 9 Jul 2009 16:36:17 +0000 (16:36 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2675 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: shuffle things around a bit in the x264 tab
jstebbins [Thu, 9 Jul 2009 01:21:20 +0000 (01:21 +0000)]
LinGui: shuffle things around a bit in the x264 tab
small improvement in layout

git-svn-id: svn://localhost/HandBrake/trunk@2674 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 8 Jul 2009 17:49:25 +0000 (17:49 +0000)]
WinGui:
- Small fix to the SRT browse button.

git-svn-id: svn://localhost/HandBrake/trunk@2673 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 8 Jul 2009 17:38:25 +0000 (17:38 +0000)]
WinGui:
- Implemented the new External SRTs feature. Added a sub tab set on the subtitles tab.
- Few UI tweaks to keep things in-line with the MacGui:

git-svn-id: svn://localhost/HandBrake/trunk@2672 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWhen caching frame durations for the delay_queue, store the times of the frames comin...
jbrjake [Wed, 8 Jul 2009 13:44:26 +0000 (13:44 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2671 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: gtk 2.12 compatibility fixes
jstebbins [Tue, 7 Jul 2009 15:28:53 +0000 (15:28 +0000)]
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

git-svn-id: svn://localhost/HandBrake/trunk@2670 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: Check return values of hal calls
jstebbins [Sun, 5 Jul 2009 20:51:40 +0000 (20:51 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2669 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a build problem
jstebbins [Sun, 5 Jul 2009 19:49:12 +0000 (19:49 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2668 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sun, 5 Jul 2009 16:42:33 +0000 (16:42 +0000)]
WinGui:
- Minor UI fixes related to update checking and window maximize / scrolling

git-svn-id: svn://localhost/HandBrake/trunk@2667 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sun, 5 Jul 2009 16:38:58 +0000 (16:38 +0000)]
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.

git-svn-id: svn://localhost/HandBrake/trunk@2666 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 4 Jul 2009 19:55:51 +0000 (19:55 +0000)]
WinGui:
- Move all the GUI enable/disable property changes into one function for the picture panel.

git-svn-id: svn://localhost/HandBrake/trunk@2665 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 4 Jul 2009 19:34:25 +0000 (19:34 +0000)]
WinGui:
- Some fixes to the Picture settings panel and preset loader.
- Small UI tweak to options.

git-svn-id: svn://localhost/HandBrake/trunk@2664 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 4 Jul 2009 15:38:29 +0000 (15:38 +0000)]
WinGui:
- Change update check period to a dropdown with Daily, Weekly, and Monthly. Replaces numeric updown control.

git-svn-id: svn://localhost/HandBrake/trunk@2663 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 4 Jul 2009 15:32:41 +0000 (15:32 +0000)]
WinGui:
- Remove M4v from format dropdown and add new option "Use iPod/iTunes friendly (.m4v) file extension for MP4

git-svn-id: svn://localhost/HandBrake/trunk@2662 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 4 Jul 2009 14:24:59 +0000 (14:24 +0000)]
WinGui:
- Update checker code cleaned up and multi-threaded. (Thanks to darkassassin )  Made some minor changes to this code to fit it in. http://forum.handbrake.fr/viewtopic.php?f=4&t=11353
- Queue window no longer takes focus on each new addition to the queue. ( Quite annoying otherwise )

git-svn-id: svn://localhost/HandBrake/trunk@2661 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 4 Jul 2009 12:38:54 +0000 (12:38 +0000)]
WinGui:
- Don't reset destination file extension to m4v when enable/disable chapter markers if mkv is selected.

git-svn-id: svn://localhost/HandBrake/trunk@2660 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: make debian packaging follow more standard debian practices
jstebbins [Fri, 3 Jul 2009 22:10:04 +0000 (22:10 +0000)]
LinGui: make debian packaging follow more standard debian practices

git-svn-id: svn://localhost/HandBrake/trunk@2659 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a problem with subtitle controls and large fonts
jstebbins [Thu, 2 Jul 2009 23:54:56 +0000 (23:54 +0000)]
LinGui: fix a problem with subtitle controls and large fonts
the controls would get the bottoms clipped if you used a large font

git-svn-id: svn://localhost/HandBrake/trunk@2658 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: mingw build tweak
jstebbins [Thu, 2 Jul 2009 22:05:33 +0000 (22:05 +0000)]
LinGui: mingw build tweak
a difference between mingw cross tools on mac and linux caused
an incompatibility in our build system on linux. i've resolved
by tweaking my mingw environment and adjusting the dll's that
get pulled into the ui.

git-svn-id: svn://localhost/HandBrake/trunk@2657 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: fix regression introduced in svn 2620
jstebbins [Thu, 2 Jul 2009 20:33:20 +0000 (20:33 +0000)]
libhb: fix regression introduced in svn 2620
cygwin pthreads is more like the *nix's

git-svn-id: svn://localhost/HandBrake/trunk@2656 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: tooltip and other text changes
jstebbins [Thu, 2 Jul 2009 14:40:23 +0000 (14:40 +0000)]
LinGui: tooltip and other text changes

git-svn-id: svn://localhost/HandBrake/trunk@2655 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: modify pause/resume button appearance
jstebbins [Wed, 1 Jul 2009 16:42:01 +0000 (16:42 +0000)]
LinGui: modify pause/resume button appearance
when encoding show "Pause" with pause icon
when paused, show "Resume" with play icon
also improve how I'm handling play/stop toolbar button and menu options

git-svn-id: svn://localhost/HandBrake/trunk@2654 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 1 Jul 2009 16:05:44 +0000 (16:05 +0000)]
WinGui:
- Fix for a scaling issue in the picture preview QT control
- Add a warning if users try to preview a MKV with QT.
- Misc updates to other files.

git-svn-id: svn://localhost/HandBrake/trunk@2653 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a picture settings storage dimensions problem
jstebbins [Wed, 1 Jul 2009 00:18:19 +0000 (00:18 +0000)]
LinGui: fix a picture settings storage dimensions problem
Transitioning from specific dimensions to max dimensions was broken

git-svn-id: svn://localhost/HandBrake/trunk@2652 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: several ui improvements
jstebbins [Tue, 30 Jun 2009 22:54:18 +0000 (22:54 +0000)]
LinGui: several ui improvements
- Add separate progress bar for source scan (similar to mac ui)
- When working replace start button with stop button on main window.
- Add status field that shows number of pending queue items on main window.
- add some white space and remove a couple more frames
- add subtitle scan pass information to progress bar

git-svn-id: svn://localhost/HandBrake/trunk@2651 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoMacGui: include deep scan ( subtitle foreign language search) pass information in...
dynaflash [Tue, 30 Jun 2009 20:00:42 +0000 (20:00 +0000)]
MacGui: include deep scan ( subtitle foreign language search) pass information in both the queue window and on the progress bar for the deep scan pass.
- Also removed one queue increment debug log line

git-svn-id: svn://localhost/HandBrake/trunk@2650 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: limit field width of srt filename in the subtitle list
jstebbins [Tue, 30 Jun 2009 17:39:56 +0000 (17:39 +0000)]
LinGui: limit field width of srt filename in the subtitle list
to prevent horizontal scrolling of the list

git-svn-id: svn://localhost/HandBrake/trunk@2649 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: SRT support
jstebbins [Tue, 30 Jun 2009 17:22:43 +0000 (17:22 +0000)]
LinGui: SRT support
- there are now two buttons to add subtitles
  one button adds normal subtitles from the source.
  the second adds SRT subtitles.
- when an SRT subtitle is selected in the list, the available controls change
  SRT controls are: Language, Character Codeset, File, and Time Offset (ms)
- A combo entry box is used for character code.  A subset of the most common
  character codes is available in the popup.  Other codes can be manually
  entered in the entry box.
- The last used SRT file directory is remembered.
- Remove the debug printf eddyg left in decsrtsub.c

git-svn-id: svn://localhost/HandBrake/trunk@2648 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoFix subtitle markup memory leak
eddyg [Tue, 30 Jun 2009 01:22:08 +0000 (01:22 +0000)]
Fix subtitle markup memory leak

git-svn-id: svn://localhost/HandBrake/trunk@2647 b64f7644-9d1e-0410-96f1-a4d463321fa5