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