konablend [Wed, 4 Jan 2012 09:41:11 +0000 (09:41 +0000)]
BuildSystem: Mac OS X - transition to Xcode4
- transition from Xcode3 to Xcode4
- overhaul HandBrake.xcodeproj file
- simplify down to 2 configurations: debug, release
- add xcconfig for useful variants: osx106.i386, osx106.x86_64, osx107.i386, osx107.x86_64
- add configure --xcode-config as preferred method to choose OSX minimum version and SDK
- overhaul Info.plist generation to use m4 instead of cpp
- remove use of direct static libraries on command line - Xcode4 now enables -search_paths_first by default
- reference external build static libraries project file - greatly simplifying project file maintenance
- update universal build targets to use --xcode-config
- update ffmpeg hack to build on i386 in both debug and optimized modes
- update ffmpeg build to show compile verbosity
- enable local yasm when yasm probe fails
- remove unused GCC.ldsysroot
- remove unused GCC.ldminver
- enhance xcodemake to use --sysroot, --minver
- update/regenerate docs accordingly
- add support for configure-time repo probe when svn repo is incompatible format to Xcode via .svn/HANDBRAKE_REPO_PROBE
- replaced make/test/build.matrix.darwin with make/test/build.matrix
jstebbins [Thu, 22 Dec 2011 16:36:51 +0000 (16:36 +0000)]
Fix overlapping vobsubs
vobsubs that don't have a stop time were persisting too long and being
displayed under the next vobsub in the video. We don't need to guess
the stop time of the vobsub. sync already handles unknown stop times
for subtitles.
sr55 [Tue, 20 Dec 2011 20:11:48 +0000 (20:11 +0000)]
WinGui: Import Patch to fix corrupted characters in the Parser class. http://code.google.com/p/handbrake/source/detail?r=67ec1976d8301dd5592ee1249a611f9c91efd6f7
Thanks to golgol7777
dynaflash [Mon, 5 Dec 2011 21:22:03 +0000 (21:22 +0000)]
MacGui: 1st lion xcode 4.2.1 commit. Cosmetic Preview Window changes to buttons that looked like ass on lion and add 64 bit arch to default xcode.app build arches for lion.
sr55 [Thu, 1 Dec 2011 22:11:32 +0000 (22:11 +0000)]
WinGui: Extended the Automatic Audioo/Subtitle selection feature to allow a preferred language to be set for Subtitles and remove some restrictions on the window to make it more flexible.
jstebbins [Tue, 15 Nov 2011 22:56:19 +0000 (22:56 +0000)]
Fix out of memory condition on mingw32
realloc doesn't really release memory under most circumstances, so it's
not suitable for reducing the size of an hb_buffer_t. So instead,
allocate a new smaller buffer, copy the data, and return the old larger
buffer to the buffer pool for reuse.
jstebbins [Tue, 15 Nov 2011 21:36:45 +0000 (21:36 +0000)]
Make sure decvobsub.c generates valid timestamps
sync.c expects that timestamps will all be resolved by the time buffers
reach it. Reader will invalidate timestamps while waiting to
resynchronize the SCR. So decoders (inparticular decvobsub) need to
extrapolate timestamps when they are not supplied.
jstebbins [Mon, 14 Nov 2011 23:50:18 +0000 (23:50 +0000)]
Fix interleaving of subtitles in muxer
Specifically, this affects closed captions which are pushed into the
pipeline very late. CC's are dribbled in 2 bytes per video frame.
The entire CC that we put into a subtitle frame isn't available till
we see the signal for the end of the CC. This can be several seconds
after it began. So I have established a minimum buffer size that the
muxer accumulates before it outputs any data. This allows CCs to get
into the pipeline before the muxer outputs the interleave interval that
they belong in.
jstebbins [Thu, 10 Nov 2011 23:29:23 +0000 (23:29 +0000)]
Fix closed captioning crash
Prevent the same CC buffer from being attached to multiple tags. The
same buffer would get pushed to a fifo multiple times and ultimately
freed multiple times.
jstebbins [Sun, 6 Nov 2011 01:43:21 +0000 (01:43 +0000)]
Fix probing mpeg video in program streams
... and probably some other formats as well. Libav's probe routine
doesn't necessarily return names that match the codec names
that can be looked up by avcodec_find_decoder_by_name(). So we
have to manually map the names if the lookup fails. Lookup for
mpeg video started failing with the last Libav bump because
they removed an obsolete "mpegvideo" decoder that we were matching
on. The correct decoder is "mpeg2video", but probe doesn't return
that string.
Also fix our implementation of the ff_lockmgr callback. Current
git Libav fails if we don't fix it. So might as well fix it now.
jstebbins [Wed, 2 Nov 2011 16:26:11 +0000 (16:26 +0000)]
Disable DTS-HD LBR secondary audio tracks
DTS-HD LBR used in HD-DVD and bluray for secondary audio
streams. Libav can not decode yet. Having it in the audio
list causes long delays during scan while we try to get stream
parameters. So skip this audio type for now.
Fixes problem setting dsur_mode in ac3 encoder that caused encode
failures if using ac3 encoder and mixdown is dolby or dplii.
Fixes a VC-1 decode issue that caused scattered misplaced blocks.
Fixes swscale bug that caused banding.
jstebbins [Tue, 25 Oct 2011 02:18:15 +0000 (02:18 +0000)]
Add optional yasm contrib
To enable, "configure --enable-local-yasm"
Ubuntu 10.04 LTS (lucid) has yasm 0.8 which is no longer compatible with
x264. This change allows us to build yasm as a contrib and use it for
building both Libav and x264 which require yasm.
jstebbins [Sat, 22 Oct 2011 19:36:15 +0000 (19:36 +0000)]
Add new decomb modes
This is jbrjakes decomb3 patch.
New modes are gamma compensation and erode dialate filter.
Gamma adjusting pixel values makes less visible differences count less
in the metric that is calculated. Filtering removes isolated "hits"
that are more likely noise. This all makes decomb more discerning and
therefore the thresholds can be lowered.
The filter's defaults use these new modes with lower thresholds. If you
want the old behavior, use:
7:2:6:9:1:80
jstebbins [Fri, 21 Oct 2011 18:24:43 +0000 (18:24 +0000)]
ASS bump to 0.10.0
libass has a new dependency on fribidi. So also add fribidi to
contribs. I repackaged the libass distribution because the configure
script shipped with it is damaged beyond repair for darwin.
jstebbins [Fri, 21 Oct 2011 17:44:51 +0000 (17:44 +0000)]
bump libvorbis from aoTuV b5 to b6.03
Libvorbis aoTuV was unified with Xiph.Org's libvorbis1.3.2.
Many bug fixes and improvements.
Enlarge buffer for audio headers. The new vorbis generates
larger code book headers.
patch configure to fix llvm -O4 bug
jstebbins [Mon, 17 Oct 2011 21:36:53 +0000 (21:36 +0000)]
detect progressive upsampling in vfr
progressive 23.976 fps content that has upsampled to progressive 59.94
fps can result in juddery output if you don't drop the "right" frames
while downsampling back to 23.976. This adds a test that computes the
sum of squared errors between 2 candidate frames to drop and makes a
more intelligent decision based on this metric.
jstebbins [Mon, 17 Oct 2011 16:24:24 +0000 (16:24 +0000)]
fix a problem with resolution changes in h.264
First, the scaling code in decavcodec.c was broken and didn't properly
compensate for frames that had a different resolution than the rest of
the stream.
Second, libav can not handle resolution changes when doing frame based
multi-threading. So disable threading when resolution changes are
detected.
jstebbins [Sun, 16 Oct 2011 17:33:20 +0000 (17:33 +0000)]
LinGui: experimental support for batch queuing
This allows all titles in the title popup to be added to the queue in
one go. It uses the current *preset* for the settings. I.e. settings
changes in the UI are ignored. This deficiency will be rectified at a
future time.