OSDN Git Service

handbrake-jp/handbrake-jp-git.git
13 years agoWinGui:
sr55 [Sun, 7 Nov 2010 18:46:56 +0000 (18:46 +0000)]
WinGui:
- Collaspe the preview window if QT is not installed. Hide the QuickTime playback options.

git-svn-id: svn://localhost/HandBrake/trunk@3659 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoImproved logging of keyint min/max
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.

Thanks to Rodeo

git-svn-id: svn://localhost/HandBrake/trunk@3658 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoBump cpu count limit from 8 to 64
jstebbins [Sun, 7 Nov 2010 16:35:24 +0000 (16:35 +0000)]
Bump cpu count limit from 8 to 64

git-svn-id: svn://localhost/HandBrake/trunk@3657 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoFix use of uninitialized variable in mpeg PS detection.
jstebbins [Sun, 7 Nov 2010 16:33:29 +0000 (16:33 +0000)]
Fix use of uninitialized variable in mpeg PS detection.
This could easily cause PS detection to fail.

git-svn-id: svn://localhost/HandBrake/trunk@3656 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoAllow longer SRT filename paths.
jstebbins [Sun, 7 Nov 2010 16:29:59 +0000 (16:29 +0000)]
Allow longer SRT filename paths.
Bump from 128 to 256.

git-svn-id: svn://localhost/HandBrake/trunk@3655 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agooops, delete debug printf...
jstebbins [Sat, 6 Nov 2010 21:15:31 +0000 (21:15 +0000)]
oops, delete debug printf...

git-svn-id: svn://localhost/HandBrake/trunk@3654 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix audio sync when resampling 48khz to 44.1khz
jstebbins [Sat, 6 Nov 2010 21:14:14 +0000 (21:14 +0000)]
fix audio sync when resampling 48khz to 44.1khz
Rounding errors in timestamp calculations caused a gradual slip
in both sync.c and encfaac.c.

git-svn-id: svn://localhost/HandBrake/trunk@3653 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
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.

git-svn-id: svn://localhost/HandBrake/trunk@3652 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix windows crash and probably other random nastiness.
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.

git-svn-id: svn://localhost/HandBrake/trunk@3651 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix framerate detection again (really, i mean it this time)
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.

git-svn-id: svn://localhost/HandBrake/trunk@3650 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolog the title duration before throwing it out when it's too short
jstebbins [Fri, 5 Nov 2010 21:56:32 +0000 (21:56 +0000)]
log the title duration before throwing it out when it's too short

git-svn-id: svn://localhost/HandBrake/trunk@3649 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoFix hb_get_best_mixdown to allow downmixing 7.1 to 5.1
jstebbins [Fri, 5 Nov 2010 20:12:31 +0000 (20:12 +0000)]
Fix hb_get_best_mixdown to allow downmixing 7.1 to 5.1
Use hb_get_best_mixdown in places in the LinGui that were duplicating
code.

git-svn-id: svn://localhost/HandBrake/trunk@3648 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix auto audio track selection problem
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.

git-svn-id: svn://localhost/HandBrake/trunk@3647 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix start/stop time of last lame buffer
jstebbins [Thu, 4 Nov 2010 21:15:47 +0000 (21:15 +0000)]
fix start/stop time of last lame buffer
after flushing lame, the flushed buffers start/stop time were not
being set.

git-svn-id: svn://localhost/HandBrake/trunk@3646 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: update copyright dates
jstebbins [Wed, 3 Nov 2010 23:28:54 +0000 (23:28 +0000)]
LinGui: update copyright dates

git-svn-id: svn://localhost/HandBrake/trunk@3645 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: Fix a problem with updating mixdown combo
jstebbins [Wed, 3 Nov 2010 20:27:24 +0000 (20:27 +0000)]
LinGui: Fix a problem with updating mixdown combo
The first time the codec combo changes, the mixdown didn't get
sanitized and updated.

