OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoWinGui:
sr55 [Sat, 27 Sep 2008 21:46:14 +0000 (21:46 +0000)]
WinGui:
- Improved some of the messagebox error messages. Removed a few redundant error messages.
- the x264 tooltips got lost at some point. They've been re-added. Changed one or 2 other tooltips.

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

15 years agoMacGui: Queue - Fix drag'n drop so that when dragging over an item, it doesn't auto...
dynaflash [Fri, 26 Sep 2008 18:57:38 +0000 (18:57 +0000)]
MacGui: Queue - Fix drag'n drop so that when dragging over an item, it doesn't auto expand.
- Also fix some really hosed up formatting
- Remove the unused moveObjectsInQueueArray method from HBQueueController ( we moved that to Controller.mm back in 1703 but left it "just in case").

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

15 years agoLinGui: move some preset handling to a more appropriate place
jstebbins [Fri, 26 Sep 2008 18:36:51 +0000 (18:36 +0000)]
LinGui: move some preset handling to a more appropriate place

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

15 years agoLinGui: trim both callbacks.c and settings.c. Move code to x264handler
jstebbins [Fri, 26 Sep 2008 18:16:00 +0000 (18:16 +0000)]
LinGui: trim both callbacks.c and settings.c.  Move code to x264handler

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

15 years agoWinGui:
sr55 [Fri, 26 Sep 2008 18:08:21 +0000 (18:08 +0000)]
WinGui:
- Removed VFR option and label.
- Renamed checkboxes as per #1768
- Fixed x264Panel.cs animate bug as per #1765

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

15 years agoNow that the interfaces don't set job->vfr to 1 unless detelecine is enabled, libhb...
jbrjake [Fri, 26 Sep 2008 17:59:04 +0000 (17:59 +0000)]
Now that the interfaces don't set job->vfr to 1 unless detelecine is enabled, libhb doesn't have to make sure the filter is on.

Also adds a sanity check to make sure frames aren't dropped in the AVI container, for those masochstic enough to use the format.

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

15 years agoCLI: Removes --vfr command line option. --detelecine now drops frames by default...
jbrjake [Fri, 26 Sep 2008 17:55:18 +0000 (17:55 +0000)]
CLI: Removes --vfr command line option. --detelecine now drops frames by default. To regress to the old behavior of not dropping duplicate frames in detelecine, and only reweaving them so they're progressive, specify a frame rate ( -r 29.97 would be the one that makes sense). This is because the "Same as source" FPS method employed when the user doesn't specify a framerate is inherently variable, as it passes through the source's frame durations instead of smoothing them to a constant rate.

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

15 years agoLinGui: continue callbacks.c reduction. move audio tab handling to separate
jstebbins [Fri, 26 Sep 2008 16:10:25 +0000 (16:10 +0000)]
LinGui: continue callbacks.c reduction.  move audio tab handling to separate
file.

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

15 years agoLinGui: callbacks.c is getting too big. Separate out queue handling into
jstebbins [Fri, 26 Sep 2008 15:31:56 +0000 (15:31 +0000)]
LinGui: callbacks.c is getting too big.  Separate out queue handling into
new source file.

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

15 years agoLinGui: remove another part of the x264 analyse/direct-pred (non)dependency
jstebbins [Fri, 26 Sep 2008 14:50:52 +0000 (14:50 +0000)]
LinGui: remove another part of the x264 analyse/direct-pred (non)dependency
that I missed.

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

15 years agoLinGui: Ditto
jstebbins [Fri, 26 Sep 2008 14:33:42 +0000 (14:33 +0000)]
LinGui: Ditto
Update labels for the mp4 options in both the main window and the queue readout.
- "64 Bit MP4" -> "Large file size"
- "HTTP Optimized MP4" -> "Web optimized"
- "Insert iPod Atom" -> "iPod 5G support"

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

15 years agoMacGui: Update labels for the mp4 options in both the main window and the queue readout.
dynaflash [Fri, 26 Sep 2008 14:27:08 +0000 (14:27 +0000)]
MacGui: Update labels for the mp4 options in both the main window and the queue readout.
- "64 Bit MP4" -> "Large file size"
- "HTTP Optimized MP4" -> "Web optimized"
- "Insert iPod Atom" -> "iPod 5G support"
Less technical and hopefully more descriptive to the users (one of those rare instances where jbrjake prefers to be less technical) :)

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

