OSDN Git Service

handbrake-jp/handbrake-jp-git.git
14 years agoCREDITS:
sr55 [Sun, 27 Dec 2009 17:19:24 +0000 (17:19 +0000)]
CREDITS:
-libmkv / libtheora added.

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

14 years agoCREDITS:
sr55 [Sun, 27 Dec 2009 13:56:52 +0000 (13:56 +0000)]
CREDITS:
- Removed old libraries no longer in use.
- Renamed libdts to libdca
- Added faad2

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

14 years agoWinGui:
sr55 [Sun, 27 Dec 2009 12:36:00 +0000 (12:36 +0000)]
WinGui:
- Update Grown for Windows to 2.0.0.25

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

14 years agoWinGui:
sr55 [Sat, 26 Dec 2009 22:47:50 +0000 (22:47 +0000)]
WinGui:
- Select the first audio track instead of "Automatic" in the Audio Track Dropdown Menu.
- Cleaned up some subtitle code.

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

14 years agoWinGui:
sr55 [Fri, 25 Dec 2009 22:29:55 +0000 (22:29 +0000)]
WinGui:
- Make Parsers ReadLine() function even faster.

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

14 years agoWinGui:
sr55 [Fri, 25 Dec 2009 22:24:04 +0000 (22:24 +0000)]
WinGui:
- Hopefully a significant performance improvement in the Parser ReadLine() Function. This should help when the CLI is throwing out huge amounts of read errors / logging data.

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

14 years agoWinGui: Fix subtitle forced for foreign scan. Set it to "scan" instead of "Forced"
sr55 [Thu, 24 Dec 2009 15:04:11 +0000 (15:04 +0000)]
WinGui: Fix subtitle forced for foreign scan. Set it to "scan" instead of "Forced"

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

14 years agoMacGui: Interface changes to allow pts or frame based point to point encoding on...
dynaflash [Wed, 23 Dec 2009 00:13:03 +0000 (00:13 +0000)]
MacGui: Interface changes to allow pts or frame based point to point encoding on top of our existing chapters based encoding. ... Based upon jstebbins most excellent work.

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

14 years agoLinGui: add point-to-point
jstebbins [Wed, 23 Dec 2009 00:05:05 +0000 (00:05 +0000)]
LinGui: add point-to-point
the user can now select between chapter, seconds, or frame start and end
points for encoding.

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

14 years agoCLI: add point-to-point capability
jstebbins [Wed, 23 Dec 2009 00:03:23 +0000 (00:03 +0000)]
CLI: add point-to-point capability
new option --start-at sets the start point in seconds, pts, or frames

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

14 years agoadd point-to-point encoding
jstebbins [Wed, 23 Dec 2009 00:02:17 +0000 (00:02 +0000)]
add point-to-point encoding

allows frame and pts based start points.  end points were already
previously supported.

New job variables pts_to_start and frame_to_start specify the start point.
There can be a period during the encode where it has to search for
the start point. During this period, libhb sets a new state
HB_STATE_SEARCHING and sets progress and eta till start point found.

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

14 years agoLinGui: fix an issue with picture settings sensitivity when no source has yet been...
jstebbins [Sun, 20 Dec 2009 18:17:25 +0000 (18:17 +0000)]
LinGui: fix an issue with picture settings sensitivity when no source has yet been scanned
Widgets were active and modifiable that should have been disabled.

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

14 years agoWinGui:
sr55 [Sat, 19 Dec 2009 21:15:38 +0000 (21:15 +0000)]
WinGui:
- Fix a crash when a preset with crop values is selected before the first source is scanned.

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

14 years agoAdds a very crude, CLI-only rotation filter to flip pixels vertically (mode 1), horiz...
jbrjake [Sat, 19 Dec 2009 15:19:12 +0000 (15:19 +0000)]
Adds a very crude, CLI-only rotation filter to flip pixels vertically (mode 1), horizontally (mode 2), or both (mode 3, default). Called with --rotate.

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

14 years agoWinGui:
sr55 [Sat, 19 Dec 2009 00:00:41 +0000 (00:00 +0000)]
WinGui:
- Shave ~0.5s of the application startup time by not initialising an XmlSerializer when it's not needed. This is quite expensive.
- Make sure the Activity window is initialised before we try set it's title.

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

