jbrjake [Thu, 5 Jun 2008 15:59:24 +0000 (15:59 +0000)]
Adds a job->cfr boolean to indicate "encode this with a constant frame rate" instead of passing through the true frame durations from the source. Includes CLI implementation, which sets cfr to 1 if the user specifies a frame rate. Otherwise, it uses "same as source" frame rate.
dynaflash [Wed, 4 Jun 2008 19:58:25 +0000 (19:58 +0000)]
MacGui: Add "Auto" to audio sample rate selections
- Auto simply uses the input audio's sample rate
- Built in presets updated to use Auto for all but device presets which still use 48.
- prepareJob now uses the selectedIndex's tag from the sample rate NSPopUp instead of libhb's built in array of sample rates
ritsuka [Wed, 4 Jun 2008 18:54:56 +0000 (18:54 +0000)]
MacGUI: Implements a part of the NSTableView delegate in ChapterTitles so that pressing Return selects the next row and edits the chapter title so that the mouse or Mac OS X's full keyboard access is not required. Patch by bkiico517.
van [Wed, 4 Jun 2008 07:00:01 +0000 (07:00 +0000)]
- add pixel_aspect_ratio reporting to the mpeg decoder
- try lots harder to extract a useful video frame rate from libavcodec (successful for more files but still get junk from wmv's).
- save all video parameters while we're getting previews then use the set we've seen most frequently as the parameters of the title.
dynaflash [Sat, 31 May 2008 19:20:22 +0000 (19:20 +0000)]
x264: bump to version 859-ce13bb6 and update vbv patch(es)
- Updates the 2 pass patch to Gabriel Bouvigne's v.10 vbv 2 pass patch http://article.gmane.org/gmane.comp.video.x264.devel/4048
- Eliminates the need for our previous 1 pass patch
dynaflash [Thu, 29 May 2008 19:09:32 +0000 (19:09 +0000)]
MacGui: Add decomb setting to presets
- Even though currently in svn we allow for a custom setting, only observe Off and Default. So if a preset is created using "Custom" in the decomb NSPopUp the preset will actually use Default, so you will have to set it back to Custom manually.
- This is temporary as the "Custom" setting *should* be deprecated at some point.
jbrjake [Wed, 21 May 2008 18:34:35 +0000 (18:34 +0000)]
When using detelecine but not dropping frames (non-VFR detelecine), continue looping through the filter chain if the detelecine filter says to drop a frame.
jbrjake [Sat, 17 May 2008 22:55:41 +0000 (22:55 +0000)]
Re-allow constant frame rates. The MacGui should probably be updated to always use title fps for VFR instead of "Same as Source" which might be 23.976, but it's taken care of in work.c now so it's purely a cosmetic thing.
jbrjake [Tue, 13 May 2008 14:55:56 +0000 (14:55 +0000)]
Allow the user to directly set a pixel aspect height and width, instead of using the autodetection in strict and loose anamorphic. This allows rescaling 1:1 PAR material to be anamorphic.
To use in an interface, simply set job->pixel_ratio to 3, job->height and job->width to the desired output size, and job->pixel_aspect_height and job->pixel_aspect_width to the desired PAR. For now this is only for really advanced users who know what numbers they want for those values.
Controlled through the CLI as optional arguments to -P.
jbrjake [Fri, 9 May 2008 15:08:11 +0000 (15:08 +0000)]
- Use a separate Sparkle appcast feed for unstable (snapshot) releases.
- Use variables in the macosx/HandBrake.plist so SVN doesn't flag it as modified every time the dynamically generated build date/version changes. (Thanks, blindjimmy!)
sr55 [Wed, 7 May 2008 21:56:43 +0000 (21:56 +0000)]
WinGui:
- Activity window no longer prevents main window UI interaction.
- Fixed bug which would keep HandBrake in memory after the program was closed. It was still running but not visible.
- Removed old files
sr55 [Wed, 7 May 2008 20:43:49 +0000 (20:43 +0000)]
WinGui:
- Got rid of the DVD info window. DVD information can now be read from the activity window.
- Removed some unused code calls to frmDvdInfo.
- Changed frmActivityWindow design, removed all buttons, text window now expands as the window size grows. Basically, the window is identical to the MacGUI window now.
MacGui: make sure to strip off any source file extensions from the output file name.
- Fixes an issue where a .mpg file would come out as "mymovie.mpg.mp4" in the destination field.
- Also cleans up some formatting in my previous commit.
MacGui: Audio Tab - Make sure that selecting a subsequent audio track does not re-enable the sample rate, bitrate, and drc settings on a previously selected AC3 Passthru track.
van [Fri, 25 Apr 2008 07:11:39 +0000 (07:11 +0000)]
Changes to support unstructured program streams (such as those produced by a Tivo) and the three other forms of transport streams (m2ts, dvb-s & digicipher). Start of the changes necessary to support other types of video besides mpeg2.
van [Fri, 25 Apr 2008 06:44:35 +0000 (06:44 +0000)]
- Don't allow chapter durations to go negative (since durations are unsigned the result will be interpreted as a huge positive number).
- Revert the change to sync that pushed out the final frame of video -- on many DVDs this frame seems to be junk that's not intended to be displayed.
MacGui: only enable audio tracks if the previous tracks have been chosen.
- prevents a scenario in which you could have track 1 and track 4 selected with 2 and 3 as "None".
WinGui:
- Move some code that sets the available audio bit-rates into functions instead of just repeating the code.
- Fixed some issues with the Audio panel. All tracks are now visible by default, however they will remain disabled if a previous track is not selected.
WinGui:
- Added support for stable / unstable builds in the update checker.
- Setup the rss reader to read the cli-stable and cli-unstable tags in the appcast. This is now used for the version information.
libhb:
- Update.c updated to use appcast.xml rather than LATEST
- Expects to find 2 XML tags which have been added to appcast.xml e.g.
<cli-stable>2008021900 "0.9.2"</cli-stable>
<cli-unstable>2008041901 "0.9.3"</cli-unstable>
Fixes make building in OS X:
- Switches default (snapshot) make target to use the Deployment Xcode target
- Makes it possible to jam contribs using make in OS X like is done in Linux
- This means no universal binaries from make, unless "make release" is used. That's the only time it uses the contrib download script. The snapshot target builds contribs locally.
To sum up: this now means that on a Mac, using:
make
....should be functionally equivalent to:
make clean; ./configure; ./jam
WinGui:
- Added theora support.
- Renamed the video encoders to match the mac gui.
- Made 64bit/OptimizeMP4/ipodatom invisible when non .mp4/m4v formats are in use
Avoid a divide by 0 in encfaac.c caused by the mixdown not being specified
for AAC tracks (due toi a bug in HandBrake.app). Ensure that a mixdown
is always specified if not doing passthrough.
van [Tue, 15 Apr 2008 19:14:03 +0000 (19:14 +0000)]
Move clock recovery code from reader to demuxmpeg so it sees all frames & not just the ones we happen to be encoding. This change gives a more accurate clock and allows us to once again ignore audio during pass 1 of a 2 pass encode.
MacGui: Fix AC3 Passthru bitrate setting in audio tab when using a legacy preset from the old audio system.
- Now properly sets the source track input bitrate as the output bitrate in the NSPopUpButton so it displays correctly in the audio tab as well as the queue and allows you to make new presets from an older one.
van [Sun, 13 Apr 2008 23:31:37 +0000 (23:31 +0000)]
Fixes for different number of frames between pass 1 & 2, missing frames at end, and an deadlock with pcm audio.
- since the SCR clock recovery is done in reader.c we can't currently skip audio frames during pass 1 or we miss clock changes signaled by those frames & end up dropping more video frames in pass 1 than pass 2.
- since many modules buffer frames we can't tell if we're done just by looking for empty fifos. Send an empty buffer to mark end-of-stream all the way along the processing pipeline & use it to flush internally buffered data.
- in a processing pipeline you're done when the end of the pipe says your done. add a thread status variable so we can tell when individual threads are finished then make do_job wait until the encoder thread is done so that we're sure all the frames have been processed and sent to the muxer.
- since the muxer alternates between reading video & audio packets we have to have enough buffer in the audio pipeline to handle a video-frame's worth of audio packets (33ms). Since pcm packets are <1ms we need >60 slots in the audio fifos or we'll deadlock.
Bumps x264 to the latest snapshot tarball, which version.sh translates from hashed gobbledygook to 818 d4b7d2b.
Removes the VAQ patch since it's been committed since we last refreshed the lib.
WinGui:
- Fixed issue where Audio encoder would be changed if chapter markers was enabled/disabled.
This was an issue with the function that populates the audio encoder drop downs based on the file extension
WinGui:
- Bug fixes with the audio panel in relation to not loading the apple tv preset correctly.
- Small UI font size issue fixed with sample rate dropdowns.
WinGui:
- (Scratch last checkin. Audio panel now has a sensible implementation.) Audio Tracks 3 now invisible until audio track 2 has a selected track and Track 4 is also invisible until track 3 has a selected track.
WinGui:
- Expands the audio tab to 4 audio tracks. This will require through testing. Users should avoid track combinations such as 1 & 4, 1 & 3, and 2 & 4. Instead, 1 & 2 & 3 or 1 & 2 or 2 & 3 & 4 should be used.
MacGui: Do not call customSettingsUsed until we have an intelligent way to determine selected audio variables compared to presets so that presets stay selected.