15 years agoMacGui: Fix presets when using maximum source picture size and loose anamorphic so...
dynaflash [Fri, 26 Sep 2008 13:52:19 +0000 (13:52 +0000)]
MacGui: Fix presets when using maximum source picture size and loose anamorphic so choosing such a preset sets the width to its full source storage size and properly applies loose anamorphic.

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

15 years agoLinGui: fix del key handling on queue item. Was deleting when any key pressed
jstebbins [Thu, 25 Sep 2008 20:16:35 +0000 (20:16 +0000)]
LinGui: fix del key handling on queue item.  Was deleting when any key pressed

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

15 years agoMacGui:Oops. WTF was I hiding direct prediction in the advanced options based on...
jbrjake [Thu, 25 Sep 2008 20:07:46 +0000 (20:07 +0000)]
MacGui:Oops. WTF was I hiding direct prediction in the advanced options based on what analyse was set to? Thanks for pointing this out, jstebbins.

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

15 years agoLinGui: remove the dependency between direct-pred and analyse
jstebbins [Thu, 25 Sep 2008 19:43:41 +0000 (19:43 +0000)]
LinGui: remove the dependency between direct-pred and analyse

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

15 years agoMacGui: Fixes bug in x264 advanced options tab, that didn't blank out direct predicti...
jbrjake [Thu, 25 Sep 2008 16:42:09 +0000 (16:42 +0000)]
MacGui: Fixes bug in x264 advanced options tab, that didn't blank out direct prediction when b-frames were disabled. Thanks for pointing it out, cvk_b!

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

15 years agoLinGui: Work around a silly treeview formatting bug.
jstebbins [Thu, 25 Sep 2008 16:26:49 +0000 (16:26 +0000)]
LinGui: Work around a silly treeview formatting bug.
If the window hasn't been shown yet, the width request doesn't fully do
it's job and cell formatting gets munged.

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

15 years agoLinGui: Store the activity log in the users config dir instead of PWD.
jstebbins [Thu, 25 Sep 2008 14:38:21 +0000 (14:38 +0000)]
LinGui: Store the activity log in the users config dir instead of PWD.
Display the location of the activity log in the activity window.

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

15 years agoMacGui: Loose Anamorphic - Upon initial selection set the width to the source storage...
dynaflash [Thu, 25 Sep 2008 03:56:52 +0000 (03:56 +0000)]
MacGui: Loose Anamorphic - Upon initial selection set the width to the source storage width.

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

15 years agoLinGui: fix my misunderstanding of faac bitrate capabilities.
jstebbins [Wed, 24 Sep 2008 20:45:35 +0000 (20:45 +0000)]
LinGui: fix my misunderstanding of faac bitrate capabilities.
I wasn't allowing > 160kbps even for 6ch.

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

15 years agoSets the default QP of deblock to 5 instead of 0. This way the filter actually does...
jbrjake [Wed, 24 Sep 2008 20:00:28 +0000 (20:00 +0000)]
Sets the default QP of deblock to 5 instead of 0. This way the filter actually does something when called without an option string besides copying input to output.

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

15 years agoLinGui: Add filters line to queue description. Improve framerate description
jstebbins [Wed, 24 Sep 2008 17:55:01 +0000 (17:55 +0000)]
LinGui: Add filters line to queue description.  Improve framerate description

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

15 years agoMacGui: Make the Deblock slider continuous so it reads out the values as you slide...
dynaflash [Wed, 24 Sep 2008 17:35:26 +0000 (17:35 +0000)]
MacGui: Make the Deblock slider continuous so it reads out the values as you slide it so that realityking's head doesn't explode. :)

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

15 years agoMacGui: Queue display - fix display of deinterlace modes
dynaflash [Wed, 24 Sep 2008 17:27:16 +0000 (17:27 +0000)]
MacGui: Queue display - fix display of deinterlace modes

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

