OSDN Git Service
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.
git-svn-id: svn://localhost/HandBrake/trunk@1467
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 19 May 2008 15:11:08 +0000 (15:11 +0000)]
MacGui: For VFR set the frame rate to the title frame rate (Same as Source) and disable the frame rate popup.
git-svn-id: svn://localhost/HandBrake/trunk@1466
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Mon, 19 May 2008 03:26:43 +0000 (03:26 +0000)]
Windows line endings begone!
git-svn-id: svn://localhost/HandBrake/trunk@1465
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@1464
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 17 May 2008 20:20:25 +0000 (20:20 +0000)]
WinGui:
- Changes -a auto to -a 1 (The CLI was throwing an error message with auto)
- Misc other changes and code cleanup.
git-svn-id: svn://localhost/HandBrake/trunk@1463
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 15 May 2008 23:54:19 +0000 (23:54 +0000)]
WinGui:
- Fixed: http://forum.handbrake.fr/posting.php?mode=reply&f=12&t=6088
git-svn-id: svn://localhost/HandBrake/trunk@1462
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 15 May 2008 23:41:54 +0000 (23:41 +0000)]
WinGui:
- Fix for http://forum.handbrake.fr/viewtopic.php?f=12&t=6086
git-svn-id: svn://localhost/HandBrake/trunk@1461
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Thu, 15 May 2008 20:23:03 +0000 (20:23 +0000)]
CLI: Sample rates given by the user in kHz need to be converted to Hz for libhb.
git-svn-id: svn://localhost/HandBrake/trunk@1460
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@1459
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Tue, 13 May 2008 11:24:27 +0000 (11:24 +0000)]
MacGUI: Make HBOutputPanelWindowController an NSWindowController subclass. Patch by blindjimmy.
git-svn-id: svn://localhost/HandBrake/trunk@1458
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sun, 11 May 2008 10:09:01 +0000 (10:09 +0000)]
MacGUI: Make PictureController a subclass of NSWindowController. Patch by blindjimmy.
git-svn-id: svn://localhost/HandBrake/trunk@1457
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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!)
git-svn-id: svn://localhost/HandBrake/trunk@1456
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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
git-svn-id: svn://localhost/HandBrake/trunk@1455
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@1454
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Wed, 7 May 2008 11:21:35 +0000 (11:21 +0000)]
MacGUI: Fix toolbar item leaks for main and preferences windows. Patch by blindjimmy.
git-svn-id: svn://localhost/HandBrake/trunk@1453
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 30 Apr 2008 15:35:31 +0000 (15:35 +0000)]
WinGui:
- Fixes copy to clipboard crash on vista. However it does not fix the fact that content is not copying.
git-svn-id: svn://localhost/HandBrake/trunk@1452
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Wed, 30 Apr 2008 13:57:43 +0000 (13:57 +0000)]
MacGUI: I forgot a file in my previous commit. Remove the close method from the header file too.
git-svn-id: svn://localhost/HandBrake/trunk@1451
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Wed, 30 Apr 2008 13:41:45 +0000 (13:41 +0000)]
MacGUI: Clean up HBPreferencesController, remove an unused method, and use standard icons for the General and Advanced panel.
git-svn-id: svn://localhost/HandBrake/trunk@1450
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 29 Apr 2008 21:34:43 +0000 (21:34 +0000)]
WinGui: Bug Fixes
- frmReadDVD recovers better when an error occurs.
- DVD Title dropdown no longer complains about no titles on 1 title sources.
git-svn-id: svn://localhost/HandBrake/trunk@1449
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 29 Apr 2008 16:29:33 +0000 (16:29 +0000)]
WinGui:
- Update checker now reads either unstable or stable appcast based on the last digit of the build number.
git-svn-id: svn://localhost/HandBrake/trunk@1448
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Sat, 26 Apr 2008 21:04:27 +0000 (21:04 +0000)]
Opens up another way to give x264 a constant QP or RF, by passing a direct value instead of a percentage that encx264.c has to convert.
git-svn-id: svn://localhost/HandBrake/trunk@1447
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 26 Apr 2008 11:19:37 +0000 (11:19 +0000)]
MacGUI: Remove the "toolbar" variable from Controller. Patch by blindjimmy.
git-svn-id: svn://localhost/HandBrake/trunk@1446
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 26 Apr 2008 11:15:01 +0000 (11:15 +0000)]
MacGUI: Generate the Application Support path using API calls. Patch by blindjimmy.
git-svn-id: svn://localhost/HandBrake/trunk@1445
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 26 Apr 2008 07:58:30 +0000 (07:58 +0000)]
MacGUI: Add a return type to controller's init method. Patch by blindjimmy.
git-svn-id: svn://localhost/HandBrake/trunk@1444
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 26 Apr 2008 07:54:10 +0000 (07:54 +0000)]
MacGUI: Remove last traces of "_" macro and TranslateString. Patch by blindjimmy.
git-svn-id: svn://localhost/HandBrake/trunk@1443
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 26 Apr 2008 07:42:13 +0000 (07:42 +0000)]
MacGUI: remove some old 10.4 specific code in HBDVDDetector. Patch by blindjimmy
git-svn-id: svn://localhost/HandBrake/trunk@1442
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 25 Apr 2008 14:26:23 +0000 (14:26 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1441
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 25 Apr 2008 14:04:46 +0000 (14:04 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1440
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@1439
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@1438
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Thu, 24 Apr 2008 22:33:33 +0000 (22:33 +0000)]
Bumps libx264 to 828-
ee95c7f
git-svn-id: svn://localhost/HandBrake/trunk@1437
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Thu, 24 Apr 2008 21:56:39 +0000 (21:56 +0000)]
CLI: Fixes optical scan reading in OS X by mirroring the MacGui work from r821. Thanks, blindjimmy!
git-svn-id: svn://localhost/HandBrake/trunk@1436
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 24 Apr 2008 15:48:22 +0000 (15:48 +0000)]
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".
git-svn-id: svn://localhost/HandBrake/trunk@1435
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 24 Apr 2008 15:45:07 +0000 (15:45 +0000)]
WinGui:
- Fixed bug in user presets where it could remove any preset with a similar name as well as the one selected.
git-svn-id: svn://localhost/HandBrake/trunk@1434
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 24 Apr 2008 15:25:02 +0000 (15:25 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1433
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 23 Apr 2008 21:41:21 +0000 (21:41 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1432
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 20 Apr 2008 15:20:29 +0000 (15:20 +0000)]
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>
git-svn-id: svn://localhost/HandBrake/trunk@1431
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 18 Apr 2008 14:42:01 +0000 (14:42 +0000)]
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
git-svn-id: svn://localhost/HandBrake/trunk@1430
b64f7644-9d1e-0410-96f1-
a4d463321fa5
saintdev [Fri, 18 Apr 2008 01:57:47 +0000 (01:57 +0000)]
Handle the case where hb_list_audio_config_item is passed an invalid index.
git-svn-id: svn://localhost/HandBrake/trunk@1429
b64f7644-9d1e-0410-96f1-
a4d463321fa5
saintdev [Fri, 18 Apr 2008 01:57:42 +0000 (01:57 +0000)]
Bump libmkv to 0.6.3
Fixes issues with seeking and VLC.
git-svn-id: svn://localhost/HandBrake/trunk@1428
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 17 Apr 2008 21:17:23 +0000 (21:17 +0000)]
WinGui:
- Number of code corrections + Code cleanup
git-svn-id: svn://localhost/HandBrake/trunk@1427
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 17 Apr 2008 20:56:04 +0000 (20:56 +0000)]
WinGui:
- Removed some now redundant code (for last checkin)
git-svn-id: svn://localhost/HandBrake/trunk@1426
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 17 Apr 2008 20:53:10 +0000 (20:53 +0000)]
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
git-svn-id: svn://localhost/HandBrake/trunk@1425
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 17 Apr 2008 20:29:32 +0000 (20:29 +0000)]
WinGui: A few hundred fixes to the Audio Tab, Preset Loader and Query Generator.
git-svn-id: svn://localhost/HandBrake/trunk@1424
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Thu, 17 Apr 2008 00:22:14 +0000 (00:22 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1423
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 16 Apr 2008 15:42:06 +0000 (15:42 +0000)]
WinGUI:
- Moved appcast path from the RssReader.cs to the settings. Just makes it a bit easier to change for stable/unstable builds
git-svn-id: svn://localhost/HandBrake/trunk@1422
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Tue, 15 Apr 2008 19:15:40 +0000 (19:15 +0000)]
Print a log line for the first chapter.
git-svn-id: svn://localhost/HandBrake/trunk@1421
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@1420
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 15 Apr 2008 17:08:31 +0000 (17:08 +0000)]
MacGui: replace handbrake.m0k.org references with handbrake.fr in the entire macosx/ directory
git-svn-id: svn://localhost/HandBrake/trunk@1419
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 Apr 2008 16:51:05 +0000 (16:51 +0000)]
Saearch & Replace domain names to move from .m0k.org to handbrake.fr. Only covers trunk files, libhb, and test.
git-svn-id: svn://localhost/HandBrake/trunk@1418
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 15 Apr 2008 16:50:54 +0000 (16:50 +0000)]
WinGui: nullsoft installer GPL header file updated to handbrake.fr
git-svn-id: svn://localhost/HandBrake/trunk@1417
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 15 Apr 2008 15:40:17 +0000 (15:40 +0000)]
Use UTF8 encoding and LF line endings.
git-svn-id: svn://localhost/HandBrake/trunk@1416
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 14 Apr 2008 17:47:15 +0000 (17:47 +0000)]
Updated Cygwin patch file for the new version of x264
git-svn-id: svn://localhost/HandBrake/trunk@1415
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 14 Apr 2008 15:55:56 +0000 (15:55 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1414
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Mon, 14 Apr 2008 08:27:59 +0000 (08:27 +0000)]
Fix the automatic subtitle scan that I broke with r1412.
git-svn-id: svn://localhost/HandBrake/trunk@1413
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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.
git-svn-id: svn://localhost/HandBrake/trunk@1412
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Sun, 13 Apr 2008 18:22:49 +0000 (18:22 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1411
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Sun, 13 Apr 2008 01:37:02 +0000 (01:37 +0000)]
When dropping frames from pullup for VFR, deallocate the associated subtitle buffers instead of just hb_fifo_get-ing them into nowhere.
This should plug the crash-inducing memory leak Cyander noticed.
git-svn-id: svn://localhost/HandBrake/trunk@1410
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 12 Apr 2008 21:52:20 +0000 (21:52 +0000)]
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
git-svn-id: svn://localhost/HandBrake/trunk@1409
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 12 Apr 2008 21:37:49 +0000 (21:37 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1408
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 12 Apr 2008 15:38:01 +0000 (15:38 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1407
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 12 Apr 2008 14:54:33 +0000 (14:54 +0000)]
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.
git-svn-id: svn://localhost/HandBrake/trunk@1406
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 11 Apr 2008 21:45:18 +0000 (21:45 +0000)]
WinGui:
- Fixed bug in the RSS reader.
git-svn-id: svn://localhost/HandBrake/trunk@1405
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 11 Apr 2008 19:36:07 +0000 (19:36 +0000)]
Let's try out saner b-frame init delays again.
git-svn-id: svn://localhost/HandBrake/trunk@1404
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 11 Apr 2008 16:39:14 +0000 (16:39 +0000)]
MacGui: Get rid of some harmless warnings in Controller.mm during compiling.
git-svn-id: svn://localhost/HandBrake/trunk@1403
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Fri, 11 Apr 2008 07:47:44 +0000 (07:47 +0000)]
Provide more feedback as to the types of the streams in an MPEG Transport stream
git-svn-id: svn://localhost/HandBrake/trunk@1402
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Thu, 10 Apr 2008 07:31:54 +0000 (07:31 +0000)]
Fix brain fade in comments (it's been a long day).
git-svn-id: svn://localhost/HandBrake/trunk@1401
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Thu, 10 Apr 2008 07:05:09 +0000 (07:05 +0000)]
Fix avi containers which I unwittingly broke with r1341.
git-svn-id: svn://localhost/HandBrake/trunk@1400
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 10 Apr 2008 04:44:53 +0000 (04:44 +0000)]
MacGui: Do not call customSettingsUsed until we have an intelligent way to determine selected audio variables compared to presets so that presets stay selected.
git-svn-id: svn://localhost/HandBrake/trunk@1399
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 10 Apr 2008 04:37:46 +0000 (04:37 +0000)]
MacGui: Adjust positioning of Frame Rate in Video Tab to make sure the framerate label doesn't get cutoff when VFR is selected.
git-svn-id: svn://localhost/HandBrake/trunk@1398
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 8 Apr 2008 18:34:25 +0000 (18:34 +0000)]
MacGui: Implement per audio track drc
- Uses a small circular slider for each track
- Stops on ticks for .25 granularity
- Presets regress from global drc to apply it to all tracks if used in past custom preset.
git-svn-id: svn://localhost/HandBrake/trunk@1397
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 8 Apr 2008 15:10:22 +0000 (15:10 +0000)]
MacGui: Fix broken Add Preset function for adding custom presets.
- Was broken in rev 1385
git-svn-id: svn://localhost/HandBrake/trunk@1396
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 8 Apr 2008 13:19:51 +0000 (13:19 +0000)]
MacGui: Sanity Check AC3 passthrough against any input audio that is not AC3.
- Previously only sanity checked against DTS.
git-svn-id: svn://localhost/HandBrake/trunk@1395
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Tue, 8 Apr 2008 13:02:43 +0000 (13:02 +0000)]
MacGUI: Forgot a file in my previous commit.
git-svn-id: svn://localhost/HandBrake/trunk@1394
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Tue, 8 Apr 2008 11:54:55 +0000 (11:54 +0000)]
MacGUI: Fixed some crashes in the queue on x86_64
git-svn-id: svn://localhost/HandBrake/trunk@1393
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 8 Apr 2008 05:11:25 +0000 (05:11 +0000)]
CLI: Generate default chapter marker titles when a marker file is not specified, that match the format used by the MacGui.
git-svn-id: svn://localhost/HandBrake/trunk@1392
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 8 Apr 2008 04:52:46 +0000 (04:52 +0000)]
For snapshots, don't use the normal HB_VERSION number at all, just "svn" and the revision number.
git-svn-id: svn://localhost/HandBrake/trunk@1391
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 8 Apr 2008 03:04:46 +0000 (03:04 +0000)]
MacGui: Fix errant encode done growl alert and send to MetaX function when finishing the first pass of a two pass encode.
- We now only send the alerts after an encode finishes as opposed to when a job *within* an encode finishes.
git-svn-id: svn://localhost/HandBrake/trunk@1390
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Tue, 8 Apr 2008 02:53:22 +0000 (02:53 +0000)]
CLI: m4v is a valid output format.
git-svn-id: svn://localhost/HandBrake/trunk@1389
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 7 Apr 2008 20:11:46 +0000 (20:11 +0000)]
MacGui: Enhance Growl notifications and send to metaX so that each encode is handled as it comes off of the queue.
- Previously only the last encode of a queue gave the finished growl notification and was sent to metaX. Now if specified by the user they happen as the encodes progress through the queue.
git-svn-id: svn://localhost/HandBrake/trunk@1388
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 7 Apr 2008 17:57:14 +0000 (17:57 +0000)]
WinGui:
- Fixed bug in query parser and preset code. Deinterlace option with " wraped around the value caused issues.
git-svn-id: svn://localhost/HandBrake/trunk@1387
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 7 Apr 2008 14:35:35 +0000 (14:35 +0000)]
MacGui: Fix the DTS source audio mixdown for an attempted AC3 passthru audio track
- Since AC3 Passthru will not work with a DTS audio source track, we us mp3 dpl2 for avi and aac dpl2 for mkv and mp4.
- Revert HandBrake.plist to pre 1385 as it was errantly checked in with that commit.
git-svn-id: svn://localhost/HandBrake/trunk@1386
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 7 Apr 2008 05:02:18 +0000 (05:02 +0000)]
MacGui: Implement per track audio settings.
- Expands the number of audio tracks the macgui can encode to 4.
- Everything except drc is now set on a per track basis
- Be Gone self limiting "Codecs" PopUp !
- Can now use any audio codecs that the container will support in the same encode
- The previous "AAC + AC3" bizarre hybrid is now deprecated and you simply set them up per track
- Implement full audio list readout in the queue, tracks are now show one per line in a list like fashion
- Queue is no longer hard coded for just two tracks.
- Preset code updated to regress to handle previous presets that utilized the codecs popup to determine audio scheme to use
- Preset code now handles everything except language selection.
- The Format, Video Encoder and Audio codes are all now stored in the appropriate NSPopUp tags for very easy retrieval.
- Crazy format, codecs struct is now gone as we get that from the tags.
- AC3 Passthru properly shows the input bitrate and 48 khz samplerate in the appropriate popups
- Added Theora video encoder to OGM container
- Added libtheora to the libhb dylib
- NOTE: The check against trying to use AC3 Passthru on a DTS track is broken on the encoder popup.
git-svn-id: svn://localhost/HandBrake/trunk@1385
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 6 Apr 2008 23:33:28 +0000 (23:33 +0000)]
WinGui:
- Activity window now updates every 3 seconds during an encode, so the user can now watch the encode log as it is generated by the CLI.
git-svn-id: svn://localhost/HandBrake/trunk@1384
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Sun, 6 Apr 2008 22:58:04 +0000 (22:58 +0000)]
During conversion only log when there's an error or anomaly.
git-svn-id: svn://localhost/HandBrake/trunk@1383
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 6 Apr 2008 22:56:40 +0000 (22:56 +0000)]
WinGui:
- Instead of highlighting checkboxes red if their selection is invalid. Display a MessageBox explaining the error.
git-svn-id: svn://localhost/HandBrake/trunk@1382
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Sun, 6 Apr 2008 22:28:22 +0000 (22:28 +0000)]
- Fix sync problems associated with sample rate conversion - the truncation error of the sample rate ratio would build up over time until the audio substantially lagged the video.
- Don't feed audio through the sample rate converter if we don't have to - it's faster not to & it can introduce a delay that perturbs a/v sync.
git-svn-id: svn://localhost/HandBrake/trunk@1381
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 4 Apr 2008 21:13:59 +0000 (21:13 +0000)]
WinGui:
- Automatically select the longest title after a scan has completed.
git-svn-id: svn://localhost/HandBrake/trunk@1380
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 4 Apr 2008 18:31:07 +0000 (18:31 +0000)]
WinGui:
- UI consistency issues caused by last UI update, now sorted. All windows follow the same style aspects.
git-svn-id: svn://localhost/HandBrake/trunk@1379
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 4 Apr 2008 18:11:39 +0000 (18:11 +0000)]
WinGui:
- Just a very quick cleanup of frmMain.cs
git-svn-id: svn://localhost/HandBrake/trunk@1378
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Fri, 4 Apr 2008 16:49:33 +0000 (16:49 +0000)]
Minor chapter cleanups.
- put chapter number in buf rather than a 'new chapter' flag.
- use that chapter number to index chapter text in muxers so a dropped chapter doesn't make all subsequent chapter labeling wrong.
- get rid of most of the chapter logging & just output one line giving the chapter text, number, frame & time.
- fix a bug in sync that could cause chapter marks to be lost.
git-svn-id: svn://localhost/HandBrake/trunk@1377
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 4 Apr 2008 16:10:53 +0000 (16:10 +0000)]
WinGui:
- Small Fix to the cropping dropdown code.
git-svn-id: svn://localhost/HandBrake/trunk@1376
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 4 Apr 2008 16:09:04 +0000 (16:09 +0000)]
- New Audio Panel (Query Parser, Query Generator, Preset Loader Functions all updated)
This includes minor changes to the UI (e.g in the 'Output Settings' box)
- UI Improvments for Windows Vista and XP where non Classic theme is used.
- Activity Window can now view the log whilst an encode is going. (Doesn't live update... yet TODO!)
- Changed Radio File/Folder option for Source Browse to a single checkbox. Folder view by default.
Check "File mode" for file selection dialog.
- Misc other UI changes
- Update checker won't display an error message during statup if one occurs whilst checking the update.
The message was hidden behind the splash screen. This is now not a problem.
git-svn-id: svn://localhost/HandBrake/trunk@1375
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 4 Apr 2008 14:58:10 +0000 (14:58 +0000)]
Cli: If the user specifies more audio codecs than audio tracks, make a copy of the last track specified for each additional output codec.
git-svn-id: svn://localhost/HandBrake/trunk@1374
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Thu, 3 Apr 2008 23:13:35 +0000 (23:13 +0000)]
Windows line endings are bad.
git-svn-id: svn://localhost/HandBrake/trunk@1373
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Thu, 3 Apr 2008 04:40:30 +0000 (04:40 +0000)]
- hardware players don't tolerate video or audio frames that overlap in time & some dvd mastering techniques take advantage of this. Get rid of fudge factors so we drop all such frames otherwise they screw up our a/v sync.
- fix video timing 'off by one': since we look one frame ahead time has to actually advance on the next video frame. time that stays the same guarantees a one frame overlap which really messes up mp4 durations.
git-svn-id: svn://localhost/HandBrake/trunk@1372
b64f7644-9d1e-0410-96f1-
a4d463321fa5
saintdev [Thu, 3 Apr 2008 01:30:31 +0000 (01:30 +0000)]
CLI: Update fix AppleTV preset audio.
Accidently hard-coded it to first audio track. Also, you had to specify both audio tracks.
Now it only needs one specified and will use that for both.
Also, update the --preset-list
git-svn-id: svn://localhost/HandBrake/trunk@1371
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Wed, 2 Apr 2008 17:55:48 +0000 (17:55 +0000)]
scan and pcm audio fixes.
- lpcm audio fixed to handle 24 bit & interpret header correctly.
- get aspect ratio from libmpeg2 rather than doing it ourselves.
- announce when aspect ratio changes during preview scan.
- if aspect ratio isn't either 4:3 or 16:9 complain & map to either 4:3 or 16:9 (whichever is closest).
- start stream previews from file position 0 rather than 1/11 in case there's only on mpeg sequence header in the file.
- don't give up on a file just because we can't get a preview due to a missing sequence header - only give up if we can't get any previews.
- get audio bitstream characteristics during preview in a uniform way (we were treating PCM & MPEG audio specially which resulted in not getting their sample rate which caused a divide by zero in sync).
git-svn-id: svn://localhost/HandBrake/trunk@1370
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 2 Apr 2008 17:21:57 +0000 (17:21 +0000)]
MacGui: Fix issue where a new encode would retain one audio track from the previous encode if there was one. Bug introduced in rev 1367.
git-svn-id: svn://localhost/HandBrake/trunk@1369
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 2 Apr 2008 04:42:08 +0000 (04:42 +0000)]
MacGui: Fix audio issue where both tracks would use the first source audio track regardless of what source track was chosen. Bug introduced in rev 1367
git-svn-id: svn://localhost/HandBrake/trunk@1368
b64f7644-9d1e-0410-96f1-
a4d463321fa5