14 years agoWinGui:
sr55 [Fri, 18 Dec 2009 20:58:56 +0000 (20:58 +0000)]
WinGui:
- Move the Queue Recovery file to HandBrakes appdata folder. Queue Recovery file won't be deleted when temp folder is cleared now.

Note that it will not detect the old hb_queue_recovery.xml file in the systems temp folder.

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

14 years agoWinGui:
sr55 [Fri, 18 Dec 2009 20:42:24 +0000 (20:42 +0000)]
WinGui:
- Audio Panel fixes and Usability improvements.
- Disabled DRC control which shouldn't have been active when AC3/DTS was selected
- Greyed out text labels for Mixdown, Samplerate, bitrate and DRC to help make it clearer the controls are disabled when AC3/DTS is selected.
- Changed the values which those controls are reset to when AC3/DTS are selected so they are not showing the first value in the dropdown. (e.g 32 for the bitrate. This was a little mis-leading)
- Changed Mixdown from Automatic to "AC3 Passthru" to match the MacGui when AC3 is selected. Same for DTS

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

14 years agoMacGui: Fix subtitle code in Live Preview that borked Live Preview encodes which...
dynaflash [Wed, 16 Dec 2009 16:37:55 +0000 (16:37 +0000)]
MacGui: Fix subtitle code in Live Preview that borked Live Preview encodes which was broken in svn 3024.

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

14 years agox264 bump to r1376-3feaec2
dynaflash [Tue, 15 Dec 2009 22:10:24 +0000 (22:10 +0000)]
x264 bump to r1376-3feaec2
- 2 pass rate control improvements

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

14 years agofix potential runaway buffer usage
jstebbins [Tue, 15 Dec 2009 01:28:55 +0000 (01:28 +0000)]
fix potential runaway buffer usage
pthread_cond_timedwait can wake early.  under certain system load conditions, this
happens often.  I was going ahead and adding buffers whenever it woke, regardless
of whether the condition had actually been met. so the fifo depth would
increase until memory ran out.

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

14 years agoLinGui: fix m4v file extension selection when the source has only 1 chapter
jstebbins [Mon, 14 Dec 2009 19:49:26 +0000 (19:49 +0000)]
LinGui: fix m4v file extension selection when the source has only 1 chapter
the chapter markers settings wasn't actually disabled, even though
it was being filtered out of the job settings.  This caused the m4v file
extension selection logic to use m4v. And there was no way to change it
since the chapter markers widget was hidden.

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

14 years agobump ffmpeg to svn 20817
jstebbins [Mon, 14 Dec 2009 16:45:30 +0000 (16:45 +0000)]
bump ffmpeg to svn 20817

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

14 years agofix crash with vobsub passthru
jstebbins [Sun, 13 Dec 2009 19:01:12 +0000 (19:01 +0000)]
fix crash with vobsub passthru
the last subtitle buffer was getting added to the buffer pool twice
and ultimately freed twice.

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

14 years agodocumentation: Update linux distributions supported and dependencies
jstebbins [Fri, 11 Dec 2009 23:28:46 +0000 (23:28 +0000)]
documentation: Update linux distributions supported and dependencies

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

14 years agox264 bump to r1373-4322f63
dynaflash [Fri, 11 Dec 2009 19:09:32 +0000 (19:09 +0000)]
x264 bump to r1373-4322f63
- Some lookahead optimizations
- Fixes some bugs introduced in r1369

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

14 years agoMacGui: Fix issue with subtitle changes affecting all encodes in the queue by being...
dynaflash [Thu, 10 Dec 2009 19:31:01 +0000 (19:31 +0000)]
MacGui: Fix issue with subtitle changes affecting all encodes in the queue by being less stupid.
- Thanks to Rodeo for bringing it to my attention.

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

14 years agoOnly display mux stats once
jstebbins [Thu, 10 Dec 2009 17:44:05 +0000 (17:44 +0000)]
Only display mux stats once
Close prints mux stats and gets called for each stream.  So only
print the stats when the last stream is closed.

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

14 years agofix dvdnav read error retry
jstebbins [Thu, 10 Dec 2009 00:17:46 +0000 (00:17 +0000)]
fix dvdnav read error retry
the error count was being reset on dvdnav events that didn't involve
any actual reading.  So we got caught in an very long loop alternating
between read failures and valid events.

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

