OSDN Git Service

handbrake-jp/handbrake-jp-git.git
16 years agoWinGui: Bug Fixes
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

16 years agoWinGui:
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

16 years agoOpens up another way to give x264 a constant QP or RF, by passing a direct value...
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

16 years agoMacGUI: Remove the "toolbar" variable from Controller. Patch by blindjimmy.
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

16 years agoMacGUI: Generate the Application Support path using API calls. Patch by blindjimmy.
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

16 years agoMacGUI: Add a return type to controller's init method. Patch by blindjimmy.
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

16 years agoMacGUI: Remove last traces of "_" macro and TranslateString. Patch by blindjimmy.
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

16 years agoMacGUI: remove some old 10.4 specific code in HBDVDDetector. Patch by blindjimmy
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

16 years agoMacGui: make sure to strip off any source file extensions from the output file name.
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

16 years agoMacGui: Audio Tab - Make sure that selecting a subsequent audio track does not re...
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

16 years agoChanges to support unstructured program streams (such as those produced by a Tivo...
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

16 years ago - Don't allow chapter durations to go negative (since durations are unsigned the...
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

16 years agoBumps libx264 to 828-ee95c7f
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

16 years agoCLI: Fixes optical scan reading in OS X by mirroring the MacGui work from r821. Thank...
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

16 years agoMacGui: only enable audio tracks if the previous tracks have been chosen.
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agolibhb:
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

16 years agoFixes make building in OS X:
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

16 years agoHandle the case where hb_list_audio_config_item is passed an invalid index.
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

16 years agoBump libmkv to 0.6.3
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoWinGui: A few hundred fixes to the Audio Tab, Preset Loader and Query Generator.
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

16 years agoAvoid a divide by 0 in encfaac.c caused by the mixdown not being specified
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

16 years agoWinGUI:
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

16 years agoPrint a log line for the first chapter.
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

16 years agoMove clock recovery code from reader to demuxmpeg so it sees all frames & not just...
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

16 years agoMacGui: replace handbrake.m0k.org references with handbrake.fr in the entire macosx...
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

16 years agoSaearch & Replace domain names to move from .m0k.org to handbrake.fr. Only covers...
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

16 years agoWinGui: nullsoft installer GPL header file updated to handbrake.fr
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

16 years agoUse UTF8 encoding and LF line endings.
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

16 years agoUpdated Cygwin patch file for the new version of x264
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

16 years agoMacGui: Fix AC3 Passthru bitrate setting in audio tab when using a legacy preset...
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

16 years agoFix the automatic subtitle scan that I broke with r1412.
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

16 years agoFixes for different number of frames between pass 1 & 2, missing frames at end, and...
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

16 years agoBumps x264 to the latest snapshot tarball, which version.sh translates from hashed...
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

16 years agoWhen dropping frames from pullup for VFR, deallocate the associated subtitle buffers...
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoLet's try out saner b-frame init delays again.
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

16 years agoMacGui: Get rid of some harmless warnings in Controller.mm during compiling.
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

16 years agoProvide more feedback as to the types of the streams in an MPEG Transport stream
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

16 years agoFix brain fade in comments (it's been a long day).
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

16 years agoFix avi containers which I unwittingly broke with r1341.
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

16 years agoMacGui: Do not call customSettingsUsed until we have an intelligent way to determine...
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

16 years agoMacGui: Adjust positioning of Frame Rate in Video Tab to make sure the framerate...
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

16 years agoMacGui: Implement per audio track drc
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

16 years agoMacGui: Fix broken Add Preset function for adding custom presets.
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

16 years agoMacGui: Sanity Check AC3 passthrough against any input audio that is not AC3.
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

16 years agoMacGUI: Forgot a file in my previous commit.
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

16 years agoMacGUI: Fixed some crashes in the queue on x86_64
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

16 years agoCLI: Generate default chapter marker titles when a marker file is not specified,...
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

16 years agoFor snapshots, don't use the normal HB_VERSION number at all, just "svn" and the...
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

16 years agoMacGui: Fix errant encode done growl alert and send to MetaX function when finishing...
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

16 years agoCLI: m4v is a valid output format.
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

16 years agoMacGui: Enhance Growl notifications and send to metaX so that each encode is handled...
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

16 years agoWinGui:
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

16 years agoMacGui: Fix the DTS source audio mixdown for an attempted AC3 passthru audio track
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

16 years agoMacGui: Implement per track audio settings.
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

16 years agoWinGui:
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

16 years agoDuring conversion only log when there's an error or anomaly.
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

16 years agoWinGui:
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

16 years ago - Fix sync problems associated with sample rate conversion - the truncation error...
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoWinGui:
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

16 years agoMinor chapter cleanups.
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

16 years agoWinGui:
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

16 years ago- New Audio Panel (Query Parser, Query Generator, Preset Loader Functions all updated)
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

16 years agoCli: If the user specifies more audio codecs than audio tracks, make a copy of the...
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

16 years agoWindows line endings are bad.
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

16 years ago - hardware players don't tolerate video or audio frames that overlap in time & some...
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

16 years agoCLI: Update fix AppleTV preset audio.
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

16 years agoscan and pcm audio fixes.
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

16 years agoMacGui: Fix issue where a new encode would retain one audio track from the previous...
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

16 years agoMacGui: Fix audio issue where both tracks would use the first source audio track...
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

16 years agoMacGUI: Update to use the new audio layout.
saintdev [Tue, 1 Apr 2008 21:29:38 +0000 (21:29 +0000)]
MacGUI: Update to use the new audio layout.
This only updates the current interface, nothing new added.

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

16 years agoCLI: "Fun with string theory." Updates needed for new audio layout.
saintdev [Tue, 1 Apr 2008 21:26:00 +0000 (21:26 +0000)]
CLI: "Fun with string theory." Updates needed for new audio layout.
--audios takes a comma seperated list (or range) of the requested output tracks.
The other audio settings take either one argument, in which case it applies across
all tracks, or a comma seperated list that applies to each track.

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

16 years agoNew internal audio handling.
saintdev [Tue, 1 Apr 2008 21:25:54 +0000 (21:25 +0000)]
New internal audio handling.
Each audio track contains it's own settings for codec, bitrate, samplerate, etc.
This allows for very complex combinations of audio tracks if desired.

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

16 years agoFix up libs for building qt4 gui.
saintdev [Sun, 23 Mar 2008 23:54:40 +0000 (23:54 +0000)]
Fix up libs for building qt4 gui.

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

16 years agoFix theora linking when using make.
saintdev [Sun, 23 Mar 2008 23:54:37 +0000 (23:54 +0000)]
Fix theora linking when using make.

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

16 years agoFix Makefiles for dynamically linked dvdcss.
saintdev [Sun, 23 Mar 2008 23:54:33 +0000 (23:54 +0000)]
Fix Makefiles for dynamically linked dvdcss.
You can only build dynamically linked dvdcss with make.
If you want static dvdcss use jam.

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

16 years agoUpdate configure to allow dynamic linking on linux.
saintdev [Sun, 23 Mar 2008 23:54:21 +0000 (23:54 +0000)]
Update configure to allow dynamic linking on linux.

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

16 years agoCLI:
jbrjake [Sun, 23 Mar 2008 20:18:08 +0000 (20:18 +0000)]
CLI:
- If title->detected_interlacing is true, mention it in the non-verbose scan output
- Fixes a minor VFR bug that got the filter chain order wrong if other filters than detelecine were applied.

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

16 years ago= Adds an hb_detect_comb() function that indicates whether or not a frame shows inter...
jbrjake [Sun, 23 Mar 2008 19:53:39 +0000 (19:53 +0000)]
= Adds an hb_detect_comb() function that indicates whether or not a frame shows interlacing artifacts.
- Utilitizes that function in scan.c to analyze the preview frames
- Sets a new title->detected_interlacing variable to true if half or more previews show combing, and warns the user in the log.

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

16 years agoMake the configure script argument tests work everywhere
superdump [Sat, 22 Mar 2008 19:22:24 +0000 (19:22 +0000)]
Make the configure script argument tests work everywhere

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

16 years agoRemoves deprecated x264 modes (b13 and b30) from the CLI's help output.
jbrjake [Sat, 22 Mar 2008 14:36:29 +0000 (14:36 +0000)]
Removes deprecated x264 modes (b13 and b30) from the CLI's help output.

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

16 years agoMakes snapshots the default build method for both make and jam. To build a regular...
jbrjake [Sat, 22 Mar 2008 14:33:09 +0000 (14:33 +0000)]
Makes snapshots the default build method for both make and jam. To build a regular release with jam, use "./configure --release". To build a regular release with make, use "make all".

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

16 years agoxvid:
sr55 [Sat, 22 Mar 2008 00:39:29 +0000 (00:39 +0000)]
xvid:
- Updates the xvid nasm patch so that xvid correctly uses CPU optimizations under cygwin.

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

16 years ago"If one would give me six lines written by the hand of the most honest man, I would...
jbrjake [Sat, 22 Mar 2008 00:16:22 +0000 (00:16 +0000)]
"If one would give me six lines written by the hand of the most honest man, I would find something in them to have him hanged."

- Banishes libdvdcss, removing DVD decryption from HandBrake's binaries.
- For decrypttion, the MacGui and Mac CLI now will load at runtime VLC's dynamic library of dvdcss if the media player's available on the user's system.
- Linux users can build with a statically linked lib of dvdcss by using ./configure --libdvdcss, which will download it from a remote third party (videolan.org).

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

16 years agolibswscale accurate rounding is now re-enabled for all arches except x86_64.
saintdev [Fri, 21 Mar 2008 03:06:02 +0000 (03:06 +0000)]
libswscale accurate rounding is now re-enabled for all arches except x86_64.

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

16 years agoReverts r1254, so ffmpeg-in-avi again reports as DivX 5. Giving it the "correct"...
jbrjake [Thu, 20 Mar 2008 16:27:20 +0000 (16:27 +0000)]
Reverts r1254, so ffmpeg-in-avi again reports as DivX 5. Giving it the "correct" codes was a problem for lame Windows media players and didn't help the CrackBerry user who requested it. Moral of the story? Greet user requests with skepticism.

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

16 years agoFix two of my stupid bugs that prevented using the queue with transport streams:
van [Thu, 20 Mar 2008 05:28:36 +0000 (05:28 +0000)]
Fix two of my stupid bugs that prevented using the queue with transport streams:
 - keep a cache of the pid/substream id mappings from each scan rather than assuming an encode will immediately follow a scan (there will be lots of scans followed by lots of encodes when the queue is used).
 - rewrite a few things to get rid of static variables. hb_ts_stream_decode is called by both scan & reader and they're in different threads. All the working storage & state has to either be in the stream struct or on the stack so it's private to the calling thread or it gets corrupted when doing a scan in the middle of an encode.

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

16 years agoTheora.
saintdev [Thu, 20 Mar 2008 02:40:02 +0000 (02:40 +0000)]
Theora.
This adds the theora encoder to the Xcode project as well. It does not enable
anything in the Mac GUI, just allows it to build.

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