summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix detectsion of bitrate_code for ac3 passthru in mp4jstebbins2010-10-091-1/+1
| | | | | | | | ac3 passthru and encode are slightly different since audio->config.in.bitrate is in bps and audio->config.out.bitrate is kbps git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3587 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix detection of sr_code and bitrate_code for ac3 streams in mp4jstebbins2010-10-091-14/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3586 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use libhb for audio limits as well as defaults.dynaflash2010-10-083-62/+59
| | | | | | - Patch by circlone! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3585 b64f7644-9d1e-0410-96f1-a4d463321fa5
* allow ca_aac lower limit of 192kbps for 6chjstebbins2010-10-081-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3584 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix a bug in bitrate selection. forgot to change a '++' to '--'jstebbins2010-10-081-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3583 b64f7644-9d1e-0410-96f1-a4d463321fa5
* future proof faac bitrate limits jstebbins2010-10-081-5/+2
| | | | | | | by making the high thresh dependent on # channels git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3582 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix some audio bitrate limits issues with ca aacjstebbins2010-10-081-6/+6
| | | | | | | | and choose the next lower bitrate rather than next higher when between 2 valid rates. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3581 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: make smarter mixdown decision when doing ac3 encode fallbackjstebbins2010-10-084-99/+143
| | | | | | | | | | | | | also, clean up the mixdown sanitizing logic in work.c added new functions hb_get_default_mix(codec, layout) hb_get_best_mix(codec, layout) These take the output codec and the input layout as parameters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3580 b64f7644-9d1e-0410-96f1-a4d463321fa5
* update manicure with ac3pass->copy:ac3 changesjstebbins2010-10-081-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3579 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add audio defaults and limits calculation to libhbjstebbins2010-10-085-127/+169
| | | | | | | | | | | | | | | hb_get_audio_bitrate_limits() Get the bitrate limits for a (codec,samplerate,mixdown) triplet hb_get_best_audio_bitrate() Given an input bitrate, sanitize it. Check low and high limits and make sure it is in the set of allowed bitrates. hb_get_default_audio_bitrate() Get the default bitrate for a given (codec,samplerate,mixdown) triplet git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: add 'copy' option for audio and ac3 encoder fallback for ac3 passthrujstebbins2010-10-081-14/+66
| | | | | | | | 'copy' will passthru ac3 or dca. also changed ac3pass and dcapass to copy:ac3 and copy:dca git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3577 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove more duplicate code relating to min/max audio bitratesjstebbins2010-10-062-17/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3576 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: centralize min/max audio bitrate limit calculation to one placejstebbins2010-10-063-19/+33
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3575 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem where I used the wrong aac bitrate capjstebbins2010-10-052-15/+5
| | | | | | | wasn't allowing higher bitrate for aac 6ch in some cases. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3574 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a display problem in the audio listjstebbins2010-10-054-52/+99
| | | | | | | And tweak default bitrate choices. likely to change :P git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3573 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add code to recognize eac3 streams in TSjstebbins2010-10-051-4/+26
| | | | | | | | Recognizes BD, HDDVD, and DVB variations of signalling eac3 streams. Let me know if you find streams that don't work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3572 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove the audio encoder bitrate cap.dynaflash2010-10-051-8/+1
| | | | | | | - This used to cap the bitrate available in the ui to the sources audio bitrate. - Note: this can allow people to do stupid things. A more elegant solution is forthcoming. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3571 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ac3 encodingjstebbins2010-10-0423-284/+744
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add nightly build for ubuntu 10.10 maverickjstebbins2010-10-041-0/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3569 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Disable the drc dial if source is not AC3 as only our AC3 decoder ↵dynaflash2010-10-042-34/+55
| | | | | | | | flags drc. - Patch by circleone, thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3568 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-10-034-51/+40
| | | | | | - Enable Experimental Preset Exporter (plist - mac format). This can be imported by the mac and linux gui's git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3567 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-10-031-21/+11
| | | | | | - Update the Subtitles panel to handle the previous revision fix to the CLI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3566 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix subtitle options problemjstebbins2010-10-031-25/+31
| | | | | | | | Could not list a subtitle twice and make one instance burned/forced and the other not. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3565 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix another hang in the muxer.jstebbins2010-10-031-1/+2
| | | | | | | | If all streams are at EOF, then we must continue processing the track queues till they are all empty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3564 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix ffmpeg locking issuejstebbins2010-10-023-1/+11
| | | | | | | | | | ffmpeg complained "insufficient thread locking around avcodec_open/close()". This was caused by encavcodec.c calling avcodec_open at the same time as stream.c called av_find_stream_info. av_find_stream_info has a side effect of calling avcodec_open, so we must lock around this call as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3563 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix potential crash in libblurayjstebbins2010-10-011-1/+1
| | | | | | | | event queue size was 1 too small which would lead to buffer overrun. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3562 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix dylib path for CLI on osxjstebbins2010-10-011-0/+110
| | | | | | | | Forgot this was needed for the cli as well. Same as http://trac.handbrake.fr/changeset/3351 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3561 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-10-019-144/+239
| | | | | | - Some refactoring of the Subtitle panel. Added support for subtitle type display to the subtitle dropdown and burn in support for SSA. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3560 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some text alignment issues on the picture summary tabjstebbins2010-09-304-473/+464
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3559 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix a crash when ass_render_frame doesn't return a frame list.jstebbins2010-09-291-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3558 b64f7644-9d1e-0410-96f1-a4d463321fa5
* SSA subtitle burn injstebbins2010-09-2832-158/+1083
| | | | | | | | | | Anime fans rejoice! This patch adds SSA subtitle burn-in support with libass. Therefore SSA subtitles should now be rendered in full quality, with the appropriate embedded fonts and positioning information. Thanks to davidfstr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3557 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix linux documentation typo that causes command failurejstebbins2010-09-282-5/+5
| | | | | | | when cutting/pasting command from doc. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3556 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-262-5/+5
| | | | | | - Fix: Set the scan text label to "Scan Cancelled" after cancelling a scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3555 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-263-13/+55
| | | | | | | | | - The scan log will no longer be written to disk if the log is over 100MB. An error message will be thrown. - The encode will be terminated if the log file grows beyond 100MB and an error message will be thrown. - Fixed an issue with the exception window not appearing when called from a worker thead. - Put a limit on the number of exception windows that can appear during a session of HandBrake. (set to 30) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3554 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-261-3/+3
| | | | | | - Small Tweak to the encode logging that might avoid exceptions breaking it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3553 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix the 2008 solution file.sr552010-09-231-0/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3552 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Audo drc .. add a continuous behavior to the drc circular slider and ↵dynaflash2010-09-221-7/+854
| | | | | | have it stop on tick marks to make it behave like it did before 3532 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3551 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1713 to r1724dynaflash2010-09-211-1/+1
| | | | | | - Various bug fixes and enhancements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3550 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio Fixes and Enhancements ... patch by circleone.dynaflash2010-09-204-87/+111
| | | | | | | | | | | | | Fixes issue where changing to custom from a preset then changing titles will cause an empty audio tab. Also: - Added the ability for HandBrake's language preference to be honored when it occurs in the title's tracks. - Ensured the limit (currently 24) is not passed when adding audios using presets. - If no preset is chosen, when a new title loads, one track is added (based on the language preference or the first if that is not met). - Reinitializing the audio array is now KVO-friendly, making the UI refresh more pleasant. - The "Add All Tracks" button has been made mini in size. - The audio table view no longer attempts to keep the selection. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3549 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-191-1/+1
| | | | | | - Remap ctrl-A to ctrl-shift-A for addToQueue. Rather annoying having select all being the same as add to queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3548 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-192-0/+4
| | | | | | - Update the installer files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3547 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-194-26/+26
| | | | | | - Move the "Scanning x of x" text to the Source Label. Similar to the Lin/Mac gui's. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3546 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-192-0/+15
| | | | | | - Attempt to fix nightly build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3545 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-191-0/+1
| | | | | | - Stylecop file for Framework dll. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3544 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-1936-263/+659
| | | | | | - Moved some non-specific HandBrake code (Exception Window, Update Information Window, Update Download Window) out into a separate framework library. Hoping to make this more reusable at a later point. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3543 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-182-74/+102
| | | | | | - Some fixes to the AudioPanel. Changing presets now obeys the preferred language when selecting tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3542 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-184-7/+23
| | | | | | - Made the "{source}" option for the default path auto name option a bit clearer. Added automatic warning if used in a path, updated tooltips and renamed to source_path to avoid confusion with the option below on the "format:" option. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3541 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-171-0/+16
| | | | | | If an Audio track selected is not AC3 or DTS, and AC3 or DTS passthru are selected switch to AAC to prevent bad encodes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3540 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disable ffmpeg doc generation. We don't need it and it causes the nightly ↵sr552010-09-171-0/+1
| | | | | | build to fail git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3539 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-09-172-21/+36
| | | | | | - Another fix to the Encode Log Writer which should hopefully fix the "ObjectDisposedException" some users were seeing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3538 b64f7644-9d1e-0410-96f1-a4d463321fa5