summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.h
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: fix a bunch of compiler warningsjstebbins2012-05-261-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4701 b64f7644-9d1e-0410-96f1-a4d463321fa5
* PGS (bluray) subtitle support \o/jstebbins2012-04-261-1/+0
| | | | | | | | | | | | Thanks to patches supplied by David Mitchell and Rob McMullen we finally have PGS support. I added a fix for libav pgs timestamp processing and detection of forced subtitles to their work, then made foreign audio search work with PGS subs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: experimental support for batch queuingjstebbins2011-10-161-7/+10
| | | | | | | | | This allows all titles in the title popup to be added to the queue in one go. It uses the current *preset* for the settings. I.e. settings changes in the UI are ignored. This deficiency will be rectified at a future time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add flac + quality + compression level supportjstebbins2011-10-121-3/+2
| | | | | | | | | Adds flac audio to cli, lingui, and macgui Adds quality and compression level options to cli Adds quality option to lingui Quality option works for vorbis and lame git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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
* add more audio passthru optionsjstebbins2011-08-011-2/+1
| | | | | | | | | | | | | | | | | 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 mixdown optionsjstebbins2011-06-121-1/+1
| | | | | | | | 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 parameter parsing and b-frame support to ffmpeg mpeg-4 encoderjstebbins2011-03-111-1/+1
| | | | | | | | | | | | | 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-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3808 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some audio list display problemsjstebbins2010-10-091-12/+4
| | | | | | | 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-4/+0
| | | | | | | | | | | | | | | 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: centralize min/max audio bitrate limit calculation to one placejstebbins2010-10-061-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3575 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a display problem in the audio listjstebbins2010-10-051-0/+2
| | | | | | | 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-2/+3
| | | | | | | 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
* Add Bluray supportjstebbins2010-09-081-1/+1
| | | | | | | | | | | | | | | | | | 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-0/+1
| | | | | | | | | | | | | | 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 audio preset initializationjstebbins2010-06-241-0/+1
| | | | | | | | | | 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: tweak the ui to accommodate universal subtitle inputjstebbins2010-05-291-0/+1
| | | | | | | | don't show burned or forced fields for non-vobsubs show subtitle type in the subtitle track combo box git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* batch file scanning and scan canceljstebbins2009-11-251-0/+6
| | | | | | | | | | When a directory is specified as the source, first we attempt to open as a dvd, then if that fails, we attempt to open each file in the directory as a stream source. Since opening a large directory of files can take a really long time, you can also now cancel a scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2980 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: enhancements to automatic audio selection when passthru is requestedjstebbins2009-11-241-1/+3
| | | | | | | and the source codec isn't capable of passthru. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2969 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make smarter bitrate choice when automatically selecting audio settingsjstebbins2009-11-241-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: set minimum bitrate to 192kbps when codec is faac and mix is 6-chjstebbins2009-11-181-1/+2
| | | | | | | | If you ask faac for less than 192kbps with 6ch audio, you will get 192 anyway. This throws off target size estimates if target size was used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2941 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix incorrect marking of CC track as forced or burnedjstebbins2009-09-301-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2855 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix loading of multiple subtitles from a presetjstebbins2009-09-291-1/+1
| | | | | | | | under some circumstances the "default" and "forced" flags would end up on the incorrect entry in the list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2850 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: jstebbins2009-09-091-0/+2
| | | | | | | | show the correct audio codec in the audio list when it has been changed because of incompatibility with source codec or output format git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add preference option to automatically add CC track if presentjstebbins2009-07-171-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2706 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio-dub/add-subtitle radio buttons for preferred language controljstebbins2009-06-221-0/+1
| | | | | | | | | | - When Audio DUB is enabled, behavior is essentially unchanged - When Add Subtitle is enabled, a subtitle of the preferred language will be added to the subtitle list when the preferred language does not match the first audio track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubs:jstebbins2009-06-031-1/+0
| | | | | | | | | | | | | | - add ability to have 1 source subtitle feed many output subtitles use hb_subtitle_add() to add output tracks. example use case: you want forced subtitles from a source track on one output track and the entire subtitle stream from the same source track on a second output track - LinGui: make subtitle tab resemble functionality of the audio tab any track can be added multiple times with different settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2476 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-211-0/+2
| | | | | | | add 'enable' checkbox to subtitle list and show all subtitles in the list after scanning. Thanks eddyg for the suggestions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2434 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-201-0/+1
| | | | | | | - Move the subtitle track combo into the treeview list Each subtitle entry has its own combo to select the track now git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2433 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: give feedback indicating problems with subtitle selectionsjstebbins2009-05-201-0/+1
| | | | | | | | | - highlight subtitles that can not be encoded for some reason example: user adds several subtitles, then changes container from mkv to mp4 - validate subtitle list when adding to queue and show warning popup when there's a problem git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2432 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv soft subtitle supportjstebbins2009-05-191-7/+12
| | | | | | | | | | | | | - new libmkv 0.6.4 with subtitle track support - muxmkv supports vobsub and closed caption subtitles - added subtitle format, source, and dest initialization to dvdnav - moved subtitle_force flag into hb_subtitle_t struct as it needs to be settable per subtitle - gtk ui added subtitle tab which allows selection of multiple subtitles - reorgainize subtitle sync code to prevent dropping of subtitles when multiple subtitles are enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2428 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: preview changesjstebbins2009-05-041-1/+1
| | | | | | | | | | - update hb_get_preview to allow upscaling and remove borders - allow upscaling in the gui - add user option to show visible cropping borders - gui generates borders when needed instead of hb_get_preview, which allows for flexible alternatives like alternate colors git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2376 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add libdvdnav supportjstebbins2009-04-271-0/+1
| | | | | | | | | | | emulates the vm of a dvd player in order to navigate the disc more reliably it is optional and disabled by default CLI option '--dvdnav' enables. GUI's have a new option in preferences. When dvdnav is enabled, you can also select angles (cli '--angle') git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2355 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more anamorphic settings changesjstebbins2009-04-151-3/+7
| | | | | | | - recalculate display dims correctly when changing titles and presets - when presets are saved, save par git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2330 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-03-041-0/+1
| | | | | | | add chapter duration display to chapter tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add video quality slider granularity preference.jstebbins2009-02-121-0/+1
| | | | | | | | | | I didn't have an easy way to stash doubles in a combo box, so this was more invasive that planned. But now I have some additional flexibitlity. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2154 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Constant Quality Slider now QP/RF basedjstebbins2009-02-111-1/+2
| | | | | | | Nearest percentage is also shown for reference git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2138 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tweak how audio choices are made againjstebbins2009-01-251-1/+2
| | | | | | | | | prefer audio tracks with more channels prefer audio tracks that are not for visually impaired or director's commentary git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2096 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix how an audio is chosen after a source is scanned or the presetjstebbins2009-01-241-1/+2
| | | | | | | | | | | selection changes. It wasn't honoring the preferred language or matching the codec when passthru is selected. Also checking in the ui changes needed for dts pasthru. The option is disabled until we get libhb support. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2094 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make preview scalling take screen PAR into accountjstebbins2008-12-051-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2007 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add logging level to preferencesjstebbins2008-12-021-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1986 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: variable number of preview frames. preference option to setjstebbins2008-11-301-1/+1
| | | | | | | the number of frames git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1971 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: live preview.jstebbins2008-11-241-4/+14
| | | | | | | | | | this adds new prerequisites to the build. now needs: gthread-2.0, gstreamer-0.10, gstreamer-interfaces-0.10, gstreamer-video-0.10, gstreamer-pbutils-0.10 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove restriction on ac3 passthru when mp4 http optimize is enabled.jstebbins2008-11-021-1/+0
| | | | | | | These are no longer incompatible options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1894 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Make preset key/values mostly align with macui presets.jstebbins2008-10-171-2/+7
| | | | | | | | | One step closer to having a common preset format. Audio presets are still not compatible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1840 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tidy up how combobox values are handled internally and stored in plistsjstebbins2008-09-191-12/+2
| | | | | | | fix a problem with storing max picture dims to presets plist git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1719 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: prevent entering bitrates above 160 for faacjstebbins2008-09-171-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1710 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add mp4 options to queue descriptionjstebbins2008-09-171-0/+1
| | | | | | | fix a problem with audio bitrate and sample rate after reloading queue git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1706 b64f7644-9d1e-0410-96f1-a4d463321fa5