14 years agoLinGui: remove b-pyramid/mbtree dependency
jstebbins [Wed, 9 Dec 2009 19:59:49 +0000 (19:59 +0000)]
LinGui: remove b-pyramid/mbtree dependency
b-pyramid is now allowed with mbtree

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

14 years agoAvert a rare race condition.
jstebbins [Wed, 9 Dec 2009 19:45:57 +0000 (19:45 +0000)]
Avert a rare race condition.

A bad source can cause reader to call hb_stream_close before
decavcodecviWork ever starts. This causes hb_ffmpeg_context
to access an invalid pointer.  So move the call to hb_ffmpeg_context
to after we check for a 0 length buffer in decavcodecvoiWork
since reader will have sent this to signal that it has reached
the end of the stream.

This does not eliminate the race condition, but it does make it
much less likely to happen and fixes the specific case where we
found this occuring.

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

14 years agoDisables chapter markers when there is only one chapter. Most interfaces already...
jbrjake [Wed, 9 Dec 2009 19:12:05 +0000 (19:12 +0000)]
Disables chapter markers when there is only one chapter. Most interfaces already do this, but now they have no choice.

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

14 years agoRemoves obsolete check for mbtree being off before adjusting render offsets for b...
jbrjake [Wed, 9 Dec 2009 18:21:16 +0000 (18:21 +0000)]
Removes obsolete check for mbtree being off before adjusting render offsets for b-pyramid. Also corrects a bit of coding style.

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

14 years agox264 bump to 1369-ec8e586
dynaflash [Wed, 9 Dec 2009 17:42:34 +0000 (17:42 +0000)]
x264 bump to 1369-ec8e586
- Introduces mbtree + bpyramid
- Brings back slice-based threading support
- Many other enhancements and fixes
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=ec8e58637b97edaea00f022e11d15ee8a81466ab

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

14 years agofix buffer leak during indepth scan
jstebbins [Tue, 8 Dec 2009 23:48:54 +0000 (23:48 +0000)]
fix buffer leak during indepth scan
and fix a couple potential leaks if the timing is just right in work loops

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

14 years agoFaster combing detection through slightly less stupid use of pointers. Also realigns...
jbrjake [Tue, 8 Dec 2009 18:39:03 +0000 (18:39 +0000)]
Faster combing detection through slightly less stupid use of pointers. Also realigns boundary points for the combing mask checker to match what the code actually does.

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

14 years agoRemoves references to outdated codecs and variables, updates for new filter value...
jbrjake [Tue, 8 Dec 2009 17:39:43 +0000 (17:39 +0000)]
Removes references to outdated codecs and variables, updates for new filter value orders and the lack of subtitle keys in new presets, and adds better deblock support along with a stub for custom ana support.

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

14 years agoUse the correct render offset when b-pyramid is enabled in the x264 parameter string...
jbrjake [Tue, 8 Dec 2009 15:48:40 +0000 (15:48 +0000)]
Use the correct render offset when b-pyramid is enabled in the x264 parameter string but is being disabled inside libx264 due to mb-tree. Thanks, Rodeo, and good catch! Also adds a logging message to note weight-p being disabled in bframeless encodes.

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

14 years agoWinGui:
sr55 [Tue, 8 Dec 2009 15:12:12 +0000 (15:12 +0000)]
WinGui:
- Added some code to recover from corrupted preset files. This will hopefully fix at least 1 cause of the CLR20r3 .NET error

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

14 years agofix detection of forced subtitles during foreign audio search
jstebbins [Mon, 7 Dec 2009 00:37:51 +0000 (00:37 +0000)]
fix detection of forced subtitles during foreign audio search
reader drops all buffers till it finds video or audio.
but since video and audio fifos are null when indepth_scan is
set, we never see video or audio.
Solution is to not drop buffers in indepth scan mode

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

14 years agofix a double free of an hb_buffer in sync
jstebbins [Sun, 6 Dec 2009 23:54:31 +0000 (23:54 +0000)]
fix a double free of an hb_buffer in sync

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

14 years agoWinGui:
sr55 [Sun, 6 Dec 2009 17:37:19 +0000 (17:37 +0000)]
WinGui:
- Make SourceName a bit smarter when dealing with autonaming and folders. If Video_TS folder is the selected source, autoname will now use the upper level folder name instead. (thanks slaingod)

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