git-svn-id: svn://localhost/HandBrake/trunk@3644 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix framerate detection of ffmpeg sources
jstebbins [Wed, 3 Nov 2010 00:35:02 +0000 (00:35 +0000)]
fix framerate detection of ffmpeg sources
found another spot where ticks_per_frame was not being accounted for.

git-svn-id: svn://localhost/HandBrake/trunk@3643 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: Fix psy-rd formatting to be locale safe
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.

git-svn-id: svn://localhost/HandBrake/trunk@3642 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: Use '.' for all locales when passing floats to x264
jstebbins [Tue, 2 Nov 2010 16:16:31 +0000 (16:16 +0000)]
LinGui: Use '.' for all locales when passing floats to x264
x264 doesn't accept internationalized decimal points.
So force '.' when converting floats.

git-svn-id: svn://localhost/HandBrake/trunk@3641 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Mon, 1 Nov 2010 20:56:29 +0000 (20:56 +0000)]
WinGui:
- Second attempt at build fix. Fixes references.

git-svn-id: svn://localhost/HandBrake/trunk@3640 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Mon, 1 Nov 2010 20:46:37 +0000 (20:46 +0000)]
WinGui:
- Attempt to fix the nightly build.

git-svn-id: svn://localhost/HandBrake/trunk@3639 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix spelling of 'track' in cli help
jstebbins [Mon, 1 Nov 2010 20:27:43 +0000 (20:27 +0000)]
fix spelling of 'track' in cli help

git-svn-id: svn://localhost/HandBrake/trunk@3638 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Mon, 1 Nov 2010 20:23:19 +0000 (20:23 +0000)]
WinGui:
- Some re factoring of the Framework library

git-svn-id: svn://localhost/HandBrake/trunk@3637 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: allow specifying file to scan on command line
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.

git-svn-id: svn://localhost/HandBrake/trunk@3636 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Subtitle tab changes
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).

git-svn-id: svn://localhost/HandBrake/trunk@3635 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 31 Oct 2010 21:18:29 +0000 (21:18 +0000)]
WinGui:
- Added an implementation of IWindsorInstaller to the class libraries.

git-svn-id: svn://localhost/HandBrake/trunk@3634 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
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.

git-svn-id: svn://localhost/HandBrake/trunk@3633 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 31 Oct 2010 17:39:36 +0000 (17:39 +0000)]
WinGui:
- Unsubscribe an event handler when cancelling the scan.

git-svn-id: svn://localhost/HandBrake/trunk@3632 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sat, 30 Oct 2010 14:23:40 +0000 (14:23 +0000)]
WinGui:
- Fix a display issue on the queue where the pass count was incorrect.

git-svn-id: svn://localhost/HandBrake/trunk@3631 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sat, 30 Oct 2010 14:18:21 +0000 (14:18 +0000)]
WinGui:
- Fix an issue where embedded SRT files were not getting detected correctly during scan. Regex was incorrect to pickup "UTF-8"

git-svn-id: svn://localhost/HandBrake/trunk@3630 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sat, 30 Oct 2010 14:01:45 +0000 (14:01 +0000)]
WinGui:
- Fix a bug in the audio panel where changing selected audio track would incorrectly set the audio bit-rate control dropdown

git-svn-id: svn://localhost/HandBrake/trunk@3629 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix a segfault and a deadlock if reader exits befor first buffer sent
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.

git-svn-id: svn://localhost/HandBrake/trunk@3628 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Audio - Using fallback codec no longer sets the bit rate from the preset...
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.

git-svn-id: svn://localhost/HandBrake/trunk@3627 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 24 Oct 2010 10:58:36 +0000 (10:58 +0000)]
WinGui:
- Fix the nightly build. Was missing the service location dll.

git-svn-id: svn://localhost/HandBrake/trunk@3626 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sat, 23 Oct 2010 21:15:11 +0000 (21:15 +0000)]
WinGui:
- Delete 2 unneeded dll's from the last checkin.

