OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoLinGui: Remove restriction on ac3 passthru when mp4 http optimize is enabled.
jstebbins [Sun, 2 Nov 2008 15:44:35 +0000 (15:44 +0000)]
LinGui: Remove restriction on ac3 passthru when mp4 http optimize is enabled.
These are no longer incompatible options.

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

15 years agoLinGui: fix problem with preset import translation when they the standard
jstebbins [Sat, 1 Nov 2008 22:38:37 +0000 (22:38 +0000)]
LinGui: fix problem with preset import translation when they the standard
presets are loaded for the first time

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

15 years agoLinGui: fix warnings about obsolete usage of spinbutton page_size property
jstebbins [Sat, 1 Nov 2008 21:48:03 +0000 (21:48 +0000)]
LinGui: fix warnings about obsolete usage of spinbutton page_size property

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

15 years agoLinGui: silence a new warning message on ubuntu 8.10
jstebbins [Sat, 1 Nov 2008 21:31:33 +0000 (21:31 +0000)]
LinGui: silence a new warning message on ubuntu 8.10

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

15 years agoBumps libmp4v2 to r43, which fixes MP4Optimize.
jbrjake [Sat, 1 Nov 2008 20:33:34 +0000 (20:33 +0000)]
Bumps libmp4v2 to r43, which fixes MP4Optimize.

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

15 years agoMinor tweaks the job config display for the COLR atom: only show when not using a...
jbrjake [Sat, 1 Nov 2008 15:32:37 +0000 (15:32 +0000)]
Minor tweaks the job config display for the COLR atom: only show when not using a default value, display with the name "color matrix" instead of "color space" to avoid confusion with conversions to YUV420 planar color space, and appear with the other container settings instead of video settings.

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

15 years agoLinGui: purge old activity logs that are older than 1 week
jstebbins [Fri, 31 Oct 2008 23:29:38 +0000 (23:29 +0000)]
LinGui: purge old activity logs that are older than 1 week
this only applies to logs stored in the users config dir
logs that are stored in the movies destination directory are never purged

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

15 years agoLinGui: Activity Logs for individual encodes
jstebbins [Fri, 31 Oct 2008 18:03:24 +0000 (18:03 +0000)]
LinGui: Activity Logs for individual encodes
- Individual activity logs are saved in the file format
  "YYYY-MM-DD HH-MM-SS mymoviename.log".
- Default directory is <user config idr>/ghb/EncodeLogs
  (usually ~/.config/ghb/EncodeLogs)
- Preference available to alternatively put them in the users output
  movie directory with the output movie (by default set to "off").

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

15 years agoWinGui:
sr55 [Thu, 30 Oct 2008 23:48:35 +0000 (23:48 +0000)]
WinGui:
- Improved the code which remembers the expanded/collapsed states of each treeview node (presets bar)

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

15 years agoWinGui:
sr55 [Thu, 30 Oct 2008 22:34:13 +0000 (22:34 +0000)]
WinGui:
- Simple right click context menu for the activity window. Allows users to copy text.

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

15 years agoMacGui: Add the preset used log message back in
dynaflash [Thu, 30 Oct 2008 22:32:18 +0000 (22:32 +0000)]
MacGui: Add the preset used log message back in
- I think I borked it with the new queue processing.

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

15 years agoWinGui:
sr55 [Thu, 30 Oct 2008 21:15:28 +0000 (21:15 +0000)]
WinGui:
- Activity logs for individual encodes can now be saved either:
  +  With the encoded file
  +  or to a a directory which is configured from options.

Log file format: "YYYY-MM-DD HH-MM-SS {Destination File Name}.txt"
Feature is disabled by default

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

15 years agoLinGui: add handbrake version and preset used to activity log
jstebbins [Thu, 30 Oct 2008 18:58:16 +0000 (18:58 +0000)]
LinGui: add handbrake version and preset used to activity log

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

