OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoMacGui: fix compiler warnings in presets code for jbrjake who is amazed it even worked.
dynaflash [Thu, 20 Nov 2008 17:59:31 +0000 (17:59 +0000)]
MacGui: fix compiler warnings in presets code for jbrjake who is amazed it even worked.

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

15 years agoMacGui and CLI: Finalizes built-in presets for 0.9.3
jbrjake [Thu, 20 Nov 2008 17:08:09 +0000 (17:08 +0000)]
MacGui and CLI: Finalizes built-in presets for 0.9.3

- Adds a Legacy folder nested inside the Apple folder, which holds 0.9.2's AppleTV preset, the old iPod High-Rez preset (iPod Legacy), and the old iPhone preset.
- The standard iPhone preset has ben changed to CRF, loses the iPod 5.5G atom since its prescence was misleading (the preset doesn't employ VBV controls), and gains 2 mixed reference frames.
- The new AppleTV preset has been slightly nerfed down to subme 7 from subme 9.
- The iPod Classic and Nano preset (formerly known as iPod Low-Rez) has been retitled to simply iPod as it is compatible with the older 5G models.

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

15 years agoLinGui: import the latest preset changes
jstebbins [Thu, 20 Nov 2008 15:17:57 +0000 (15:17 +0000)]
LinGui: import the latest preset changes

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

15 years agoWinGui:
sr55 [Wed, 19 Nov 2008 20:35:09 +0000 (20:35 +0000)]
WinGui:
- Fix Format dropdown. It was not setting the file extension correctly, thus not updating the audio and video encoder dropdowns.

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

15 years agoWinGui:
sr55 [Wed, 19 Nov 2008 19:59:41 +0000 (19:59 +0000)]
WinGui:
- Fixed small bug where release build numbers are not matched correctly with the regex.

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

15 years agoWinGui:
sr55 [Wed, 19 Nov 2008 19:29:03 +0000 (19:29 +0000)]
WinGui:
- Changed chapters "to" to "through"

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

15 years agoMacGui: Change "Chapter x to Chapter y" in the sources area to "Chapter x through...
dynaflash [Wed, 19 Nov 2008 18:15:30 +0000 (18:15 +0000)]
MacGui: Change "Chapter x to Chapter y" in the sources area to "Chapter x through Chapter y" so jbrjake doesn't get confused. ;)

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

15 years agoUpdate x264 to r1028
dynaflash [Wed, 19 Nov 2008 16:42:31 +0000 (16:42 +0000)]
Update x264 to r1028
- couple of bufixes since the previous r1024
http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=83baa7fdd2edf3e2f9522fc8b79e0826bcf190fc

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

15 years ago - get rid of an unnecessary seek that was messing up either mkv or vc1 decoding.
van [Wed, 19 Nov 2008 04:13:11 +0000 (04:13 +0000)]
 - get rid of an unnecessary seek that was messing up either mkv or vc1 decoding.
 - switch av_seek_frame to zero back to time-based rather than byte-based since time-based screws up mkv & mp4 while time-based works for everything but vc1.
 - since ffmpeg doesn't correctly indicate key frames in vc1 look for them ourselves so that vc1 previews & cropping will work.

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

15 years agoMacGui: Fix issue where proper width was not observed in preview image when using...
dynaflash [Tue, 18 Nov 2008 17:24:44 +0000 (17:24 +0000)]
MacGui: Fix issue where proper width was not observed in preview image when using loose anamorphic.

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

15 years agoDon't abort when the ffmpeg vc1 decoder hands us a bogus packet size
van [Tue, 18 Nov 2008 04:24:11 +0000 (04:24 +0000)]
Don't abort when the ffmpeg vc1 decoder hands us a bogus packet size

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

15 years agoWinGui:
sr55 [Sun, 16 Nov 2008 19:29:42 +0000 (19:29 +0000)]
WinGui:

Fix for Ticket #107 - Destination Save File Dialog window now shows extension of currently file in the destination field if there is one.

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

15 years ago - search for IDR frames in blu-ray (m2ts) inputs so we get useful previews
van [Sun, 16 Nov 2008 03:50:13 +0000 (03:50 +0000)]
 - search for IDR frames in blu-ray (m2ts) inputs so we get useful previews
 - don't require a key frame after we seeking to the beginning of the file (this was probably causing the leading PPS & SPS of some blu-ray h.264 content to get dropped which resulted in a few seconds of missing video).

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

15 years agoWinGui:
sr55 [Sat, 15 Nov 2008 22:42:22 +0000 (22:42 +0000)]
WinGui:
- Fix a problem with loading presets. Height would be automatically generated if only a width was selected and a source had been scanned. The MaxWidth and Height causes a small libhb conflict, therefor, do not automatically generate a height when maxHeight or maxWidth is used.

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

15 years agoWinGui:
sr55 [Sat, 15 Nov 2008 22:12:01 +0000 (22:12 +0000)]
WinGui:
- Fix: Enable the chapter markers tab if the preset uses chapter markers.

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

15 years agoMacGui: Add the svn and build number to the individual encode log headers
dynaflash [Sat, 15 Nov 2008 18:31:41 +0000 (18:31 +0000)]
MacGui: Add the svn and build number to the individual encode log headers
- thanks for noticing and reminding me cvk_b.

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

15 years agoCLI: Rearranges and reorganizes the built-in help (-h) , fixes some spelling and...
jbrjake [Thu, 13 Nov 2008 16:47:38 +0000 (16:47 +0000)]
CLI: Rearranges and reorganizes the built-in help (-h) , fixes some spelling and technical errors in the descriptions, and removes the hard tabs from that section of test.c.

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

15 years agoWinGui:
sr55 [Wed, 12 Nov 2008 22:38:38 +0000 (22:38 +0000)]
WinGui:
- Fix a potential crash in the Activity window where the window handler may not be initialized in time for the function setText to use it.

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

15 years agoWinGui:
sr55 [Wed, 12 Nov 2008 15:57:39 +0000 (15:57 +0000)]
WinGui:
- Adds the CLI query to the top of every log file generated after an encode finishes. Note: CLI query will only display in the activity window after the CLI has exited. This can be sorted later.

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

15 years agofix pmt processing
jstebbins [Tue, 11 Nov 2008 17:20:03 +0000 (17:20 +0000)]
fix pmt processing
there were 2 problems
1. when the program list in the pat contains a network PID, the pmt parsing
   code doesn't properly skip this entry. this causes attempts to interpret
   a pat as a pmt since the pid entry in the table is left initialized to 0.
2. pmt parsing always waits till the start of the second pmt section before
   parsing the first. if for some reason there were only one pmt in the
   stream, it would never parse the pmt. I've changed it to parse the pmt
   as soon as all the necessary bytes are collected.

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

15 years agolibhb support for live preview
jstebbins [Tue, 11 Nov 2008 16:05:16 +0000 (16:05 +0000)]
libhb support for live preview
set job->start_at_preview to the preview frame you want to start at
set job->pts_to_stop to the number of 90khz ticks duration

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

15 years agoLinGui: fix a race in update checking that causes random crashes
jstebbins [Tue, 11 Nov 2008 15:50:38 +0000 (15:50 +0000)]
LinGui: fix a race in update checking that causes random crashes

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

15 years agoBumps libx264 to r1024, bringing with it Nehalem optimizations and a goodly number...
jbrjake [Mon, 10 Nov 2008 22:05:27 +0000 (22:05 +0000)]
Bumps libx264 to r1024, bringing with it Nehalem optimizations and a goodly number of spped boosts for those of us on older chips, too.

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

15 years agoWinGui:
sr55 [Mon, 10 Nov 2008 15:07:28 +0000 (15:07 +0000)]
WinGui:
- Small chapter marker tab fix.  Thanks canvas.

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

15 years agoLinGui: oops. forgot to add new appcast files
jstebbins [Sun, 9 Nov 2008 19:27:46 +0000 (19:27 +0000)]
LinGui: oops. forgot to add new appcast files

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

15 years agoLinGui: add update checking. shows a dialog similar to the macui when
jstebbins [Sun, 9 Nov 2008 19:12:00 +0000 (19:12 +0000)]
LinGui: add update checking.  shows a dialog similar to the macui when
an update is available, but without the "install" option.

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

15 years agoBumps libtheora to 1.0 final and fixes a small problem with r1905's chroma rounding...
jbrjake [Sun, 9 Nov 2008 17:14:55 +0000 (17:14 +0000)]
Bumps libtheora to 1.0 final and fixes a small problem with r1905's chroma rounding re: Theora.

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

15 years agoHack to make VC1 work: If we get a ts or m2ts with VC1 video, don't say we have a...
van [Sun, 9 Nov 2008 01:49:59 +0000 (01:49 +0000)]
Hack to make VC1 work: If we get a ts or m2ts with VC1 video, don't say we have a valid stream. This will cause HB to try to open it with ffmpeg which often can read VC1 TS streams.

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

15 years agoIf 'auto' audio output rate is selected and that results in an invalid rate for AAC...
van [Sun, 9 Nov 2008 01:45:52 +0000 (01:45 +0000)]
If 'auto' audio output rate is selected and that results in an invalid rate for AAC, select the next higher valid rate. This should make wmv's & avi's with weird audio rates more likely to work with the default HB settings.

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

15 years agoCLI: Adds some conidtionals to manicure.rb so CLI users can override audio settings...
jbrjake [Sat, 8 Nov 2008 20:57:27 +0000 (20:57 +0000)]
CLI: Adds some conidtionals to manicure.rb so CLI users can override audio settings and x264 options when using built-in presets.

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

15 years agoCorrect chroma size for raw video frames - width & height need to be rounded up if...
van [Sat, 8 Nov 2008 06:50:15 +0000 (06:50 +0000)]
Correct chroma size for raw video frames - width & height need to be rounded up if they're odd before dividing by 2.

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

15 years ago - Always use HandBrake's DTS decoder rather than ffmpeg's even for inputs we read...
van [Sat, 8 Nov 2008 06:26:57 +0000 (06:26 +0000)]
 - Always use HandBrake's DTS decoder rather than ffmpeg's even for inputs we read via ffmpeg so that we get the user-specified mixdown. Otherwise we eventually abort in the sample rate converter or audio encoder.
 - Teach HB's DTS coder to handle implicit timestamps so that it doesn't screw up on mkv's & some m2ts inputs.
 - mkv's produced from Bluray HD content seem to have large timestamp errors - filter them out in the decoder so that sync doesn't drop big chunks of our audio.

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

15 years agoWinGui:
sr55 [Fri, 7 Nov 2008 22:28:57 +0000 (22:28 +0000)]
WinGui:
- Fix for the "frmReadDVD.cs - startProc()System.OverflowException:Arithmetic operation resulted in an overflow" error in Title.cs

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

15 years agoMacGui: Fix multibyte character issue for Chapter Names
dynaflash [Fri, 7 Nov 2008 15:05:25 +0000 (15:05 +0000)]
MacGui: Fix multibyte character issue for Chapter Names
- Patch by youk, thanks!
- Addressed here http://forum.handbrake.fr/viewtopic.php?f=12&t=7580

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

15 years agoclean up picture allocation in hb_get_preview and fix minor picture corruption
jstebbins [Fri, 7 Nov 2008 00:22:48 +0000 (00:22 +0000)]
clean up picture allocation in hb_get_preview and fix minor picture corruption
that happens when the width is not divisible by 8.

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

15 years agoWinGui:
sr55 [Thu, 6 Nov 2008 22:44:27 +0000 (22:44 +0000)]
WinGui:
- Fix Normal preset not getting loaded if user didn't have default settings set.

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

15 years agoLinGui: fix start chapter range. allowed entry of chapter numbers beyond
jstebbins [Thu, 6 Nov 2008 22:30:11 +0000 (22:30 +0000)]
LinGui: fix start chapter range.  allowed entry of chapter numbers beyond
the number of chapters on the disc
Fix a problem with picture scaling. non-anamorphic was allowing dimensions to
be entered that were larger than the title dims.

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

15 years agoWinGui:
sr55 [Thu, 6 Nov 2008 21:26:55 +0000 (21:26 +0000)]
WinGui:
- Set's DRC to 1 by default.
- Chapter Markers tab only enabled if it's a DVD source or ISO image.
- -X and -Y options now parsed by the query parser.
- Added a small hack to allow built-in presets to use -X and -Y and have the query generator correctly generate the query.

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

15 years agoBumps libmp4v2 to r45, which should fix issues writing MP4 files > 2GB in Linux.
jbrjake [Tue, 4 Nov 2008 17:59:09 +0000 (17:59 +0000)]
Bumps libmp4v2 to r45, which should fix issues writing MP4 files > 2GB in Linux.

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

15 years agoBumps x264 to r1016, bringing with it assorted quality improvements and speed boosts...
jbrjake [Sun, 2 Nov 2008 16:03:39 +0000 (16:03 +0000)]
Bumps x264 to r1016, bringing with it assorted quality improvements and speed boosts (and congratulations to them for hitting 1000!)

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

15 years agoMacGui: Remove check on web optimized and ac3 passthru.
ritsuka [Sun, 2 Nov 2008 15:57:39 +0000 (15:57 +0000)]
MacGui: Remove check on web optimized and ac3 passthru.

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

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