summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Switches from mpeg4ip's copy of libmp4v2 to an independently-maintained one ↵jbrjake2008-10-153-40/+15
| | | | | | located at: code.google.com/p/mp4v2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1833 b64f7644-9d1e-0410-96f1-a4d463321fa5
* a52_syncinfo() returns garbage values sometimes, so when scanning a stream ↵eddyg2008-10-141-1/+17
| | | | | | check for two AC3 packets in a row that agree on their values before accepting them as gospel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1832 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Finally!! Nested Presets - Initial implementationdynaflash2008-10-145-633/+836
| | | | | | | | | | | | | | | | | | | - Currently just in the Built In presets. - Special thanks to jbrjake for updating the new built in presets :) -- jbrjake's notes on built in preset changes: --- no more blind, broke, bedlam, or deux six quatre presets --- detelecine and decomb for animation and television high profile presets --- new x264 settings for most presets, which are still in a state of flux --- iPod Hi-Rez renamed iPod Legacy, iPod Low-Rez renamed iPod Classic & iPod Nano, iPhone / iPod Touch renamed iPhone & iPod Touch - Make sure to Update your Built In presets. - Selecting the default preset (whether user specified or the hb default) automatically expands the proper parent folders - "Folders" are stored as a different type of preset with key "Folder" where a value of 1 is a folder and 0 is a regular preset. - Children presets (which can also be folder presets with their own children) are stored in an array in the folder preset with key "ChildrenArray" - Levels are limited to three (including the root level). - Though most of the code for creating custom user specified folders and dragging and dropping user presets into those folders is done, its not fully tested so is not currently implemented. In other words custom presets are still only at the root level. - Known issue: dragging and dropping within custom user presets seems a touch "glitchy". Though in testing presets have not been lost. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1831 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-1310-512/+551
| | | | | | | | - Started to decouple this code a bit. Common.cs (now Main.cs) no longer relies on the frmMain window being passed into it. frmAddPreset no longer requires to access QueryGenerator.cs - QueryGenerator.cs, x264Panel.cs, PresetLoader.cs all moved into their own "frmMain" folder as that is the only place they should be used. - Rearranged the base of frmMain.cs a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1830 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-131-9/+5
| | | | | | | - Fix preset bug where mkv and chapters are used in the preset, but on selecting said preset, the selected file extension would be m4v - Fix in Audio panel where the track 1 bit-rate is not always set correctly if the preset also changes the audio mixdown git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1829 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Only associate audio tracks with an alternate group if there's more than one ↵jbrjake2008-10-111-6/+8
| | | | | | audio track. That way the iPhone doesn't show the audio selection button when it isn't necessary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1828 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make DTS and HDMV DTS audio work in Transport and m2ts streams.van2008-10-111-8/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1827 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix incorrect display of target file size in queue.jstebbins2008-10-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1826 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Add support for naming audio tracks to the HandBrakeCLI, thanks to ↵eddyg2008-10-105-10/+87
| | | | | | LePetomane for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1825 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Fix linux compilation. Only set the pthread mutex type on cygwin ↵eddyg2008-10-101-0/+3
| | | | | | since it is the only one that is using the wrong one as a default. Avoids having to get the enums right across OS's. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1824 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Changes required by latest x264jstebbins2008-10-0911-290/+47
| | | | | | | Loose b-rdo and bime options. Allow subme to go to 9. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1823 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-093-577/+463
| | | | | | | - Removes Brdo and Bime checkboxes from the advanced tab. - Subme now goes up to 9 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1822 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bumps x264 to r999, bringing with it, among other things, the removal of the ↵jbrjake2008-10-095-4645/+3662
| | | | | | | | | | | | | | | b-rdo and bime options and new subme modes to replace them. Subme 5 or greater now includes bime. Subme 7 is now subme 6 with b-rdo Subme 8 is the old subme 7 with b-rdo Subme 9 is new, does RD-refinement for b-frames. MacGui presets and advanced tab have been updated to reflect these changes (don't forget to update built-in presets). CLI will wait, as manicure.rb is in a state of flux. WinGui and LinGui still need to be updated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1821 b64f7644-9d1e-0410-96f1-a4d463321fa5
* After discussion with eddyg, extending verbose logging level 2 from just ↵jbrjake2008-10-099-23/+23
| | | | | | memory-related logging to general-purpose housekeeping--stuff that isn't necessary when scrolling through activity logs users submit with bug reports and support queries. This includes things like thread start/exit messages and preview frames. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1820 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds an hb_deep_log() function for multiple levels of debugging verbosity. ↵jbrjake2008-10-094-8/+60
| | | | | | Level 1 displays when hb_log does (job->verbose == 1) and is now meant for logging that helps in tech support. Level 2 adds memory-related logging like freed buffers, and level 3 is for granular stuff that displays once per sample, frame, packet, etc. The debug level continues to be set when hb_init() is called. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1819 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-061-1/+4
| | | | | | - Another small improvement to the activity window. If the user has only selected a small block of text, then the copy to clipboard function now only copies that, rather than the full log. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change pthread mutex's to be explicitly NORMAL instead of relying on the ↵eddyg2008-10-061-1/+6
| | | | | | default on a per OS basis. Cygwin was using RECURSIVE as a default, which does not block the caller upon a second lock. This commit fixes decomb, and slow, and slower deinterlace on Windows. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1817 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: nested presets and drag n drop re-ordering of presetsjstebbins2008-10-0511-201/+1314
| | | | | | | | adding a preset always places it at the top level. drag it to where you want it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1816 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-051-0/+1
| | | | | | - Re-select the preset control after an user interacts with it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1815 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-056-629/+620
| | | | | | - Just moving stuff functions around to different places. Probably some more of this to come. frmMain / common.cs are a bit of a mess right now git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1814 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Try to drive the stream timing off the audio stream(s) since audio has a pts ↵van2008-10-051-4/+24
| | | | | | on every frame while video typically has one on <10% of the frames. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1813 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Sanity check in encfaacClose or we'll abort on an illegal channel spec or ↵van2008-10-041-6/+23
| | | | | | sample ratesince init sets job->die which causes close to be called when the work struct hasn't been fully set up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Jamfile - Fixes tab instead of 4 spaces.sr552008-10-041-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1811 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cygwinsr552008-10-041-0/+26
| | | | | | - Suppose it would help if I actually included the patch for the last checkin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1810 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CygWin:sr552008-10-041-0/+5
| | | | | | | | - Patch for libdvdread (cygwin only). Cygwin no longer requires a types.h header change in order to compile HandBrake Thanks to KonaB1end for this patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1809 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-047-68/+67
| | | | | | - Few more improvements to the ActivityWindow. Hopefully makes it a bit more user friendly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1808 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-045-14/+111
| | | | | | | | | - Added Copy to Clipboard button back to the Activity Log Window. Now works on Vista. - Activity window now loads the load file for the last action. e.g If the last action was a scan, it'll load the scan log and if the last action was an encode, it will display the encode log. That should make it a little bit easier to use / understand. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1807 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: queue item editingjstebbins2008-10-0412-5/+288
| | | | | | | | editing a pending item loads the item's settings and deletes it from the queue editing a finished or running item just loads it's settings git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1806 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refactoring that will make nested presets easier to implement.jstebbins2008-10-033-102/+103
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1805 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change the top level structure that contains presets from a dictionaryjstebbins2008-10-034-94/+237
| | | | | | | | | to an array. Dictionaries are unordered sets, so this new structure allows greater flexibility in how the presets may be ordered. Is backwards compatible. Old structure is read and converted to new. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1804 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow the macgui to properly read sources from a ZFS (zfs-119) ↵dynaflash2008-10-031-1/+12
| | | | | | formatted drive (experimental in Leopard). Thanks KonaB1end for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1803 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Only do 'lost PCR' checks (r1712) when we're dealing with something that ↵van2008-10-035-3/+19
| | | | | | | | | could be an over-the-air transport stream. We can't lose the clock of a program stream and shouldn't have losses on an m2ts stream. - Widen the DTS-to-PCR acceptance window from +-5sec to +-5min since there's nothing in the standard that bounds the offset between a DTS and its clock reference. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1802 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-021-0/+3
| | | | | | - Fixed small UI annoyance bug with queue import/export/batch script feature. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-021-1/+11
| | | | | | - Query Parser - Regex was failing when the audio track was listed as " + 1, English (AAC)" instead of something like " + 2, English (AC3) (5.1 ch), 48000Hz, 384000bps" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-013-33/+146
| | | | | | - Resizeable Update window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue - Add drc info for the audio tracks thanks to NightStorm for ↵dynaflash2008-10-011-0/+37
| | | | | | bringing it to my attention. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1798 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ...and apparently there wasn't anything wrong with make in Windows after all.jbrjake2008-09-301-14/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1797 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CygWin:sr552008-09-302-0/+11
| | | | | | - Fixes make building on cygwin (I think - I was seeing some cygwin lib errors before however these seem to have just disappeared. If anyone has a failed build due to this, let me know.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1796 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ffmpeg requires framerate num/den to be reducable to 16 bit quanitites forjstebbins2008-09-301-2/+28
| | | | | | | | | mpeg-4. So round odd framerates to "close" standard framerate (which are reducable). If there is no "close" framerate, the the rate is truncated down to 16 bits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ...and apparently make doesn't work in Windows (?!)jbrjake2008-09-301-6/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1794 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove some of the debug messages in prepareJob for the queue ↵dynaflash2008-09-301-9/+2
| | | | | | | | processing. - Also fix a reference to the 4th audio track drc slider. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1793 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Refreshed the text configure spits out, to encourage use of make over jam.jbrjake2008-09-301-2/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1792 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Zero out the mask bitmap properly in decomb. Thanks for finding this and ↵jbrjake2008-09-301-1/+1
| | | | | | providing the solution, j45! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1791 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update x264 from r979-6d4af8d to r995-2324c70dynaflash2008-09-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1790 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: When the source is a file, be more intelligent about auto-naming thejstebbins2008-09-291-5/+23
| | | | | | | destination. Strip off known video extensions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1789 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update ffmpeg from version r14737 to r15462.eddyg2008-09-293-6/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1788 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Wait until 4 frames are stashed in the delay_queue before outputting any ↵jbrjake2008-09-291-2/+1
| | | | | | frames from render when using VFR detelecine. With only 3, the array storing previous time stamp isn't full when the first frame's outputted, throwing off AV sync. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1787 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio mixdown validation problem when source is 2 channeljstebbins2008-09-291-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1786 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a small scanning status display problem and a compiler warning.jstebbins2008-09-292-1/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1785 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix warning windows when shutting down HandBrake during encoding or ↵dynaflash2008-09-291-9/+9
| | | | | | if there are still pending items in the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1784 b64f7644-9d1e-0410-96f1-a4d463321fa5