git-svn-id: svn://localhost/HandBrake/trunk@3625 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sat, 23 Oct 2010 21:14:08 +0000 (21:14 +0000)]
WinGui:
- Bring in Caliburn 1.1 and Windsor / Service Locator. (For a later release)

git-svn-id: svn://localhost/HandBrake/trunk@3624 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoupdate baseline presets with weightp=0
jstebbins [Sat, 23 Oct 2010 19:26:51 +0000 (19:26 +0000)]
update baseline presets with weightp=0
eliminate hack that defaults weightp=0 when bframes=0

git-svn-id: svn://localhost/HandBrake/trunk@3623 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoclean up crufty legacy code
jstebbins [Sat, 23 Oct 2010 19:11:31 +0000 (19:11 +0000)]
clean up crufty legacy code
remove unused code relating to avi, ogm, psp, ipod, and forcing h264 levels

git-svn-id: svn://localhost/HandBrake/trunk@3622 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: use hb_get_best_mixdown and eliminate duplicate code
jstebbins [Sat, 23 Oct 2010 18:58:30 +0000 (18:58 +0000)]
LinGui: use hb_get_best_mixdown and eliminate duplicate code

git-svn-id: svn://localhost/HandBrake/trunk@3621 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoUse libhb functions for mixdown and bitrate defaults in the cli
jstebbins [Sat, 23 Oct 2010 18:48:26 +0000 (18:48 +0000)]
Use libhb functions for mixdown and bitrate defaults in the cli
sanitize mixdown and audio bitrates in work.c

git-svn-id: svn://localhost/HandBrake/trunk@3620 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoconfigure and patch pthreadw32 so it will build under mingw64
jstebbins [Sat, 23 Oct 2010 18:31:34 +0000 (18:31 +0000)]
configure and patch pthreadw32 so it will build under mingw64

git-svn-id: svn://localhost/HandBrake/trunk@3619 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoadd bootstrap step to libdca
jstebbins [Sat, 23 Oct 2010 18:30:24 +0000 (18:30 +0000)]
add bootstrap step to libdca
aclocal.m4 packaged with the archive is incompatible with
mingw64 build environment (and probably others)

git-svn-id: svn://localhost/HandBrake/trunk@3618 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agopatch mp4v2 so it builds under mingw64
jstebbins [Sat, 23 Oct 2010 18:29:11 +0000 (18:29 +0000)]
patch mp4v2 so it builds under mingw64
mingw64 defines _DLL even when building static libs

git-svn-id: svn://localhost/HandBrake/trunk@3617 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoadd a patch that allows force disabling of dlfcn
jstebbins [Sat, 23 Oct 2010 18:25:47 +0000 (18:25 +0000)]
add a patch that allows force disabling of dlfcn
libdvdread's autodetection of this fails in some environments

git-svn-id: svn://localhost/HandBrake/trunk@3616 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoadd bootstrap step to vorbis configure and patch document generation problem
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.

git-svn-id: svn://localhost/HandBrake/trunk@3615 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agodisable building examples in libbluray
jstebbins [Sat, 23 Oct 2010 18:19:18 +0000 (18:19 +0000)]
disable building examples in libbluray
they fail to build under mingw64 and we don't need them

git-svn-id: svn://localhost/HandBrake/trunk@3614 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoreorder #includes to fix redefinition problem in 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

git-svn-id: svn://localhost/HandBrake/trunk@3613 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agorepackage libmkv archive
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.

git-svn-id: svn://localhost/HandBrake/trunk@3612 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agodisable threads in libxml2
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.

git-svn-id: svn://localhost/HandBrake/trunk@3611 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoAdd build option --enable-ff-mpeg2 to use ffmpeg for mpeg2 decoding
jstebbins [Sat, 23 Oct 2010 17:21:56 +0000 (17:21 +0000)]
Add build option --enable-ff-mpeg2 to use ffmpeg for mpeg2 decoding
instead of mpeg2dec. disabled by default.

