summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* hb_log should not be used outside of HB Lib, it's private to HB, using eddyg2007-12-201-1/+1
| | | | | | | so causes an undeclared symbol warning. In test.c fprintf should be used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1139 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Makes CRF (constant rate factor) the default constant quality mode, ↵jbrjake2007-12-131-4/+4
| | | | | | | | instead of CQP (constant quantization parameter). This means the -Q short option now turns CQP on and CRF off, whereas up until now it did the reverse. The long option has accordingly changed from --crf to --cqp. ( CRF has been the default in the MacGui since r526 ) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1121 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cli:sr552007-12-101-2/+2
| | | | | | Chapter markers with csv file input fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1114 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a preset for the 360, accounts for filters in the presets, updates ↵jbrjake2007-12-081-14/+31
| | | | | | manicure.rb formatting, removes from the presets the keyint stuff that's now handled in encx264.c, and slightly tweaks the x264 options of a few presets. Also, Animation and Television now use slower deinterlacing, and the latter uses weak denoising as well. Not sure why the @tv preset used trellis=2, brought that down to 1. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1110 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated jamfile to fix a small compile issue with zlibsr552007-12-081-32/+32
| | | | | | Updated makefiles to support cygwin building on platforms other than XP git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1109 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds extra, user-selectable dynamic range compression to the liba52 ↵jbrjake2007-12-081-3/+14
| | | | | | | | interface, making softer sounds louder. Based on code from liba52's A52Decoder, used in Perian's preferences pane. Set with a job->dynamic_range_compression float, with valid values being 1.0 - 4.0. Controlled from the CLI with --dynamic-range-compression or -D. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1108 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Gives the CLI a separate option for adding the iPod UUID atom to mp4 files, ↵jbrjake2007-11-281-2/+12
| | | | | | instead of it just being a side-effect of using the x264b30 encoder. It's called with -I or --ipod-atom . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1084 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Optimize MP4 files for HTTP streaming (on the CLI it's -O or --optimize).jbrjake2007-11-211-1/+12
| | | | | | | | Has mpeg4ip run a second pass after muxing is complete, to move the MOOV atom to the beginning of the file. To get this to work, I had to replace a patch from Perian, which has written the avc1 "Compressor Name" in the Pascal string style QuickTime expects. Unfortunately, that patch left mpeg4ip unable to parse its own output, when muxing x264 video. Instead, now the Compressor Name is a blank string, and QuickTime substitutes "H.264" for it. NOTE: This is *not* hinting for RTP streaming, just shuffling the container around so it starts playing faster over the web. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1074 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moves the readout of applied x264 options from test.c to work.c, so the ↵jbrjake2007-11-161-2/+0
| | | | | | MacGui can see it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1064 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Minor preset changes:jbrjake2007-11-151-28/+20
| | | | | | | | | | - Removes chapter markers from PS3 - Moves the high profile presets to 16 B-frames (adaptive) - Gets rid of erroneous audio bitrate and samplerate during ac3 pass-thru - Removes 8x8dct from the QuickTime preset - Drops Film to 1800kb/s git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1062 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds help for preset commands, and also cleans up a couple of other lines ↵jbrjake2007-11-101-2/+6
| | | | | | that were more than 80 characters long. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1053 b64f7644-9d1e-0410-96f1-a4d463321fa5
* First attempt at variable frame rate detelecining for NTSC video sources.jbrjake2007-11-101-3/+13
| | | | | | | This check-in includes the library code as well as the CLI implementation. Only works with MP4 and MKV, untested with high profile, results may vary with mixed content, consult a physician if condition persists for longer than four hours. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* First attempt at built-in presets in the CLI.jbrjake2007-11-091-4/+302
| | | | | | | | | | | | | | | | | | Works like so: -Z "Preset Name" or --preset "Preset Name" See a list of all presets and their CLI equivalents (useful for wrappers) this way: -z or --preset-list Any commands the user adds in addition to in and out locations override that part of the preset. File name extensions are ignored, so if you title the output movie.mp4 but use the Film preset, it will come out as an mkv with an .mp4 extension. I've also gone and moved where x264opts get duplicated for a 2nd pass, to work better with this system. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1049 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Repeat after me, eddyg is a wally. eddyg2007-10-241-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1037 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Changed logging messages about PTS discontinuities to be less verbose, and ↵eddyg2007-10-231-0/+1
| | | | | | changed audio discontinuity handling to work correctly should it be leading the video. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1035 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Modifies CLI help message for audio track selection, to make it clearer how ↵jbrjake2007-10-221-2/+3
| | | | | | to specify multiple tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1034 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverts r1030 because it didn't work properly: -P would eat the next word as ↵jbrjake2007-10-201-1/+1
| | | | | | an option even if it was another flag. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1033 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds short parameter names for denoising and deinterlacing in the CLI.jbrjake2007-10-201-3/+41
| | | | | | | | | | | --denoise=weak , --deinterlace=slower, etc. Denoise options are weak, medium, and strong. Deinterlace options are fast, slow, slower, slowest. Both use the same parameters as the MacGUI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1032 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow short option name -P for loose anamorphic to take its optional ↵jbrjake2007-10-161-1/+1
| | | | | | | | argument without an equals sign. Long name still needs the equals sign. So... -P 8, --loosePixelratio=8. Thanks, saintdev! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1030 b64f7644-9d1e-0410-96f1-a4d463321fa5
* "Loose" anamorphic:jbrjake2007-10-161-6/+37
| | | | | | | | - Scales the storage frame size to arbitrary widths, like 640 for the iPod. - Uses dimensions that divide cleanly by an arbitrary number (default: 16) and adjusts the SAR to match - Uses ITU PAR values when the video is meant to be overscanned ( 7+ pixels cropped on left+right) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1029 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change the progress messages to use stdout, added a flush after each ↵eddyg2007-10-091-8/+12
| | | | | | progress update to ensure timly updates for windows. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1013 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverts an errant checking for from rev 960dynaflash2007-09-131-17/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@961 b64f7644-9d1e-0410-96f1-a4d463321fa5
* jbrjake's loose pixel ratio patch.saintdev2007-09-131-3/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@960 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added buffer management and changed fifo sizes. Changed job->subtitle_scan ↵eddyg2007-09-111-4/+4
| | | | | | to job->indepth_scan, and fixed memory init bug in denoise.c. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@945 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated the CLI comments for subtitle scan to correspond with the new eddyg2007-08-291-2/+3
| | | | | | | extra pass method now employed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@890 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't use hb_log() outside of libhb, use fprintf() instead.eddyg2007-08-281-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@881 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Enable jam to work by changing the error handling to use a callback rather ↵eddyg2007-08-271-11/+14
| | | | | | than a direct call outside of libhb. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added rudimentory error handling to HB. Instead of using hb_log() use ↵eddyg2007-08-271-0/+10
| | | | | | hb_error(). Also causes us to stop muxing when we get a write error in MP4 and MKV containers. Still requires macosx dialog box by dynaflash (see main.mm for stub to use). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Subtitle scanning for forced subtitles and normal subtitles from the CLIeddyg2007-08-211-18/+47
| | | | | | | and the MacOS GUI. See the new subtitle language options in the GUI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added "--subtitle-force" option to the CLI, and added changes to decsub toeddyg2007-08-201-3/+15
| | | | | | | | select only forced subtitles curtesy of Utumno (thanks!). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@843 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI/MacGui: removes weightb=0 from the turbo option string, because it was ↵jbrjake2007-08-191-1/+1
| | | | | | causing frame count differences for the 2nd pass. Also removes a stray colon from the Broke preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@832 b64f7644-9d1e-0410-96f1-a4d463321fa5
* a makefile update for superdump's swscale stuffsr552007-08-021-32/+32
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@783 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from huevos_rancheros to fix a minor typo in the CLI's help.jbrjake2007-07-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@753 b64f7644-9d1e-0410-96f1-a4d463321fa5
* This huge patch from huevos_rancheros ports a number of video filters from ↵jbrjake2007-07-271-4/+69
| | | | | | | | | | mencoder to HandBrake: yadif+mcdeint, hqdn3d, pp7, and pullup+softskip+harddup. What this means is that HB now has stateless inverse telecine, temporal denoising, and motion-adaptive deinterlacing! HandBrake is growing up =) Thank you, huevos_rancheros! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Native language subtitle scan improvements. Thanks, eddyg!jbrjake2007-07-261-4/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@741 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Oops, --turbo would cause a bus error if x264 options were not specified. ↵jbrjake2007-07-241-1/+1
| | | | | | Thanks for the patch, ares01590! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@726 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Another small makefile change.sr552007-07-141-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@687 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Matroska muxer!saintdev2007-07-141-15/+35
| | | | | | | | | | -Chapters don't work in VLC. I'll need to update the library to work-around this. Most other players should pick them up, however. -PAR, check. -x264 b-frames, check. -Multi-track audio, check. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@680 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixes to the CLI for forced subtitles, and Turbo.saintdev2007-07-061-1/+1
| | | | | | | | | -Fixes a bug in the HB CLI whereby you can't use the native-language switch to enable subtitles when doing single pass. -Changes the threshold for enabling subtitles automatically during a subtitle scan from 20% to 10%. -Changes the turbo options to match what the GUI is doing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@650 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Finally recommitting clee's patch from r518 to allow 64-bit mp4 files that ↵jbrjake2007-06-131-3/+15
| | | | | | | | can hold more than 4 gigs... controlled by a boolean called job->largeFileSize and enabled from the cli with -4 or --large-file. Note that this breaks compatibility with stuff like the iPod, AppleTV, PS3 (I think), etc...so it is off by default. Also converted a few stray hard tabs into soft tabs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@618 b64f7644-9d1e-0410-96f1-a4d463321fa5
* A big batch of patches from eddyg.jbrjake2007-06-061-35/+183
| | | | | | | | | | | | | Adds following options to the CLI: --subtitle-scan for auto-selecting subtitles for foreign language segments in native language audio tracks --native-language for auto-selecting subtitles for foreign language audio without knowing the track number --longest for auto-selecting the longest title like in the MacGui --turbo for improving speed on the first pass of a two pass encode with x264 (based on superdump's turbo x264 options in mencoder). Thanks, eddyg! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated the CLI makefile to include the new libdca contrib for DTS audio ↵maurj2007-05-021-2/+2
| | | | | | support. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@560 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added support for DTS audio. DTS audio streams (of 5.1 audio and below) ↵maurj2007-05-021-1/+1
| | | | | | | | | will be detected and decoded. This requires a new library - libdca (and patch) - which is included (in patched form) in a new version of the pre-built UB Darwin contribs (0012). These have been uploaded to download.m0k.org/handbrake/contrib/ . I haven't yet added any code to Controller.mm to recognise the DTS streams as supporting mono / 6ch DPL1 / DPL2 downmixes. Note: running Jam on the new library required me to update some tools on Mac OS X - possibly libtool, autoconf, automake. Not sure which made the difference, but these were the ones I updated. it won't jam successfully without this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@559 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixed makefile for cygwin. Replaced spaces with tabsr552007-05-021-32/+32
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@558 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Various fixes:saintdev2007-04-262-3/+2
| | | | | | | | | - Include parsecsv.c in the Jamfile so we can compile the CLI with Jam - Quiet some compiler warnings in parsecsv.{c,h} - Check some return values in muxmp4.c and encfaac.c and die gracefully if there is a problem. - Correctly set the number of audio channels in the stsd atom. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@552 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix Previous Bad commit for Cyanders Chapter Markersdynaflash2007-04-254-3/+308
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@548 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_log is for libhb; use fprintf like the rest of the file.clee2007-04-151-10/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@509 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Made a small change to test.c to explicitly select the first audio track, ↵maurj2007-04-121-1004/+1010
| | | | | | and use the default mixdown, if no audio track has been specified via the -a option. This fixes a crash in rev 495 when no audio track was specified. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@496 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added libhb and CLI support for Dolby Pro Logic II 5.0 matrix encoding. ↵maurj2007-04-111-17/+27
| | | | | | | | *NOT YET ADDED TO THE GUI*. Handbrake now uses a more general "audio mixdown" concept. For each audio track to be converted you specify a mixdown. These are defined in common.h. This checkin only allows you to specify one mixdown for all tracks in the CLI, although everything is in place internally to specify a different mixdown per track. In the CLI, the "-6 --surround" option has been repurposed as a "-6 --mixdown" option, with a string parameter of mono/stereo/dpl1/dpl2/6ch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@494 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix several MB of memory leaks in lame, and vorbis.saintdev2007-04-011-2/+3
| | | | | | 6ch Vorbis doesn't seem quite ready for prime time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@470 b64f7644-9d1e-0410-96f1-a4d463321fa5