summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ooops. Restores xvid-in-mp4 functionality, which I broke with b-frame ↵jbrjake2007-04-041-3/+3
| | | | | | muxing. (Thanks for the bug report, superdump, and thanks for pointing out where the problem was, saintdev.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@476 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: x264 options in presets - initial implementationdynaflash2007-04-045-22/+71
| | | | | | | | - x264 options string can be entered in NSTextview in the create new preset window NOTE: - When using x264, the gui first looks for a preset with a x264 option string available and then looks for the string in the preferences if it cant find it in the preset. So, if there is a string available in the preset, it ignores the string (if there is one available) in the prefs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@475 b64f7644-9d1e-0410-96f1-a4d463321fa5
* maurj reported a double-free crash that I am unable to reproduce. This ↵saintdev2007-04-041-1/+0
| | | | | | removes an extra free that appears to be the problem. Better to leak a little memory than have some users crash. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@474 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a bus error if b-pyramid is given as an x264 option without specifying a ↵jbrjake2007-04-031-6/+13
| | | | | | value. (Thanks for alerting me to the bug, saintdev) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@473 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Amended work.c to remember the number of source A52 channels and lfe ↵maurj2007-04-021-0/+5
| | | | | | channels, so that deca52.c can correctly detect a 5.1 source which needs mixing down to Dolby Digital. Previously it was just mixing 5.1 down to stereo. This has been broken since rev 438, when the multi-soundtrack bug was fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@472 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Oops, got a little to unalloc-happy. Fixes a crash.saintdev2007-04-021-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@471 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix several MB of memory leaks in lame, and vorbis.saintdev2007-04-015-2/+28
| | | | | | 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
* Fix about 156,199 bytes of leaked memory.saintdev2007-03-3111-8/+59
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@469 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presetsdynaflash2007-03-304-10/+28
| | | | | | - Show Built In Presets in a blue font and custom user presets in black to differentiate them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@468 b64f7644-9d1e-0410-96f1-a4d463321fa5
* make HandbrakeCLI will make Handbrake without building all the contrib ↵sr552007-03-301-1/+10
| | | | | | binaries. These will be downloaded. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@467 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 2 Files added to allow for downloading of pre-compiled contrib binaries for ↵sr552007-03-302-0/+19
| | | | | | windows. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@466 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Chapter Markers Fixesdynaflash2007-03-301-9/+14
| | | | | | | - Create Chapter Markers checkbox no longer resets to on if you turned it off and it is on in the prefs. - Chapter markers now are created/not created properly no matter what is checked during consecutive rips. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@465 b64f7644-9d1e-0410-96f1-a4d463321fa5
* H.264 B-frame muxing for MP4, including B-pyramids. The latter are QuickTime ↵jbrjake2007-03-303-8/+82
| | | | | | | | incompatible. "Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves." -- Alan Kay git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@464 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Preview no longer distorts in Anamorphic Modedynaflash2007-03-294-30/+90
| | | | | | - AppleTV Preset will now reset the picture settings to the sources max original output values after initial scan regardless of any changes the user has made. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@463 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Importing the first (very much not-yet-ready-for-primetime) version of the ↵clee2007-03-2914-0/+1093
| | | | | | | | | Qt4 GUI for HandBrake into trunk. Note: This is NOT fit for release yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@462 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable 5.1 6 channel audio extraction for OGM with Vorbis audiodynaflash2007-03-285-13/+24
| | | | | | - also, some internal changes to controller.mm for upcoming appleTV preset capabilities in gui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@461 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preset refinementsdynaflash2007-03-285-22/+44
| | | | | | | | | | | - Added current settings field in main window, uses the preset name if one is chosen and "Custom" if any settings are outside of the selected preset - Deselects the preset if settings are changed from currently selected preset - Uses a new method - (IBAction) CustomSettingUsed: (id) sender to make determination via the sender value. presets use a NULL value to make determination - Currently, changing Picture Settings DOES NOT trigger the display change. Still sorting through those conditionals. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@460 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removed saintdev's CLI patch to test.c to default the abitrate to 384 when ↵maurj2007-03-271-7/+0
| | | | | | no abitrate is provided on the commandline and the -6 (surround) option is passed in. The problem with this approach is that a bitrate of 384 is then used regardless of whether 5.1 extraction is actually used for the extraction (this isn't decided till work.c, which checks the channel config of the source audio tracks). Moreover, this causes a segmentation fault when using the OGM file format and extracting a 1.0 audio track from a DVD with the -6 option passed in, as vorbis_encode_setup_managed in encvorbis.c won't accept a bitrate of 384 for a 1-channel track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@459 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Amended the code comments about 6-channel and 1-channel audio extraction to ↵maurj2007-03-272-10/+9
| | | | | | reflect that it's no longer just for AAC, following saintdev's addition of 6-ch and 1-ch for OGM. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@458 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: re-fix bug where changing the destination field would reset the ↵dynaflash2007-03-271-1/+1
| | | | | | | | settings to default - this bug was unintentionally re-introduced in an earlier svn rev git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@457 b64f7644-9d1e-0410-96f1-a4d463321fa5
* -6 channel surround for Vorbis/OGM. The channel mapping seems right for VLC, ↵saintdev2007-03-275-15/+46
| | | | | | | | but may be messed up for other players. -Other small fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@456 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make audio/subtitle ids less confusing to users.saintdev2007-03-261-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@455 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Keep the language id for each audio track when using MP4.saintdev2007-03-264-179/+217
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@454 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets - reduce display fonts for presets to match the rest of the ↵dynaflash2007-03-262-0/+1
| | | | | | gui text. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI Interface cleaned up and split into multiple sectionssr552007-03-261-979/+1000
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@452 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Chapter Markers to the iPod and AppleTV "Factory" presets.dynaflash2007-03-251-1/+5
| | | | | | - Set to "on". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@451 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Added Chapter Markers to user presetsdynaflash2007-03-251-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@450 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Chapter Marker Preferencedynaflash2007-03-256-6/+23
| | | | | | | - add a preference to default chapter markers on/off - currently default is off. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@449 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Re-enable custom user presets.dynaflash2007-03-252-9/+10
| | | | | | | - were previously disabled in svn rev 441 - Fixed the hang in the add preset window caused by a bad sortselector git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@448 b64f7644-9d1e-0410-96f1-a4d463321fa5
* saintdev's fix to correctly allocate bitrate for non-stereo audiodynaflash2007-03-242-2/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@447 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Correct .DMG name for easy releaseprigaux2007-03-241-4/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@446 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use new Darwin contrib packprigaux2007-03-242-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@445 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove all libquicktime thingsprigaux2007-03-241-14/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@444 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove all libquicktime thingsprigaux2007-03-245-91/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Snapshot build now builds a .dmg name Handbrake instead of MediaFork.dynaflash2007-03-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@442 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Create Chapter Markers implemented in gui.dynaflash2007-03-235-20/+201
| | | | | | | | | | | | | | | - Checkbox is only available when format is MP4 - Does not force an .m4v file extension at this time - Add built in presets initial implementation - built in presets still needs to be finalized and refined - Caused a bug in creating custom presets (see NOTE below) NOTE: this rev has the add preset button non-functional as some user preset changes have been made but not finished and the add preset window currently hangs. As rev 440 states, you still need to use ./configure then ./jam to build contribs. jam will report a failed build, but then just use "make internal" and it will build successfully. We still need priaux or someone to compile maurj's changes to contribs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@441 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added chapter markers in a chapter text track in mp4 files.maurj2007-03-234-7/+644
| | | | | | | | | This option is turned off by default. It can be turned on in the CLI by specifying a "-m" or "--markers" option. it is not yet enabled as an option in the Mac GUI. These chapter tracks are only detected by QuickTime if the file extension is .m4v. If the extension is .mp4, the chapter text track is ignored. To this end, I have made test.c detect .m4v as a file extension for mp4 too. This change has required a substantial change to the mp4v2 library patch. Until the precompiled contrib binaries are updated by Prigaux, try doing "./configure" and then "./jam" (which will build the native contribs, but fail to build UB versions of the apps), and then try "make internal" to compile a native version of the apps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@440 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Re-enable Audio Track 2 for saintdevs fix (thanks saintdev!)dynaflash2007-03-211-16/+8
| | | | | | - 5.1 6 channel aac now works for Track 2 as well as Track 1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@439 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Applied and committed saintdev's patch to fix multi-track audio. Only in ↵maurj2007-03-217-62/+82
| | | | | | | | the CLI for now - the GUI will need updating to reinstate the second audio dropdown. If the -6 option is specified in the CLI (and faac is specified), then *any* 5.1 tracks specified will be exported as 6-channel AAC. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@438 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverts an hb_snooze call's length from 200 to 50, like titer intended it. ↵jbrjake2007-03-181-1/+1
| | | | | | Should be slightly faster (maybe 1 fps), hopefully might fix some other random problems. It's located in the part of muxcommon.c that waits til the audio and video buffers are full before muxing packets. If the buffers aren't full, it snoozes. So I think it gets run 1 or more times for every frame. The snooze value got altered back in revision 98. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@437 b64f7644-9d1e-0410-96f1-a4d463321fa5
* saintdev's 64-bit deadlock fixdynaflash2007-03-185-10/+8
| | | | | | | -should fix some issues when HB is used on a 64 bit system. -thanks saintdev! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@436 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MP4-to-MOV droplet was obsoleted by the latest iTunes/QuickTime update.jbrjake2007-03-167-12/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@435 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Introduce Auto Namingdynaflash2007-03-146-4/+31
| | | | | | | | - Auto Naming checkbox in Preferences (default to Off) - If "ON" uses the DVD Name and "- Title Number" as the file output name. - Called in -TitlePopupChanged function. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@434 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix Preset Selection Crashdynaflash2007-03-141-80/+79
| | | | | | | - Presets no longer crash HB if selected during rip or if dvd source scan is cancelled. - Since cannot disable NSTableCell Selection used an if statement for presetAdd button isEnabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@433 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Support files larger than 2GB on Linux.clee2007-03-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@432 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Thinine's custom file size and x264 fix.dynaflash2007-03-132-2/+2
| | | | | | | | | Thanks Thinine! - Fix output file variable in controller.mm and common.h so that custom file sizes work properly with x264. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@431 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Destination File Browse Windowdynaflash2007-03-131-5/+5
| | | | | | | - Use current path from the destination field in main window instead of last browsed path which could have been from a dvd source browse - Use current output file name in the file save field instead of leaving it blank. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@430 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reinstated the "-6" option in the getopt_long call in test.c (looks like it ↵maurj2007-03-121-1/+1
| | | | | | had been overwritten at some point) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@429 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Not needed! bad commit...prigaux2007-03-112-1538/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@428 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Patch from Thinine: For x264 options, use UTF8String instead of ↵jbrjake2007-03-111-2/+2
| | | | | | CString, and avoid a string duplication. (Thanks for cleaning up my mess, Thinine!) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@427 b64f7644-9d1e-0410-96f1-a4d463321fa5