15 years agoMacGui: Acivity Logs for individual encodes initial implementation
dynaflash [Thu, 30 Oct 2008 18:11:58 +0000 (18:11 +0000)]
MacGui: Acivity Logs for individual encodes initial implementation
- Individual activity logs are saved in the file format "YYYY-MM-DD HH-MM-SS mymoviename.txt".
- Default directory is "~/Library/Application Support/HandBrake/EncodeLogs/".
- Advanced preference available to alternatively put them in the users output movie directory with the output movie (by default set to "off").
- Renamed the existing contextual menu items for the Activity Window to better reflect choices (function remains the same) as follows:
-- "Copy All Output" -> "Copy Window Contents".
-- "Clear Output" -> "Clear Window Contents".
-- "Open Log File" -> "Open Log File For This Session".
-- "Clear Log File" -> "Clear Log File For This Session".
- Added "Open Individual Log File Directory" to the Activity Window contextual menu to open this directory with the Finder
- Also commented out some macgui based activity log messages that were used to troubleshoot the new queue.
- Note: the individual activity logs are in addition to the existing session based activity log. If you do a scan of a new source during encoding, the new source scan log messages will be intermixed with the encode log messages as I have no clue how to separate stderr/stdout based on which instance of libhb is sending the messages.

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

15 years agoFix for mpeg content that changes size in the middle of a decode (such as Doctor...
van [Thu, 30 Oct 2008 05:38:36 +0000 (05:38 +0000)]
Fix for mpeg content that changes size in the middle of a decode (such as Doctor Who season 1 disc 2 title 4).
Problem reported in http://forum.handbrake.fr/viewtopic.php?f=4&t=4306

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

15 years agoETSI TS 102 366 V1.2.1 compliant AC3 in MP4, replaces older hacked version that was...
eddyg [Wed, 29 Oct 2008 21:22:53 +0000 (21:22 +0000)]
ETSI TS 102 366 V1.2.1 compliant AC3 in MP4, replaces older hacked version that was hardcoding the AC3 stream information in the dac3 atom based on the AppleTV startup movie stream.

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

15 years agoLinGui: fix a stupid error in calculating picture scaling
jstebbins [Wed, 29 Oct 2008 16:07:48 +0000 (16:07 +0000)]
LinGui: fix a stupid error in calculating picture scaling

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

15 years agoLinGui: When reloading standard presets, be sure to clear the standard default
jstebbins [Tue, 28 Oct 2008 21:02:51 +0000 (21:02 +0000)]
LinGui: When reloading standard presets, be sure to clear the standard default
if one of the users custom presets is marked as the current default

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

15 years agoLinGui: sync presets with macui
jstebbins [Mon, 27 Oct 2008 23:30:15 +0000 (23:30 +0000)]
LinGui: sync presets with macui

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

15 years agoMakes sure curl (used to get contrib code in OS X) does not load a user's .curlrc...
jbrjake [Mon, 27 Oct 2008 23:29:19 +0000 (23:29 +0000)]
Makes sure curl (used to get contrib code in OS X) does not load a user's .curlrc settings. Thanks, preaction!

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

15 years agoMacGui and CLI: Minor preset tweaks, brings Universal down to subme 6 and pushes...
jbrjake [Mon, 27 Oct 2008 23:25:34 +0000 (23:25 +0000)]
MacGui and CLI: Minor preset tweaks, brings Universal down to subme 6 and pushes Xbox up to subme 9.

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

15 years agoCLI: Don't barf on OS X when someone gives a proper BSD path to begin with. (Thanks...
jbrjake [Mon, 27 Oct 2008 23:08:52 +0000 (23:08 +0000)]
CLI: Don't barf on OS X when someone gives a proper BSD path to begin with. (Thanks KonaBlend!)

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

15 years agoMacGui: Queue - Add the estimated bitrate to the queue display when displaying target...
dynaflash [Mon, 27 Oct 2008 14:57:19 +0000 (14:57 +0000)]
MacGui: Queue - Add the estimated bitrate to the queue display when displaying target size info.

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

15 years agoWinGui:
sr55 [Sun, 26 Oct 2008 22:19:34 +0000 (22:19 +0000)]
WinGui:
- Temporary hack to remember top level preset nodes expanded status.

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

15 years agoWinGui:
sr55 [Sun, 26 Oct 2008 21:57:22 +0000 (21:57 +0000)]
WinGui:
- Nested presets right click delete now works correctly if a preset wasn't selected before clicking delete.

buggy but "probably" good enough for some user feedback

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

15 years agoLinGui: fix a problem with setting proper picture dimensions when title changed
jstebbins [Sun, 26 Oct 2008 21:01:38 +0000 (21:01 +0000)]
LinGui: fix a problem with setting proper picture dimensions when title changed

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

15 years agoGet rid of the black frame & long silence at the beginning of avi & wmv files that...
van [Sun, 26 Oct 2008 03:45:51 +0000 (03:45 +0000)]
Get rid of the black frame & long silence at the beginning of avi & wmv files that have a non-zero 'start' specified in their header.

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

15 years agoIf an input uses a different color space than YUV420 (for example DV video uses YUV41...
van [Sun, 26 Oct 2008 03:33:29 +0000 (03:33 +0000)]
If an input uses a different color space than YUV420 (for example DV video uses YUV411) convert it to YUV420. Also, scale down inputs that have an odd width or height since h.264 requires that the width and height be even.

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

15 years agoWinGui:
sr55 [Sat, 25 Oct 2008 20:36:04 +0000 (20:36 +0000)]
WinGui:
- Nested Presets bar (Built-in presets only)
- Both user and built-in presets are now stored in XML files
- Preset bar now has right-click menu with: Expand All, Collapse All and Delete

Known Issues:
- When a preset is removed, all items in the preset bar with child presets are collapsed.
- Right Click menu only works if the preset was selected before right clicking.

Code is probably a bit buggy so all feedback on this new bar is welcome.

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

15 years agoMacGui: Fix Target Size mode for Video Quality.
dynaflash [Fri, 24 Oct 2008 15:43:55 +0000 (15:43 +0000)]
MacGui: Fix Target Size mode for Video Quality.
- Moved appropriate functions that used to be in prepareJob (pre resilient queue) into -calculateBitrate
- Added calls to -calculateBitrate when the format, audio tracks or chapters change.

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

15 years agoWinGui:
sr55 [Thu, 23 Oct 2008 21:01:24 +0000 (21:01 +0000)]
WinGui:
- Hack to fix a bug introduced in 1819. Level 1 verbose caused an arithmetic error with sr.Peek().

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

15 years agoAdded support for extracting the audio and subtitle types and adding those to the...
eddyg [Thu, 23 Oct 2008 19:23:35 +0000 (19:23 +0000)]
Added support for extracting the audio and subtitle types and adding those to the audio and subtitle names, e.g. Director's Commentary.

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

15 years agoThis should fix the flickering line bugs with deinterlace and decomb. Yadif needs...
jbrjake [Thu, 23 Oct 2008 18:12:02 +0000 (18:12 +0000)]
This should fix the flickering line bugs with deinterlace and decomb. Yadif needs the edges mirrored, and decomb's cubic interpolation has to be disabled at the tops and bottoms of frames.

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

15 years agoA few minutes have passed, which must mean it's time for another libmp4v2 bump. This...
jbrjake [Wed, 22 Oct 2008 22:20:11 +0000 (22:20 +0000)]
A few minutes have passed, which must mean it's time for another libmp4v2 bump. This one fixes building in Cygwin.

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

15 years agoScripts: adds manicure support for constant fps of 25 and subtitle autoselect (thanks...
jbrjake [Wed, 22 Oct 2008 21:59:42 +0000 (21:59 +0000)]
Scripts: adds manicure support for constant fps of 25 and subtitle autoselect (thanks, cvk_b!)

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

15 years agoBumps libmp4v2 to r36, which fixes the problem with QuickTime reading non-H.264 video...
jbrjake [Wed, 22 Oct 2008 21:39:28 +0000 (21:39 +0000)]
Bumps libmp4v2 to r36, which fixes the problem with QuickTime reading non-H.264 video, and also features a snazzy new layout and build routine thanks to KonaBlend (which necessitated a minor change to the include path for muxmp4.c).

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

15 years agoWinGui:
sr55 [Wed, 22 Oct 2008 15:59:05 +0000 (15:59 +0000)]
WinGui:
- Updated to read the new preset-list output format. Nested presets support code will come later.

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

15 years agoCLI: first try at nested presets *fingers crossed*
jbrjake [Wed, 22 Oct 2008 15:26:00 +0000 (15:26 +0000)]
CLI: first try at nested presets *fingers crossed*

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

15 years agoScripts: massive update to manicure.rb, which now requires the 'plist' ruby gem to...
jbrjake [Wed, 22 Oct 2008 15:25:20 +0000 (15:25 +0000)]
Scripts: massive update to manicure.rb, which now requires the 'plist' ruby gem to function. It now understands nested presets, reads cropping and loose anamorphic, and uses maxwidth and maxheight instead of width and height, among other changes.

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

15 years agoMacGui: Removes largeFileSize from the Universal preset since the Nano can't play...
jbrjake [Wed, 22 Oct 2008 14:19:58 +0000 (14:19 +0000)]
MacGui: Removes largeFileSize from the Universal preset since the Nano can't play 64-bit formatted MP4 files. Hopefully won't be an issue, although this leaves open the slight possibility of crashes at the end of encodes of long, noisy videos.

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

15 years agoMacGui: Logging Level - set to "1" in prefs.
dynaflash [Mon, 20 Oct 2008 21:34:16 +0000 (21:34 +0000)]
MacGui: Logging Level - set to "1" in prefs.
- Currently cannot increase in the preferences panel, will add later.

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

15 years agoMacGui: Presets - Auto Crop/Custom Crop is now independent of "Use Max Source Size...
dynaflash [Mon, 20 Oct 2008 17:59:16 +0000 (17:59 +0000)]
MacGui: Presets - Auto Crop/Custom Crop is now independent of "Use Max Source Size" for Picture Sizing.
- Fixes the PS3 preset among other things.

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

15 years agoOoops, I wanted height not width there.
jbrjake [Sun, 19 Oct 2008 23:41:54 +0000 (23:41 +0000)]
Ooops, I wanted height not width there.

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

15 years agoAdds a configuration option for whether the COLR atom and h.264 VUI header should...
jbrjake [Sun, 19 Oct 2008 23:39:52 +0000 (23:39 +0000)]
Adds a configuration option for whether the COLR atom and h.264 VUI header should signal Bt.601 or Bt.7709 color, instead of just setting it based on whether the source is standard or high definition (which is preserved as default, and made more sensitive to letterboxed HD content).

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

15 years agoFix bug which prevented AC3 sync when only one AC3 packet was located in the buffer.
eddyg [Sun, 19 Oct 2008 21:43:21 +0000 (21:43 +0000)]
Fix bug which prevented AC3 sync when only one AC3 packet was located in the buffer.

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

15 years agoLinGui: fix initial audio selection problem
jstebbins [Sun, 19 Oct 2008 18:43:08 +0000 (18:43 +0000)]
LinGui: fix initial audio selection problem
if no source audios matched the preset's language criteria, then no
audio was being selected.

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

15 years agoLinGui: change chapter start "to" end --> start "thru" end
jstebbins [Sun, 19 Oct 2008 03:43:02 +0000 (03:43 +0000)]
LinGui: change chapter start "to" end --> start "thru" end
hehe

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

15 years agoLinGui: fix problem with disk getting full warning.
jstebbins [Sun, 19 Oct 2008 01:01:29 +0000 (01:01 +0000)]
LinGui: fix problem with disk getting full warning.
recent simplification broke it for 32 bit cpu's

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

15 years agoLinGui: add pref option to scale down high def previews
jstebbins [Sat, 18 Oct 2008 23:48:53 +0000 (23:48 +0000)]
LinGui: add pref option to scale down high def previews
when this option is enabled, if the preview dims are above a threshold
then the size is scaled down to no larger than 1280x720.
1080p previews are too big for my laptop :-P

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

15 years agoAdds a logging message to let the user know when a title is being ignored due to...
jbrjake [Sat, 18 Oct 2008 21:43:21 +0000 (21:43 +0000)]
Adds a logging message to let the user know when a title is being ignored due to having no audio, since it seems to mystify some people.

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

15 years agoMinor tweak to how audio track names are displayed.
jbrjake [Sat, 18 Oct 2008 21:42:10 +0000 (21:42 +0000)]
Minor tweak to how audio track names are displayed.

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

15 years agoMakes sure loose anamorphic respects max width and height settings, and removes a...
jbrjake [Sat, 18 Oct 2008 21:31:22 +0000 (21:31 +0000)]
Makes sure loose anamorphic respects max width and height settings, and removes a bunch of code by repurposing MULTIPLE_MOD() (thanks j45!).

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

15 years agoLinGui: fix handling of HD resolutions. max dimension threshold too low.
jstebbins [Sat, 18 Oct 2008 20:57:54 +0000 (20:57 +0000)]
LinGui: fix handling of HD resolutions.  max dimension threshold too low.

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

15 years agoLinGui: fix a problem with converting strings to int values.
jstebbins [Fri, 17 Oct 2008 22:36:01 +0000 (22:36 +0000)]
LinGui: fix a problem with converting strings to int values.
I wanted non-numeric strings to become MAXINT, but this wasn't happening.

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

15 years agoLinGui: Make preset key/values mostly align with macui presets.
jstebbins [Fri, 17 Oct 2008 16:20:43 +0000 (16:20 +0000)]
LinGui: Make preset key/values mostly align with macui presets.
One step closer to having a common preset format.
Audio presets are still not compatible.

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

15 years agoSunOS support fixed with new ffmpeg and x264
eddyg [Thu, 16 Oct 2008 23:37:47 +0000 (23:37 +0000)]
SunOS support fixed with new ffmpeg and x264

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

15 years agoDon't announce when getting a bad AC3 sync, just silently look for two matching syncs.
eddyg [Thu, 16 Oct 2008 19:45:25 +0000 (19:45 +0000)]
Don't announce when getting a bad AC3 sync, just silently look for two matching syncs.

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

15 years ago...yet another libmp4v2 bump.
jbrjake [Thu, 16 Oct 2008 00:26:18 +0000 (00:26 +0000)]
...yet another libmp4v2 bump.

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

15 years agoBumps libmp4v2 to r21, which fixes that include issue by folding the old 5.5G iPod...
jbrjake [Wed, 15 Oct 2008 23:44:38 +0000 (23:44 +0000)]
Bumps libmp4v2 to r21, which fixes that include issue by folding the old 5.5G iPod UUID atom into the library, as well as a typing issue with Linux systems.

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

15 years agoLinGui: nested presets
jstebbins [Wed, 15 Oct 2008 18:39:45 +0000 (18:39 +0000)]
LinGui: nested presets
new nested builtins.
user can create custom folders and drag n drop custom presets.
updated mac to linux presets plist translation tool to handle new format

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

15 years agolibmp4v2's r19 "make install" does not properly install all necessary header files...
jbrjake [Wed, 15 Oct 2008 13:54:33 +0000 (13:54 +0000)]
libmp4v2's r19 "make install" does not properly install all necessary header files, so here's a work-around until that's fixed.

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

15 years agoSwitches from mpeg4ip's copy of libmp4v2 to an independently-maintained one located...
jbrjake [Wed, 15 Oct 2008 02:49:53 +0000 (02:49 +0000)]
Switches from mpeg4ip's copy of libmp4v2 to an independently-maintained one located at: code.google.com/p/mp4v2

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

15 years agoa52_syncinfo() returns garbage values sometimes, so when scanning a stream check...
eddyg [Tue, 14 Oct 2008 22:36:22 +0000 (22:36 +0000)]
a52_syncinfo() returns garbage values sometimes, so when scanning a stream check for two AC3 packets in a row that agree on their values before accepting them as gospel.

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

15 years agoMacGui: Finally!! Nested Presets - Initial implementation
dynaflash [Tue, 14 Oct 2008 17:34:23 +0000 (17:34 +0000)]
MacGui: Finally!! Nested Presets - Initial implementation
- Currently just in the Built In presets.
- Special thanks to jbrjake for updating the new built in presets :)
-- jbrjake's notes on built in preset changes:
--- no more blind, broke, bedlam, or deux six quatre presets
--- detelecine and decomb for animation and television high profile presets
--- new x264 settings for most presets, which are still in a state of flux
--- iPod Hi-Rez renamed iPod Legacy, iPod Low-Rez renamed iPod Classic & iPod Nano, iPhone / iPod Touch renamed iPhone & iPod Touch
- Make sure to Update your Built In presets.
- Selecting the default preset (whether user specified or the hb default) automatically expands the proper parent folders
- "Folders" are stored as a different type of preset with key "Folder" where a value of 1 is a folder and 0 is a regular preset.
- Children presets (which can also be folder presets with their own children) are stored in an array in the folder preset with key "ChildrenArray"
- Levels are limited to three (including the root level).
- Though most of the code for creating custom user specified folders and dragging and dropping user presets into those folders is done, its not fully tested so is not currently implemented. In other words custom presets are still only at the root level.
- Known issue: dragging and dropping within custom user presets seems a touch "glitchy". Though in testing presets have not been lost.

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

15 years agoWinGui:
sr55 [Mon, 13 Oct 2008 21:54:27 +0000 (21:54 +0000)]
WinGui:
- Started to decouple this code a bit. Common.cs (now Main.cs) no longer relies on the frmMain window being passed into it. frmAddPreset no longer requires to access  QueryGenerator.cs
- QueryGenerator.cs, x264Panel.cs, PresetLoader.cs all moved into their own "frmMain" folder as that is the only place they should be used.
- Rearranged the base of frmMain.cs a bit.

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

15 years agoWinGui:
sr55 [Mon, 13 Oct 2008 19:52:33 +0000 (19:52 +0000)]
WinGui:
- Fix preset bug where mkv and chapters are used in the preset, but on selecting said preset, the selected file extension would be m4v
- Fix in Audio panel where the track 1 bit-rate is not always set correctly if the preset also changes the audio mixdown

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

15 years agoOnly associate audio tracks with an alternate group if there's more than one audio...
jbrjake [Sat, 11 Oct 2008 19:19:27 +0000 (19:19 +0000)]
Only associate audio tracks with an alternate group if there's more than one audio track. That way the iPhone doesn't show the audio selection button when it isn't necessary.

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

15 years agoMake DTS and HDMV DTS audio work in Transport and m2ts streams.
van [Sat, 11 Oct 2008 04:56:43 +0000 (04:56 +0000)]
Make DTS and HDMV DTS audio work in Transport and m2ts streams.

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

15 years agoLinGui: fix incorrect display of target file size in queue.
jstebbins [Fri, 10 Oct 2008 16:10:03 +0000 (16:10 +0000)]
LinGui: fix incorrect display of target file size in queue.

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

15 years agoCLI: Add support for naming audio tracks to the HandBrakeCLI, thanks to LePetomane...
eddyg [Fri, 10 Oct 2008 04:43:13 +0000 (04:43 +0000)]
CLI: Add support for naming audio tracks to the HandBrakeCLI, thanks to LePetomane for the patch.

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

15 years agolibhb: Fix linux compilation. Only set the pthread mutex type on cygwin since it...
eddyg [Fri, 10 Oct 2008 00:41:15 +0000 (00:41 +0000)]
libhb: Fix linux compilation. Only set the pthread mutex type on cygwin since it is the only one that is using the wrong one as a default. Avoids having to get the enums right across OS's.

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

15 years agoLinGui: Changes required by latest x264
jstebbins [Thu, 9 Oct 2008 18:35:55 +0000 (18:35 +0000)]
LinGui: Changes required by latest x264
Loose b-rdo and bime options.  Allow subme to go to 9.

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

15 years agoWinGui:
sr55 [Thu, 9 Oct 2008 18:02:07 +0000 (18:02 +0000)]
WinGui:
- Removes Brdo and Bime checkboxes from the advanced tab.
- Subme now goes up to 9

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

15 years agoBumps x264 to r999, bringing with it, among other things, the removal of the b-rdo...
jbrjake [Thu, 9 Oct 2008 17:50:44 +0000 (17:50 +0000)]
Bumps x264 to r999, bringing with it, among other things, the removal of the b-rdo and bime options and new subme modes to replace them.

Subme 5 or greater now includes bime.
Subme 7 is now subme 6 with b-rdo
Subme 8 is the old subme 7 with b-rdo
Subme 9 is new, does RD-refinement for b-frames.

MacGui presets and advanced tab have been updated to reflect these changes (don't forget to update built-in presets).
CLI will wait, as manicure.rb is in a state of flux.
WinGui and LinGui still need to be updated.

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

15 years agoAfter discussion with eddyg, extending verbose logging level 2 from just memory-relat...
jbrjake [Thu, 9 Oct 2008 15:11:27 +0000 (15:11 +0000)]
After discussion with eddyg, extending verbose logging level 2 from just memory-related logging to general-purpose housekeeping--stuff that isn't necessary when scrolling through activity logs users submit with bug reports and support queries. This includes things like thread start/exit messages and preview frames.

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

15 years agoAdds an hb_deep_log() function for multiple levels of debugging verbosity. Level...
jbrjake [Thu, 9 Oct 2008 00:16:14 +0000 (00:16 +0000)]
Adds an hb_deep_log() function for multiple levels of debugging verbosity. Level 1 displays when hb_log does (job->verbose == 1)  and is now meant for logging that helps in tech support. Level 2 adds memory-related logging like freed buffers, and level 3 is for granular stuff that displays once per sample, frame, packet, etc. The debug level continues to be set when hb_init() is called.

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

15 years agoWinGui:
sr55 [Mon, 6 Oct 2008 21:38:54 +0000 (21:38 +0000)]
WinGui:
- Another small improvement to the activity window. If the user has only selected a small block of text, then the copy to clipboard function now only copies that, rather than the full log.

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

15 years agoChange pthread mutex's to be explicitly NORMAL instead of relying on the default...
eddyg [Mon, 6 Oct 2008 21:36:01 +0000 (21:36 +0000)]
Change pthread mutex's to be explicitly NORMAL instead of relying on the default on a per OS basis. Cygwin was using RECURSIVE as a default, which does not block the caller upon a second lock. This commit fixes decomb, and slow, and slower deinterlace on Windows.

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

15 years agoLinGui: nested presets and drag n drop re-ordering of presets
jstebbins [Sun, 5 Oct 2008 22:03:09 +0000 (22:03 +0000)]
LinGui: nested presets and drag n drop re-ordering of presets
adding a preset always places it at the top level. drag it to where
you want it.

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

15 years agoWinGui:
sr55 [Sun, 5 Oct 2008 19:31:46 +0000 (19:31 +0000)]
WinGui:
- Re-select the preset control after an user interacts with it.

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

15 years agoWinGui:
sr55 [Sun, 5 Oct 2008 19:18:25 +0000 (19:18 +0000)]
WinGui:
- Just moving stuff functions around to different places. Probably some more of this to come. frmMain / common.cs are a bit of a mess right now

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

15 years agoTry to drive the stream timing off the audio stream(s) since audio has a pts on every...
van [Sun, 5 Oct 2008 04:50:56 +0000 (04:50 +0000)]
Try to drive the stream timing off the audio stream(s) since audio has a pts on every frame while video typically has one on <10% of the frames.

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

15 years agoSanity check in encfaacClose or we'll abort on an illegal channel spec or sample...
van [Sat, 4 Oct 2008 19:21:49 +0000 (19:21 +0000)]
Sanity check in encfaacClose or we'll abort on an illegal channel spec or sample ratesince init sets job->die which causes close to be called when the work struct hasn't been fully set up.

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

15 years agoJamfile - Fixes tab instead of 4 spaces.
sr55 [Sat, 4 Oct 2008 14:35:47 +0000 (14:35 +0000)]
Jamfile - Fixes tab instead of 4 spaces.

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

15 years agoCygwin
sr55 [Sat, 4 Oct 2008 14:33:40 +0000 (14:33 +0000)]
Cygwin
- Suppose it would help if I actually included the patch for the last checkin.

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

15 years agoCygWin:
sr55 [Sat, 4 Oct 2008 14:32:56 +0000 (14:32 +0000)]
CygWin:
- Patch for libdvdread (cygwin only). Cygwin no longer requires a types.h header change in order to compile HandBrake

Thanks to KonaB1end for this patch.

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

15 years agoWinGui:
sr55 [Sat, 4 Oct 2008 13:52:57 +0000 (13:52 +0000)]
WinGui:
- Few more improvements to the ActivityWindow. Hopefully makes it a bit more user friendly.

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

15 years agoWinGui:
sr55 [Sat, 4 Oct 2008 13:25:30 +0000 (13:25 +0000)]
WinGui:
- Added Copy to Clipboard button back to the Activity Log Window. Now works on Vista.
- Activity window now loads the load file for the last action. e.g If the last action was a scan, it'll load the scan log and if the last action was an encode, it will display the encode log.

That should make it a little bit easier to use / understand.

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

15 years agoLinGui: queue item editing
jstebbins [Sat, 4 Oct 2008 01:22:11 +0000 (01:22 +0000)]
LinGui: queue item editing
editing a pending item loads the item's settings and deletes it from the queue
editing a finished or running item just loads it's settings

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

15 years agoLinGui: refactoring that will make nested presets easier to implement.
jstebbins [Fri, 3 Oct 2008 23:07:31 +0000 (23:07 +0000)]
LinGui: refactoring that will make nested presets easier to implement.

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

15 years agoLinGui: change the top level structure that contains presets from a dictionary
jstebbins [Fri, 3 Oct 2008 20:59:50 +0000 (20:59 +0000)]
LinGui: change the top level structure that contains presets from a dictionary
to an array.  Dictionaries are unordered sets, so this new structure
allows greater flexibility in how the presets may be ordered.
Is backwards compatible.  Old structure is read and converted to new.

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

15 years agoMacGui: Allow the macgui to properly read sources from a ZFS (zfs-119) formatted...
dynaflash [Fri, 3 Oct 2008 19:10:26 +0000 (19:10 +0000)]
MacGui: Allow the macgui to properly read sources from a ZFS (zfs-119) formatted drive (experimental in Leopard). Thanks KonaB1end for the patch.

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

15 years ago - Only do 'lost PCR' checks (r1712) when we're dealing with something that could...
van [Fri, 3 Oct 2008 05:10:21 +0000 (05:10 +0000)]
 - Only do 'lost PCR' checks (r1712) when we're dealing with something that could be an over-the-air transport stream. We can't lose the clock of a program stream and shouldn't have losses on an m2ts stream.
 - Widen the DTS-to-PCR acceptance window from +-5sec to +-5min since there's nothing in the standard that bounds the offset between a DTS and its clock reference.

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

15 years agoWinGui:
sr55 [Thu, 2 Oct 2008 15:57:27 +0000 (15:57 +0000)]
WinGui:
- Fixed small UI annoyance bug with queue import/export/batch script feature.

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

15 years agoWinGui:
sr55 [Thu, 2 Oct 2008 11:55:10 +0000 (11:55 +0000)]
WinGui:
- Query Parser - Regex was failing when the audio track was listed as "    + 1, English (AAC)" instead of something like "    + 2, English (AC3) (5.1 ch), 48000Hz, 384000bps"

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

15 years agoWinGui:
sr55 [Wed, 1 Oct 2008 17:51:43 +0000 (17:51 +0000)]
WinGui:
- Resizeable Update window.

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

15 years agoMacGui: Queue - Add drc info for the audio tracks thanks to NightStorm for bringing...
dynaflash [Wed, 1 Oct 2008 16:22:38 +0000 (16:22 +0000)]
MacGui: Queue - Add drc info for the audio tracks thanks to NightStorm for bringing it to my attention.

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

15 years ago...and apparently there wasn't anything wrong with make in Windows after all.
jbrjake [Tue, 30 Sep 2008 19:17:10 +0000 (19:17 +0000)]
...and apparently there wasn't anything wrong with make in Windows after all.

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

15 years agoCygWin:
sr55 [Tue, 30 Sep 2008 18:12:19 +0000 (18:12 +0000)]
CygWin:
- Fixes make building on cygwin (I think - I was seeing some cygwin lib errors before however these seem to have just disappeared. If anyone has a failed build due to this, let me know.)

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

15 years agoffmpeg requires framerate num/den to be reducable to 16 bit quanitites for
jstebbins [Tue, 30 Sep 2008 17:28:04 +0000 (17:28 +0000)]
ffmpeg requires framerate num/den to be reducable to 16 bit quanitites for
mpeg-4.  So round odd framerates to "close" standard framerate (which are
reducable).  If there is no "close" framerate, the the rate is truncated
down to 16 bits.

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