15 years agoMacGui: queue - add the file output name to the first title line in the queue, and...
dynaflash [Wed, 24 Sep 2008 17:04:01 +0000 (17:04 +0000)]
MacGui: queue - add the file output name to the first title line in the queue, and make the framerate chosen more descriptive.
- Output names makes it easier to distinguish multiple encodes from the same source when the item is collapsed in the queue.
- Include info on constant frame rate and vfr detelecine in the video section.

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

15 years agoLinGui: vfr checkbox is toast.
jstebbins [Wed, 24 Sep 2008 15:26:05 +0000 (15:26 +0000)]
LinGui: vfr checkbox is toast.
detelecine && same-as-source now triggers vfr

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

15 years agoMacGui: Remove the VFR checkbox in the Picture Settings window.
dynaflash [Wed, 24 Sep 2008 15:25:39 +0000 (15:25 +0000)]
MacGui: Remove the VFR checkbox in the Picture Settings window.
- Use vfr if the framerate popup is "Same as source" and Detelecine is checked in Picture Settings.
- Otherwise framerate works as in the past.

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

15 years agoMacGui: update the deblock filter setting display in the queue.
dynaflash [Tue, 23 Sep 2008 19:58:39 +0000 (19:58 +0000)]
MacGui: update the deblock filter setting display in the queue.

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

15 years agoMacGui: implement a slider for deblock.
dynaflash [Tue, 23 Sep 2008 17:33:40 +0000 (17:33 +0000)]
MacGui: implement a slider for deblock.
- Slider goes from "Off"  and then ranges from 5-15.
- Update preset code to handle the old bool for deblock where we convert "yes" to a value of 5.
- Note: though the deblock filter actually has a setting of 0, for the macgui we use an integer of 0, which shows up in the interface as "Off" to indicate not to load the filter at all. Made presets etc, easier to modify.

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

15 years agoWinGui:
sr55 [Tue, 23 Sep 2008 15:48:56 +0000 (15:48 +0000)]
WinGui:
- Deblock Slider now displays "Off" and scales from 5 to 15

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

15 years agoLinGui: refine deblock slider. now shows "Off" and values 5-15.
jstebbins [Tue, 23 Sep 2008 15:40:53 +0000 (15:40 +0000)]
LinGui: refine deblock slider.  now shows "Off" and values 5-15.

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

15 years agoLinGui: Add progress info to queue window
jstebbins [Tue, 23 Sep 2008 14:41:20 +0000 (14:41 +0000)]
LinGui: Add progress info to queue window

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

15 years agoMacGui: upon reloading a previous queue at launch, open up the queue window.
dynaflash [Tue, 23 Sep 2008 14:33:32 +0000 (14:33 +0000)]
MacGui: upon reloading a previous queue at launch, open up the queue window.

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

15 years agoMacGui: When reloading a previous queue at launch, as well as pending encodes also...
dynaflash [Tue, 23 Sep 2008 14:27:30 +0000 (14:27 +0000)]
MacGui: When reloading a previous queue at launch,  as well as pending encodes also reload a queue item marked previously as "encoding" if it exists.
- An item marked as encoding in the qeueu at launch  indicates that either we crashed during that encode, or that the user shut down during that encode.
- If the user chooses to reload, we change the status back to pending. Note: the encode will be at the top of the queue after launch.
- Change the queue reload alert window to tell the user how many pending jobs they have as well as if there was an encoding job.

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

15 years agoMacGui: Re-enable deleting encodes with the delete key if hilighted.
dynaflash [Mon, 22 Sep 2008 17:46:32 +0000 (17:46 +0000)]
MacGui: Re-enable deleting encodes with the delete key if hilighted.
- Currently one at a time, multiple selections are shut off for queue sync reasons .
- Note: To delete a finished encode, click on it and hit your delete key ( since the action icon is an "open file in finder" magnifying glass) as this is the only way currently to delete a finished encode.

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

15 years agoMacGui: Fix sleep/shutdown warning so it only comes up once right when starting encod...
dynaflash [Mon, 22 Sep 2008 15:29:09 +0000 (15:29 +0000)]
MacGui: Fix sleep/shutdown warning so it only comes up once right when starting encoding instead of every time the queue starts the next encode.

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

