summaryrefslogtreecommitdiffstats
path: root/test/test.c
Commit message (Collapse)AuthorAgeFilesLines
* CLI: standardize passthru fallbacks.Rodeo2011-08-191-33/+81
| | | | | | | | | | | | | | | | copy:aac -> faac copy:ac3 -> ac3 copy:mp3 -> lame copy -> --audio-fallback, else aac, ac3 or lame (if found in the audio copy mask), else dropped copy:dts and copy:dtshd are always dropped. When --audio-copy-mask contains only one codec, 'copy' behaves exactly like codec-specific passthru and --audio-fallback is ignored. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4190 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix a bug where gain wouldn't be initialized when there were more input ↵Rodeo2011-08-191-1/+15
| | | | | | audio tracks than the number of gain values specified in the command line. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4189 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Blu-ray: display playlist number in log, CLI scan output, and title drop-down.Rodeo2011-08-161-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4182 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: allow changing colorimetry in x264 optionsjstebbins2011-08-081-5/+5
| | | | | | | | Setting "colorprim", "transfer", or "colormarix" in the x264 advanced options will no longer be ignored and will propagate to the mp4 muxer where those values also get set in the container. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4164 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add more audio passthru optionsjstebbins2011-08-011-6/+40
| | | | | | | | | | | | | | | | | 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
* Min Duration now uses Seconds rather than ticks.sr552011-07-241-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4140 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update CLI and LinGUI presets, patch by Rodeosr552011-07-241-44/+45
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4129 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: add --audio-copy-mask and --audio-fallback optionsjstebbins2011-07-161-11/+76
| | | | | | | | | | | --audio-copy-mask sets which audio codecs are permitted to be passed thru when the "copy" encoder option is specified. --audio-fallback sets which encoder to use when it is not possible to pass thru an input audio track git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4113 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix some warnings in the clijstebbins2011-07-011-41/+6
| | | | | | | and add printf attribute to hb_strdup_printf git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4081 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add DTS-HD passthru \o/jstebbins2011-06-141-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Refresh "Normal" presetjstebbins2011-06-091-581/+582
| | | | | | | | | | - Changes "Normal" to use x264 --preset veryfast --profile main Nearly doubles it's speed for little loss of file size or quality. - remove dummy average bitrate values from all built-in presets - adds Large File Size to the High Profile preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4035 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: Allow more flexible specification of native language in the clijstebbins2011-06-081-13/+26
| | | | | | | | Let the user specify their native language using any of the strings supported in the iso639_lang table. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4033 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ffaac encode supportjstebbins2011-06-081-0/+4
| | | | | | | | 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
* Fix a problem with filtering and picking correct BD titlejstebbins2011-06-051-1/+1
| | | | | | | | | Titles that are the same except for number of chapters were being filtered out of the title list. So sometimes you would get a BD title that didn't seem to have any chapters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add support for naming audio tracks.jstebbins2011-06-031-20/+17
| | | | | | | | 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
* Remove the depreciated hb_calc_bitrate methodsr552011-05-211-13/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3987 b64f7644-9d1e-0410-96f1-a4d463321fa5
* HE-AAC support for the OSX port. Thanks go to amarcus, ritsuka and rodeo.sr552011-04-181-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3937 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: update help text to add ffmpeg mpeg-2 encoderjstebbins2011-04-141-2/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3922 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add audio gain adjustment to libhb and CLIjstebbins2011-04-051-0/+41
| | | | | | | | New CLI option is --gain <float>. Value is measured in dB. Negative values are quieter, positive values are louder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3902 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
* Add mpeg-2 encoding support to libhb, cli, and linguijstebbins2011-03-191-2/+10
| | | | 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-49/+49
| | | | | | | | | | | | | 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
* Remove the set cpu count option as it doesn't do anything nowsr552011-02-261-13/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI:sr552011-01-151-2/+4
| | | | | | | Add some extra carriage Returns (thanks rodeo( http://forum.handbrake.fr/viewtopic.php?f=4&t=19590 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: add better logging for ac3 encoder fallback and track droppingjstebbins2010-12-311-3/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3722 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: allow setting modulus with ana-nonejstebbins2010-12-171-0/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3711 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix constant quality setting for theorajstebbins2010-12-171-1/+1
| | | | | | | we had special cased such that only % values were being allowed for theora git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3709 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Preset name change for consistancysr552010-12-111-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3707 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove debug lifesr552010-12-041-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3703 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add CLI version info to the --preset-list optionsr552010-12-041-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3702 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: update the built in presetssr552010-11-301-487/+579
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3694 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 spelling of 'track' in cli helpjstebbins2010-11-011-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3638 b64f7644-9d1e-0410-96f1-a4d463321fa5
* update baseline presets with weightp=0jstebbins2010-10-231-12/+12
| | | | | | | eliminate hack that defaults weightp=0 when bframes=0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3623 b64f7644-9d1e-0410-96f1-a4d463321fa5
* clean up crufty legacy codejstebbins2010-10-231-29/+3
| | | | | | | remove unused code relating to avi, ogm, psp, ipod, and forcing h264 levels git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3622 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use libhb functions for mixdown and bitrate defaults in the clijstebbins2010-10-231-49/+73
| | | | | | | sanitize mixdown and audio bitrates in work.c git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix misleading error messagjstebbins2010-10-091-0/+4
| | | | | | | | When samplerate is "auto" we were printing, "Invalid sample rate 0, using input rate 48000" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3590 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: make smarter mixdown decision when doing ac3 encode fallbackjstebbins2010-10-081-19/+4
| | | | | | | | | | | | | 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
* 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
* Add ac3 encodingjstebbins2010-10-041-14/+20
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 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 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
* SSA subtitle burn injstebbins2010-09-281-8/+16
| | | | | | | | | | 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-4/+10
| | | | | | | | | | | | | | | | | | 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
* fix some preset issuesjstebbins2010-07-031-35/+35
| | | | | | | | | | | add b-pyramid=none to appletv presets and remove b-pyramid hack from encx264.c change samplerate from 48 to 'Auto' in all presets cap samplerate to 48khz since none of the encoders support higher rates remove obsolete UsesMaxPictureSettings from all presets. replace with UsesPictureSettings=2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3424 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Adds built-in iPad preset.jbrjake2010-06-191-0/+58
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3395 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: missed another conditional that forces burned subs in mp4jstebbins2010-06-081-2/+2
| | | | | | | | also, print "Foreign Audio Search" instead of "Render/Burn in" in the log during an indepth_scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3373 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: subtitle scan was still skipping subs if not burned in mp4jstebbins2010-06-081-8/+3
| | | | | | | since we now support the Nero spec for vobsubs in mp4, this isn't necessary git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3372 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: remove 'L' from short opts so that getopt_long properly flags it as an ↵jstebbins2010-06-051-3/+6
| | | | | | | | | | | invalid option I forgot to remove this short option when the --longest was removed. Also fix the default case of the switch to print the option that failed rather than the next option. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3357 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: allow overriding of the anamorphic mode of a preset jstebbins2010-05-301-5/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3339 b64f7644-9d1e-0410-96f1-a4d463321fa5