diff options
author | dynaflash <[email protected]> | 2008-11-24 10:01:06 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-11-24 10:01:06 +0000 |
commit | fdabd6ab9d2a8b8d7d1460b3b351a5b452abc963 (patch) | |
tree | f4e6d015af0b6e3be0e85a9a3e4103a6c2305496 /macosx/Controller.h | |
parent | f220f6aae2360564e9fd307a4905336b8ceebe4e (diff) |
MacGui: Live Preview Initial Implementation
- Uses a separate instance of libhb called fPreviewLibhb to do the preview encode. Bypasses the queueing system so you can encode a live preview on one source while encoding another.
- All facets of the encode are replicated (including but not limited to audio tracks, subtitles and picture filters) *except* 2 pass. For speed's sake we only do one pass which should be more than sufficient for a 6 to 60 second preview.
- Live Preview clips are stored in "~/Library/Application Support/HandBrake/Previews/" and remain until a new preview is called for of the same format in which case the old version of "mymovie.mkv" would be replaced with a current version called "mymovie.mkv".
- Uses QTMovieView and QTMovieKit to show 5 - 60 seconds in 5 second increments (determined by a user set NSPopUpButton) of a live preview from the starting point of any of the existing 10 still previews.
- Preview window is now non-modal so can be kept open to see the effect of changing presets, etc.
- Next and Previous buttons replaced with a 10 position slider
- Live Preview is shown same as users QuickTime implementation would show it. ie. without Perian installed, mkv's will not play back, etc.
- Uses QT's stock controller bar with volume, scrubber and single frame advance buttons.
- Known Issues: Movie alignment against the still preview considering the additional height of the movie controller bar. Particularly using loose anamorphic. I am sure there are others.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1951 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r-- | macosx/Controller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h index 3625efd3d..453b48017 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -391,7 +391,7 @@ BOOL fIsDragging; - (IBAction)showDebugOutputPanel:(id)sender; - (void)setupToolbar; - +- (void) prepareJobForPreview; - (void) remindUserOfSleepOrShutdown; - (void)moveObjectsInPresetsArray:(NSMutableArray *)array fromIndexes:(NSIndexSet *)indexSet toIndex:(unsigned)insertIndex; |