15 years agoMacGui: Add encoding status readout to the queue window
dynaflash [Mon, 22 Sep 2008 14:44:13 +0000 (14:44 +0000)]
MacGui: Add encoding status readout to the queue window
- is fed info from controller.mm instead of the old setup which had another NSTimer polling libhb just for the queue.

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

15 years agoLinGui: delete key now deletes items in the queue
jstebbins [Sun, 21 Sep 2008 20:08:07 +0000 (20:08 +0000)]
LinGui: delete key now deletes items in the queue

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

15 years agoCygwin:
sr55 [Sun, 21 Sep 2008 19:16:40 +0000 (19:16 +0000)]
Cygwin:
- We compile libz but don't actually link it in on cygwin. This is fixed.
- Added bzip2 lib which means we can get rid of another cygwin dll.

These are cygwin only so have no affect on any other platform.

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

15 years agoMacGui: End of encode/queue alerts and actions changes
dynaflash [Sun, 21 Sep 2008 04:40:09 +0000 (04:40 +0000)]
MacGui: End of encode/queue alerts and actions changes
- Growl alerts and "Send to MetaX" actions occur as each encode comes finishes in the queue.
- The standard alert window, computer sleep and computer shutdown all occur at the end of encoding the entire queue, specifically when the encoding is done, and there aren't any other pending encodes to process.

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

15 years agoMacGui: upon launch, if pending items are still in the queue, if you choose to reload...
dynaflash [Sun, 21 Sep 2008 03:52:31 +0000 (03:52 +0000)]
MacGui: upon launch, if pending items are still in the queue, if you choose to reload them, you are not presented with the browse source window.

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

15 years agoMacGui: now requires vlc 0.9.xx to read protected dvd's in the users /Applications...
dynaflash [Sat, 20 Sep 2008 21:29:53 +0000 (21:29 +0000)]
MacGui: now requires vlc 0.9.xx to read protected dvd's in the users /Applications folder

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

15 years agoWinGui:
sr55 [Sat, 20 Sep 2008 16:28:28 +0000 (16:28 +0000)]
WinGui:
- Removed Red Background colour on chapter selection dropdown menus. This is no longer needed.
- Prevent the user from selecting an invalid combination of Chapters. e.g 12-5. Dropdowns now have the same behaviour as the macgui.
- Fixed Start/Stop Tooltips on the mainwindow

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

15 years agoWinGui:
sr55 [Sat, 20 Sep 2008 15:11:23 +0000 (15:11 +0000)]
WinGui:
- User presets and built in presets are now show in seperate colours. User preset's are shown in black and built in are blue.
- Added cancel button to add preset.
- Removed File Menu > Import. This is not required. Users can import old .hb files as text into the query editor if need be.
- Adding a new user preset no longer stores Title and file input/output information. While these were never used, it's a waste of space storing them in the user presets file.
- Added a comfirm dialog for removing presets.

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

15 years agoLinGui: improve the precision of the scaling of the preview image for display
jstebbins [Sat, 20 Sep 2008 01:26:14 +0000 (01:26 +0000)]
LinGui: improve the precision of the scaling of the preview image for display
small round off error caused the display to not visibly change for
every incremental change in the width control.

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

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 21:37:32 +0000 (21:37 +0000)]
WinGui:
- Fix: Small issue with Queue Recovery feature. Encoded files were not removed from the recovery file.

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

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 17:10:21 +0000 (17:10 +0000)]
WinGui:
- Fixed bug. --markers wasn't detected with user presets, only -m worked.

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

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 16:50:52 +0000 (16:50 +0000)]
WinGui:
- Just allow ISO_Open to open all files. Will save adding all the ffmpeg options available.
- Re-factored the chapter marker creation/query generation code.

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