14 years agoWinGui:
sr55 [Sun, 6 Dec 2009 14:35:13 +0000 (14:35 +0000)]
WinGui:
- Fix a compile time error. (Thanks slaingod)

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

14 years agoReduce the amount of buffering used and eliminate hb_snooze in the encoding pipeline
jstebbins [Sat, 5 Dec 2009 17:15:57 +0000 (17:15 +0000)]
Reduce the amount of buffering used and eliminate hb_snooze in the encoding pipeline

For HD sources on an 8 core system with hyperthreading, we were using 1.5GB
of ram.  Add to that the 600MB x264 uses for rc-lookahead, pushes it north of 2GB.

To reduce our memory usage, the fifo depths have been reduced are are no longer
a multiple of cpu count.  Use of hb_snooze has been eliminated in the encoding
pipeline so that performance doesn't fall as a result of the reduced fifo depths.

In sync, each audio and video were given separate threads so that each can wait on
it's respective input fifo without blocking the others.  In muxcommon, each stream
being muxed was given a separate thread so that each can wait on it's respective fifo.
This allows the removal of hb_snooze in the sync and muxer work loops. In both sync
and muxer, there is common data that is shared by all threads, so special init
routines allocate this shared data and initialize the threads.

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

14 years agoWinGui:
sr55 [Sat, 5 Dec 2009 17:01:08 +0000 (17:01 +0000)]
WinGui:
- Some improvements to error messages, about window, minor code style fixes.

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

14 years agoLinGui: fix mbtree x264 option sanitizer
jstebbins [Fri, 4 Dec 2009 23:31:26 +0000 (23:31 +0000)]
LinGui: fix mbtree x264 option sanitizer
forgot to remove the code that set the default to 0 when there are b-frames

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

14 years agoWinGui:
sr55 [Fri, 4 Dec 2009 18:51:30 +0000 (18:51 +0000)]
WinGui:
- Hidden feature: Allow user presets to be categorised if they are manually editing the user_presets.xml

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

14 years agoWinGui:
sr55 [Fri, 4 Dec 2009 16:30:47 +0000 (16:30 +0000)]
WinGui:
- Make sure a default preview is selected on the preview window

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

14 years agoWinGui:
sr55 [Fri, 4 Dec 2009 16:29:51 +0000 (16:29 +0000)]
WinGui:
- Fix a few tooltips in options.

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

14 years agoWinGui:
sr55 [Fri, 4 Dec 2009 16:27:02 +0000 (16:27 +0000)]
WinGui:
- Implement new option: "--previews" allowing a range of 10 to 30 to be selected on the preview window.

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

14 years agoWinGui:
sr55 [Thu, 3 Dec 2009 16:49:41 +0000 (16:49 +0000)]
WinGui:
- Some minor code refactoring

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

14 years agoWinGui:
sr55 [Thu, 3 Dec 2009 15:37:19 +0000 (15:37 +0000)]
WinGui:
- Prevent the Download window from collapsing in on itself.

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

14 years agoWinGui:
sr55 [Wed, 2 Dec 2009 15:49:28 +0000 (15:49 +0000)]
WinGui:
- Make sure the Activity window resets correctly on action or source change.

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

14 years agoWinGui:
sr55 [Wed, 2 Dec 2009 13:33:39 +0000 (13:33 +0000)]
WinGui:
- Re-enabled UNC path support in the GUI. Seems the switch to MinGW enabled UNC paths to work correctly. Note: This is not supported for CygWin users.

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

14 years agoLinGui: fix a mingw compile issue
jstebbins [Wed, 2 Dec 2009 01:27:09 +0000 (01:27 +0000)]
LinGui: fix a mingw compile issue

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

14 years agoWinGui:
sr55 [Tue, 1 Dec 2009 17:47:59 +0000 (17:47 +0000)]
WinGui:
- Something got a but nuked with regards to images in the last checkin. Fixed.

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

14 years agoWinGui:
sr55 [Mon, 30 Nov 2009 23:02:34 +0000 (23:02 +0000)]
WinGui:
- Few UI usability tweaks.

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

14 years agoWinGui:
sr55 [Mon, 30 Nov 2009 20:42:13 +0000 (20:42 +0000)]
WinGui:
- ActivityWindow Make sure the correct log is selected (Last action: scan or encode)
- Make closing the window more responsive.

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