git-svn-id: svn://localhost/HandBrake/trunk@3610 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoffmpeg video decoder enhancements
jstebbins [Sat, 23 Oct 2010 17:09:27 +0000 (17:09 +0000)]
ffmpeg video decoder enhancements
Add film/video cadence logging.
Set buffer flags indicating field order, progressive, and repeats.
Fix frame duration calculation when ffmpeg ticks_per_frame > 1

git-svn-id: svn://localhost/HandBrake/trunk@3609 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoUpdate bzip2 from 1.0.5 to 1.0.6 for mingw builds
sr55 [Sat, 23 Oct 2010 13:20:02 +0000 (13:20 +0000)]
Update bzip2 from 1.0.5 to 1.0.6 for mingw builds

git-svn-id: svn://localhost/HandBrake/trunk@3608 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix zero duration lpcm frame handling
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.

git-svn-id: svn://localhost/HandBrake/trunk@3607 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 17 Oct 2010 19:36:02 +0000 (19:36 +0000)]
WinGui:
- Fix a bug in the AutoName where is used the folder name instead of source name when multiple files are scanned.

git-svn-id: svn://localhost/HandBrake/trunk@3606 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix race condition in audio settings
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.

git-svn-id: svn://localhost/HandBrake/trunk@3605 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 17 Oct 2010 16:24:17 +0000 (16:24 +0000)]
WinGui:
- Fix typo in the Options window.

git-svn-id: svn://localhost/HandBrake/trunk@3604 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agobump x264 from r1724 to r1745
jstebbins [Fri, 15 Oct 2010 17:43:28 +0000 (17:43 +0000)]
bump x264 from r1724 to r1745
various bug fixes and enhancements

git-svn-id: svn://localhost/HandBrake/trunk@3603 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix audio codec updating when track is changed
jstebbins [Thu, 14 Oct 2010 17:21:36 +0000 (17:21 +0000)]
LinGui: fix audio codec updating when track is changed
When the track changes, the fallback or passthru codec may need
recalculating.

git-svn-id: svn://localhost/HandBrake/trunk@3602 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix infinite recursion issue in audio bitrate handling
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.

git-svn-id: svn://localhost/HandBrake/trunk@3601 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: add "Quit HandBrake" option to "When Done" options
jstebbins [Tue, 12 Oct 2010 22:58:01 +0000 (22:58 +0000)]
LinGui: add "Quit HandBrake" option to "When Done" options
Thanks to mxttie for the patch.

git-svn-id: svn://localhost/HandBrake/trunk@3600 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agobump ffmpeg from 25082 to 25374
jstebbins [Tue, 12 Oct 2010 17:16:19 +0000 (17:16 +0000)]
bump ffmpeg from 25082 to 25374
fixes h264 decoding issue

git-svn-id: svn://localhost/HandBrake/trunk@3599 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix heap corruption after avpicture_deinterlace
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.

git-svn-id: svn://localhost/HandBrake/trunk@3598 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix audio codec selection problem in mkv
jstebbins [Tue, 12 Oct 2010 15:43:57 +0000 (15:43 +0000)]
LinGui: fix audio codec selection problem in mkv
UI said AAC, but encoded LAME

git-svn-id: svn://localhost/HandBrake/trunk@3597 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix queue display problem when there's '&' in input file name
jstebbins [Sun, 10 Oct 2010 23:38:31 +0000 (23:38 +0000)]
LinGui: fix queue display problem when there's '&' in input file name

git-svn-id: svn://localhost/HandBrake/trunk@3596 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 10 Oct 2010 14:12:22 +0000 (14:12 +0000)]
WinGui:
- Add support for the new AC3 Encoder.

git-svn-id: svn://localhost/HandBrake/trunk@3595 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agotweak ca_aac bitrate limits some more
jstebbins [Sat, 9 Oct 2010 23:24:32 +0000 (23:24 +0000)]
tweak ca_aac bitrate limits some more
add comment table of bitrate limits found through empirical testing.