15 years agoMacGui: Custom chapter names restored (borked in 1703)
dynaflash [Fri, 19 Sep 2008 14:55:38 +0000 (14:55 +0000)]
MacGui: Custom chapter names restored (borked in 1703)
- The chapter names are now stored in the queue as the key "ChapterNames" which has an array of names as its value and are re-applied to the job when the queue goes to that encode if applicable.
- As with all things, should save some work if you use a lot of custom chapter names and you have to shut down during a long queue encode and restart later.

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

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 14:09:52 +0000 (14:09 +0000)]
WinGui:
- Updated for x264's new default subme of 6. Remember to update your built-in presets!

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

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 14:07:46 +0000 (14:07 +0000)]
WinGui:
- Patch from canvas :- use format dropdown value for extension with the autoName function. Typo fix and add's the .m2ts file extension to the file open dialog box.
- Fix in calculateDuration, don't crash if start chapter > end chapter.

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

15 years agoSpit out the average encoding speed in the verbose log at the end of a job.
jbrjake [Fri, 19 Sep 2008 14:02:13 +0000 (14:02 +0000)]
Spit out the average encoding speed in the verbose log at the end of a job.

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

15 years agoCLI: Synchronizes presets with the MacGui, following x264's switch to subme 6 as...
jbrjake [Fri, 19 Sep 2008 13:49:59 +0000 (13:49 +0000)]
CLI: Synchronizes presets with the MacGui, following x264's switch to subme 6 as default.

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

15 years agoBrings MacGui in line with x264's new default subme of 6. Remember to update your...
jbrjake [Fri, 19 Sep 2008 13:49:13 +0000 (13:49 +0000)]
Brings MacGui in line with x264's new default subme of 6. Remember to update your built-in presets!

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

15 years agoBring libhb in line with x264's new default subme level of 6.
jbrjake [Fri, 19 Sep 2008 13:48:02 +0000 (13:48 +0000)]
Bring libhb in line with x264's new default subme level of 6.

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

15 years agoBumps x264 to r979-6d4af9d, bringing Psy-RDO and Psy-Trellis to HandBrake.
jbrjake [Fri, 19 Sep 2008 13:47:08 +0000 (13:47 +0000)]
Bumps x264 to r979-6d4af9d, bringing Psy-RDO and Psy-Trellis to HandBrake.

Note: since the last x264 bump, they have changed the way CRF works. Throw out everything you thought you knew about the output bitrate for a given quality level.

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

15 years agoMacGui and MacCli: Sets the Xcode project's Deployment target to use GCC optimization...
jbrjake [Fri, 19 Sep 2008 13:36:23 +0000 (13:36 +0000)]
MacGui and MacCli: Sets the Xcode project's Deployment target to use GCC optimization level 3 instead of S, optimizing for speed instead of speed and size.

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

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 06:30:57 +0000 (06:30 +0000)]
WinGui:
- Forgot to remove a line of code used for debugging.

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

15 years agoThreaded decomb filter. Folds in eddyg's threaded yadif from r1628 and also analyzes...
jbrjake [Fri, 19 Sep 2008 00:29:55 +0000 (00:29 +0000)]
Threaded decomb filter. Folds in eddyg's threaded yadif from r1628 and also analyzes cpu-count segments of the frame in parallel when generating the combing mask used to decide which frames to send to yadif.

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

15 years agoLinGui: tidy up how combobox values are handled internally and stored in plists
jstebbins [Fri, 19 Sep 2008 00:19:46 +0000 (00:19 +0000)]
LinGui: tidy up how combobox values are handled internally and stored in plists
fix a problem with storing max picture dims to presets plist

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

15 years agoMacGui: "Stop" command modifications
dynaflash [Thu, 18 Sep 2008 18:54:31 +0000 (18:54 +0000)]
MacGui: "Stop" command modifications
- Clicking on the "stop" icon in the toolbar now produces a different alert window with three choices
- " Continue Encoding " default, just dismisses the window and continues on its merry way.
- " Cancel Current and Stop " Cancels the current encode and stops the queue
- " Cancel Current and Continue " Cancels the current encode and moves to the next pending encode (if there is one).

- Also fixed an issue with deleting a canceled encode at the top of the queue list.

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

15 years agoWinGui:
sr55 [Thu, 18 Sep 2008 16:51:49 +0000 (16:51 +0000)]
WinGui:
- Couple of bug fixes. Crop, -f option, typo

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

