OSDN Git Service
van [Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)]
Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):
- always use source time stamps (HB vfr mpeg4 files now handled correctly)
- handle Microsoft's braindead "VFW packed b-frames"
- compute average video frame rate from total duration & number of frames (ignore ffmpeg's frame rate which is closer to a max f.r. for vfr video).
- workaround an ffmpeg audio decode abort when it used SSE instructions on unaligned buffers.
git-svn-id: svn://localhost/HandBrake/trunk@1687
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 10 Sep 2008 11:16:21 +0000 (11:16 +0000)]
WinGui:
- New option to allow the user to enter which format they wish the autoName function to use.
git-svn-id: svn://localhost/HandBrake/trunk@1686
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 9 Sep 2008 23:14:28 +0000 (23:14 +0000)]
LinGui: consolidate all resources into one stringified plist file that gets
compiled in. icons and everyting all rolled up into one ball-o-wax.
hehe, plists are cool
git-svn-id: svn://localhost/HandBrake/trunk@1685
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 9 Sep 2008 19:01:38 +0000 (19:01 +0000)]
WinGui:
- Fixed Crop values not set on title change.
as per: http://forum.handbrake.fr/viewtopic.php?f=12&t=7050
git-svn-id: svn://localhost/HandBrake/trunk@1684
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 9 Sep 2008 17:31:44 +0000 (17:31 +0000)]
WinGui:
- Fix in CalculateDuration. Crash caused by end chapter dropdown menu not getting re-populated before calculate duration run. See:
http://forum.handbrake.fr/viewtopic.php?f=12&t=7050
git-svn-id: svn://localhost/HandBrake/trunk@1683
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 9 Sep 2008 16:48:33 +0000 (16:48 +0000)]
WinGui:
- Allow users to manually import / export the queue.
git-svn-id: svn://localhost/HandBrake/trunk@1682
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Tue, 9 Sep 2008 02:34:57 +0000 (02:34 +0000)]
CLI: exit rather than continue when invalid input audio tracks are selected.
git-svn-id: svn://localhost/HandBrake/trunk@1681
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 23:44:13 +0000 (23:44 +0000)]
LinGui: internalize the UI description xml file. That's the last external
file that was neccessary. The ghb binary can now stand on its own without
external resource files. The makefile still installs a couple extra files
that adds HandBrake to the users "Sound & Video" menu.
git-svn-id: svn://localhost/HandBrake/trunk@1680
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 23:16:45 +0000 (23:16 +0000)]
LinGui: simplify the makefile icon building command
git-svn-id: svn://localhost/HandBrake/trunk@1679
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 23:11:15 +0000 (23:11 +0000)]
LinGui: Internalize all the icons so I don't have to install them in
a system directory. One step closer to being able to build a binary
that can stand on it's own without a bunch of additional resource files.
git-svn-id: svn://localhost/HandBrake/trunk@1678
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 02:13:48 +0000 (02:13 +0000)]
LinGui: yikes, this thing leaks worse than my roof, fixed
git-svn-id: svn://localhost/HandBrake/trunk@1677
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 00:24:11 +0000 (00:24 +0000)]
LinGui: fix memory issues found by valgrind
one uninitialized variable
one missing free
one malloc that's 1 byte too small
git-svn-id: svn://localhost/HandBrake/trunk@1676
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 7 Sep 2008 21:49:16 +0000 (21:49 +0000)]
Removed contrib pack from cygwin part of makefile.
git-svn-id: svn://localhost/HandBrake/trunk@1675
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 7 Sep 2008 17:58:11 +0000 (17:58 +0000)]
LinGui: Fix crash on ubuntu intrepid. Just luck it didn't crash on other
systems. Was freeing a GtkTreePath improperly.
Also fix spelling of "dependency"
git-svn-id: svn://localhost/HandBrake/trunk@1674
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 7 Sep 2008 17:06:39 +0000 (17:06 +0000)]
LinGui: Fix several strict-aliasing warnings and a null pointer dereference
that can happen if preferences don't yet exist and your running the app over
an ssh session.
git-svn-id: svn://localhost/HandBrake/trunk@1673
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 22:43:10 +0000 (22:43 +0000)]
LinGui: Fix a crash with re-scanning prior to encoding. Incorrect title
index was being used. Must be sure to use title->index for this.
git-svn-id: svn://localhost/HandBrake/trunk@1672
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 19:13:25 +0000 (19:13 +0000)]
LinGui: Fix a non-fatal Gtk assert when switching the source selection mode
from file to folder.
git-svn-id: svn://localhost/HandBrake/trunk@1671
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 18:01:48 +0000 (18:01 +0000)]
LinGui: missed adding a file with last commit
git-svn-id: svn://localhost/HandBrake/trunk@1670
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 6 Sep 2008 17:00:09 +0000 (17:00 +0000)]
WinGui:
- Minor UI tweak to the Crop controls. Now uses radio buttons
git-svn-id: svn://localhost/HandBrake/trunk@1669
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 16:48:54 +0000 (16:48 +0000)]
LinGui: Add queue save/restore
- 2 instances of libhb are used. One for queue activities and one for scanning
new sources prior to adding to the queue.
- Improve chapter entry usability. In addition to "return" advancing to the
next chapter for editing, up and down arrows will advance to prev/next and
put the cell in edit mode.
- Add an accelerator key to jump to the destination entry box.
- Fix a queue window resize problem.
git-svn-id: svn://localhost/HandBrake/trunk@1668
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 5 Sep 2008 15:25:49 +0000 (15:25 +0000)]
WinGui:
- Select which log file to view from the Activity Window rather than the tools menu / task bar.
git-svn-id: svn://localhost/HandBrake/trunk@1667
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 5 Sep 2008 14:46:56 +0000 (14:46 +0000)]
WinGui:
- Code Cleanup
- Bugfix: PresetLoader incorrectly loading audio track number with user presets.
git-svn-id: svn://localhost/HandBrake/trunk@1666
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Fri, 5 Sep 2008 06:16:44 +0000 (06:16 +0000)]
- get rid of another deadlock: if there were more than 64 audio frames before the first video frame we'd lock up the reader.
- if we get a bogus timestamp at the end of some conversion just ignore it and don't try to generate minutes or hours of silence to fill the hole.
git-svn-id: svn://localhost/HandBrake/trunk@1665
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 4 Sep 2008 11:28:37 +0000 (11:28 +0000)]
Removed old CYGWIN contrib pack files.
git-svn-id: svn://localhost/HandBrake/trunk@1664
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Wed, 3 Sep 2008 01:21:01 +0000 (01:21 +0000)]
CLI: Sanity check audio options in HandBrakeCLI to prevent NULL dereferences when invalid audio inputs are used.
git-svn-id: svn://localhost/HandBrake/trunk@1663
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 2 Sep 2008 22:56:19 +0000 (22:56 +0000)]
LinGui: Presets and preferences are now stored as plists
This will also make saving/restoring the queue much easier.
It's a scary big change. 1400 new lines of code. Due to efficiencies
of a better desing, 2400 lines of old code also gets refactored
down to 1600. Giving a final net +600 lines.
Along the way, I stumbled across a couple bugs and fixed them.
Chapter list entry would get wedged under certain circumstances.
Pausing encoding didn't display pause message in status bar.
git-svn-id: svn://localhost/HandBrake/trunk@1662
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 1 Sep 2008 19:48:30 +0000 (19:48 +0000)]
Removed Cygwin info from BUILD file as it is no longer valid.
git-svn-id: svn://localhost/HandBrake/trunk@1661
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 1 Sep 2008 19:25:39 +0000 (19:25 +0000)]
Updated THANKS File
git-svn-id: svn://localhost/HandBrake/trunk@1660
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Fri, 29 Aug 2008 00:16:22 +0000 (00:16 +0000)]
Change buffer reuse policy to MRU to hopefully improve cache and VM performance.
git-svn-id: svn://localhost/HandBrake/trunk@1659
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 28 Aug 2008 20:15:07 +0000 (20:15 +0000)]
THANKS file updated, missed a name out, my bad.
git-svn-id: svn://localhost/HandBrake/trunk@1658
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 28 Aug 2008 20:13:05 +0000 (20:13 +0000)]
Added some names to THANKS file.
For those who have not yet been added, PM me please.
git-svn-id: svn://localhost/HandBrake/trunk@1657
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 28 Aug 2008 18:39:54 +0000 (18:39 +0000)]
WinGui:
- Fixed Custom Crop bug as per http://forum.handbrake.fr/viewtopic.php?f=12&t=6963
git-svn-id: svn://localhost/HandBrake/trunk@1656
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 27 Aug 2008 23:45:44 +0000 (23:45 +0000)]
WinGui:
- Code Refactoring and optimization to numerous files
git-svn-id: svn://localhost/HandBrake/trunk@1655
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 27 Aug 2008 15:26:26 +0000 (15:26 +0000)]
LinGui: plug small memory leak
git-svn-id: svn://localhost/HandBrake/trunk@1654
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 24 Aug 2008 17:57:54 +0000 (17:57 +0000)]
WinGui:
- Adds checkbox to enable decomb.
- Program Options updated with an option to customize decomb values.
- Queue Recovery feature. If you close the GUI without letting a queue complete, the user will be prompted if they'd like to recover the queue on next launch.
- Small bugfix with the queue HandBrakeCLI monitor thread not stopping when the GUI is closed.
git-svn-id: svn://localhost/HandBrake/trunk@1653
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 24 Aug 2008 03:14:56 +0000 (03:14 +0000)]
LinGui: oops. presets weren't saved after refreshing standard presets, so the
refresh got lost after restarting the app
git-svn-id: svn://localhost/HandBrake/trunk@1652
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 24 Aug 2008 02:10:15 +0000 (02:10 +0000)]
LinGui: bundle the standard presets in the exe. eliminates installing
a separate file.
git-svn-id: svn://localhost/HandBrake/trunk@1651
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 23 Aug 2008 20:04:38 +0000 (20:04 +0000)]
LinGui: allow standard presets to be deleted and provide a button to reload
them. This makes the lingui conform more closely to the macgui.
git-svn-id: svn://localhost/HandBrake/trunk@1650
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 22 Aug 2008 23:20:53 +0000 (23:20 +0000)]
LinGui: improve data entry method for deinterlace and denoise settings in
tweaks mode. replaces GtkComboBox with GtkComboBoxEntry.
add easter egg that gives access to hidden preferences
git-svn-id: svn://localhost/HandBrake/trunk@1649
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 21 Aug 2008 00:43:46 +0000 (00:43 +0000)]
LinGui: add a hidden feature to allow tweaking some settings. currently
tweaks are available for detelecine, decomb, deinterlace, deblock, and denoise
to enable, you must manually edit preferences file and add "allow_tweaks=1"
to tweak a setting, right click on the widget, an entry dialog will appear.
minimal validity checking is done on the tweak's value.
git-svn-id: svn://localhost/HandBrake/trunk@1648
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 20 Aug 2008 06:29:03 +0000 (06:29 +0000)]
LinGui: force use of contrib libs. libtool seems to be pretty arbitrary
about where it picks libs from
git-svn-id: svn://localhost/HandBrake/trunk@1647
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Wed, 20 Aug 2008 01:54:42 +0000 (01:54 +0000)]
Fix Solaris builds
git-svn-id: svn://localhost/HandBrake/trunk@1646
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Tue, 19 Aug 2008 06:23:09 +0000 (06:23 +0000)]
fix subtitle indepth scan abort & hang.
git-svn-id: svn://localhost/HandBrake/trunk@1645
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Mon, 18 Aug 2008 20:39:43 +0000 (20:39 +0000)]
Don't allow theora to use pkg-config and use system versions of ogg and vorbis
git-svn-id: svn://localhost/HandBrake/trunk@1644
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Mon, 18 Aug 2008 20:05:47 +0000 (20:05 +0000)]
The per-stream timing changes (r1570) make the overall timing depend on which media streams we process. So we can't ignore audio during pass 1 or the video timing will change between passes & make x264 abort. (Thanks to jbrjake for pointing out the problem.)
git-svn-id: svn://localhost/HandBrake/trunk@1643
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Mon, 18 Aug 2008 06:15:17 +0000 (06:15 +0000)]
- To reliably find audio in 720p or 1080i TS streams we need to search through first 50MB of file looking for the stream rather than first 18MB.
- When we're looking for a PES header for some PID, check both that the TS 'start' bit is set and that the first 3 data bytes are an MPEG start code (the start bit may get set by an error not caught by the CRC).
- Print the substream id when we reject a PID as "not audio" so we'll be able to debug TS streams using non-standard PES encapsulations.
git-svn-id: svn://localhost/HandBrake/trunk@1642
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Mon, 18 Aug 2008 06:07:19 +0000 (06:07 +0000)]
If we try to release old frames in the loop that searches for a free one we may free one that's in use & crash in avcodec_default_release_buffer. (Bug tracked down by eddyg).
git-svn-id: svn://localhost/HandBrake/trunk@1641
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Mon, 18 Aug 2008 04:25:18 +0000 (04:25 +0000)]
Don't crash when the user specifies audio tracks that don't exist from the HandBrakeCLI
git-svn-id: svn://localhost/HandBrake/trunk@1640
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Mon, 18 Aug 2008 01:54:15 +0000 (01:54 +0000)]
- patch a reference picture leak in ffmpeg/libavcodec/mpegvideo.c that caused aborts on h264 transport stream encodes.
- patch the log level of some h264 decoder error messages so we don't fill our log with messages about stuff that's a very likely & not terribly significant.
- don't let hb.c set the ffmpeg av_log level to AV_LOG_DEBUG -- it fills the HB activity log with junk.
- add a count of the decoder errors to decavcodec's final report.
- when we don't have any chapter text (i.e., during a typical cli encode) just print the chapter number rather than empty quote marks.
git-svn-id: svn://localhost/HandBrake/trunk@1639
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 17 Aug 2008 23:06:33 +0000 (23:06 +0000)]
Contrib Jamfile Error
- My Bad, put a && in the wrong place.
git-svn-id: svn://localhost/HandBrake/trunk@1638
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 17 Aug 2008 21:59:26 +0000 (21:59 +0000)]
* Contrib Updates:
- libogg-1.1.3.tar.gz
- xvidcore-1.1.3.tar.gz
- libtheora-1.0beta3.tar.gz
- libmpeg2-0.5.1.tar.gz
- faac-1.26.tar.gz
- ffmpeg-r14737.tar.gz
* Cygwin Patch for new libfaac
git-svn-id: svn://localhost/HandBrake/trunk@1637
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 17 Aug 2008 19:34:13 +0000 (19:34 +0000)]
WinGui:
- Fixed stupid mistake with query generator and the dvd chapters being set to auto
git-svn-id: svn://localhost/HandBrake/trunk@1636
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 17 Aug 2008 18:27:37 +0000 (18:27 +0000)]
WinGui:
- Added checkbox for decomb
- Removed 2 panels for frmMain components. It was screwing up the tab numbering. Maybe re-visit later on.
git-svn-id: svn://localhost/HandBrake/trunk@1635
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 16 Aug 2008 19:42:44 +0000 (19:42 +0000)]
WinGui:
- One elusive cross-thread bug in the Activity window fix (hopefully) + some tweaks to the log display
- Nicer Exception Handling Message box errors for frmReadDVD.
- frmMain Minimize to taskbar no tooltip text exception fixed.
git-svn-id: svn://localhost/HandBrake/trunk@1634
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 15 Aug 2008 23:23:54 +0000 (23:23 +0000)]
LinGui: set svn:ignore prop on generated files that will never be checked in
git-svn-id: svn://localhost/HandBrake/trunk@1633
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 15 Aug 2008 23:06:39 +0000 (23:06 +0000)]
LinGui: fix a couple problems with the preset translation tool
change my presets file to use the settings generated by the translation tool
also tidy up a display problem with x264 options
git-svn-id: svn://localhost/HandBrake/trunk@1632
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 14 Aug 2008 20:27:12 +0000 (20:27 +0000)]
Update x264 to revision x264-r930-
91d865c
- Mostly improves vbv. Still no psy-rdo but definitely better than current.
git-svn-id: svn://localhost/HandBrake/trunk@1631
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Thu, 14 Aug 2008 14:06:44 +0000 (14:06 +0000)]
Code comment clean-up, mostly to clarify the difference between the prev and next frame buffers and yadif's prev2 and next2 field pointers.
git-svn-id: svn://localhost/HandBrake/trunk@1630
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 14 Aug 2008 10:45:12 +0000 (10:45 +0000)]
WinGui:
- Added some regions to common.cs to make it a bit easier to read.
git-svn-id: svn://localhost/HandBrake/trunk@1629
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Wed, 13 Aug 2008 20:48:52 +0000 (20:48 +0000)]
Threaded yadif deinterlacer. Will split the YUV frames up into horizontal segments based on the number of CPUs available. All these segments will be processed seperately in parallel in their own thread.
git-svn-id: svn://localhost/HandBrake/trunk@1628
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Tue, 12 Aug 2008 01:59:21 +0000 (01:59 +0000)]
Sorry - just fix the indentation in 1626 that Xcode stuffed up.
git-svn-id: svn://localhost/HandBrake/trunk@1627
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Tue, 12 Aug 2008 01:55:30 +0000 (01:55 +0000)]
Don't crash HB when the video decoder (MPEG2 or ffmpeg) doesn't understand the format of the input and so therefore doesn't populate vid_info. Just skip that preview instead.
git-svn-id: svn://localhost/HandBrake/trunk@1626
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 11 Aug 2008 22:41:52 +0000 (22:41 +0000)]
LinGui: create a presets translator that reads mac gui xml file and
writes linux gui presets file
git-svn-id: svn://localhost/HandBrake/trunk@1625
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Sun, 10 Aug 2008 20:45:45 +0000 (20:45 +0000)]
Removes hard tabs from detelecine.c as a first step towards documenting it.
git-svn-id: svn://localhost/HandBrake/trunk@1624
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 10 Aug 2008 14:22:36 +0000 (14:22 +0000)]
WinGui:
- Just some code refactoring in frmMain.cs and common as well as a few smaller files.
git-svn-id: svn://localhost/HandBrake/trunk@1623
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Sat, 9 Aug 2008 19:26:28 +0000 (19:26 +0000)]
Make sure we never return an unitialized buffer chain to work_loop.
git-svn-id: svn://localhost/HandBrake/trunk@1622
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 9 Aug 2008 18:59:33 +0000 (18:59 +0000)]
WinGui:
- Added Memory and screen bounds to the activity log.
- Removed some x264 code from frmMain. The x264 widgets are now populated from the designer file.
- Removed some duplicate code from x264Panel.cs
- Added the macgui's animate function to x264Panel.cs
- Setup the Audio panel to default the sample rate to audio on audio track change.
git-svn-id: svn://localhost/HandBrake/trunk@1621
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 8 Aug 2008 17:53:44 +0000 (17:53 +0000)]
LinGui: address scott's complaint that the way i handle audio presets
is confusing. Eliminated the extra audio settings tab. consolidated
everything in the Audio/Subtitles tab. up to 8 audios can be stored in a
preset now. limit was 2 before, even though up to 8 audios could be
added manually for an encode.
git-svn-id: svn://localhost/HandBrake/trunk@1620
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 8 Aug 2008 17:08:14 +0000 (17:08 +0000)]
WinGui:
- Bug Fixes in QueryParser.cs and PresetLoader
- Fixes a bug where an incorrect cropping option get's chosen when a preset is loaded.
- No longer loads Source or destination from the preset.
git-svn-id: svn://localhost/HandBrake/trunk@1619
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Fri, 8 Aug 2008 08:54:36 +0000 (08:54 +0000)]
MacGui: Fixed the warning in ChapterTitles for real this time.
git-svn-id: svn://localhost/HandBrake/trunk@1618
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Fri, 8 Aug 2008 08:22:53 +0000 (08:22 +0000)]
MacGui: Use fast numerators in HBPreferencesController, remove an hard tab and replace float with CGFloat.
git-svn-id: svn://localhost/HandBrake/trunk@1617
b64f7644-9d1e-0410-96f1-
a4d463321fa5
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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