summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Picture window now uses a subclass of HBController to access the ↵dynaflash2008-12-156-46/+85
| | | | | | | | | main controller. - fixed issue where preview movie keeps playing even if the picture window is closed - Removed deprecated -ClosePanel method since we now use the windows native close button. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2033 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-12-153-94/+81
| | | | | | - MainWindow now uses the Queue for encoding. Essentially works the same as the MacGUI. You start an encode in either window, and the other shows the encoding status. This prevents users from starting 2 encodes at once (1 Queue, 1 Main Window) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2032 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the destination file entry box wider.jstebbins2008-12-145-14/+81
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* forgot to checkin the new icon for picutre settingsjstebbins2008-12-131-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2030 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add picture settings button to toolbarjstebbins2008-12-137-186/+284
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2029 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix tarball name when building linux snapshot buildsjstebbins2008-12-131-8/+3
| | | | | | | force calling libhb and test makefiles so that all dependencies are checked. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2028 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - have to account for a non-zero start time when we're seeking in ffmpeg files.van2008-12-131-13/+60
| | | | | | | | - try harder to get keyframes from ffmpeg files: if we've just done a seek, search the next 50 frames for a keyframe. - detect WMV3 keyframes since ffmpeg doesn't. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2027 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - try to determine the sample rate, channels, etc., of audio streams rather ↵van2008-12-131-12/+71
| | | | | | | | | than hardwiring 48KHz & 2 channels. - have to discard audio that starts before video time zero otherwise we desync the audio & video. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2026 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Consolidate all the ffmpeg-related includes into libhb/hbffmpeg.h then ↵van2008-12-1312-20/+22
| | | | | | prototype hb_avcodec_{init,open,close} so that we don't get gcc warnings from a dozen modules. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2025 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Loosen tolerance on Program Stream SCR change - 100ms is too tight for an ↵van2008-12-121-1/+1
| | | | | | EyeTV S-Video capture. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix a threading issue with avcodec_open/closejstebbins2008-12-127-16/+41
| | | | | | | | these functions can not be called from 2 threads simultaneosly. made a wrapper function that holds a lock while making the call git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2023 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add to queue fix so that it not only checks that a file does not ↵dynaflash2008-12-121-11/+44
| | | | | | already exist at the destination path, but also check through the existing queue items and warn of an overwrite. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2022 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add "Picture Settings" toolbar item to main window toolbardynaflash2008-12-123-63/+23
| | | | | | | | - Currently uses the same icon as the picture item in the preferences toolbar - Performs same function as the "Picture Settings ..." button in the video tab which is to say it opens the picture settings window - Removed the "Picture Settings ..." button in the video tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2021 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add a preference so we can specify what we do at launch, choices are:dynaflash2008-12-123-26/+228
| | | | | | | | | - Do Nothing - Open Source - Open Source (Title Specific) - Pref defaults to Open Source git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix destination path so that last one used in the destination choice ↵dynaflash2008-12-111-7/+8
| | | | | | | | window is saved and reused upon the next opening instead of the last destination path encoded. - Addressed here http://forum.handbrake.fr/viewtopic.php?f=12&t=8281 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2019 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't reject MPEG PS files just because they're missing a SYS header (clips ↵van2008-12-111-7/+7
| | | | | | won't have one). The standard says we just need a PACK header followed by some other legal start code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2018 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve duration calculation for transport streams. Streams that havejstebbins2008-12-101-3/+5
| | | | | | | | | many discontinuities (like concatenated blu-ray m2ts files) are handled better. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2017 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-12-073-9/+19
| | | | | | - Fixes an issue where if there are no presets, that is, the user removed them all, then the GUI would throw a null pointer exception after scanning a source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2016 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix me_method/me_range dependencyjstebbins2008-12-0615-73/+62
| | | | | | | | umh, esa, tesa -- me_range 4 - 64 dia, hex -- me_range 4 - 16 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2015 b64f7644-9d1e-0410-96f1-a4d463321fa5
* If we don't get signed 16 bits samples from the audio decoder, convert to ↵van2008-12-061-0/+37
| | | | | | signed 16 bit. (Fix for the pcm_u8 audio generated by Canon cameras.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2014 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add a duration widget for live previewjstebbins2008-12-056-1760/+2111
| | | | | | | | | stop live encode if user changes settings or the current preview frame during the encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2013 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: stop live preview playback when the preview window is closedjstebbins2008-12-054-4/+14
| | | | | | | otherwise you still continue to hear the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2012 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Live Preview fixesdynaflash2008-12-052-14/+22
| | | | | | | - Fix proper sizing when max source size and loose anamorphic is selected in presets - Fix vertical alignment issue when the move height is >= the still preview height. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2011 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add a flush to activity log output to prevent large chunks of it jstebbins2008-12-051-0/+4
| | | | | | | from being dropped on a crash. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2010 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix some floating point rounding errors in aspect ratio calculationsjstebbins2008-12-052-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2009 b64f7644-9d1e-0410-96f1-a4d463321fa5
* More code to deal with the flakey streams from NZ TV. They like to change ↵van2008-12-055-33/+18
| | | | | | the PCR without sending a new PCR and we get big timestamp changes but no new reference clock. So now we look at the PTS and if its change is outside a tolerance window we use the new PTS as a PCR & declare a clock discontinuity. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2008 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make preview scalling take screen PAR into accountjstebbins2008-12-055-55/+118
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2007 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb:sr552008-12-041-1/+8
| | | | | | The malloc() function in cygwin doesn't return 16-byte aligned memory which causes it to randomly crash. Replaced with memalign() for the cygwin platform only. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2006 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: correct month output in the names of the individual encode logsdynaflash2008-12-041-1/+1
| | | | | | - Duh! In struct tm, tm_mon is the month number from 0 to 11, so we needed to be using tm_mon + 1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2005 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix a built error introduced in 2003dynaflash2008-12-041-1/+0
| | | | | | - Note to self: (don't leave an errant */ ) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2004 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove legacy preset codedynaflash2008-12-041-400/+118
| | | | | | | - Be aware this makes an 0.9.2 or earlier presets completely deprecated 0.9.3 presets are fine (including any made with the five preceding snapshots). - Removed almost 300 lines of code git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2003 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - validate frame sync the way the standard suggests (via checking the frame ↵van2008-12-042-97/+169
| | | | | | | | | | | | crc) rather than looking at multiple frames. This should reduce the probability of mis-identifying random junk as AC-3 to less than 1 in 2^32. - check the crc on every frame so we don't let corrupted data into the decoder. - interpret the PTS as per the standard (it's the time of the first frame that starts in the packet, not the time of the first byte of the packet). Incorrect interpretation was resulting in an average 15ms timing error (worse case 31ms). - do all the PTS calculations in doubles so we don't get round-off error that will desync the audio & video with 44.1KHz audio sources (these can't appear on DVDs but do show up in avi/mkv/... files). - don't rely on the container to give us large enough frame fragments to validate the sync (some containers split audio frames into really small pieces). Instead use the 8K of unused space in the esconfig of the audio object as an accumulation buffer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2002 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Elementary streams that scan couldn't type as audio streams have to be ↵van2008-12-041-15/+56
| | | | | | | | | | completely ignored - some of these don't follow the normal PES packet encoding so feeding them downstream to the demuxer will cause strange timing and other problems. - make log message correctly reflect our uncertainty about audio stream type so people don't complain about missing AC-3 audio when it isn't really there. - add missing av_free_packet in VC-1 keyframe search. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2001 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Gives van the more prominent position in the AUTHORS file he deserves, and ↵jbrjake2008-12-041-7/+15
| | | | | | adds jstebbins to the roll. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update readme with list of dependencies for buildingjstebbins2008-12-031-1/+19
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1999 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove deprecated patch-x264-aq.patch from contribsdynaflash2008-12-031-299/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1998 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Settings window - fix issue with freezing when resizing with ↵dynaflash2008-12-031-6/+2
| | | | | | anamorphic set to None. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1997 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix live preview on 32 bit platformsjstebbins2008-12-031-6/+2
| | | | | | | found an ld flag that prevents export of specific libraries git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Found the ffmpeg initialization problem with VC-1 video. jstebbins2008-12-032-12/+115
| | | | | | | So now we can use our own demuxer for streams with VC-1. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1995 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Mac: move decmetadata.c to "libhb Sources" in the xcode project like all of ↵dynaflash2008-12-031-1/+1
| | | | | | the other libhb files git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1994 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - allow titles with video but no audio.van2008-12-021-9/+4
| | | | | | | - don't throw away previews just because we hit eof while trying to find audio info. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1993 b64f7644-9d1e-0410-96f1-a4d463321fa5
* I suspect that eddyg's r1987 didn't really want to totally break transport ↵van2008-12-021-0/+5
| | | | | | and program streams ... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1992 b64f7644-9d1e-0410-96f1-a4d463321fa5
* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1991 ↵sr552008-12-022-2/+2
| | | | b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: minor adjustments to the display of source informationjstebbins2008-12-023-9/+29
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1990 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: free a mark thats used in activity log scrollingjstebbins2008-12-021-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1989 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-12-022-1/+4
| | | | | | - Allows crop 0000 to be stored in presets. Sorry, forgot to change this when the PS3 preset started using it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1988 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add metadata support to libhb, add importing of MP4 metadata, add export of ↵eddyg2008-12-0214-131/+469
| | | | | | MP4 metadata, add importing of MP4 chapters, add seek to chapter for input files, add new libmp4v2, remove old MP4 chapter muxing - now in libmp4v2. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1987 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add logging level to preferencesjstebbins2008-12-027-12/+175
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1986 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix cut/past capability in x264 options textview.jstebbins2008-12-011-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1985 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a minor annoyance with how activity window scrolling works.jstebbins2008-12-011-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1984 b64f7644-9d1e-0410-96f1-a4d463321fa5