15 years agoMacGui: Queue allow proper deleting of encoding queue items and proper deleting of...
dynaflash [Thu, 18 Sep 2008 16:11:12 +0000 (16:11 +0000)]
MacGui: Queue allow proper deleting of encoding queue items and proper deleting of previously cancelled items. Also fixed Pause.

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

15 years agoMacGui: Fix issue from 1703 where once done doing at least one encode, all subsequent...
dynaflash [Thu, 18 Sep 2008 14:38:31 +0000 (14:38 +0000)]
MacGui: Fix issue from 1703 where once done doing at least one encode, all subsequent jobs would require that you add to queue first, then hit start.
- Now, even after encoding a queue is finished, you can just hit "Start" to add the currently loaded job in the GUI to the queue and start encoding right away.

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

15 years agoMacGui: fix turbo two pass (thanks beelsebob and jkint for help troubleshooting it )
dynaflash [Wed, 17 Sep 2008 19:02:49 +0000 (19:02 +0000)]
MacGui: fix turbo two pass (thanks beelsebob and jkint for help troubleshooting it )
- also added a few more debugging messages to prepareJob until things cool down a bit.

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

15 years agoMacGui: Add some temporary activity log messages to try to debug the new queue
dynaflash [Wed, 17 Sep 2008 18:34:08 +0000 (18:34 +0000)]
MacGui: Add some temporary activity log messages to try to debug the new queue
- with any luck I can get rid of these down the road

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

15 years agoFilter timestamps to prevent missing/incorrect Transport Stream PCRs messing up A...
van [Wed, 17 Sep 2008 17:06:38 +0000 (17:06 +0000)]
Filter timestamps to prevent missing/incorrect Transport Stream PCRs messing up A/V sync.

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

15 years agoMacGui: Fix crash when selecting between target size and abr.
dynaflash [Wed, 17 Sep 2008 17:01:14 +0000 (17:01 +0000)]
MacGui: Fix crash when selecting between target size and abr.
- calculateBitrate shouldn't need nor can it any longer use prepareJob
- should still verify proper calcs for target bitrate and abr, but better not to crash.

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

15 years agoLinGui: prevent entering bitrates above 160 for faac
jstebbins [Wed, 17 Sep 2008 15:46:10 +0000 (15:46 +0000)]
LinGui: prevent entering bitrates above 160 for faac

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

15 years agoWinGui:
sr55 [Wed, 17 Sep 2008 15:17:12 +0000 (15:17 +0000)]
WinGui:
- Possible fix in the Query Parser for the line "+ combing detected, may be interlaced or telecined" causing the parser to skip titles.

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

15 years agoMacGui: fix chapter markers which were borked in 1703
dynaflash [Wed, 17 Sep 2008 15:04:04 +0000 (15:04 +0000)]
MacGui: fix chapter markers which were borked in 1703
-Note: this only fixed adding chapter markers. Custom chapter names are *not* fixed, if chapter markers checkbox is checked you will currently get 001, 002, etc. etc. for chapter names.

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

15 years agoMacGui: Fix subtitle scan which I broke in 1703
dynaflash [Wed, 17 Sep 2008 14:24:41 +0000 (14:24 +0000)]
MacGui: Fix subtitle scan which I broke in 1703
- clean up some extra activity log messages
-NOTE: As of this time chapter markers are still broken.

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

15 years agoLinGui: Add mp4 options to queue description
jstebbins [Wed, 17 Sep 2008 00:03:01 +0000 (00:03 +0000)]
LinGui: Add mp4 options to queue description
fix a problem with audio bitrate and sample rate after reloading queue

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

15 years agoBug fix to r1691: had the offsets for PTS & DTS reversed so we were trying to grab...
van [Tue, 16 Sep 2008 21:53:56 +0000 (21:53 +0000)]
Bug fix to r1691: had the offsets for PTS & DTS reversed so we were trying to grab a DTS when there wasn't one.

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

15 years agoAnother bug fix in the per-stream timing code: If the clock reference changes on...
van [Tue, 16 Sep 2008 21:31:46 +0000 (21:31 +0000)]
Another bug fix in the per-stream timing code: If the clock reference changes on the first buffer of a stream we haven't seen before we don't have the history we need to compute a clock offset & need to wait for a stream we've been tracking.

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

