summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: Show video codec name in summary tabjstebbins2011-09-011-0/+1
| | | | | | | | | | I found myself wanting to know what the source video codec was when I discovered that several of my VC-1 trancodes were crap. So this adds the video codec name to the summary information I display on the summary tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: fix issues with preset valuesjstebbins2011-08-191-6/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4187 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Blu-ray: display playlist number in log, CLI scan output, and title drop-down.Rodeo2011-08-161-2/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4182 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui / LinGui: Add subme 11 to both ui's now that x264 has it. This way ↵dynaflash2011-08-031-0/+1
| | | | | | ... we "can go to 11..." git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4153 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add more audio passthru optionsjstebbins2011-08-011-116/+73
| | | | | | | | | | | | | | | | | adds aac and mp3 passthru for mp4 and mkv containers adds dts and dtshd for mp4 container (mkv already had it) Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay In LinGui there is a new option to limit which passthru codecs will be used by the "Auto Passthru" audio codec options. The CLI already has this ability with "--audio_copy-mask" which is use in conjunction with the "copy" audio codec option. Also corrects some A/V sync issues when video frames are dropped due to a gap detected in the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with enabling dts and dts-hd passthru in audio optionsjstebbins2011-06-271-4/+4
| | | | | | | | | | | audio_config.in.codec in these cases is HB_ACODEC_DTS* | HB_ACODEC_FF_I_FLAG. I was not masking off the FF_I_FLAG when checking the input codec. Note, that this problem goes away in the RB patch that cleans up ffmpeg hacks, the FF_I_FLAG being one such hack. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4078 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix scaling problem with preview windowjstebbins2011-06-221-1/+1
| | | | | | | | ... when the screen is smaller than the preview. If the width fit but the height didn't, it computed incorrect size and displayed with wrong aspect. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4074 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add DTS-HD passthru \o/jstebbins2011-06-141-8/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops, part of another patch went with last commitjstebbins2011-06-121-6/+0
| | | | | | | revert broken bits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4044 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with mixdown optionsjstebbins2011-06-121-9/+19
| | | | | | | | incorrect mixdown options were disabled when the "Choose for me" encoder option was selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4043 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ffaac encode supportjstebbins2011-06-081-0/+10
| | | | | | | | Adds "AAC (ffmpeg)" option to lingui and macui, "ffaac" option to cli. Does not yet remove faac. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add support for naming audio tracks.jstebbins2011-06-031-0/+12
| | | | | | | | Also fix hb_audio_add. It was not copying the audio name. And fix audio track name parsing in the CLI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix PAR overflow issues.jstebbins2011-04-161-2/+22
| | | | | | | PAR values were saturating the max values allowed in PAR widget controls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3932 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio gain adjustment and create advanced audio dialog.jstebbins2011-04-051-0/+3
| | | | | | | | | Gain, DRC, and Sample Rate are now in an advanced audio dialog. This makes the audio tab less crowded and makes room for future improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3903 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix garbled previews from BD h.264 sourcesjstebbins2011-04-021-1/+1
| | | | | | | | | | | Forome reason, frames that are tagged as recovery points in many BD h.264 streams do not result in complete frames when decoded. Pushing 2 extra frames through the decoder seems to always fix this. This patch extends something I was already doing when generating previews from a BD structure. This just applies the same logic to ffmpeg streams that have h.264 video. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix backward compatibility issuejstebbins2011-03-221-1/+1
| | | | | | | Versions of gdk on Ubuntu 9.10 and 10.04 do not have GDK_KEY_* macros git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix printf with too many parametersjstebbins2011-03-221-2/+1
| | | | | | | cut/paste error git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3867 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove use of deprecated GTK_WIDGET_TYPE and GTK_OBJECT_TYPE macrosjstebbins2011-03-221-1/+1
| | | | | | | replace with G_OBJECT_TYPE git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3860 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add mpeg-2 encoding support to libhb, cli, and linguijstebbins2011-03-191-7/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3853 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add parameter parsing and b-frame support to ffmpeg mpeg-4 encoderjstebbins2011-03-111-39/+81
| | | | | | | | | | | | | The cli will now accept ':' separated parameters using the '-x' option for ffmpeg mpeg-4. The linux gui has an entry box on the advanced tab to add options. The option keys and values are the same as what the ffmpeg command line allows. Calculation of DTS timestamps was added to encavcodec.c in order to allow out of order b-frames. The algorithm is similar to what x264 uses. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3839 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove target file size optionjstebbins2011-02-261-29/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3808 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: do not uncheck chapter markers when single chapter selectedjstebbins2011-02-111-5/+5
| | | | | | | | | | Instead, grey out the chapter marker checkbox to indicate it is inactive (but leave it checked) and do not enable chapter markers in the job. This way, if the user modifies chapter selections, chapter markers will automatically be re-enabled when more than one chapter is selected again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3792 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Change "Blind" to "Simple" in weightp combo boxjstebbins2011-02-091-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3790 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add CFR option for "Same as source" framerate.jstebbins2011-01-281-6/+6
| | | | | | | | | Since there seem to be a lot of players that do not properly support VFR, add a CFR option that can be used with "Same as source". The framerate to use comes from the title and the cfr flag is set in the job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3770 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix title dropdown bug when title name has '&' in itjstebbins2011-01-181-2/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3756 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update copyright datesjstebbins2011-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add more informative warning about x264 RF 0 usagejstebbins2011-01-021-3/+20
| | | | | | | | | | | | | When the user sets RF 0, the slider displays "RF: 0 (Warning: lossless)" and the user will get a dialog when adding to the queue that says Warning: lossless h.264 selected Lossless h.264 is not well supported by many players and editors. It will produce enormous output files. Are you sure you wish to use this setting? git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3723 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with adding mp3 audio in mp4 containerjstebbins2010-11-261-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3686 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow longer SRT filename paths.jstebbins2010-11-071-2/+4
| | | | | | | Bump from 128 to 256. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix hb_get_best_mixdown to allow downmixing 7.1 to 5.1jstebbins2010-11-051-23/+14
| | | | | | | | Use hb_get_best_mixdown in places in the LinGui that were duplicating code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix auto audio track selection problemjstebbins2010-11-051-2/+2
| | | | | | | | | When passthru is requested, and the first audio track of the source isn't passthru compatible, it picked the first track instead of moving on to a compatible track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use hb_get_best_mixdown and eliminate duplicate codejstebbins2010-10-231-63/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3621 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix infinite recursion issue in audio bitrate handlingjstebbins2010-10-141-20/+42
| | | | | | | | | adding a bitrate (that isn't in the standard set of bitrates supported by handbrake) to the bitrate combo for a passthru codec caused a cascade of errors. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3601 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add "Quit HandBrake" option to "When Done" optionsjstebbins2010-10-121-0/+1
| | | | | | | Thanks to mxttie for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio codec selection problem in mkvjstebbins2010-10-121-0/+4
| | | | | | | UI said AAC, but encoded LAME git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3597 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix bad audio codec setting in jobjstebbins2010-10-091-2/+4
| | | | | | | was using a pointer before it was set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3593 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some audio list display problemsjstebbins2010-10-091-81/+40
| | | | | | | and try to clean up the code a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3589 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add audio defaults and limits calculation to libhbjstebbins2010-10-081-113/+3
| | | | | | | | | | | | | | | 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
* LinGui: remove more duplicate code relating to min/max audio bitratesjstebbins2010-10-061-15/+6
| | | | 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-061-0/+25
| | | | 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-051-12/+1
| | | | | | | 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-051-29/+80
| | | | | | | 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 ac3 encodingjstebbins2010-10-041-67/+85
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some text alignment issues on the picture summary tabjstebbins2010-09-301-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3559 b64f7644-9d1e-0410-96f1-a4d463321fa5
* SSA subtitle burn injstebbins2010-09-281-17/+20
| | | | | | | | | | 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
* Add Bluray supportjstebbins2010-09-081-3/+3
| | | | | | | | | | | | | | | | | | Unencrypted BD directory trees only. Doesn't support iso images. Also, no PGS subtitle support yet. Chapters and angles are supported. Adds a new contrib libbluray. Adds new option to hb_scan() for duration of short titles to filter. This applies to BD and DVD multi-title scans only. Does not apply to any single title scans. Fixes memory leak during scan. hb_buffer_close() was not freeing all buffers in a chain of buffers passed to it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add max width/height widgets to preset save dialogjstebbins2010-06-281-10/+7
| | | | | | | | | | | | | | These are only visible when autosize is disabled, meaning the user has chosen to set specific video dimensions. These values are used when a preset or title is loaded to set the default storage dimensions. This allows setting arbitrary PictureWidth/PictureHeight in the preset which was not previously possible. The values were previously limited to what the currently loaded source would allow you to enter into the picture settings width/height fields. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3417 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some issues with loading custom anamorphic settings from preset.jstebbins2010-06-261-14/+15
| | | | | | | | | | | as the settings were incrementally loaded, each changing widget triggered updates that could conflict with the preset values being loaded. fix an issue with hight getting stuck at certain values. Incorrect rounding caused a recalculation that put height back to it's previous value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3412 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio preset initializationjstebbins2010-06-241-0/+18
| | | | | | | | | | sometimes audio settings were to being initialized correctly to the values in the preset. some code that sets reasonable values when the encoder changes from passthru to non-passthru was getting invoked and overwriting the preset values. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3403 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add peak framrate checkbox to video tabjstebbins2010-06-181-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3391 b64f7644-9d1e-0410-96f1-a4d463321fa5