summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* Fixes encx264.c from rev 994 to avoid crasing with 2pass and auto select / ↵dynaflash2007-09-271-3/+3
| | | | | | forced subtitiles. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@995 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Mod encx264.c to allow the queue to show the advanced x264 options ↵dynaflash2007-09-271-1/+2
| | | | | | in the encoding job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@993 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Mistake in chapter merging well spotted by Van, which would cause the ↵eddyg2007-09-271-0/+1
| | | | | | encoding to terminate prematurely due to an incorrect movie duration. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@992 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improved PMT and PAT algorithms to work with streams where the PAT contains ↵awk2007-09-211-227/+262
| | | | | | | | | | entries for PMT's not present in the stream. Improved the PMT algorithm to work with PMT's that span TS Packets (though this is not well tested due to a lack of such streams). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@976 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Warning message had preview number out by one.eddyg2007-09-191-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@974 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't discard titles during scan just because of a read failure on one or ↵eddyg2007-09-191-3/+6
| | | | | | more of the previews. The missing previews are handles OK when you try to view them in the preview window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@973 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Van's changes to the x264 lib and HB encoder to ensure that an IDR frame is ↵eddyg2007-09-171-1/+30
| | | | | | used for each new chapter. Well done and lots of thanks to Van for this one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Re-enable 6ch vorbis audio.saintdev2007-09-162-6/+16
| | | | | | | Vorbis won't allow bitrates < 168kbps with 6ch audio, so anything less is reset to 168kbps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@966 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverts an errant checking for from rev 960dynaflash2007-09-133-138/+53
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@961 b64f7644-9d1e-0410-96f1-a4d463321fa5
* jbrjake's loose pixel ratio patch.saintdev2007-09-133-53/+138
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@960 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cast the flags passed to sws_getContext to a 16-bit int.saintdev2007-09-132-3/+3
| | | | | | Otherwise I get segfaults on 64-bit linux. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@958 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added buffer management and changed fifo sizes. Changed job->subtitle_scan ↵eddyg2007-09-1110-54/+329
| | | | | | to job->indepth_scan, and fixed memory init bug in denoise.c. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@945 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Improvements from travistexdynaflash2007-09-071-3/+1
| | | | | | | | | | | | | | | | | | | - Add view selection widget to choose "encode by encode" or "pass by pass" view - Add "Show Detail" button to toggle detailed view on/off - Removed #define JOB_GROUPS. You can now control this in the UI and show either "encodes" or "passes". - Revamped the progress strings to give you exact progress. - New terminology (encodes and passes) - New toolbar in queue window (not complete, icons need work) - New files, added to project: Encodes.png EncodesPressed.png Info.png JobPassLarge.png JobPassSmall.png Passes.png PassesPressed.png git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@931 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New Active Queue implementation courtesy of travistexdynaflash2007-09-053-0/+7
| | | | | | | | | | | | | - Thanks travistex! - queue is now in a separate window - queue currently shows jobs grouped together as one encode, which is configurable - queue now shows currently encoding job, which is independently cancellable without losing the rest of the queue. - can start and pause encoding in the queue window - queue uses its own nib - progress status needs work - This has a way to go, but needed to get checked in as it changes the current xcode project structure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@925 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Add the accurate rounding flag for software scaling to avoid scaling ↵superdump2007-09-052-3/+3
| | | | | | artifacts that were especially noticable on flat colour or slight gradients. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@924 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:sr552007-09-041-0/+1
| | | | | | | Fixed mkv file extension not being appending by auto naming Included Ritsuka patch for mkv file size issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@918 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Workaround from "van" to prevent double chapter markers when using advanced ↵eddyg2007-08-311-2/+8
| | | | | | deinterlace filters git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@907 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added progress marking for when doing the subtitle scaneddyg2007-08-301-0/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@901 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make the auto-fps selected rate stickyeddyg2007-08-301-3/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@900 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improved debug messages for Cell start/stop with Cell number and block.eddyg2007-08-291-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@897 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from bitsflew that displays fading subtitles as solid subtitles rather ↵eddyg2007-08-291-6/+36
| | | | | | than being invisible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@896 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Die, non-standard printf logging, die!jbrjake2007-08-292-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* These calls to free produce double free warnings. It seems that removing the ↵superdump2007-08-291-4/+0
| | | | | | avpicture_free calls doesn't stop the warnings. Confusing to me as the buffers aren't freed elsewhere, but removing these seems to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@891 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Roll back avpicture_alloc to malloc + avpicture_fill. This fixes the ↵superdump2007-08-281-12/+36
| | | | | | | | | | | MacGUI preview window crashing. - Free the sws context after its use to avoid a memleak. Both alterations courtesy of BradleyS. Kudos. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@889 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Enable jam to work by changing the error handling to use a callback rather ↵eddyg2007-08-272-5/+17
| | | | | | than a direct call outside of libhb. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* missed fileeddyg2007-08-271-0/+232
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@875 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moved functions from lang.h to lang.c for easy includion in Controller.mmeddyg2007-08-273-223/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added support to the mac gui for auto-selecting subtitles if the main audio ↵eddyg2007-08-271-0/+15
| | | | | | language is not in your native language (via the new preferences box). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improved error handling when disk already full for MKV containers.eddyg2007-08-271-2/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixed up mkv error messages that did not apply, and added one which was missed.eddyg2007-08-271-12/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@870 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added rudimentory error handling to HB. Instead of using hb_log() use ↵eddyg2007-08-275-29/+107
| | | | | | hb_error(). Also causes us to stop muxing when we get a write error in MP4 and MKV containers. Still requires macosx dialog box by dynaflash (see main.mm for stub to use). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix main window closing to it doesnt crash HB and allow you to get ↵dynaflash2007-08-242-1/+12
| | | | | | | | it back. Also, closing main window now does NOT quit HandBrake. - Courtesy of Ritsuka. Thanks Ritsuka! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@864 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Doubles the number of frames checked for cadence changes, streamlines their ↵jbrjake2007-08-241-10/+10
| | | | | | storage with a for loop, gets rid of inaccurate "Interlaced->Progressive" messages during scanning, and, during encoding, displays those messages with time stamps in seconds instead of using the PTS units. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@862 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allows stream.c to try to read .VOB, .TS, and .mpeg files in addition to ↵jbrjake2007-08-241-3/+6
| | | | | | | | .vob, .ts, .m2t, and .mpg files. These are just more hard-coded file type extensions. awk, if this is a Bad Idea for a reason I'm ignorant of, feel free to revert. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@861 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Subtitle scanning for forced subtitles and normal subtitles from the CLIeddyg2007-08-2110-44/+162
| | | | | | | and the MacOS GUI. See the new subtitle language options in the GUI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added "--subtitle-force" option to the CLI, and added changes to decsub toeddyg2007-08-202-9/+42
| | | | | | | | select only forced subtitles curtesy of Utumno (thanks!). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@843 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add colour/chroma to subtitles where they are not transparent.eddyg2007-08-202-5/+98
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@842 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Small patch to keep mcdeint in mode 2 from crashing. Thanks, blindjimmy!jbrjake2007-08-191-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@833 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Prevents a bus error at scan time with DVDs that have a weird cell ↵jbrjake2007-08-171-10/+13
| | | | | | structure. Much gratitude to dynaflash, as without his patient assistance tele-debugging this, I would have been forced to buy a copy of Young Guns. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@828 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Switch to mk_laceXiph().saintdev2007-08-161-20/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@822 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Lessens the brownpantsification effect from the DVD Read Blocks Failed error ↵jbrjake2007-08-151-1/+1
| | | | | | message. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@815 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Prettier logging display for filters.jbrjake2007-08-141-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@814 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use hb_log for DVD: messages instead of printf.jbrjake2007-08-141-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@813 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moves the filters' logging info to work.c, adds parameter info. I also ↵jbrjake2007-08-143-3/+15
| | | | | | changed the deinterlace filter name to include its default method (ffmpeg) and removed the logging line from work.c that said if job->deinterlace was true or not, as it's now superfluous. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a log message informing the user of which filters are being applied.jbrjake2007-08-141-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@804 b64f7644-9d1e-0410-96f1-a4d463321fa5
* "Same as source" changes. Old behavior: mark all NTSC content as 23.976. New ↵jbrjake2007-08-132-14/+152
| | | | | | | | | behavior: mark all NTSC content as 29.97, only use 23.976 when scanning shows a title reporting itself as mostly progressive. Also threw in a bunch of commented out logging messages for diagnostic usage. And notification during encodes when progressive flags go on or off (only works in jam builds until the contrib binary packs get rebuilt). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from eddyg for a much less cryptic hb_log message when DVDReadBlocks ↵jbrjake2007-08-061-1/+1
| | | | | | fails. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@789 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Display thread IDs in hb_log messages with %x instead of %d, so they aren't ↵jbrjake2007-08-061-3/+3
| | | | | | negative numbers in 32-bit Ubuntu (and maybe other places). Thanks for the suggestion, mr_cheese_. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@788 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Implements libswscale in HandBrake, giving it Lanczos scaling! This major ↵jbrjake2007-08-014-58/+73
| | | | | | | | | | enhancement comes to us courtesy of superdump, who deserves much praise and glory. To make this work, ffmpeg's been updated to a recent revision. Darwin contrib binary pack ++ to 0016. Includes fresh ffmpeg and libswscale as well as the recently-patched libmp4v2. I've also added the configure option --disable-sdl to libmpeg2 in the contrib/Jamfile, because without it jam always fails for me and I'm sick of adding it in every time. Hopefully this doesn't break anything for anyone, but if it does it's just a one-word change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@778 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from huevos_rancheros to restore 2-pass functionality, which broke ↵jbrjake2007-07-271-0/+17
| | | | | | when the new filters got added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@758 b64f7644-9d1e-0410-96f1-a4d463321fa5