15 years agoMacGui: Resilient Queue: Initial Implementation
dynaflash [Tue, 16 Sep 2008 20:57:13 +0000 (20:57 +0000)]
MacGui: Resilient Queue: Initial Implementation
- Completely overhauls how encodes are setup by the MacGui
- All encodes are now stored in an NSMutableArray (QueueFileArray) and saved in a plist (~/Library/Application Support/HandBrake/Queue.plist)
- A separate instance of libhb (fQueueEncodeLibhb) is used for queue processing (includes single encodes)
- fHandle still takes care of all user intiated scans and encode parameters
- libhb now only stores multiple passes for a single encode instead of storing the entire queue
- If HB crashes, or if you stop encoding while there are still pending encodes in your queue, upon next launch you will be prompted to reload the previous queue from the Queue.plist
- Removed the current encoding information at the top of the queue window to make room for a larger list as I thought it to be redundant
- The queue list is now re-arrangeable via drag-n-drop (pending encodes only)
- Known issues and bugs:
-- If you delete a previously cancelled encode then try to restart with a new encode, nothing happens. Throw off the sync of the currently encoding job.
-- Probably alot more since its a total overhaul of how the MacGui has handled encoding since titer originally wrote it :)

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

15 years agoWinGui:
sr55 [Tue, 16 Sep 2008 11:30:30 +0000 (11:30 +0000)]
WinGui:
- Fixed a number of incorrect tooltips and text labels.
- Moved the deblock control again, see if I can't completely avoid it overlapping another control.

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

15 years agoLinGui: update queue descriptions to match what joe is doing in the mac gui
jstebbins [Mon, 15 Sep 2008 21:24:35 +0000 (21:24 +0000)]
LinGui: update queue descriptions to match what joe is doing in the mac gui
had to make queue window a little wider to accomidate.

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

15 years agoFix a couple problem exposed through some valgrind testing. use of freed
jstebbins [Mon, 15 Sep 2008 15:01:08 +0000 (15:01 +0000)]
Fix a couple problem exposed through some valgrind testing.  use of freed
memory in detelecine and use of uninitialized memory in decmpeg2

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

15 years agoIf we always sort timestamps we can't detect & correct misordering caused by an SCR...
van [Mon, 15 Sep 2008 06:51:18 +0000 (06:51 +0000)]
If we always sort timestamps we can't detect & correct misordering caused by an SCR discontinuity. So only sort timestamps on streams that could have been broken by Microsoft (ffmpeg avi, wmv, mkv & mp4) and leave mpeg PS, TS & M2TS steams alone.

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

15 years agoThe difference of two timestamps referenced to different clocks is a random number...
van [Mon, 15 Sep 2008 06:44:56 +0000 (06:44 +0000)]
The difference of two timestamps referenced to different clocks is a random number & not useful input to the average frame size computation. This major brain-o would occasionally cause huge average frame times which, when later used to compute the SCR correction, would result in large gaps in the audio and/or video streams. Fixed by always computing the average frame size from the scr-corrected timestamps.

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

15 years agoWinGui:
sr55 [Sun, 14 Sep 2008 20:50:55 +0000 (20:50 +0000)]
WinGui:
- Fix: Cropping setting incorrectly set if --crop 0:0:0:0 is used in a preset.

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

15 years agoWinGui:
sr55 [Sun, 14 Sep 2008 16:54:19 +0000 (16:54 +0000)]
WinGui:
- Delete key can now be used to delete presets & queue items.
- Queued items now have job id's. this isn't used for anything yet, however will be useful for editing current queue items.
- Moved batch script code to Queue.cs

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

15 years agoLinGui: refine the drop zone for queue drag n drop. now it only highlights
jstebbins [Sun, 14 Sep 2008 15:52:55 +0000 (15:52 +0000)]
LinGui: refine the drop zone for queue drag n drop.  now it only highlights
the zone between rows.

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

15 years agoWinGui:
sr55 [Sun, 14 Sep 2008 14:15:11 +0000 (14:15 +0000)]
WinGui:
- Removed invalid tooltip text from Size -> Source label.
- Moved deblock slider up a few px. The control has a horrible amount of uncontrollable padding which may overlap the de interlace control in some cases.

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

