sr55 [Sat, 30 Jan 2010 23:52:47 +0000 (23:52 +0000)]
WinGui:
- Added some code to allow direct execution of the CLI rather than using CMD. This may be useful later on.
- Re-factoring. Added Many code comments / Cleaned up some code style issues.
dynaflash [Tue, 26 Jan 2010 16:13:18 +0000 (16:13 +0000)]
MacGui: Add Video Buffer Verifier (VBV) to the built in AppleTV preset as per test results using HD Plane Earth Birds clip for testing.
- Settings: vbv-maxrate=9500:vbv-bufsize=9500
- Note, in testing vbv-maxrate=10000:vbv-bufsize=10000 worked when testing via sync, but dropping it a bit for safety in the preset.
dynaflash [Thu, 21 Jan 2010 18:58:17 +0000 (18:58 +0000)]
MacGui: Queued item editing initial implementation.
- Sends a chosen queued item back to the main window for reload ( and rescan ) via contextual menu (right click)
- Deletes queued item from queue after being reloaded to main window ( after editing or whatever, send back to queue via Add To Queue Button same as a new source).
- New queue window contextual menu also includes delete and show options previously only available via separate icons.
- Note: Needs testing particularly in the subtitle area, which is not to say there aren't other bugs.
jstebbins [Wed, 20 Jan 2010 21:17:27 +0000 (21:17 +0000)]
fix cancel during p-to-p search
when canceling, video sync was closed, but audio sync was stuck waiting
on a condition variable. so force audio sync to wake up when video sync
closes.
sr55 [Sat, 16 Jan 2010 21:32:19 +0000 (21:32 +0000)]
WinGui:
- Improve the In-Gui encode status option. by default, the CLI window is not completely hidden when this is set however there is an option to show it to allow "ctrl-c" clean exits.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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.
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.
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
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.
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.
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.
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
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)
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.
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.
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.