summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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