summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* = Adds an hb_detect_comb() function that indicates whether or not a frame ↵jbrjake2008-03-234-2/+135
| | | | | | | | | shows interlacing artifacts. - Utilitizes that function in scan.c to analyze the preview frames - Sets a new title->detected_interlacing variable to true if half or more previews show combing, and warns the user in the log. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1359 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make the configure script argument tests work everywheresuperdump2008-03-221-4/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1358 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
* Makes snapshots the default build method for both make and jam. To build a ↵jbrjake2008-03-222-6/+6
| | | | | | regular release with jam, use "./configure --release". To build a regular release with make, use "make all". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1356 b64f7644-9d1e-0410-96f1-a4d463321fa5
* xvid:sr552008-03-221-12/+13
| | | | | | - Updates the xvid nasm patch so that xvid correctly uses CPU optimizations under cygwin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1355 b64f7644-9d1e-0410-96f1-a4d463321fa5
* "If one would give me six lines written by the hand of the most honest man, ↵jbrjake2008-03-227-29/+103
| | | | | | | | | | I would find something in them to have him hanged." - Banishes libdvdcss, removing DVD decryption from HandBrake's binaries. - For decrypttion, the MacGui and Mac CLI now will load at runtime VLC's dynamic library of dvdcss if the media player's available on the user's system. - Linux users can build with a statically linked lib of dvdcss by using ./configure --libdvdcss, which will download it from a remote third party (videolan.org). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1354 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libswscale accurate rounding is now re-enabled for all arches except x86_64.saintdev2008-03-212-5/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1353 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverts r1254, so ffmpeg-in-avi again reports as DivX 5. Giving it the ↵jbrjake2008-03-201-2/+2
| | | | | | "correct" codes was a problem for lame Windows media players and didn't help the CrackBerry user who requested it. Moral of the story? Greet user requests with skepticism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1352 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix two of my stupid bugs that prevented using the queue with transport streams:van2008-03-204-244/+326
| | | | | | | | - keep a cache of the pid/substream id mappings from each scan rather than assuming an encode will immediately follow a scan (there will be lots of scans followed by lots of encodes when the queue is used). - rewrite a few things to get rid of static variables. hb_ts_stream_decode is called by both scan & reader and they're in different threads. All the working storage & state has to either be in the stream struct or on the stack so it's private to the calling thread or it gets corrupted when doing a scan in the middle of an encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1351 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Theora.saintdev2008-03-2015-40/+349
| | | | | | | | 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
* WinGui:sr552008-03-192-53/+54
| | | | | | | - Fixed a bug in the startup init sequence. H264 window needed to be generated before the presets were init'd. - Setup the tab markers for the h264 tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-191-1/+1
| | | | | | - Fixed some text label alignment issues around the cropping boxes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1348 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-195-120/+1888
| | | | | | - The x264 tab has been replaced by a completely new panel with widgets for many of the available x264 options. It operates in a similar way to the macgui's panel. (It however will not disable widgets based on selections on other widgets yet(like the macgui does) this will come later when the bugs have been worked out. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1347 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Method for generating snapshot builds marked with the svn revision by ↵jbrjake2008-03-194-12/+70
| | | | | | | | | | | using ./configure --snapshot; ./jam - Targets for generating snapshot Mac universal binaries by using make snapshot and packaging Mac snapshot releases - Sets the current date for HB_BUILD in jam - Sets the Mac .plist version and build based on the jam/make config - Bumps the version number to 0.9.3 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1346 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-183-8/+15
| | | | | | | | - Few bug fixes in the preset system - File > open is now Import preset. Loads in old presets into the preset bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1345 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Write version info the the activity log and activity windowdynaflash2008-03-172-2/+17
| | | | | | | - writes the Handbrake version number and build number to the activity window and log text file upon startup (this no longer occured out of libhb once we updated the update system to Sparkle) - Add writing the version info upon clearing of either the log file or the window, this way we have version info from users even if they have cleared the top of the logs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1344 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-168-66/+111
| | | | | | | - When selecting a destination, The audio encoder selection dropdown now repopulates with only compatible encoders (based on file container) - Misc other changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1343 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Should have removed this as part of the r1341 checkin - we now add silence ↵van2008-03-161-22/+0
| | | | | | based only on gaps in the timestamp sequence. The heuristic of looking at what fifos are full or empty can misbehave based on random variation in the thread scheduling. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Add mpeg2 "Standard Target Decoder" clock recovery to the low level mpeg ↵van2008-03-154-1230/+825
| | | | | | | | | | stream reader so we don't have to guess about the clock in sync. - Since sync now has a fairly reliable clock, make it just trim excess audio or video and fill holes so that we maintain cross media sync. - Redo the TS-to-PS transmuxing code to work on smaller units so that we can reliably convert the TS clock (PCR) to a PS clock (SCR). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1341 b64f7644-9d1e-0410-96f1-a4d463321fa5
* minor bug fix: AC3 passthru audio frames with no pts were getting a bogus ↵van2008-03-151-4/+5
| | | | | | start and stop time which caused bad things to happen later on in sync.c. Move up the code that generates a pts for non-passthru frames so that it applies to both. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1340 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use unix-style line endings (LF) for libhb/Makefile instead of Windows style ↵saintdev2008-03-151-109/+109
| | | | | | (CRLF). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1339 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-148-281/+1092
| | | | | | | | | - Users can now have their own presets appear in the presets bar. They can both add and remove their own presets. - Anamorphic option is now a dropdown menu like the macgui. - Video tab re-arrange to be consistant with the macgui. - Video Framerate dropdown: Changed Automatic to Same as soure (same as the macgui) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1338 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-149-89/+54
| | | | | | | | | - Added warning about UNC file paths - Removed the generate presets.dat function on start-up. (It wasn't really needed) - Changed a few tooltips - Switched back to .Net version 2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1337 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: When selecting one x264 option disables another (like turning off ↵jbrjake2008-03-122-1/+187
| | | | | | CABAC disables trellis), remove the disabled option from the string and fade the widget out of view with an animation proxy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1336 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Clean up some formatting and errant comments left over from some of ↵dynaflash2008-03-072-37/+15
| | | | | | the snippets I robbed out of HBQueueController on the drag and drop preset commit. :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1335 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of drag and drop in the presets drawer.dynaflash2008-03-074-2034/+2239
| | | | | | | | | | - Allows drag and drop arrangement of custom user presets - Does not allow reordering of built in presets. - Sorting of presets now done only by type ie. built in and custom user. - Provides functionality for future nested presets and drag and drop arranging. - Subclasses the presets outline view for better control over drag and drop behavior git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Applies Dark_Shikari's Variable Adaptive Quantization patch v0.48 to libhb's ↵jbrjake2008-03-072-181/+251
| | | | | | copy of libx264. This major change to x264 drastically reduces blockiness on flat parts of the picture as well as blurring. It is on by default; to disable it, add "aq-strength=0" to your x264 options string. For now, it's only applied to jam builds. Make will come later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1333 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-076-66/+47
| | | | | | | | - Fixed small localization issue in the query parser in regard to -q option. - Changed update checker so if it fails on the startup update scan, it'll fail silently instead of displaying an error message behind the startup screen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets - change the cursor highlighted color of the preset name to ↵dynaflash2008-03-061-1/+1
| | | | | | black, so when changing the name, you can see the letters. The old white made it almost impossible.... duh! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1331 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where renaming a preset does not reflect the new name ↵dynaflash2008-03-061-12/+5
| | | | | | | | | immediately in the preset drawer - call [fPresetsOutlineView reloadData]; - use "-sortPresets" method instead of sorting it in its own method git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1330 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move the presets sorting into a new method "-sortPresets" so it can ↵dynaflash2008-03-062-5/+12
| | | | | | be done independently of adding a preset in preparation for drag and drop preset arranging capability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1329 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Increase the preset drawer max width and content view width by 60 ↵dynaflash2008-03-061-2007/+2023
| | | | | | px. This still leaves us 1024 width compatible and allows more room for longer preset names, vertical scroller as well as the disclosure triangles for nested presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1328 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where prepareJob was not sensing MKV in the Format popup ↵dynaflash2008-03-051-1/+1
| | | | | | | | | | | correctly. - Takes care of the no mkv chapter issues reported here: http://forum.handbrake.fr/viewtopic.php?f=12&t=5120 - Thanks for the diagnostic testing and bringing it to our attention simoncoul ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1327 b64f7644-9d1e-0410-96f1-a4d463321fa5
* encx264: Fix timecodes when using x264 with avi.saintdev2008-03-051-4/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1326 b64f7644-9d1e-0410-96f1-a4d463321fa5
* DVB teletext streams and ATSC AC3 audio streams use the same code points. If ↵van2008-03-021-5/+22
| | | | | | | | | we misclassify teletext as audio we'll die early in the encode while trying to find an AC3 sync frame. So, if we don't find a sync frame after searching a megabyte of the stream decide it's not AC3, delete the audio entry & keep going. Problem & test case from ncbp http://forum.handbrake.fr/viewtopic.php?p=29137#p29137. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't crash just because some dvd title uses an illegal pgn number.van2008-03-021-0/+6
| | | | | | | (Fixes bug reported in http://forum.handbrake.fr/viewtopic.php?p=28767&sid=23308d0c02b70fceb54db71b0d0f2660#p28767). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1324 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Oops - left in a mistake from an intermediate version. We want aspect ratio ↵van2008-03-011-1/+1
| | | | | | from all previews but crop from only frame two (otherwise we'll crop down to nothing if there's a preview with a lot of black). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1323 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't crash while scanning when we can't get previews for some title.van2008-02-294-13/+40
| | | | | | | | | - if we get no previews for some title, ignore the title - use the most common aspect ratio found from our 10 previews rather than just the aspect of preview 2 (otherwise we'll crash in hb_fix_aspect if we don't get preview 2). - check parameters in hb_fix_aspect so we don't divide by zero. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1322 b64f7644-9d1e-0410-96f1-a4d463321fa5
* It's a good idea to have a buffer for every pid you decide to decode.van2008-02-291-4/+2
| | | | | | | | Max buffers was 1/4 max streams. This makes it same as max streams. (Fixes crash reported by ncbp at http://forum.handbrake.fr/viewtopic.php?p=28899&sid=0c89bb9c9aed7eee51c294f25ac61e99#p28899) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1321 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update Gabriel B's x264 vbv 2 pass patch to latest (Feb 26) found here ↵dynaflash2008-02-271-18/+21
| | | | | | http://article.gmane.org/gmane.comp.video.x264.devel/3550 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1320 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds Dark_Shikari's vbv 1 pass patch for x264dynaflash2008-02-272-1/+109
| | | | | | | - While not optimal by any means according to Dark_Shikari over at x264, it definitely seems to help with the borked I frames we have been seeing using vbv 1 pass over x264 standard vbv. - Rumors are that a more comprehensive fix is in the works for x264. But who wants to hold their breath. HB presets rely on vbv too much to have squashed I frames in the meantime. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1319 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libvorbis expects kbps, not bps.saintdev2008-02-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1318 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Set an minimum subtitle display time of three seconds *or* until the next ↵eddyg2008-02-261-0/+20
| | | | | | subtitle is displayed. This makes subtitles easier to read for the slow readers or for the DVD authors why display the subtitles for too short a period (e.g. only display the subtitles during the talking in a fast speaking tongue). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1317 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't allow negative durations. These shouldn't happen but occasionally do ↵van2008-02-251-1/+18
| | | | | | due to upstream bugs. Replace them with a small positive duration so the mp4 file will be playable. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1316 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Work-around for xvid crash - dct coeff tables are being loaded with SSE ↵van2008-02-252-0/+9
| | | | | | 'load aligned' instructions which require 16-byte alignment but either nasm or the loader is ignoring the .rodata section alignment request. Since .rodata is in the text section which is correctly aligned, pad the text section so it's 16-byte aligned which will cause the following data to be correctly aligned. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1315 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-02-241-3/+11
| | | | | | - Fixed small issue with last checkin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1314 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-02-245-27/+62
| | | | | | | - Fixed bug where the chapter markers csv filename renamed the same for every item on the queue. This meant the same chapter names got added to each encode when in fact, each encode should have had a separate file. - Disabled development expiry code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1313 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Be Gone rotten 64-bit preferences check. Be Gone!dynaflash2008-02-211-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1312 b64f7644-9d1e-0410-96f1-a4d463321fa5
* AAC+AC3 in MKVjbrjake2008-02-211-4/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1311 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Un-Banish the 64 bit mp4 checkbox from the Siberia known as the ↵dynaflash2008-02-214-2553/+2438
| | | | | | | | preferences now that we have a device and a preset designed specifically for 64 bit mp4's. - Don't say it jbrjake :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1310 b64f7644-9d1e-0410-96f1-a4d463321fa5