git-svn-id: svn://localhost/HandBrake/trunk@3594 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix bad audio codec setting in job
jstebbins [Sat, 9 Oct 2010 22:11:13 +0000 (22:11 +0000)]
LinGui: fix bad audio codec setting in job
was using a pointer before it was set.

git-svn-id: svn://localhost/HandBrake/trunk@3593 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoadd more audio bitrate limits
jstebbins [Sat, 9 Oct 2010 21:51:06 +0000 (21:51 +0000)]
add more audio bitrate limits
Thanks to Rodeo for doing some testing and providing numbers.

git-svn-id: svn://localhost/HandBrake/trunk@3592 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoprevent crash when vorbis fails to initialize for any reason.
jstebbins [Sat, 9 Oct 2010 21:11:07 +0000 (21:11 +0000)]
prevent crash when vorbis fails to initialize for any reason.
headers used in muxmkv were not initialized and the garbage
made mk_laceXiph crash.

git-svn-id: svn://localhost/HandBrake/trunk@3591 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agocli: fix misleading error messag
jstebbins [Sat, 9 Oct 2010 20:20:40 +0000 (20:20 +0000)]
cli: fix misleading error messag
When samplerate is "auto" we were printing,
"Invalid sample rate 0, using input rate 48000"

git-svn-id: svn://localhost/HandBrake/trunk@3590 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix some audio list display problems
jstebbins [Sat, 9 Oct 2010 20:02:20 +0000 (20:02 +0000)]
LinGui: fix some audio list display problems
and try to clean up the code a bit.

git-svn-id: svn://localhost/HandBrake/trunk@3589 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoprint more accurate log message when mixdown is not set
jstebbins [Sat, 9 Oct 2010 16:54:52 +0000 (16:54 +0000)]
print more accurate log message when mixdown is not set

git-svn-id: svn://localhost/HandBrake/trunk@3588 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix detectsion of bitrate_code for ac3 passthru in mp4
jstebbins [Sat, 9 Oct 2010 16:34:21 +0000 (16:34 +0000)]
fix detectsion of bitrate_code for ac3 passthru in mp4
ac3 passthru and encode are slightly different since
audio->config.in.bitrate is in bps and audio->config.out.bitrate is kbps

git-svn-id: svn://localhost/HandBrake/trunk@3587 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix detection of sr_code and bitrate_code for ac3 streams in mp4
jstebbins [Sat, 9 Oct 2010 01:51:28 +0000 (01:51 +0000)]
fix detection of sr_code and bitrate_code for ac3 streams in mp4

git-svn-id: svn://localhost/HandBrake/trunk@3586 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Use libhb for audio limits as well as defaults.
dynaflash [Fri, 8 Oct 2010 22:00:20 +0000 (22:00 +0000)]
MacGui: Use libhb for audio limits as well as defaults.
- Patch by circlone!

git-svn-id: svn://localhost/HandBrake/trunk@3585 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoallow ca_aac lower limit of 192kbps for 6ch
jstebbins [Fri, 8 Oct 2010 21:51:02 +0000 (21:51 +0000)]
allow ca_aac lower limit of 192kbps for 6ch

git-svn-id: svn://localhost/HandBrake/trunk@3584 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix a bug in bitrate selection. forgot to change a '++' to '--'
jstebbins [Fri, 8 Oct 2010 21:28:25 +0000 (21:28 +0000)]
fix a bug in bitrate selection. forgot to change a '++' to '--'

git-svn-id: svn://localhost/HandBrake/trunk@3583 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofuture proof faac bitrate limits
jstebbins [Fri, 8 Oct 2010 21:08:22 +0000 (21:08 +0000)]
future proof faac bitrate limits
by making the high thresh dependent on # channels