15 years agoLinGui: Add queue drag n drop reordering
jstebbins [Sat, 13 Sep 2008 20:04:28 +0000 (20:04 +0000)]
LinGui: Add queue drag n drop reordering
Also add option to add chapter numbers to auto-generated destination name

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

15 years agoLinGui: fix another memory leak
jstebbins [Fri, 12 Sep 2008 17:20:37 +0000 (17:20 +0000)]
LinGui: fix another memory leak

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

15 years agoHD Home Run seems to strip the PCR from some streams (which makes HB refuse to proces...
van [Fri, 12 Sep 2008 05:37:56 +0000 (05:37 +0000)]
HD Home Run seems to strip the PCR from some streams (which makes HB refuse to process them) so use the video stream DTS as a substitute until the first real PCR appears.

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

15 years agoWinGui:
sr55 [Thu, 11 Sep 2008 21:34:05 +0000 (21:34 +0000)]
WinGui:
- Slider control for deblock.
- Fix: Load normal preset if userdefault setting string is empty.

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

15 years agoLinGui: change deblock control to a slider to set deblock strength
jstebbins [Thu, 11 Sep 2008 16:12:31 +0000 (16:12 +0000)]
LinGui: change deblock control to a slider to set deblock strength
also clean up some resource handling. delete several depricated files.

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

15 years agocheck return value of opendir in hb_close. hb_close was segfaulting when
jstebbins [Thu, 11 Sep 2008 16:04:21 +0000 (16:04 +0000)]
check return value of opendir in hb_close. hb_close was segfaulting when
called a second time to close a second instance of libhb.

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

15 years agoVarious fixes for ffmpeg input files (mp4, avi, mkv, etc.):
van [Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)]
Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):
 - always use source time stamps (HB vfr mpeg4 files now handled correctly)
 - handle Microsoft's braindead "VFW packed b-frames"
 - compute average video frame rate from total duration & number of frames (ignore ffmpeg's frame rate which is closer to a max f.r. for vfr video).
 - workaround an ffmpeg audio decode abort when it used SSE instructions on unaligned buffers.

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

15 years agoWinGui:
sr55 [Wed, 10 Sep 2008 11:16:21 +0000 (11:16 +0000)]
WinGui:
- New option to allow the user to enter which format they wish the autoName function to use.

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

15 years agoLinGui: consolidate all resources into one stringified plist file that gets
jstebbins [Tue, 9 Sep 2008 23:14:28 +0000 (23:14 +0000)]
LinGui: consolidate all resources into one stringified plist file that gets
compiled in.  icons and everyting all rolled up into one ball-o-wax.
hehe, plists are cool

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

15 years agoWinGui:
sr55 [Tue, 9 Sep 2008 19:01:38 +0000 (19:01 +0000)]
WinGui:
- Fixed Crop values not set on title change.
as per: http://forum.handbrake.fr/viewtopic.php?f=12&t=7050

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

15 years agoWinGui:
sr55 [Tue, 9 Sep 2008 17:31:44 +0000 (17:31 +0000)]
WinGui:
- Fix in CalculateDuration. Crash caused by end chapter dropdown menu not getting re-populated before calculate duration run. See:
http://forum.handbrake.fr/viewtopic.php?f=12&t=7050

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

15 years agoWinGui:
sr55 [Tue, 9 Sep 2008 16:48:33 +0000 (16:48 +0000)]
WinGui:
- Allow users to manually import / export the queue.

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

15 years agoCLI: exit rather than continue when invalid input audio tracks are selected.
eddyg [Tue, 9 Sep 2008 02:34:57 +0000 (02:34 +0000)]
CLI: exit rather than continue when invalid input audio tracks are selected.

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

15 years agoLinGui: internalize the UI description xml file. That's the last external
jstebbins [Mon, 8 Sep 2008 23:44:13 +0000 (23:44 +0000)]
LinGui: internalize the UI description xml file.  That's the last external
file that was neccessary.  The ghb binary can now stand on its own without
external resource files.  The makefile still installs a couple extra files
that adds HandBrake to the users "Sound & Video" menu.

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