summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* CLI: Add support for naming audio tracks to the HandBrakeCLI, thanks to ↵eddyg2008-10-101-1/+57
| | | | | | LePetomane for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1825 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds an hb_deep_log() function for multiple levels of debugging verbosity. ↵jbrjake2008-10-091-4/+11
| | | | | | Level 1 displays when hb_log does (job->verbose == 1) and is now meant for logging that helps in tech support. Level 2 adds memory-related logging like freed buffers, and level 3 is for granular stuff that displays once per sample, frame, packet, etc. The debug level continues to be set when hb_init() is called. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1819 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CygWin:sr552008-09-301-0/+7
| | | | | | - Fixes make building on cygwin (I think - I was seeing some cygwin lib errors before however these seem to have just disappeared. If anyone has a failed build due to this, let me know.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1796 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Removes --vfr command line option. --detelecine now drops frames by ↵jbrjake2008-09-261-17/+17
| | | | | | default. To regress to the old behavior of not dropping duplicate frames in detelecine, and only reweaving them so they're progressive, specify a frame rate ( -r 29.97 would be the one that makes sense). This is because the "Same as source" FPS method employed when the user doesn't specify a framerate is inherently variable, as it passes through the source's frame durations instead of smoothing them to a constant rate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1773 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Sets the default QP of deblock to 5 instead of 0. This way the filter ↵jbrjake2008-09-241-1/+1
| | | | | | actually does something when called without an option string besides copying input to output. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1758 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Synchronizes presets with the MacGui, following x264's switch to subme ↵jbrjake2008-09-191-24/+24
| | | | | | 6 as default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1726 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: exit rather than continue when invalid input audio tracks are selected.eddyg2008-09-091-6/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1681 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Sanity check audio options in HandBrakeCLI to prevent NULL dereferences ↵eddyg2008-09-031-27/+66
| | | | | | when invalid audio inputs are used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1663 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't crash when the user specifies audio tracks that don't exist from the ↵eddyg2008-08-181-1/+6
| | | | | | HandBrakeCLI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1640 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - change aspect from a scaled int to a double so we can handle the widervan2008-08-081-1/+1
| | | | | | | | | | | | | | | | | | | range of aspect ratios we get from ffmpeg files. - add container_aspect to title struct (always zero except for DVDs when it's the aspect from the VTSI). To handle broken French DVDs, make HB complain & use the container aspect if it's different from the aspect computed from the video PAR. - fix ScanFunc's job template init so that it doesn't think the only legal aspect ratios are 16:9 & 4:3. - hb_reduce wouldn't reduce any fraction where both terms were equal and prime (e.g., 2/2, 3/3, 5/5, etc. would not become 1/1). Recoded it using Euclid's Algorithm so it always works and is faster. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1616 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Much improved decomb filter. Totally different algorithm, with a temporal ↵jbrjake2008-07-111-1/+1
| | | | | | | | element, a block window, and a simple weighting decision for which deinterlacer to use. See code comments. The code isn't well optimized yet, and would probably benefit from -O3 (as opposed to the -Os optimization level currently used in macosx builds). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1566 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Add a newline at the end of the hb_error message.saintdev2008-06-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1522 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Simplify the handling of audio codecs, bitrate and samplerate.saintdev2008-06-171-57/+32
| | | | | | | -libhb now handles copying of properties for pass-through. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1521 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Set svn:eol-style=native on most text files.saintdev2008-06-171-29/+29
| | | | | | | Goodbye evil CRLF. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1518 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updates the Mac->CLI preset conversion script to handle the new keys for ↵jbrjake2008-06-151-47/+60
| | | | | | separate audio settings, and rearranges a little code in the CLI so the audio track settings are easier to generate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1513 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix building with make on linux. missing bz2 and faadjstebbins2008-06-141-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1511 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve image quality for ffmpeg constant qualityjstebbins2008-06-081-1/+1
| | | | | | | Allow entry of QP for ffmpeg git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1503 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a job->cfr boolean to indicate "encode this with a constant frame rate" ↵jbrjake2008-06-051-0/+2
| | | | | | instead of passing through the true frame durations from the source. Includes CLI implementation, which sets cfr to 1 if the user specifies a frame rate. Otherwise, it uses "same as source" frame rate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1496 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Use the source's audio samplerate unless told otherwise.jbrjake2008-06-041-12/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1494 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Use default audio settings of 160kbps @ 48kHz, just like the MacGui and ↵jbrjake2008-05-301-2/+2
| | | | | | WinGui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1474 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Only sanity check the user-specified audio samplerate *after* it's been ↵jbrjake2008-05-301-6/+6
| | | | | | converted from kHz to Hz. This was just a cosmetic error. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1473 b64f7644-9d1e-0410-96f1-a4d463321fa5
* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1471 ↵jbrjake2008-05-291-1/+18
| | | | b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Sample rates given by the user in kHz need to be converted to Hz for libhb.jbrjake2008-05-151-0/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1460 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow the user to directly set a pixel aspect height and width, instead of ↵jbrjake2008-05-131-2/+11
| | | | | | | | | | using the autodetection in strict and loose anamorphic. This allows rescaling 1:1 PAR material to be anamorphic. To use in an interface, simply set job->pixel_ratio to 3, job->height and job->width to the desired output size, and job->pixel_aspect_height and job->pixel_aspect_width to the desired PAR. For now this is only for really advanced users who know what numbers they want for those values. Controlled through the CLI as optional arguments to -P. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1459 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Opens up another way to give x264 a constant QP or RF, by passing a direct ↵jbrjake2008-04-261-1/+1
| | | | | | value instead of a percentage that encx264.c has to convert. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1447 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Fixes optical scan reading in OS X by mirroring the MacGui work from ↵jbrjake2008-04-241-0/+186
| | | | | | r821. Thanks, blindjimmy! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1436 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Saearch & Replace domain names to move from .m0k.org to handbrake.fr. Only ↵jbrjake2008-04-153-4/+4
| | | | | | covers trunk files, libhb, and test. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1418 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Generate default chapter marker titles when a marker file is not ↵jbrjake2008-04-081-0/+15
| | | | | | specified, that match the format used by the MacGui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1392 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: m4v is a valid output format.jbrjake2008-04-081-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1389 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cli: If the user specifies more audio codecs than audio tracks, make a copy ↵jbrjake2008-04-041-21/+20
| | | | | | of the last track specified for each additional output codec. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1374 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Update fix AppleTV preset audio.saintdev2008-04-031-8/+15
| | | | | | | | | Accidently hard-coded it to first audio track. Also, you had to specify both audio tracks. Now it only needs one specified and will use that for both. Also, update the --preset-list git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1371 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: "Fun with string theory." Updates needed for new audio layout.saintdev2008-04-011-195/+437
| | | | | | | | | --audios takes a comma seperated list (or range) of the requested output tracks. The other audio settings take either one argument, in which case it applies across all tracks, or a comma seperated list that applies to each track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1366 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix theora linking when using make.saintdev2008-03-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1363 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix Makefiles for dynamically linked dvdcss.saintdev2008-03-231-6/+3
| | | | | | | | You can only build dynamically linked dvdcss with make. If you want static dvdcss use jam. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1362 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI:jbrjake2008-03-231-3/+14
| | | | | | | - If title->detected_interlacing is true, mention it in the non-verbose scan output - Fixes a minor VFR bug that got the filter chain order wrong if other filters than detelecine were applied. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1360 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes deprecated x264 modes (b13 and b30) from the CLI's help output.jbrjake2008-03-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1357 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Theora.saintdev2008-03-201-1/+5
| | | | | | | | This adds the theora encoder to the Xcode project as well. It does not enable anything in the Mac GUI, just allows it to build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1350 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Formatting: Remove a lot of trailing whitespace.saintdev2008-02-212-86/+86
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1307 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't try to show muxing progress since it always stays at 0 anyway.jbrjake2008-02-191-2/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use 64-bit MP4 containers for the AppleTV preset, in case the 2500kb/s video ↵jbrjake2008-02-181-1/+2
| | | | | | and 448kb/s AC3 and 160kb/s AAC push the file size over 4 gigs for long movies. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1291 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Preset updates, including AC3 and AAC for ATV, less insane settings for some ↵jbrjake2008-02-181-14/+16
| | | | | | others, and more insane settings for Bedlam. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1284 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Mcdeint is broken, so avoid using it as a deinterlacer. No more "Slowest," ↵jbrjake2008-02-161-10/+4
| | | | | | "Slow" becomes yadif without spatial checks, "Slower" becomes yadif with spatial checks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Wires up the CLI for doing AAC and AC3 at the same time, with a new audio ↵jbrjake2008-02-161-3/+34
| | | | | | encoder value, aac+ac3. Allows up to 4 source tracks to be selected, all are handled the same way. (Track-by-track audio configuration waits for 0.9.3.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1268 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updates manicure to parse the new way of setting iPod-compatible encodes in ↵jbrjake2008-01-211-9/+9
| | | | | | MacGui presets, and includes the new presets in the CLI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1219 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use weightb=0 for turbo 1st pass x264 options. This prevents frame count ↵jbrjake2008-01-141-1/+1
| | | | | | discrepancies between passes that can lead to a crash at the end of the 2nd pass. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1194 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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