summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Fix corrupt first frame in BD point-to-pointjstebbins2011-09-191-0/+55
| | | | | | | | | | | Seek point may be a recovery point which will not be a complete clean frame. So consume frames till we reach the recovery frame count. Patches Libav so it can tell us when the recovery point has been reached. Also improves detection of recovery points in TS files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve mpeg PS supportjstebbins2011-09-141-0/+96
| | | | | | | | | | | | | | | | | | | | | | Adds support for MPEG-1 PS, HDDVD EVOB, and video codecs other than mpeg1/2 in PS Improves probing of unknown stream types by using Libav's probing utilities Use Libav to probe for dts profile in TS and PS files when profile is unknown Improves framerate detection (improved telecine detection) Fixes preview generation for mpeg video that has only a single sequence header Patches Libav to handle VC-1 pulldown flags properly Improve PS and TS stream log information git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r2044 to r2074 - misc. fixes and improvements.Rodeo2011-09-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1995 to r2044dynaflash2011-08-031-1/+1
| | | | | | - various bugfixes and enhancement, one of which is subme 11. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4152 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add more audio passthru optionsjstebbins2011-08-011-0/+12
| | | | | | | | | | | | | | | | | adds aac and mp3 passthru for mp4 and mkv containers adds dts and dtshd for mp4 container (mkv already had it) Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay In LinGui there is a new option to limit which passthru codecs will be used by the "Auto Passthru" audio codec options. The CLI already has this ability with "--audio_copy-mask" which is use in conjunction with the "copy" audio codec option. Also corrects some A/V sync issues when video frames are dropped due to a gap detected in the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump Libav from git-v0.7b2-406-g7b20d35 to release 0.7.1jstebbins2011-08-016-30/+10
| | | | | | | | | | | | | It includes the following fixes: - MKV seek issue: http://git.libav.org/?p=libav.git;a=commit;h=c29c609 - crash when decoding corrupt MPEG-2 streams: http://git.libav.org/?p=libav.git;a=commit;h=20153fb - other misc. fixes: http://git.libav.org/?p=libav.git;a=shortlog;h=refs/heads/release/0.7 It includes the following new feature: - support for DTS in MP4 and MOV files: http://git.libav.org/?p=libav.git;a=commit;h=26f4875 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4148 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix or simplify several hacks involved with Libav supportjstebbins2011-07-271-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For files that are demuxed by Libav, we must share the format context with the decoder iso that it can obtain the codec context for each stream. The code that did this was very convoluted and difficult to understand. It is simplified by simply passing the context in hb_title_t. Reader was closing stream files before the decoder was finished with the context. This created the need to delay the actual close and cache the context. Changed reader so it behaves more like the rest of handbrake's work objects which lets us explicitly close after the decoders are finished. Libav does some probing of the file when av_find_stream_info is called. This probing leaves the format context in a bad state for some files and causes subsequent reads or seeks to misbehave. So open 2 contexts in ffmpeg_open. One is used only for probing, and the other only for reading. decavcodec.c had 2 separate decoders for files demuxed by hb and files demuxed by Libav. They have been combined and simplified. Previously, it was not possible to decode one source audio track multiple times in order to fan it out to multiple output tracks if the file is demuxed by Libav. We were using the codec context from the format context. Since there is only one of these for each stream, we could only do one decode for each stream. Use avcodec_copy_context to make copies of the codec context and allow multiple decodes. This allows removal of a lot of special case code for Libav streams that was necessary to duplicate the output of the decoder. Patch Libav's mkv demux to fix a seek problem. This has been pushed upstreams, so the next time we update Libav, we must remove this patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4141 b64f7644-9d1e-0410-96f1-a4d463321fa5
* a52dec: silence pointless deca52 message (no accelerated IMDCT)jstebbins2011-07-241-0/+11
| | | | | | | Thanks to Rodeo for patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4133 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: encavcodecaudio improvementsjstebbins2011-07-241-46/+0
| | | | | | | | | | | | | Compute the output layout once in encavcodecaInit and store it in a member of the hb_encavcodeca work object. Fix the channel mapping of ffaac in our code rather than applying a patch to Libav. The Libav AAC encoder is bound to see a certain amount of commit activity since it needs to be improved. A patch affecting the AAC encoder is bound to break regularly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable debuggin when debug=max and disable optimizations when ↵jstebbins2011-07-116-32/+36
| | | | | | | | | | optimizations=none except for ffmpeg on darwin i386 which fails to build when optimizations are disabled due to gcc running out of registers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4103 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable a52dec debugging when debug=maxjstebbins2011-07-111-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4101 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: dvdread and dvdnav, allow disabling optimizations with debug disabledjstebbins2011-07-112-0/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4100 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable ffmpeg debug when debug=max is setjstebbins2011-07-111-0/+10
| | | | | | | and disable ffmpeg optimizations if optimize=none is set git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4098 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable dvdread and dvdnav debugging when debug=max is configuredjstebbins2011-07-112-0/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4097 b64f7644-9d1e-0410-96f1-a4d463321fa5
* back off part of the last dvdread fixjstebbins2011-07-081-18/+0
| | | | | | | | | | It isn't necessary, and was incorrect. I was trying to anticipate a future problem with references outside the allocated region for the PTT, but did it wrong. It's probably best to just wait for a disc that exhibits this potential problem to surface before attempting a fix. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4091 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix crash when scanning True Gritjstebbins2011-07-081-0/+37
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4090 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ffaac encode supportjstebbins2011-06-081-0/+46
| | | | | | | | Adds "AAC (ffmpeg)" option to lingui and macui, "ffaac" option to cli. Does not yet remove faac. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix up usage of deprecated libav symbols and clean up patch fuzzjstebbins2011-06-075-57/+56
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4030 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add support for libav aac encoder (libhb only)jstebbins2011-06-071-0/+1
| | | | | | | | | This generalizes the ac3 encoder to make it easy to add support for any audio encoder that libav supports. Since ffaac is not quite ready, the cli and gui does not expose ffaac yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4029 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump FFmpeg from git-0b32da9 to git-v0.7b2-406-g7b20d35 (from Libav)jstebbins2011-06-076-41/+23
| | | | | | | | | | | | | | | | Highlights: - Sources with more than 20 streams (video, audio and subtitles combined) are now supported - Adds decoding support for 10-bit H.264 - Adds frame-based threading for H.264 and VP8 Not yet enabled in HB. See experimental patch on RB to enable. - Quality tweaks for the AC3 encoder - AAC encoder improvements Not yet enabled in HB. See experimental patch on RB to enable. - Miscellaneous other fixes and improvements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4028 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a problem with filtering and picking correct BD titlejstebbins2011-06-051-1/+1
| | | | | | | | | Titles that are the same except for number of chapters were being filtered out of the title list. So sometimes you would get a BD title that didn't seem to have any chapters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1937 to r1995jstebbins2011-05-311-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4015 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add patch to disable SSE in mpeg2dec for mingw64jstebbins2011-05-311-0/+30
| | | | | | | | This allows use of mpeg2dec with mingw64. From what I've read, disabling sse in mpeg2dec will result in about 10% speed penalty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4014 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix build breakage on gcc < 4.5jstebbins2011-05-311-51/+40
| | | | | | | | Yesterdays patch to fix mpeg2dec builds on gcc 4.6 broke builds < 4.5. This should fix both. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4013 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix gcc4.6 build error that results in a crash in sse2 codejstebbins2011-05-301-0/+133
| | | | | | | | This fixes mpeg2 decoding on fedora15 and probably also fixes the mpeg2dec issue we saw with mingw64. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4011 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix screaching at the beginning of some ac3 to X transcodesjstebbins2011-04-281-0/+459
| | | | | | | | | | | a52dec isn't completely thread safe. It has a collection of static data that gets initialized when a52_init is called. This static data gets initialized to the same thing every time, but if one instance of the decoder is using the data when it gets reinitialized, bad(tm) things happen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3966 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1924 to r1937jstebbins2011-04-211-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1913 to r1924jstebbins2011-04-061-1/+1
| | | | | | | It's that time again... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3906 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Start mkv clusters with a video keyframe whenever possiblejstebbins2011-04-051-1/+1
| | | | | | | | libmkv now starts a new cluster whever there is a video keyframe if the new cluster would not be closer than 2 seconds to the previous cluster. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3901 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix linking on mingw when using libtooljstebbins2011-03-211-1/+1
| | | | | | | | | | | | | | | | Linking the gtk gui uses libtool. The *.la files libtool uses specify the dependency libraries that libraries are built against. Our libbluray contrib was being built against the system libxml2 due to dependencies that were not set in our build system and PKG_CONFIG_PATH not being set when configuring. Note that on fedora (and possibly other systems) the ${cross}-pkg-config script provided is broken and explicitely sets PKG_CONFIG_PATH="". You need to replace this script with something like this: PKG_CONFIG_LIBDIR=$(${cross}-gcc --print-sysroot)/mingw/lib/pkgconfig pkg-config $* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3858 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add mpeg-2 encoding support to libhb, cli, and linguijstebbins2011-03-191-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3853 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix mkv timestamps that derive from SimpleBlock and default track duration.jstebbins2011-03-111-0/+13
| | | | | | | | | | | | | | | | Since I've gotten no response to this patch yet on ffmpeg-devel, I'm committing it here till someone has the time to look at it. When a SimpleBlock has lacing (multiple frames in a block) the duration of each frame should come from the default track duration. An initialization error in ffmpeg causes them to set the duration to 0 which triggers code higher in the stack to estimate the duration based on bitrate and frame size. This is wildly inaccurate and leads to very bad timestamps. Fixes issues with MakeMKV audio timestamps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3835 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove a workaround for an ffmpeg bug that has been fixed.jstebbins2011-03-081-55/+0
| | | | | | | | | Removal of the workaround also removes the need for a patch that fails to apply cleanly to latest ffmpeg git. So remove the patch as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3833 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump ffmpeg from git-185a155 to git-0b32da9jstebbins2011-02-271-1/+1
| | | | | | | fixes win64 crash git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1900 to r1913jstebbins2011-02-251-1/+1
| | | | | | | | fixes memory leak when cancelling an encode various other bug fixes and improvements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3806 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove a couple more remnants of faad from make filesjstebbins2011-02-111-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3794 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libbluray from 0.0.1-pre-16 to 0.0.1-pre-129jstebbins2011-02-081-1/+1
| | | | | | | | fixes segfault when there is a damaged clpi file. fixes segfault when title has no playmarks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3787 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1867 to r1900jstebbins2011-02-071-1/+1
| | | | | | | | - fixes non-deterministic output - various other enhancements and bugfixes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3784 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libraries:sr552011-02-0423-23/+23
| | | | | | - Move all the old m0k urls over to download.handbrake.fr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3780 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump ffmpeg from svn 25689 to git 185a155jstebbins2011-02-042-26/+1
| | | | | | | | | | Fixes a couple h.264 decode issues Fixes uft16-le chapter names in mov/mp4 files Improved ac3 encoder Numerous other bug fixes and improvements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3779 b64f7644-9d1e-0410-96f1-a4d463321fa5
* patch ffmpeg mov demuxer to handle LE UTF16 chapter namesjstebbins2011-01-201-0/+25
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3759 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1834 to r1867dynaflash2011-01-181-1/+1
| | | | | | - Various enhancements and bugfixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3754 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1804 to r1834dynaflash2010-12-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3715 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1790 to r1804dynaflash2010-12-021-1/+1
| | | | | | | | - this bump actually has the weightp 1 improvement which was an error in the last bump. Duh! - Again the weightp 1 improvement is noted here http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=e440dc0f7909c67cdca148fc8a9ea413521e0e5b - Also changes qpmin default to 0 as addressed here http://git.videolan.org/?p=x264.git;a=commit;h=04256645537d17b66f2a46bd8605859e91e0cf8a git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3697 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1772 to r1790dynaflash2010-12-011-1/+1
| | | | | | - Various fixes and enhancments including weightp 1 having a better speed tradeoff. http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=e440dc0f7909c67cdca148fc8a9ea413521e0e5b git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3696 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1766 to r1772dynaflash2010-11-171-1/+1
| | | | | | - Various fixes and enhancements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3680 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump ffmpeg from r25374 to r25689jstebbins2010-11-101-1/+1
| | | | | | | brings back LATM support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3669 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1745 to r1766jstebbins2010-11-101-1/+1
| | | | | | | | bugs squashed and some improvements http://mailman.videolan.org/pipermail/x264-devel/2010-November/007920.html git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3668 b64f7644-9d1e-0410-96f1-a4d463321fa5
* configure and patch pthreadw32 so it will build under mingw64jstebbins2010-10-232-2/+1461
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3619 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add bootstrap step to libdcajstebbins2010-10-231-0/+2
| | | | | | | | aclocal.m4 packaged with the archive is incompatible with mingw64 build environment (and probably others) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3618 b64f7644-9d1e-0410-96f1-a4d463321fa5