14 years agoLinGui: set property in file chooser that allows opening "non-local" files
jstebbins [Mon, 30 Nov 2009 18:31:57 +0000 (18:31 +0000)]
LinGui: set property in file chooser that allows opening "non-local" files
non-local is anything mounted transparently by gvfs

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

14 years agoWinGui:
sr55 [Sun, 29 Nov 2009 19:32:16 +0000 (19:32 +0000)]
WinGui:
- Preview window: Check the x86 program files directory for VLC if VLC doesn't exist in the main program files directory.
- Activate the Activity Window when the button is clicked on.

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

14 years agoWinGui:
sr55 [Sat, 28 Nov 2009 23:45:51 +0000 (23:45 +0000)]
WinGui:
- Cleanly close the ActivityWindow so that HandBrake.exe does not remain active after the main application window has been closed.

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

14 years agoWinGui:
sr55 [Sat, 28 Nov 2009 23:10:33 +0000 (23:10 +0000)]
WinGui:
- Some updates / fixes to the new Activity Window

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

14 years agofix another MTR feature title extraction issue
jstebbins [Fri, 27 Nov 2009 20:27:07 +0000 (20:27 +0000)]
fix another MTR feature title extraction issue
jump instructions to titles which were removed by MTR caused asserts.
now such jump instructions just transition to the Exit state.

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

14 years agofix ffmpeg build on osx i386
jstebbins [Fri, 27 Nov 2009 20:24:26 +0000 (20:24 +0000)]
fix ffmpeg build on osx i386
gcc 4.2 on osx defines the built-in macro __PIC__ which ffmpeg's configure
uses to determine if it should enable pic.  Enabling pic uses extra
registers which causes some inline asm to fail due to lack of available
registers.

I disabled the normal check and forced pic enabled for x86_64 since it
requires it.

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

14 years agoWinGui:
sr55 [Thu, 26 Nov 2009 15:26:38 +0000 (15:26 +0000)]
WinGui:
- Scan.cs was missing from a previous checkin

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

