summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* BuildSystem: conversion from jam-based to make-based system.konablend2009-03-015-88/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KNOWN ISSUES: 1. OSX + Xcode builds do not support parallel builds; attempting to use them may cause unbounded number of jobs. However, disabling via configure --disable-xcode avoids the issue. 2. OSX ppc binary produces binary which has audio-scan problems. 3. OSX ppc64 binary has not been runtime tested. ADDED: 00-BuildUserGuide.txt contrib/*/module.* doc/ make/ libhb/module.* test/module.* macos/module.* gtk/module.* DROPPED: BUILD BuildContribDarwin.sh DownloadMacOsXContribBinaries.sh Jamfile Jamrules MacOsXContribBinariesVersion.txt Makefile Makefile.config jam libhb/Jamefile libhb/Makefile test/BUILDSHARED test/Makefile contrib/Jamfile contrib/Makefile contrib/patch-ffmpeg.patch contrib/patch-x264-idr.patch contrib/patch-x264-linux.patch RENAMED: contrib/*.patch -> contrib/MODULE/[AP]??-*.patch macosx/HandBrake.plist -> macosx/Info.plist MODIFIED: libhb/decavcodec.c Patched to use cleaner include "libavcodec/audioconvert". Second part to support this cleanup is ffmpeg A02-audioconvert.patch . MODIFIED: libhb/hb.c MODIFIED: libhb/hb.h MODIFIED: libhb/muxmkv.c MODIFIED: libhb/muxmp4.c MODIFIED: libhb/update.c Patched to use "project.h" for project metadata. Renamed HB_BUILD -> HB_PROJECT_BUILD. Renamed HB_VERSION -> HB_PROJECT_VERSION. MODIFIED: test/test.c: Patched HandBrakeCLI to support I/O on Mac OS X ZFS filesystems. Reference r1803 as similar patch for HandBrake.app . Unpatched behavior is crash/buserror when using ZFS. MODIFIED: macosx/Growl.framework/ Upgraded 0.7.6 (i386,ppc) -> 1.1.2 (i386,x86_64,ppc,ppc64). New architectures facilitate x86_64 and ppc64 builds. MODIFIED: macosx/HandBrake.xcodeproj/ Bumped compatibilty mode from 2.4 -> 3.1 . Dumped old configurations Deployment, Developer. Added configurations standard, sebug as replacements. Added standard.i386, standard.x86_64, standard.ppc, standard.ppc64 . for explicit architecture build. All configurations settings cleaned up and normalized. Build output directories adjusted to support new build system. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2180 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Organizes anamorphic parameters in a struct, requiring some minor search and ↵jbrjake2009-01-261-6/+6
| | | | | | replace changes in the interfaces. Folds the logic for strict anamorphic mode into hb_set_anamorphic_size() and also stakes out a new, more customizable mode 3. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2097 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds --start-at-preview and --stop-at-duration and --stop-at-pts options. ↵jbrjake2008-12-301-1/+36
| | | | | | | | These correspond to the job->start_at_preview and job->pts_to_stop variables the MacGui and LinGui use to achieve live preview encodes. While of course starting at a certain preview is not an optimal way of choosing a starting position for an encode (especially in a CLI), it is fast, and flexible. By altering the number of previews to scan with --previews, it is possible to start an encode at any percentage of the video. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds two new parameters to hb_scan, to control the number of preview frames ↵jbrjake2008-11-301-1/+14
| | | | | | | | generated during scan, and whether or not they're written to disk for later display. This will break any interfaces that use hb_scan until the new params are specified...sorry. Also adds a new job->seek_points setting (set this to the same as the number of previews) to be used with job->start_at_preview when doing live preview encodes, so the seek function has a frame of reference. Wires up the CLI with a --previews option (long option only) to control the new scan parameters, and defaults the CLI to not writing previews to disk. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1970 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui and CLI: Finalizes built-in presets for 0.9.3jbrjake2008-11-201-36/+109
| | | | | | | | | - Adds a Legacy folder nested inside the Apple folder, which holds 0.9.2's AppleTV preset, the old iPod High-Rez preset (iPod Legacy), and the old iPhone preset. - The standard iPhone preset has ben changed to CRF, loses the iPod 5.5G atom since its prescence was misleading (the preset doesn't employ VBV controls), and gains 2 mixed reference frames. - The new AppleTV preset has been slightly nerfed down to subme 7 from subme 9. - The iPod Classic and Nano preset (formerly known as iPod Low-Rez) has been retitled to simply iPod as it is compatible with the older 5G models. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Rearranges and reorganizes the built-in help (-h) , fixes some spelling ↵jbrjake2008-11-131-88/+92
| | | | | | and technical errors in the descriptions, and removes the hard tabs from that section of test.c. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1919 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Adds some conidtionals to manicure.rb so CLI users can override audio ↵jbrjake2008-11-081-88/+352
| | | | | | settings and x264 options when using built-in presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1906 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui and CLI: Minor preset tweaks, brings Universal down to subme 6 and ↵jbrjake2008-10-271-4/+4
| | | | | | pushes Xbox up to subme 9. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Don't barf on OS X when someone gives a proper BSD path to begin with. ↵jbrjake2008-10-271-1/+1
| | | | | | (Thanks KonaBlend!) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1873 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: first try at nested presets *fingers crossed*jbrjake2008-10-221-165/+185
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1857 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a configuration option for whether the COLR atom and h.264 VUI header ↵jbrjake2008-10-191-2/+17
| | | | | | should signal Bt.601 or Bt.7709 color, instead of just setting it based on whether the source is standard or high definition (which is preserved as default, and made more sensitive to letterboxed HD content). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1851 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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