OSDN Git Service

handbrake-jp/handbrake-jp-git.git
14 years agoWinGui:
sr55 [Fri, 15 Jan 2010 22:47:48 +0000 (22:47 +0000)]
WinGui:
- Send a job (which is not currently encoding) from the queue, back to the main window so that the user can alter the encode settings. Sending a job back causes a rescan of the source following by the current configuration being loaded back into the main gui window.

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

14 years agoWinGui:
sr55 [Fri, 15 Jan 2010 22:12:34 +0000 (22:12 +0000)]
WinGui:
- Bit of re-factoring to the encode / queue code.

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

14 years agoprevent duplicate audio list entries
jstebbins [Thu, 14 Jan 2010 23:27:58 +0000 (23:27 +0000)]
prevent duplicate audio list entries
when the user has an obscene number of audios in a custom preset that
are all passthru, duplicate audios would populate the audio list.

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

14 years agoMacGui: Raise the TextStorageUpperSizeLimit and TextStorageLowerSizeLimit x 3 to...
dynaflash [Wed, 13 Jan 2010 00:43:05 +0000 (00:43 +0000)]
MacGui: Raise the TextStorageUpperSizeLimit and TextStorageLowerSizeLimit x 3 to accomodate larger logs in the activity window. Recommended by BradleyS and approved by me.
- TextStorageUpperSizeLimit 125000
- TextStorageLowerSizeLimit 120000

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

14 years agoMacGui: Add the ability to send the finished encode to any application the user choos...
dynaflash [Tue, 12 Jan 2010 21:22:54 +0000 (21:22 +0000)]
MacGui: Add the ability to send the finished encode to any application the user chooses instead of just "Send to MetaX".
- Retains a checkbox to acivate sending the finished encode
- Adds a file name textfield and a browse button so user can choose the app to send the finished encode to.
- Defaults to MetaX as this would be the only app already existing in the users prefs.

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

14 years agoMacGui: Remove other errant subtitle log line for sub title tracks.
dynaflash [Tue, 12 Jan 2010 00:46:59 +0000 (00:46 +0000)]
MacGui: Remove other errant subtitle log line for sub title tracks.

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

14 years agoMacGui: remove errant subtitle track log mssg that was broken anyway.
dynaflash [Tue, 12 Jan 2010 00:16:33 +0000 (00:16 +0000)]
MacGui: remove errant subtitle track log mssg that was broken anyway.

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

14 years agoprevent hang during foreign audio search
jstebbins [Sun, 10 Jan 2010 17:05:11 +0000 (17:05 +0000)]
prevent hang during foreign audio search
was waiting for an audio pts during the indepth scan when there
is no audio being processed

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 23:23:33 +0000 (23:23 +0000)]
WinGui:
- Don't try set the quality slider when the preset doesn't use it.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 23:01:46 +0000 (23:01 +0000)]
WinGui:
- Added a Label on the cropping panel to indicate that preset crop values are in use.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 22:49:50 +0000 (22:49 +0000)]
WinGui:
- If crop values are stored in the preset and the user has decided to enable them in the preset, the gui will not longer reset the crop panel on title change.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 22:22:13 +0000 (22:22 +0000)]
WinGui:
- Enabled the Frame to Frame encode mode.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 21:57:54 +0000 (21:57 +0000)]
WinGui:
- Fix for the Chapters tab. It was not being enabled when a folder containing a Video_TS folder was being selected.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 21:41:37 +0000 (21:41 +0000)]
WinGui:
- Fixed the preset loader. It would not set the quality slider if RF51 was used.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 21:25:02 +0000 (21:25 +0000)]
WinGui:
- Don't throw errors when the activity window is disposing. Should probably find a better solution to this at some point.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 20:47:03 +0000 (20:47 +0000)]
WinGui:
- Compile error fixed.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 20:44:10 +0000 (20:44 +0000)]
WinGui:
- Refactor the Activity window code. Hopefully the code is not thread-safe which should fix a couple of display problems with the log view.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 14:52:47 +0000 (14:52 +0000)]
WinGui:
- Implemented the point to point - seconds mode.

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

14 years agoMacGui: Fix source duration display format when using time or frame based encoding.
dynaflash [Mon, 4 Jan 2010 17:15:08 +0000 (17:15 +0000)]
MacGui: Fix source duration display format when using time or frame based encoding.

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

14 years agoAdded some errors checks and a flush function to encode the remaining data in the...
ritsuka [Thu, 31 Dec 2009 08:44:20 +0000 (08:44 +0000)]
Added some errors checks and a flush function to encode the remaining data in the fifo.
It may fix the "0.5 seconds of digital noise" issue, but I was unable to reproduce it, so I don't know if it actually helps.

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

14 years agoMacGui: Move destination widgets up to realign back to pre point a to b postion.
dynaflash [Tue, 29 Dec 2009 19:57:02 +0000 (19:57 +0000)]
MacGui: Move destination widgets up to realign back to pre point a to b postion.

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

14 years agoMacGui: Re-arrange Source area to be all on one line instead of duration being on...
dynaflash [Tue, 29 Dec 2009 17:13:35 +0000 (17:13 +0000)]
MacGui: Re-arrange Source area to be all on one line instead of duration being on a second line under the Title NSPopUp.

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

14 years agoWinGui:
sr55 [Mon, 28 Dec 2009 19:47:34 +0000 (19:47 +0000)]
WinGui:
- Improve VLC detection for the preview window.
- Put in the infrastructure for the new Frame / Duration(Seconds) feature
- Some Re-factoring

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

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