eddyg [Tue, 30 Nov 2010 20:55:36 +0000 (20:55 +0000)]
[libhb] Change bad block handling using libdvdread to scan forward for
good blocks instead of jumping to the end of cell after encountering
bad blocks. Changed handling of libdvdnav to not abort after just 10
failures, however it will still jump to end of cell, I couldn't see
how to scan forward for good blocks.
dynaflash [Tue, 30 Nov 2010 18:37:16 +0000 (18:37 +0000)]
MacGui: fix a typo and change how we word how many encodes are left in the queue in the main window.
- Patches by Rodeo.
- Further explanation can be found here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18807
dynaflash [Tue, 30 Nov 2010 18:21:33 +0000 (18:21 +0000)]
MacGui: fix character encodings in the log file as well as the title popup string in the main menu dialogue.
- Patch by axfree. Thanks!
- Changes are discussed here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18677
dynaflash [Tue, 30 Nov 2010 17:19:03 +0000 (17:19 +0000)]
MacGui: Audio mixdown fix
- Patch by Rodeo. Thanks!
- Update the list of permitted mixdowns when the source audio track changes.
- Discussed here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18840
jstebbins [Wed, 10 Nov 2010 21:38:50 +0000 (21:38 +0000)]
fix a couple A/V/Sub sync issues
Fixes an issue with getting the first timestamp in all streams in sync.
Also fixes sync of passthru subs when using point-to-point.
dynaflash [Mon, 8 Nov 2010 22:00:51 +0000 (22:00 +0000)]
MacGui: Fix queue and auto m4v ...
- patch (as previous) by circleone
- Fix it so that the queue does not attempt to process an extra queue item when the output file already exists.
- Using AC3 Passthru as the codec will trigger the output file to have the .m4v extension when using mp4.
dynaflash [Mon, 8 Nov 2010 21:47:52 +0000 (21:47 +0000)]
MacGui: Audio
- Switched the audio object to use KVO internally to make the code more legible, to allow switching the codec to eventually cause the mp4 output extension to be re-evalutated, and to make sure the bitrate and mixdown popups are empty when the track is disable (the None track).
sr55 [Sun, 7 Nov 2010 19:40:30 +0000 (19:40 +0000)]
WinGui:
- Added numerous bits of code that have been lying around my system for a while. None of this is hooked up. Just pushing it into the repository so I don't lose it. It may be used for a future release.
jstebbins [Sun, 7 Nov 2010 17:21:13 +0000 (17:21 +0000)]
Improved logging of keyint min/max
And small tweak to keyint_max calculation.
x264 slightly changed the way the automatic min-keyint is calculated.
Also, keyint infinite was added. This does not cause any encoding issues,
but depending on the settings and the framerate, the log contained
keyint values that don't correspond to the actual encode's values.
The keyint_max was calculated, 59.94 fps sources will get a keyint of 599
rather than 600. With this change, It is rounded to the closest integer
then multiplied by 10.
sr55 [Sat, 6 Nov 2010 20:20:45 +0000 (20:20 +0000)]
WinGui:
- Remove the Caliburn / Service Locator references. Not going to put this in the upcoming release. No need to bloat the installer with the dlls when they are not currently used.
jstebbins [Sat, 6 Nov 2010 17:22:12 +0000 (17:22 +0000)]
fix windows crash and probably other random nastiness.
Initializing extradata_size to non-zero makes ffmpeg think it
needs to parse extradata. But in the non-broken-by-microsoft case
we leave extradata as uninitialized junk. So ffmpeg parses uninitialized
data and sometimes marches off into the weeds.
jstebbins [Fri, 5 Nov 2010 23:29:31 +0000 (23:29 +0000)]
fix framerate detection again (really, i mean it this time)
integer overflow was causing our sanity checks of ffmpegs frame rate
to fail. We would then fall back to using less accurate values.
Also removes the completely incorrect adjustment that I made based on
ticks_per_frame. That is only useful in a different code path.
jstebbins [Fri, 5 Nov 2010 18:49:36 +0000 (18:49 +0000)]
LinGui: fix auto audio track selection problem
When passthru is requested, and the first audio track of the source isn't
passthru compatible, it picked the first track instead of moving on
to a compatible track.
jstebbins [Tue, 2 Nov 2010 22:13:30 +0000 (22:13 +0000)]
LinGui: Fix psy-rd formatting to be locale safe
Reverts the previous commit regarding this.
Uses '|' as separator between psy-rd and psy-trellis parameters
since ',' is ambiguous in locales that use ',' as decimal point.
jstebbins [Mon, 1 Nov 2010 18:06:08 +0000 (18:06 +0000)]
LinGui: allow specifying file to scan on command line
The gui will immediately scan this file at startup.
Makes 'Open with' nautilus options behave as expected.
dynaflash [Mon, 1 Nov 2010 16:08:00 +0000 (16:08 +0000)]
MacGui: Subtitle tab changes
- Patch by Rodeo ... Thanks!
- displays additional information about source subtitles (VOBSUB, SSA, etc. in addition to Text/Bitmap).
- disables the "Forced Only" checkbox for non-VOBSUB tracks.
- makes "Forced Only" the default for Foreign Language Search.
- makes the "Default" and "Burned In" checkboxes mutually exclusive (the checkboxes act like a radio button).
sr55 [Sun, 31 Oct 2010 17:57:41 +0000 (17:57 +0000)]
WinGui:
- Tweak to the Activity window to make it clearer which encode log is selected. Also improves the logic which selects the correct log when the window loads.
jstebbins [Fri, 29 Oct 2010 16:17:48 +0000 (16:17 +0000)]
fix a segfault and a deadlock if reader exits befor first buffer sent
This can happen if enough of the source is good that it scans but the
beginning has an error that causes reader to exit.
dynaflash [Fri, 29 Oct 2010 14:35:00 +0000 (14:35 +0000)]
MacGui: Audio - Using fallback codec no longer sets the bit rate from the preset. Setting the sample rate no longer sets the bit rate to the default if the currently selected bit rate is still supported.
jstebbins [Sat, 23 Oct 2010 18:23:54 +0000 (18:23 +0000)]
add bootstrap step to vorbis configure and patch document generation problem
mingw64 doesn't work with the aclocal.m4 packaged with libvorbis, so we
need to regenerate it. There's also a bug in the build config for
documents that gets tickled by mingw64.
jstebbins [Sat, 23 Oct 2010 18:18:22 +0000 (18:18 +0000)]
reorder #includes to fix redefinition problem in mingw64
if winsock2.h isn't included before windows.h, different
conflicting definitions are used for several macros and typedefs
jstebbins [Sat, 23 Oct 2010 18:07:35 +0000 (18:07 +0000)]
repackage libmkv archive
the old archive included m4 macros from someone's local build.
these macros would cause build failures in some environments,
notably mingw64.
jstebbins [Sat, 23 Oct 2010 17:56:53 +0000 (17:56 +0000)]
disable threads in libxml2
we don't need them, and if enabled on mingw, the build fails.
you would not have seen this error on mingw if you don't have
a pthreads package installed in your build environment.
jstebbins [Tue, 19 Oct 2010 17:12:21 +0000 (17:12 +0000)]
fix zero duration lpcm frame handling
a zero duration frame caused us to send a buffer with
zero size which we then interpreted as the end of the stream.
jstebbins [Sun, 17 Oct 2010 17:03:58 +0000 (17:03 +0000)]
LinGui: fix race condition in audio settings
changing an audio setting causes validation of bitrate to
be triggered. the validation needed to be delayed till after
all settings have been initialized.
jstebbins [Thu, 14 Oct 2010 01:20:32 +0000 (01:20 +0000)]
LinGui: fix infinite recursion issue in audio bitrate handling
adding a bitrate (that isn't in the standard set of bitrates supported
by handbrake) to the bitrate combo for a passthru codec caused a
cascade of errors.
jstebbins [Tue, 12 Oct 2010 16:44:04 +0000 (16:44 +0000)]
fix heap corruption after avpicture_deinterlace
I don't know when this started happening (or if it has always been a problem).
If the deinterlace buffer is not a multiple of 8, avpicture_deinterlace
corrupts the heap.