git-svn-id: svn://localhost/HandBrake/trunk@3582 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix some audio bitrate limits issues with ca aac
jstebbins [Fri, 8 Oct 2010 20:50:29 +0000 (20:50 +0000)]
fix some audio bitrate limits issues with ca aac
and choose the next lower bitrate rather than next higher when
between 2 valid rates.

git-svn-id: svn://localhost/HandBrake/trunk@3581 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agocli: make smarter mixdown decision when doing ac3 encode fallback
jstebbins [Fri, 8 Oct 2010 20:30:53 +0000 (20:30 +0000)]
cli: make smarter mixdown decision when doing ac3 encode fallback
also, clean up the mixdown sanitizing logic in work.c
added new functions
hb_get_default_mix(codec, layout)
hb_get_best_mix(codec, layout)

These take the output codec and the input layout as parameters.

git-svn-id: svn://localhost/HandBrake/trunk@3580 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoupdate manicure with ac3pass->copy:ac3 changes
jstebbins [Fri, 8 Oct 2010 19:09:52 +0000 (19:09 +0000)]
update manicure with ac3pass->copy:ac3 changes

git-svn-id: svn://localhost/HandBrake/trunk@3579 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoadd audio defaults and limits calculation to libhb
jstebbins [Fri, 8 Oct 2010 18:55:03 +0000 (18:55 +0000)]
add audio defaults and limits calculation to libhb

hb_get_audio_bitrate_limits()
Get the bitrate limits for a (codec,samplerate,mixdown) triplet

hb_get_best_audio_bitrate()
Given an input bitrate, sanitize it. Check low and high limits
and make sure it is in the set of allowed bitrates.

hb_get_default_audio_bitrate()
Get the default bitrate for a given (codec,samplerate,mixdown) triplet

git-svn-id: svn://localhost/HandBrake/trunk@3578 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoCLI: add 'copy' option for audio and ac3 encoder fallback for ac3 passthru
jstebbins [Fri, 8 Oct 2010 17:28:30 +0000 (17:28 +0000)]
CLI: add 'copy' option for audio and ac3 encoder fallback for ac3 passthru
'copy' will passthru ac3 or dca.  also changed ac3pass and dcapass to
copy:ac3 and copy:dca

git-svn-id: svn://localhost/HandBrake/trunk@3577 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: remove more duplicate code relating to min/max audio bitrates
jstebbins [Wed, 6 Oct 2010 23:26:21 +0000 (23:26 +0000)]
LinGui: remove more duplicate code relating to min/max audio bitrates

git-svn-id: svn://localhost/HandBrake/trunk@3576 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: centralize min/max audio bitrate limit calculation to one place
jstebbins [Wed, 6 Oct 2010 22:59:17 +0000 (22:59 +0000)]
LinGui: centralize min/max audio bitrate limit calculation to one place

git-svn-id: svn://localhost/HandBrake/trunk@3575 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix a problem where I used the wrong aac bitrate cap
jstebbins [Tue, 5 Oct 2010 22:51:50 +0000 (22:51 +0000)]
LinGui: fix a problem where I used the wrong aac bitrate cap
wasn't allowing higher bitrate for aac 6ch in some cases.

git-svn-id: svn://localhost/HandBrake/trunk@3574 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix a display problem in the audio list
jstebbins [Tue, 5 Oct 2010 22:30:37 +0000 (22:30 +0000)]
LinGui: fix a display problem in the audio list
And tweak default bitrate choices.  likely to change :P

git-svn-id: svn://localhost/HandBrake/trunk@3573 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoAdd code to recognize eac3 streams in TS
jstebbins [Tue, 5 Oct 2010 22:27:28 +0000 (22:27 +0000)]
Add code to recognize eac3 streams in TS
Recognizes BD, HDDVD, and DVB variations of signalling eac3 streams.
Let me know if you find streams that don't work.

