OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years ago - change aspect from a scaled int to a double so we can handle the wider
van [Fri, 8 Aug 2008 06:19:54 +0000 (06:19 +0000)]
 - change aspect from a scaled int to a double so we can handle the wider
   range of aspect ratios we get from ffmpeg files.

 - add container_aspect to title struct (always zero except for DVDs
   when it's the aspect from the VTSI). To handle broken French DVDs,
   make HB complain & use the container aspect if it's different from
   the aspect computed from the video PAR.

 - fix ScanFunc's job template init so that it doesn't think the only
   legal aspect ratios are 16:9 & 4:3.

 - hb_reduce wouldn't reduce any fraction where both terms were equal and
   prime (e.g., 2/2, 3/3, 5/5, etc. would not become 1/1). Recoded it using
   Euclid's Algorithm so it always works and is faster.

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

15 years agoLinGui: fix problem with install target of make
jstebbins [Thu, 7 Aug 2008 18:48:04 +0000 (18:48 +0000)]
LinGui: fix problem with install target of make
not all directories were being created.  needed for installing in alternate
destination where all the system dirs may not exist

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

15 years agoLinGui: change how x264 options are handled
jstebbins [Thu, 7 Aug 2008 17:43:55 +0000 (17:43 +0000)]
LinGui: change how x264 options are handled
- there is now one preset key that contains the option string
- options displayed in widgets and entry box stay reflect each other
- enlarged the entry box so all options can be seen

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

15 years agoMacGui: Some small enhancements and clean ups in HBQueueController
ritsuka [Thu, 7 Aug 2008 17:26:25 +0000 (17:26 +0000)]
MacGui: Some small enhancements and clean ups in HBQueueController
- Removed white spaces and hard tabs.
- Changed all the enumerators to use the new fast enumerators available in objective-c 2.
- Changed intValue to integerValue.

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

15 years agoDon't obey maxWidth and maxHeight settings when using strict anamorphic.
jbrjake [Wed, 6 Aug 2008 15:01:57 +0000 (15:01 +0000)]
Don't obey maxWidth and maxHeight settings when using strict anamorphic.

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

15 years agoLinGui: make activity log window scrolling work better
jstebbins [Tue, 5 Aug 2008 16:28:38 +0000 (16:28 +0000)]
LinGui: make activity log window scrolling work better
scroll on update only when the scrollbar is at the bottom

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

15 years agolame updated to 3.98 from 3.96.1
sr55 [Tue, 5 Aug 2008 16:28:23 +0000 (16:28 +0000)]
lame updated to 3.98 from 3.96.1

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

15 years agoMacGui: Fixed a warning.
ritsuka [Tue, 5 Aug 2008 14:59:07 +0000 (14:59 +0000)]
MacGui: Fixed a warning.

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

15 years agoLinGui: fix a couple problems with activity window scrolling noted by a user
jstebbins [Mon, 4 Aug 2008 18:54:12 +0000 (18:54 +0000)]
LinGui: fix a couple problems with activity window scrolling noted by a user

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

15 years agoLinGui: add 8x8dct checkbox to match the other ui's
jstebbins [Mon, 4 Aug 2008 18:36:23 +0000 (18:36 +0000)]
LinGui: add 8x8dct checkbox to match the other ui's

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

15 years agoWinGui:
sr55 [Mon, 4 Aug 2008 17:36:06 +0000 (17:36 +0000)]
WinGui:
- Activity log - Added CPU description, temp dir, install dir and data dir to the WinGUI log header.
- Renamed rssReader to appcast reader
- Added option for stable builds to check unstable appcast.
- Unstable builds check both appcasts so will always show the latest release
- Added some containers to frmMain.
- Fixed (I think) an issue with a regex which prases the CLI version information. It may not detect public release build information up correctly.

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

15 years agoMacGui: Remove legacy preferences since they are now controlled via the presets.
dynaflash [Mon, 4 Aug 2008 15:30:46 +0000 (15:30 +0000)]
MacGui: Remove legacy preferences since they are now controlled via the presets.
- Remove the Chapter Markers preference
- Remove the Set Deinterlace to on upon scan preference
-- Note: this means that for custom presets that do not use picture filters, Deinterlace will not be used upon scan since there is no preference to use it anymore, otherwise the default preset will control it.
- Remove the Use Picture Par upon scan
-- Note: this means that for custom presets that do not use picture settings, Anamorphic will not be used upon scan since there is no preference to use it anymore, otherwise the default preset will control it.
- Also correct the label for custom Decomb string to read Decomb instead of Deblock "duh" .

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

15 years agoLinGui: fix my ipod presets
jstebbins [Mon, 4 Aug 2008 06:01:18 +0000 (06:01 +0000)]
LinGui: fix my ipod presets

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

15 years agodelete debug message
jstebbins [Mon, 4 Aug 2008 04:46:16 +0000 (04:46 +0000)]
delete debug message

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

15 years agoLinGui: clean up hb status handling. mostly just moving things around.
jstebbins [Sun, 3 Aug 2008 19:47:34 +0000 (19:47 +0000)]
LinGui: clean up hb status handling. mostly just moving things around.

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

15 years agoWinGui:
sr55 [Fri, 1 Aug 2008 18:19:21 +0000 (18:19 +0000)]
WinGui:
- Forgot to remove images.

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

15 years agoWinGui:
sr55 [Fri, 1 Aug 2008 18:15:19 +0000 (18:15 +0000)]
WinGui:
- Changed the layout of the Options window.
- Added a "Stop" button to stop encodes.
- Moved Encode status label onto a status bar at the bottom of the window. Now includes scanning status.
- Added and Removed some png images

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

15 years agoSplits the display of job settings off from the actual work of beginning of a job...
jbrjake [Fri, 1 Aug 2008 17:12:37 +0000 (17:12 +0000)]
Splits the display of job settings off from the actual work of beginning of a job, and reorganizes/elaborates the display's layout.

Adds new title variables to provide more description of sources: video_codec_name, video_bitrate (currently only used by DVD sources), and container_name and data_rate (currently only used by ffmpeg input sources).

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

15 years agoLinGui: change extension from mp4 to m4v if there is an ac3 output track
jstebbins [Wed, 30 Jul 2008 23:42:55 +0000 (23:42 +0000)]
LinGui: change extension from mp4 to m4v if there is an ac3 output track
disable ac3 passthru option if http optimized is selected

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

15 years agoFix two problems that would cause HB to hang in the muxer whenever the input content...
van [Wed, 30 Jul 2008 22:27:33 +0000 (22:27 +0000)]
Fix two problems that would cause HB to hang in the muxer whenever the input content's video finished before audio:
 - sync has to keep processing until all its input fifos report eof otherwise it won't send an eof on all its output fifos.
 - do_job has to wait for muxer to finish. Waiting for anything earlier in the pipeline (we were waiting for the video encoder) can cause other parts of the pipeline to get terminated early which will result in lost data & no eofs.

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

15 years agoLinGui: make the progress bar behave better when scanning while encoding
jstebbins [Wed, 30 Jul 2008 21:53:49 +0000 (21:53 +0000)]
LinGui: make the progress bar behave better when scanning while encoding

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

15 years agoMacGui: Don't repopulate fVidRatePopUp in titlePopUpChanged. The framerates are alway...
ritsuka [Wed, 30 Jul 2008 19:27:59 +0000 (19:27 +0000)]
MacGui: Don't repopulate fVidRatePopUp in titlePopUpChanged. The framerates are always the same.

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

15 years agoMacGui: - Fixed loose anamorphic preview (still not perfect)
ritsuka [Wed, 30 Jul 2008 14:50:57 +0000 (14:50 +0000)]
MacGui:  - Fixed loose anamorphic preview (still not perfect)
- Replaced float with CGFloat for future cocoa 64bit compatibility
- Fixed switching between automatic and custom cropping (the preview sometimes wasn't updated)
- Fixed a crash when the job width and height were larger than the title's one.

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

15 years agoLinGui: hack to prevent segfault caused by avpicture_deinterlace.
jstebbins [Wed, 30 Jul 2008 00:06:38 +0000 (00:06 +0000)]
LinGui: hack to prevent segfault caused by avpicture_deinterlace.
sets libavcodecs mm_flags by calling mm_support()

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

15 years agoDon't lose our existing buffer chain when nal_encode returns NULL.
van [Tue, 29 Jul 2008 18:50:28 +0000 (18:50 +0000)]
Don't lose our existing buffer chain when nal_encode returns NULL.

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

15 years agoLinGui: Make the gui recognize when scanning is complete while an encode is
jstebbins [Tue, 29 Jul 2008 15:30:11 +0000 (15:30 +0000)]
LinGui: Make the gui recognize when scanning is complete while an encode is
in progress.  This will change if status callback patch gets in.

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

15 years agoWinGui:
sr55 [Tue, 29 Jul 2008 13:22:37 +0000 (13:22 +0000)]
WinGui:
- Added option to start CLI minimized

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

15 years agoMacGui: Do not disable the ui if there is no reason to do so. Removed unused include.
ritsuka [Tue, 29 Jul 2008 08:42:48 +0000 (08:42 +0000)]
MacGui: Do not disable the ui if there is no reason to do so. Removed unused include.

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

15 years agoMacGui: cleanup updateUI methods. Removed white spaces, and an useless variable.
ritsuka [Mon, 28 Jul 2008 22:30:11 +0000 (22:30 +0000)]
MacGui: cleanup updateUI methods. Removed white spaces, and an useless variable.

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

15 years agoMacGui: - Implement automatic extension switching for mp4/m4v.
ritsuka [Mon, 28 Jul 2008 17:22:52 +0000 (17:22 +0000)]
MacGui: - Implement automatic extension switching for mp4/m4v.
- Disable http mp4 checkbox when an ac3 track is present.
- Disable autonaming if there is only one title in the source.

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

15 years agoMacGui: Use nil instead of NULL. Patch by blindjimmy. http://handbrake.djgraphite...
ritsuka [Mon, 28 Jul 2008 17:06:39 +0000 (17:06 +0000)]
MacGui: Use nil instead of NULL. Patch by blindjimmy. handbrake.djgraphite.com/r/33/

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

15 years agoLinGui: fix segfault when "." in destination is deleted.
jstebbins [Mon, 28 Jul 2008 04:55:52 +0000 (04:55 +0000)]
LinGui: fix segfault when "." in destination is deleted.

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

15 years agoFix subtitle scan to work with new stream eof logic.
van [Sat, 26 Jul 2008 21:22:17 +0000 (21:22 +0000)]
Fix subtitle scan to work with new stream eof logic.

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

15 years agoMacGui: Fixed the flying picture sheet, removed the last references to the opengl...
ritsuka [Sat, 26 Jul 2008 08:41:49 +0000 (08:41 +0000)]
MacGui: Fixed the flying picture sheet, removed the last references to the opengl view.

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

15 years agoUse PTS, not DTS, in encx264 output frames so we don't have to special-case its outpu...
van [Sat, 26 Jul 2008 01:20:56 +0000 (01:20 +0000)]
Use PTS, not DTS, in encx264 output frames so we don't have to special-case its output in every muxer. Confine code that deals with Apple's mistakes in handling video with b-frames to muxmp4.

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

15 years ago - in encx264, if an video frame is larger than init_delay split it into pieces so...
van [Sat, 26 Jul 2008 01:04:00 +0000 (01:04 +0000)]
 - in encx264, if an video frame is larger than init_delay split it into pieces so we don't get jerky output caused by out-of-order frames.
 - add an explicit EOF for all streams, not just video.
 - don't generate extra audio silence at the end of an encode (don't need it with explicit eof).
 - get rid of 80ms initial delay in AAC encode & flush final four frames buffered in encoder.
 - put mp4 'chap' atom on first track (usually video) rather than first audio track since we can now do video without audio (atom just needs to go on an enabled media track & video is always enabled).

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

15 years agoLinGui: validate that vfr is enabled when decomb is enabled
jstebbins [Fri, 25 Jul 2008 21:29:18 +0000 (21:29 +0000)]
LinGui: validate that vfr is enabled when decomb is enabled
warn user if it is not.

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

15 years agomake default audio drc 1.0
jstebbins [Fri, 25 Jul 2008 21:13:15 +0000 (21:13 +0000)]
make default audio drc 1.0

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

15 years agofix decomb settings. remove cruft from earlier experiments
jstebbins [Fri, 25 Jul 2008 21:00:37 +0000 (21:00 +0000)]
fix decomb settings.  remove cruft from earlier experiments

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

15 years agoLinGui: Clean up temp files between scans instead of all at once when exiting.
jstebbins [Fri, 25 Jul 2008 17:08:46 +0000 (17:08 +0000)]
LinGui: Clean up temp files between scans instead of all at once when exiting.
There was too much of a lag when doing them all at once.

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

15 years agoWinGui:
sr55 [Thu, 24 Jul 2008 17:39:15 +0000 (17:39 +0000)]
WinGui:
- Disable 2-Pass if constant quality is selected.

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

15 years agoLinGui: disable 2-pass if constant quality is selected
jstebbins [Wed, 23 Jul 2008 22:30:36 +0000 (22:30 +0000)]
LinGui: disable 2-pass if constant quality is selected

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

15 years agoMacGui; Fixed a crash when the chapters tableview is selected and a new source is...
ritsuka [Wed, 23 Jul 2008 18:51:31 +0000 (18:51 +0000)]
MacGui; Fixed a crash when the chapters tableview is selected and a new source is being opened.
Some whitespace cleaning too.

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

15 years agoLibhb:
sr55 [Sun, 20 Jul 2008 19:33:04 +0000 (19:33 +0000)]
Libhb:
- parse both appcast files to display both unstable and stable update information

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

15 years agolibhb:
sr55 [Sun, 20 Jul 2008 17:24:30 +0000 (17:24 +0000)]
libhb:
- Updates update.c to use both appcast files. Uses nicer XML now.
- This shouldn't break anything this time around.

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

15 years agoMacGui: FIx a memory leak.
ritsuka [Wed, 16 Jul 2008 09:36:29 +0000 (09:36 +0000)]
MacGui: FIx a memory leak.

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

15 years agoGet rid of excessive video & audio drops on some content by implementing the last...
van [Wed, 16 Jul 2008 06:36:22 +0000 (06:36 +0000)]
Get rid of excessive video & audio drops on some content by implementing the last 20% of the MPEG Standard Target Decoder timing model (per-stream timing state).
Should fix the problem reported in http://forum.handbrake.fr/viewtopic.php?f=12&t=6601&sid=81048cf54c40b6cdb945236afb4f99da&p=37563#p37563

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

15 years agoBump x264 to r912-9c5e557 which among other things fixes a mem leak when x264 is...
dynaflash [Tue, 15 Jul 2008 18:21:54 +0000 (18:21 +0000)]
Bump x264 to r912-9c5e557 which among other things fixes a mem leak when x264 is used as a library.
- Remove never used contrib/patch-libquicktime.patch from back on rev 422

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

15 years agoLinGui: oops, delete some debugging output
jstebbins [Sat, 12 Jul 2008 23:14:28 +0000 (23:14 +0000)]
LinGui: oops, delete some debugging output

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

15 years agoLinGui: Add preferences dialog
jstebbins [Sat, 12 Jul 2008 22:59:01 +0000 (22:59 +0000)]
LinGui: Add preferences dialog
gives access to some some previously hidden settings

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

15 years agoMuch improved decomb filter. Totally different algorithm, with a temporal element...
jbrjake [Fri, 11 Jul 2008 21:59:15 +0000 (21:59 +0000)]
Much improved decomb filter. Totally different algorithm, with a temporal element, a block window, and a simple weighting decision for which deinterlacer to use. See code comments.

The code isn't well optimized yet, and would probably benefit from -O3 (as opposed to the -Os optimization level currently used in macosx builds).

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

15 years agoLinGui: bump progress bar to 100% when work done event received
jstebbins [Thu, 10 Jul 2008 23:38:59 +0000 (23:38 +0000)]
LinGui: bump progress bar to 100% when work done event received
since it doesn't quite get there sometimes.

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

15 years agoLinGui: fix minor problem in setting up decomb
jstebbins [Thu, 10 Jul 2008 19:03:31 +0000 (19:03 +0000)]
LinGui: fix minor problem in setting up decomb

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

15 years agoLinGui: Add link to HandBrake Guide to help menu
jstebbins [Thu, 10 Jul 2008 18:02:47 +0000 (18:02 +0000)]
LinGui: Add link to HandBrake Guide to help menu

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

15 years agoWinGui:
sr55 [Thu, 10 Jul 2008 15:55:37 +0000 (15:55 +0000)]
WinGui:
- Activity log window code changed significantly. Now, instead of refeshing the whole log every 5 seconds, it only adds the new lines of log output.
- Fixed bugs where the autoUpdate thread could keep running after the windows had been closed, causing exceptions to occur.
- Removed some debug code from frmMain

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

15 years agoMacGui: Remove scanned source framrate display from "Same as source" in the fps popup.
dynaflash [Thu, 10 Jul 2008 15:52:45 +0000 (15:52 +0000)]
MacGui: Remove scanned source framrate display from "Same as source" in the fps popup.
- Some feel this is misleading and shouldn't be there since same as source now uses true source frame durations.
- made the fps and encoder popups narrower to fit.

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

15 years agoUpdate x264 to rev r901-58d7d06
dynaflash [Wed, 9 Jul 2008 15:46:21 +0000 (15:46 +0000)]
Update x264 to rev r901-58d7d06
- Fixes a bad pixelation issue under certain circumstances in I frames with vbv
- Assorted optimizations including manual loop unrolling
- Also finally removed our deprecated macintel patch

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

15 years agoFix mkv A/V sync problem created by R1542.
van [Tue, 8 Jul 2008 20:34:06 +0000 (20:34 +0000)]
Fix mkv A/V sync problem created by R1542.

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

15 years agoWinGui:
sr55 [Mon, 7 Jul 2008 22:05:18 +0000 (22:05 +0000)]
WinGui:
- Version information now pulled from the CLI (any problems with this breaking on Vista let me know plz!)
- GUI startup optimized to counter the effect of the slightly sluggish version check from CLI (above)
- Added "Format" box just like the macgui. Move the Video Codec dropdown to the correct position on the video tab.
- Few other changes to mimic the macgui.
- Changed Functions.CLI to Functions.Encode
- Cleaned up and added icons to the source menu.

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

15 years agoChange HandBrake from using the libsamplerate linear interpolator for resampling...
eddyg [Sun, 6 Jul 2008 22:53:43 +0000 (22:53 +0000)]
Change HandBrake from using the libsamplerate linear interpolator for resampling audio to using the SINC medium quality interpolator. Testing has shown a significant improvement in audio using this interpolator when upsampling the audio, most significant for 22Khz up to 48Khz, the audio is a lot brighter.

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

15 years agoCropping fix for matted content that has a border top & bottom (rather than just...
van [Fri, 4 Jul 2008 19:09:51 +0000 (19:09 +0000)]
Cropping fix for matted content that has a border top & bottom (rather than just on the top). Fixes problem from forum post forum.handbrake.fr/viewtopic.php?p=37064&sid=1a6b16b9a89cf7c26d9ff4f0c3b1823a#p37064

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

15 years agoWinGui:
sr55 [Fri, 4 Jul 2008 16:10:48 +0000 (16:10 +0000)]
WinGui:
- Drive detection lists DVD title in Source Menu (Optional Feature)
- Updated the help menu to match the macgui.
- Added "cancel" button to frmReadDVD so if the CLI get's stuck, user can cancel the scan without restarting the GUI

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

15 years agoChange libsamplerate from 0.1.2 to 0.1.4, See http://www.mega-nerd.com/SRC/ChangeLog...
eddyg [Thu, 3 Jul 2008 00:15:37 +0000 (00:15 +0000)]
Change libsamplerate from 0.1.2 to 0.1.4, See mega-nerd.com/SRC/ChangeLog for fixes and improvements.

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

15 years agoWinGui:
sr55 [Wed, 2 Jul 2008 19:04:27 +0000 (19:04 +0000)]
WinGui:
- Small oversight. Fix bug with the remove preset button if no preset is selected

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

15 years agoWinGui:
sr55 [Wed, 2 Jul 2008 19:01:36 +0000 (19:01 +0000)]
WinGui:
- Better implementation of the presets bar. Code moved into it's own class.
- Can now Remove Single or delete all built in presets.
- User presets are no longer taged with "--"
- CLI window no longer appears when grabbing the information for presets.dat from HandBrakeCLI.exe

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

15 years agoMacGui: Fixed a crash when dismissing the open window.
ritsuka [Wed, 2 Jul 2008 13:34:20 +0000 (13:34 +0000)]
MacGui: Fixed a crash when dismissing the open window.

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

15 years agoAdded Paul Kendalls ffmpeg AAC-LATM codec. Allows HB to decode AAC-LATM
eddyg [Wed, 2 Jul 2008 00:00:02 +0000 (00:00 +0000)]
Added Paul Kendalls ffmpeg AAC-LATM codec. Allows HB to decode AAC-LATM
MPEG-TS DVB streams.

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

15 years agoLinGui: add hidden preset option to allow direct QP/CRF entry for ffmpeg and
jstebbins [Tue, 1 Jul 2008 22:56:09 +0000 (22:56 +0000)]
LinGui: add hidden preset option to allow direct QP/CRF entry for ffmpeg and
x264.  just add "directqp=enable" to a custom preset.  custom preset file
is ~/.config/ghb/custom_presets

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

15 years agoWinGui:
sr55 [Tue, 1 Jul 2008 16:22:51 +0000 (16:22 +0000)]
WinGui:
- Fix for iPod atom, Large File, Optimize check boxes not disabling correctly in all situations when the file extension or encoder changes.

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

15 years agoEnable subtitle-scan to work when using Xvid as the encoder. Also checks return value...
eddyg [Tue, 1 Jul 2008 05:51:27 +0000 (05:51 +0000)]
Enable subtitle-scan to work when using Xvid as the encoder. Also checks return values from the work Init functions to enable Work threads to abort the encode should they not initialise properly.

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

15 years agoLinGui: clean up temporary file turds upon exit
jstebbins [Mon, 30 Jun 2008 23:53:04 +0000 (23:53 +0000)]
LinGui: clean up temporary file turds upon exit

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

16 years agoLinGui: add detected dvd drives to file menu for quick access. this is a
jstebbins [Mon, 30 Jun 2008 16:51:20 +0000 (16:51 +0000)]
LinGui: add detected dvd drives to file menu for quick access.  this is a
variation of a request saintdev made.  hope he likes it.

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

16 years agoWinGui:
sr55 [Mon, 30 Jun 2008 14:24:47 +0000 (14:24 +0000)]
WinGui:
- Queue system moved into it's own class.
- Queue now uses a listview display instead of a simple list. It now displays some information about each encode instead of the CLI String.
- Misc other Fixes.

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

16 years ago - fix an error in the SCR calculation that would cause an extra frame to be dropped...
van [Mon, 30 Jun 2008 05:01:01 +0000 (05:01 +0000)]
 - fix an error in the SCR calculation that would cause an extra frame to be dropped at an SCR discontinuity.
 - fix a rounding error in the encx264 init_delay computation that would underestimate the delay for progressive content and cause spurious "init_delay too small" messages.
 - clean up the sync.c "video time didn't advance" logic and try to make the error mgs more useful for debugging frame duration problems.

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

16 years agoIf we always require a buffer to be available on every fifo we'll eventually deadlock...
van [Mon, 30 Jun 2008 04:32:49 +0000 (04:32 +0000)]
If we always require a buffer to be available on every fifo we'll eventually deadlock since video and audio run at different rates. Instead take the earliest available buffer (so we don't starve any of the fifos) but don't lock up if fifos are occasionally empty.

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

16 years agoWinGui:
sr55 [Fri, 27 Jun 2008 14:42:17 +0000 (14:42 +0000)]
WinGui:
- Added: Resolution calculation for non anamorphic encodes in the GUI.
- Added: Ability to minimize to the system tray. Includes popup notifications of encoding status.
- Added: Duration calculation based on Title and selected chapters.
- Added: Some more code comments and summaries
- Change: Activity window now only refreshes if there is an active HandBrakeCLI.exe running.
- Change: Browse button/ File mode checkbox for Source Selection Removed. Replaced with a Source Dropdown button in the main toolbar. (works a bit like the magui but still uses the 2 different dialog boxes)
- Change: Removed "Recommended Crop" label and simply let the dropdown set the cropping values. Added DVD resolution Label.
- Fixed: Preset loader now selects longest title and set's chapters to Auto. Before it would load in the last setting used which is bad.
- Fixed bug in the presetLoader() function with the 2nd audio channel track selection.

Final Note: Quite a bit of code has been moved around in this checkin to clear things up a bit.

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

16 years agoFix a crash when using mp4 and no audio tracks.
saintdev [Thu, 26 Jun 2008 01:19:47 +0000 (01:19 +0000)]
Fix a crash when using mp4 and no audio tracks.
Because there were no audio structs on list_audio, audio->config was attempting
to dereference a NULL pointer.

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

16 years agofix the build instructions
jstebbins [Wed, 25 Jun 2008 20:11:30 +0000 (20:11 +0000)]
fix the build instructions

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

16 years agoMacGui: Fixed overlapping button when resizing the preset drawer.
ritsuka [Wed, 25 Jun 2008 13:22:38 +0000 (13:22 +0000)]
MacGui: Fixed overlapping button when resizing the preset drawer.

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

16 years agoMacGUI: Replace MVMenuButton with standard controls. Thanks blindjimmy.
ritsuka [Wed, 25 Jun 2008 13:05:04 +0000 (13:05 +0000)]
MacGUI: Replace MVMenuButton with standard controls. Thanks blindjimmy.
Replace plus and minus icons with apple's one.

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

16 years agoMacGui: Replace valueForKey with objectForKey when accessing the NSDictionary in...
dynaflash [Wed, 25 Jun 2008 12:41:53 +0000 (12:41 +0000)]
MacGui: Replace valueForKey with objectForKey when accessing the NSDictionary in presets. Though this makes no functional difference, it is more consistent. Patch by blindjimmy. forum.handbrake.fr/viewtopic.php?f=4&t=6418

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

16 years agoget the right version info when building with make on linux
jstebbins [Mon, 23 Jun 2008 18:05:25 +0000 (18:05 +0000)]
get the right version info when building with make on linux

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

16 years agoLinGui: Allow scanning new source when work is in progress
jstebbins [Mon, 23 Jun 2008 15:48:13 +0000 (15:48 +0000)]
LinGui: Allow scanning new source when work is in progress
and allow stacking up jobs from multiple sources in the queue.

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

16 years agoLinGui: fix line wrapping in activity window.
jstebbins [Mon, 23 Jun 2008 15:14:39 +0000 (15:14 +0000)]
LinGui: fix line wrapping in activity window.
word wrapping in gtk is still broken.  use character wrapping.

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

16 years agoDon't let cropping get fooled by dark content - make sure that we only crop a row...
van [Mon, 23 Jun 2008 06:18:33 +0000 (06:18 +0000)]
Don't let cropping get fooled by dark content - make sure that we only crop a row or column if all pixels are within one quantization level of average value & average value is within one level of black. (fix for bug discussed in forum.handbrake.fr/viewtopic.php?f=12&t=6335)

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

16 years agoReintroduce Solaris support. Fully tested on everything - apart from Windows, which...
eddyg [Thu, 19 Jun 2008 04:23:52 +0000 (04:23 +0000)]
Reintroduce Solaris support. Fully tested on everything - apart from Windows, which really shouldn't be affected. Note that I've disabled troublesome components in ffmpeg that didn't work with Solaris. And disabled X support in libmpeg2 for all platforms - 'cos it shouldn't have been there.

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

16 years agoremove autogenerated file from svn. They should be regenerated on the
jstebbins [Thu, 19 Jun 2008 03:13:27 +0000 (03:13 +0000)]
remove autogenerated file from svn. They should be regenerated on the
platform being built on.  Mysterious errors occur if not.

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

16 years agoGetting rid of dvd open failure error, it is not an error when
eddyg [Thu, 19 Jun 2008 01:21:38 +0000 (01:21 +0000)]
Getting rid of dvd open failure error, it is not an error when
the input is a file.

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

16 years ago - Add COLR atom support to mpeg4ip
van [Wed, 18 Jun 2008 21:48:00 +0000 (21:48 +0000)]
 - Add COLR atom support to mpeg4ip
 - Add COLR atom to mp4 video tracks
 - Add colorspace info to h.264 VUI header

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

16 years agofor linux and cygwin. fix dep for HandBrakeCLI so that it is rebuilt when libhb...
jstebbins [Wed, 18 Jun 2008 18:15:15 +0000 (18:15 +0000)]
for linux and cygwin.  fix dep for HandBrakeCLI so that it is rebuilt when libhb changes

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

16 years agouse same compile optimizations that a jam build uses
jstebbins [Wed, 18 Jun 2008 17:54:14 +0000 (17:54 +0000)]
use same compile optimizations that a jam build uses

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

16 years agoFix building of faad2 with libtool 2.2.x
saintdev [Wed, 18 Jun 2008 00:55:37 +0000 (00:55 +0000)]
Fix building of faad2 with libtool 2.2.x

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

16 years agoRedo svn:eol-style=LF this time.
saintdev [Tue, 17 Jun 2008 22:32:05 +0000 (22:32 +0000)]
Redo svn:eol-style=LF this time.
native messes things up with windows client, and cygwin

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

16 years agoRemove assert()s.
saintdev [Tue, 17 Jun 2008 21:08:26 +0000 (21:08 +0000)]
Remove assert()s.
They were really only put there for initial debugging, never intended to make it into the final commit.

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

16 years agoCLI: Add a newline at the end of the hb_error message.
saintdev [Tue, 17 Jun 2008 20:38:17 +0000 (20:38 +0000)]
CLI: Add a newline at the end of the hb_error message.

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

16 years agoCLI: Simplify the handling of audio codecs, bitrate and samplerate.
saintdev [Tue, 17 Jun 2008 20:38:12 +0000 (20:38 +0000)]
CLI: Simplify the handling of audio codecs, bitrate and samplerate.
-libhb now handles copying of properties for pass-through.

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

16 years agoIf we're using pass-through, copy the input bitrate/sample rate to the output.
saintdev [Tue, 17 Jun 2008 20:38:08 +0000 (20:38 +0000)]
If we're using pass-through, copy the input bitrate/sample rate to the output.

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

16 years agoNo need to check the mixdown settings if pass-through is requested.
saintdev [Tue, 17 Jun 2008 20:37:58 +0000 (20:37 +0000)]
No need to check the mixdown settings if pass-through is requested.

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

16 years agoSet svn:eol-style=native on most text files.
saintdev [Tue, 17 Jun 2008 20:01:15 +0000 (20:01 +0000)]
Set svn:eol-style=native on most text files.
Goodbye evil CRLF.

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

16 years agoLinGui: Initial import
jstebbins [Tue, 17 Jun 2008 15:40:49 +0000 (15:40 +0000)]
LinGui: Initial import

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