14 years agoFix audio sync problem for AAC (or any other mpeg PS or TS audio decoded by decavcode...
van [Thu, 26 Nov 2009 10:08:55 +0000 (10:08 +0000)]
Fix audio sync problem for AAC (or any other mpeg PS or TS audio decoded by decavcodec) with a sample rate other than 48KHz. This problem had already been fixed for decavcodecai (the 'internal' ffmpeg audio decoder that handles all input files but mpeg streams) so decavcodec was just changed to use the same logic.

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

14 years agoMacGui: fix vlc detection so that "Scan Anyway" works correctly ... patch by j45...
dynaflash [Thu, 26 Nov 2009 06:05:00 +0000 (06:05 +0000)]
MacGui: fix vlc detection so that "Scan Anyway" works correctly ... patch by j45. Thanks John!

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

14 years agoWinGui:
sr55 [Wed, 25 Nov 2009 22:59:39 +0000 (22:59 +0000)]
WinGui:
- Large performance improvements in the Activity Window when working with large log files. This should make the window less laggy when using batch folder scan.
- New scan process handling code which pipes the data direct into the application. GUI now displays "Scanning title x of x" to give the user feedback on the process.

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

14 years agofix title index issue in batch scanning
jstebbins [Wed, 25 Nov 2009 21:54:06 +0000 (21:54 +0000)]
fix title index issue in batch scanning
title index was assigned as the nth file in the directory, but files
that are not video would cause title indexes to be skipped in job.list_title
this would mess up the progress bar.

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

14 years agoWinGui:
sr55 [Wed, 25 Nov 2009 21:52:31 +0000 (21:52 +0000)]
WinGui:
- Batch Scan Support.
- Export.cs - Export Mac Preset (unfinished and not hooked up right now. Just checking it in so I don't lose it.)

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

14 years agobatch file scanning and scan cancel
jstebbins [Wed, 25 Nov 2009 21:14:44 +0000 (21:14 +0000)]
batch file scanning and scan cancel
When a directory is specified as the source, first we attempt to open as a dvd,
then if that fails, we attempt to open each file in the directory as a stream
source.  Since opening a large directory of files can take a really long time,
you can also now cancel a scan.

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

14 years agoBump ffmpeg to r20602
jstebbins [Wed, 25 Nov 2009 21:04:08 +0000 (21:04 +0000)]
Bump ffmpeg to r20602

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

14 years agoMacGui: fix crash caused by ffmpeg initialization problem
jstebbins [Wed, 25 Nov 2009 19:25:21 +0000 (19:25 +0000)]
MacGui: fix crash caused by ffmpeg initialization problem
some of ffmpegs mmx functions rely on a flag being initialized
This gets initialized by ffmpeg encoder/decoder initialization, but
the preview is using ffmpeg functions before any encoder/decoder is initialized

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

14 years agoWinGui:
sr55 [Wed, 25 Nov 2009 18:59:56 +0000 (18:59 +0000)]
WinGui:
- The Subtitle offset numeric control can now take a negative value. Users can add - through the query editor in the mean time.

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

14 years agopatch from konablend. bumps point rev to 5 and cleans up source tar creation
jstebbins [Wed, 25 Nov 2009 16:15:50 +0000 (16:15 +0000)]
patch from konablend. bumps point rev to 5 and cleans up source tar creation
thanks kona!

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

14 years agoWinGui:
sr55 [Wed, 25 Nov 2009 12:55:29 +0000 (12:55 +0000)]
WinGui:
- Remove reference to unused file.

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

14 years agoWinGui:
sr55 [Wed, 25 Nov 2009 12:51:48 +0000 (12:51 +0000)]
WinGui:
- Preview Window: Handle the lack of QuickTime in a more user friendly fashion.
- Switch default .NET to 3.5

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

14 years agobuild system: fix root of source tarball
jstebbins [Wed, 25 Nov 2009 03:22:00 +0000 (03:22 +0000)]
build system: fix root of source tarball
root was './' which could overwrite uid, gid, and perm of the users
current working directory. The root is now 'HandBrake-$(HB.version)/'

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

14 years agodon't read the entire file looking for audio in transport streams
jstebbins [Wed, 25 Nov 2009 02:21:03 +0000 (02:21 +0000)]
don't read the entire file looking for audio in transport streams
if the PMT indicates there is no audio we do not need to continue
searching.

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

14 years agoRate limit hb_error() messages to at most 1 message per second of the same message...
eddyg [Tue, 24 Nov 2009 23:16:27 +0000 (23:16 +0000)]
Rate limit hb_error() messages to at most 1 message per second of the same message. Repeats will be counted and presented as a count when 1 second has elapsed since the first error of a sequence, or an error message with a different string.
Also modified dvdnav to use hb_error() to take advantage of the limiting.

This works around a real bug from dvdnav where the Mac GUI becomes unresponsive during the output of large numbers of errors.

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

14 years agoWinGui:
sr55 [Tue, 24 Nov 2009 21:46:24 +0000 (21:46 +0000)]
WinGui:
- First fix for 0.9.4 :  Fix a stupid regex bug

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

14 years agoLinGui: enhancements to automatic audio selection when passthru is requested
jstebbins [Tue, 24 Nov 2009 18:50:01 +0000 (18:50 +0000)]
LinGui: enhancements to automatic audio selection when passthru is requested
and the source codec isn't capable of passthru.

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

14 years agoLinGui: remove a line of debug code I accidentally left in
jstebbins [Tue, 24 Nov 2009 15:16:12 +0000 (15:16 +0000)]
LinGui: remove a line of debug code I accidentally left in

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

14 years agoLinGui: make smarter bitrate choice when automatically selecting audio settings
jstebbins [Tue, 24 Nov 2009 04:08:41 +0000 (04:08 +0000)]
LinGui: make smarter bitrate choice when automatically selecting audio settings

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

14 years agoLinGui: fix divide by zero in picture par
jstebbins [Tue, 24 Nov 2009 02:59:05 +0000 (02:59 +0000)]
LinGui: fix divide by zero in picture par
set the lower limit on par height to 1 instead of 0

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

14 years agoFix the release/developer detection in configure.py
eddyg [Mon, 23 Nov 2009 21:17:39 +0000 (21:17 +0000)]
Fix the release/developer detection in configure.py

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

14 years agoChangeset for 0.9.4
jbrjake [Mon, 23 Nov 2009 17:26:03 +0000 (17:26 +0000)]
Changeset for 0.9.4

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

14 years agoLinGui: fix an issue with column width in the audio treeview
jstebbins [Mon, 23 Nov 2009 15:43:31 +0000 (15:43 +0000)]
LinGui: fix an issue with column width in the audio treeview
on some displays, the columns were too wide and caused horiz scrolling

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

14 years agox264 bump to r1347-5ddd61b
dynaflash [Mon, 23 Nov 2009 15:39:53 +0000 (15:39 +0000)]
x264 bump to r1347-5ddd61b
- another deadlock fix
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=5ddd61bbfecb6e782b096ddebef127ab73bee006

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

14 years agoLinGui: adjust some widget sizes to prevent window resizing at random times
jstebbins [Mon, 23 Nov 2009 04:18:10 +0000 (04:18 +0000)]
LinGui: adjust some widget sizes to prevent window resizing at random times

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

14 years agoMacGui: Use 11 tick marks to represent 0-10 instead of 10, on psy sliders. Thanks...
jbrjake [Mon, 23 Nov 2009 03:07:13 +0000 (03:07 +0000)]
MacGui: Use 11 tick marks to represent 0-10 instead of 10, on psy sliders. Thanks, Rodeo, for pointing out my lack of basic math skills ;-)

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

14 years agoFixes a missing and misplace option in decomb's comments and in-line CLI help. Thanks...
jbrjake [Mon, 23 Nov 2009 02:57:26 +0000 (02:57 +0000)]
Fixes a missing and misplace option in decomb's comments and in-line CLI help. Thanks, Rodeo\!

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

14 years agoLinGui: sync the updated presets
jstebbins [Mon, 23 Nov 2009 02:44:51 +0000 (02:44 +0000)]
LinGui: sync the updated presets

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

14 years agoLast minute BuiltInPresets tweaks for 0.9.4: no weight-p for ATV, no UMH for Normal...
jbrjake [Mon, 23 Nov 2009 02:30:18 +0000 (02:30 +0000)]
Last minute BuiltInPresets tweaks for 0.9.4: no weight-p for ATV, no UMH for Normal, High Profile becomes x264 defaults + b-adapt 2 + rc-lookahead 50.

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

14 years agoMacGui: Add check for audio == null for > 1 audio track to prevent crash for > 1...
dynaflash [Sun, 22 Nov 2009 06:20:01 +0000 (06:20 +0000)]
MacGui: Add check for audio == null for > 1 audio track to prevent crash for > 1 audio tracks and sources with no decodable audio.
- Thanks to BradleyS for bug report.
- Thanks to J45 for sussing the issue.
- Addresses http://forum.handbrake.fr/viewtopic.php?f=12&t=13149

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

14 years agoLinGui: fix problem with loading preset that has deinterlace enabled
jstebbins [Sat, 21 Nov 2009 23:52:50 +0000 (23:52 +0000)]
LinGui: fix problem with loading preset that has deinterlace enabled
setting a radio box to false doesn't automatically set it's
counterpart to true.  Must explicitly enable deinterlace when decomb is false

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

14 years agoMacGui: Trigger "Open Source Title Specific" if the option key is held down when...
dynaflash [Sat, 21 Nov 2009 17:13:50 +0000 (17:13 +0000)]
MacGui: Trigger "Open Source Title Specific" if the option key is held down when clicking "Open" in the source browse window.
- This has the same effect as choosing Open Source Title Specific from the file menu, which still exists.

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

14 years agoCLI: Change x264 turbo mode to use subme = 2 instead of 1
sr55 [Fri, 20 Nov 2009 21:51:59 +0000 (21:51 +0000)]
CLI:  Change x264 turbo mode to use subme = 2 instead of 1

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

14 years agoLinGui: change x264 turbo mode from subme=1 to subme=2
jstebbins [Fri, 20 Nov 2009 21:49:25 +0000 (21:49 +0000)]
LinGui: change x264 turbo mode from subme=1 to subme=2

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

14 years agoMacGui: Change the subme=1 option in turbo first pass to subme=2 as per x264 dev...
dynaflash [Fri, 20 Nov 2009 21:46:39 +0000 (21:46 +0000)]
MacGui: Change the subme=1 option in turbo first pass to subme=2 as per x264 dev Dark_Shikari.

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

14 years agoLinGui: make subtitle burned and default checkboxes mutually exclusive
jstebbins [Fri, 20 Nov 2009 16:14:07 +0000 (16:14 +0000)]
LinGui: make subtitle burned and default checkboxes mutually exclusive
"default" doesn't really apply to burned in subtitles so it shouldn't
be checked when burned.

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