summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move mixdown-> channel_layout/matrix_encoding translation to ↵Rodeo2012-08-276-36/+44
| | | | | | | | | | hb_audio_resample_init(). Unlike hb_audio_remap, hb_audio_resample will never be used in situations where we don't have a mixdown. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4923 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_audio_resample: move setters out of hb_audio_resample_update(), to ↵Rodeo2012-08-276-66/+117
| | | | | | dedicated functions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4922 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add support for a secondary audio language track.dynaflash2012-08-272-46/+392
| | | | | | | | | | | | - Patch courtesy of Dennis Frommknecht ... thank you! - Adds a second language preference in Preferences > Audio -- If the corresponding language is not available in the source, the group for this language is not added. If neither default nor alternate language is found, the first audio track would be added (as it is already). The alternate language can also be left empty in which case no second group is added. -- The implementation ensures that the same track is not added twice (if default and alternate language are identical). It is also flexible enough to support an arbitrary number of languages. They just have to be added to array "preferredLanguages" at the beginning of method "addTracksFromPreset" (HBAudioController.m). The original patch and explanation can be found at https://reviews.handbrake.fr/r/262/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4921 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Strip out the last traces of MEF since it's not going to be used.sr552012-08-2718-135/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4920 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: decomb and deinterlace improvementsjstebbins2012-08-277-1415/+1576
| | | | | | | | | | | | | | | | | | Use hb_buffer_t for reference buffers. This is what eliminates extra buffer copies. Simplified a lot of the code. This resulted in some minor speed improvements and easier to read code. Allow mcdeint+bob. Previously these could not be used together. Thread the erode-dilate-erode-check steps in decomb3. More speed improvement. Speed of default decomb went from 62fps to 76fps. Speed of fast decomb went from 90fps to 95fps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4919 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use a more direct workaround for the DTS-ES XCh decoding issue.Rodeo2012-08-262-12/+20
| | | | | | | | | | The workaround committed in revision 4896 works for now, but if/when we add 6.1 encoding, we'll want to decode that discrete center surround channel. We could special-case it, but the issue would still be present under 64-bit Windows. Instead, disable the buggy assembly optimizations until they are fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4918 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix a second Integer overflow.sr552012-08-251-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4917 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix an Integer overflow in the picture settings panel.sr552012-08-251-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4916 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: General Tidyup of the Services Library API.sr552012-08-2516-150/+184
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4915 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Initial Work to wire up Encode Process Isolation.sr552012-08-2218-154/+698
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4914 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Handbrake Toolbar Icons by Nik Pawlak ([email protected], @nikpawlak, ↵sr552012-08-2024-0/+12
| | | | | | | | | http://nikpawlak.com) For use only with Handbrake software and directly related non commercial projects. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4913 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Setup properties for the HandBrake.Server app.sr552012-08-192-3/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4912 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Prototype of process isolation support (to be used for libhb when ↵sr552012-08-1921-36/+1160
| | | | | | | | | this is fixed up). Uses WCF for process communication. Initially for the scan service only, encode service proxy coming soon. No changes required for the UI application. Two new implementations of IScan and IEncode will act as a proxy between the UI and the Server Service Layer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4911 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cosmetics.Rodeo2012-08-191-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4910 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove unused code.Rodeo2012-08-191-15/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4909 b64f7644-9d1e-0410-96f1-a4d463321fa5
* gfx: New Application Icon (Photoshop PSD and various sizes of png files) by ↵sr552012-08-189-0/+4
| | | | | | Matt Johnson git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4908 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fixes to the Advanced Panel (8x8t and ref) and Picture Panel ↵sr552012-08-154-28/+35
| | | | | | (Further Max W/H fixes) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4907 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't send empty audio packets downstream, as empty buffers are assumed to ↵Rodeo2012-08-152-2/+11
| | | | | | | | | | mark the end of stream. Such packets can result from samplerate or other types of audio conversion. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4906 b64f7644-9d1e-0410-96f1-a4d463321fa5
* declpcm: modify hdr2layout.Rodeo2012-08-151-3/+2
| | | | | | | | AV_CH_LAYOUT_STEREO w/7 or 8 channels is invalid anyway, and will get sanitized in hb_ff_layout_xlat(). Doing it in declpcm directly avoids an unnecessary call to that function, with identical results. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4905 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Check the return code of hb_audio_resample_update(). This allows us to log ↵Rodeo2012-08-153-11/+28
| | | | | | an error when it fails, so we know which decoder actually called the function. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4904 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Let's hope this is the last of my stupid deca52 hb_audio_resample support ↵Rodeo2012-08-151-0/+5
| | | | | | mistakes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4903 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Picture settings MaxWidth/Height fixessr552012-08-131-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4902 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Some refactoring, exposing list of video encoders, fixed const ↵randomengy2012-08-125-297/+344
| | | | | | value, added some error checking. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4901 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Highlight the default preset in italics.sr552012-08-123-21/+56
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4900 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve last commit. While the AC3 decoder doesn't use hb_ff_layout_xlat(), ↵Rodeo2012-08-112-5/+5
| | | | | | the code I added to it really belongs in hb_audio_resample. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4899 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a bug where we were attempting to downmix Dolby Surround ↵Rodeo2012-08-111-2/+6
| | | | | | (AV_CH_LAYOUT_STEREO_DOWNMIX) to AV_CH_LAYOUT_STEREO via libavresample (which is not implemented). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4898 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_audio_resample: when avresample_open() fails, log the error description.Rodeo2012-08-101-4/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4897 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Restore the old hack that disables DTS-ES extension processing. We support ↵Rodeo2012-08-101-0/+12
| | | | | | | | | | | | 6.1 now, but libavcodec's assembly optimizations are buggy under Win64, causing audio distortion when canceling the matrixed Cs channel out of Ls and Rs. This can be removed when the bugs are fixed. Note: unlike before, we still present the stream as 6.0/6.1 to users; it simplfies the code and doesn't make much difference since we always downmix to at least 5.1 anyway. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4896 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: --subtitle-burn -> should be burnedsr552012-08-082-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update the NEWS filesr552012-08-051-0/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4894 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add the readable copy of the MinGW doc filesr552012-08-051-0/+484
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4893 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MinGW doc updatessr552012-08-051-2/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4892 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove Cygwin from the docs folder and add mingwsr552012-08-054-492/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4891 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add Audio Track Name option back in. For now, I've used a toggle ↵sr552012-08-053-19/+91
| | | | | | button on the audio track to expand the row to show hidden audio options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4890 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Improvements in the options screen layoutsr552012-08-041-15/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4889 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Added a right click menu for the Audio, Subtitles and Chapters tabs ↵sr552012-08-046-85/+174
| | | | | | with some common actions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4888 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Encode log: indicate if audio->config.out.normalize_mix_level is enabled.Rodeo2012-08-021-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4887 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build system: enforce an order to applying contrib patchesjstebbins2012-08-021-2/+2
| | | | | | | | | New patch for a52dec has a dependency on another patch and must be applied after it. Patches appeared to be getting applied in whatever order the filesystem presented the files in. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4886 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use hb_audio_resample for downmixing AC3 sources. DRC is still applied by ↵Rodeo2012-08-0211-304/+376
| | | | | | | | | | | | | | | | | liba52. Add support for center & surround mix levels to hb_audio_resample. This allows us to support upmixing all audio sources. For sources that have at least 2 front and one back or side channel(s), allow upmixing to 5.1: 3.0/3.1 (2 front and 1 back channels) 4.0/4.1 (3 front and 1 back channels) 4.0/4.1 (2 front and 2 side channels) 5.0 (3 front and 2 side channels) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4885 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Allow control of audio mix normalizationjstebbins2012-08-019-12/+112
| | | | | | | | | | | | Since switching to libavresample for audio mixing, our output volume levels have been reduced because libavresample does mix level normalization by default. This change applies a patch to libav to allow us to disable this behavior and adds a new field to hb_audio_config_t to allow the hb frontends to control this feature. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4884 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump Libav to v0.8-2551-gc83f44d.Rodeo2012-07-302-10/+5
| | | | | | | | | | | | | | Fixes an issue in assembly code that could result in very poor performance when encoding with x264 & AC3 Passthru. Thanks to our John Stebbins for finding the cause of the bug, and to x264 & Libav developers for fixing it. Miscellaneous other fixes and improvements, including multichannel Apple Lossless audio decoding support. Also, clean up our Libav configure options (group things together, disable all hardware accelerations with one switch instead of individually, and disable building the unused avfilter library). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4883 b64f7644-9d1e-0410-96f1-a4d463321fa5
* work: simplify & optimize.Rodeo2012-07-291-47/+38
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4882 b64f7644-9d1e-0410-96f1-a4d463321fa5
* work: indentation and miscellaneous cosmetics.Rodeo2012-07-291-181/+182
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4881 b64f7644-9d1e-0410-96f1-a4d463321fa5
* work: don't sanitize output bitrate etc. for passthrough audio.Rodeo2012-07-291-11/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use HB_INVALID_AMIXDOWN and HB_AMIXDOWN_NONE where applicable.Rodeo2012-07-294-10/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4879 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Introduce a negative HB_INVALID_AMIXDOWN.Rodeo2012-07-272-1/+3
| | | | | | | | | | Having the audio->config.out.mixdown start at 0 caused it to be treated as usigned (under OS X at least), causing the sanitizing code in work.c to fail: line 820, (audio->config.out.mixdown <= 0) would evaluate as false, and so the best mixdown was being set instead of the default one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4878 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Couple more Picture Settings Tab bug fixes. Note: Still a few more ↵sr552012-07-251-1/+6
| | | | | | issues to work out here. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4877 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Don't set -X or -Y for the CLI Query. The UI handles Max Width / Height.sr552012-07-251-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4876 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxmkv: reset the output track configuration before adding each audio track, ↵Rodeo2012-07-241-3/+2
| | | | | | | | | | rather than just once before adding all audio tracks. Among other things, avoids having the HE-AAC outputSamplingFreq contaminate all following non-HE or non-AAC tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Couple UI tweaks and better text rendering throughout the app since ↵sr552012-07-237-10/+20
| | | | | | no-one complained yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4873 b64f7644-9d1e-0410-96f1-a4d463321fa5