git-svn-id: svn://localhost/HandBrake/trunk@3572 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Remove the audio encoder bitrate cap.
dynaflash [Tue, 5 Oct 2010 16:36:19 +0000 (16:36 +0000)]
MacGui: Remove the audio encoder bitrate cap.
- This used to cap the bitrate available in the ui to the sources audio bitrate.
- Note: this can allow people to do stupid things. A more elegant solution is forthcoming.

git-svn-id: svn://localhost/HandBrake/trunk@3571 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoAdd ac3 encoding
jstebbins [Mon, 4 Oct 2010 23:16:57 +0000 (23:16 +0000)]
Add ac3 encoding
Uses ffmpeg's ac3 encoder.

git-svn-id: svn://localhost/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: add nightly build for ubuntu 10.10 maverick
jstebbins [Mon, 4 Oct 2010 17:29:19 +0000 (17:29 +0000)]
LinGui: add nightly build for ubuntu 10.10 maverick

git-svn-id: svn://localhost/HandBrake/trunk@3569 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Disable the drc dial if source is not AC3 as only our AC3 decoder flags drc.
dynaflash [Mon, 4 Oct 2010 16:04:26 +0000 (16:04 +0000)]
MacGui: Disable the drc dial if source is not AC3 as only our AC3 decoder flags drc.
- Patch by circleone, thanks!

git-svn-id: svn://localhost/HandBrake/trunk@3568 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 3 Oct 2010 21:58:44 +0000 (21:58 +0000)]
WinGui:
- Enable Experimental Preset Exporter (plist - mac format). This can be imported by the mac and linux gui's

git-svn-id: svn://localhost/HandBrake/trunk@3567 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Sun, 3 Oct 2010 21:28:29 +0000 (21:28 +0000)]
WinGui:
- Update the Subtitles panel to handle the previous revision fix to the CLI

git-svn-id: svn://localhost/HandBrake/trunk@3566 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoCLI: fix subtitle options problem
jstebbins [Sun, 3 Oct 2010 21:27:16 +0000 (21:27 +0000)]
CLI: fix subtitle options problem
Could not list a subtitle twice and make one instance burned/forced
and the other not.

git-svn-id: svn://localhost/HandBrake/trunk@3565 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix another hang in the muxer.
jstebbins [Sun, 3 Oct 2010 17:10:49 +0000 (17:10 +0000)]
fix another hang in the muxer.

If all streams are at EOF, then we must continue processing
the track queues till they are all empty.

git-svn-id: svn://localhost/HandBrake/trunk@3564 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix ffmpeg locking issue
jstebbins [Sat, 2 Oct 2010 19:11:09 +0000 (19:11 +0000)]
fix ffmpeg locking issue
ffmpeg complained "insufficient thread locking around avcodec_open/close()".
This was caused by encavcodec.c calling avcodec_open at the same time as
stream.c called av_find_stream_info.  av_find_stream_info has a side effect
of calling avcodec_open, so we must lock around this call as well.

git-svn-id: svn://localhost/HandBrake/trunk@3563 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoFix potential crash in libbluray
jstebbins [Fri, 1 Oct 2010 23:52:57 +0000 (23:52 +0000)]
Fix potential crash in libbluray

event queue size was 1 too small which would lead
to buffer overrun.

git-svn-id: svn://localhost/HandBrake/trunk@3562 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoFix dylib path for CLI on osx
jstebbins [Fri, 1 Oct 2010 17:02:14 +0000 (17:02 +0000)]
Fix dylib path for CLI on osx
Forgot this was needed for the cli as well.
Same as http://trac.handbrake.fr/changeset/3351

git-svn-id: svn://localhost/HandBrake/trunk@3561 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui:
sr55 [Fri, 1 Oct 2010 16:31:13 +0000 (16:31 +0000)]
WinGui:
- Some refactoring of the Subtitle panel. Added support for subtitle type display to the subtitle dropdown and burn in support for SSA.

git-svn-id: svn://localhost/HandBrake/trunk@3560 b64f7644-9d1e-0410-96f1-a4d463321fa5