OSDN Git Service

handbrake-jp/handbrake-jp-git.git
14 years agoWinGui:
sr55 [Fri, 7 May 2010 18:58:46 +0000 (18:58 +0000)]
WinGui:
- Added Export support to the Chapters Tab.

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

14 years ago x264 bump from r1570 to r1583
dynaflash [Fri, 7 May 2010 15:24:24 +0000 (15:24 +0000)]
 x264 bump from r1570 to r1583
- Various bug fixes and enhancements

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

14 years agoMacGui: Chapter Title import/export functionality
dynaflash [Thu, 6 May 2010 18:30:32 +0000 (18:30 +0000)]
MacGui: Chapter Title import/export functionality
- Saves the chapter list to a .csv file which is compatible with the cli and wingui.
- Note: comma's in the chapter name are escaped with a "\" to maintain cli compatibility then if necessary stripped upon re import into macgui.
- Original patch by borgclone and added to by realityking. Thanks!
- Feature development referenced here http://forum.handbrake.fr/viewtopic.php?f=4&t=4146&start=0

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

14 years agoLinGui: packaging deps wrong again
jstebbins [Tue, 4 May 2010 20:57:16 +0000 (20:57 +0000)]
LinGui: packaging deps wrong again
*DAMIT*

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

14 years agoUniversal Text Subtitle Support Initial Implementation
dynaflash [Tue, 4 May 2010 16:56:43 +0000 (16:56 +0000)]
Universal Text Subtitle Support Initial Implementation
- Patch by davidfstr ... Thanks!
- Adds support for reading TEXT subtitle tracks from file inputs
- Tested combinations:
-- MKV UTF-8 -> MKV UTF-8 (passthru)
-- MKV UTF-8 -> MP4 TX3G (upconvert)
-- MP4 TX3G -> MKV UTF-8 (downconvert)
-- MP4 TX3G -> MP4 TX3G (downconvert to UTF-8 then upconvert)
- Further explained here http://forum.handbrake.fr/viewtopic.php?f=4&t=16099

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

14 years agofix libnotify and libwebkit deps in debian.
jstebbins [Mon, 3 May 2010 21:38:40 +0000 (21:38 +0000)]
fix libnotify and libwebkit deps in debian.
i had the package names wrong which made the package uninstallable.

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

14 years agofix debian package dependencies for gui
jstebbins [Fri, 30 Apr 2010 22:20:12 +0000 (22:20 +0000)]
fix debian package dependencies for gui
it included *-dev packages that are not needed for installation
of the binary gui package

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

14 years agoWinGui:
sr55 [Fri, 30 Apr 2010 20:24:05 +0000 (20:24 +0000)]
WinGui:
- Some minor re factoring to the encode service.

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

14 years agoWinGui:
sr55 [Fri, 30 Apr 2010 19:57:05 +0000 (19:57 +0000)]
WinGui:
- Kill the CLI on GUI close for Scanning and fixed for encoding.
- Fixed Autoname bug where it would strip all slashes out the path

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

14 years agoLinGui: add libgudev to fedora packaging spec file
jstebbins [Thu, 29 Apr 2010 20:09:33 +0000 (20:09 +0000)]
LinGui: add libgudev to fedora packaging spec file

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

14 years agox264 bump from r1563 to r1570
dynaflash [Thu, 29 Apr 2010 18:56:12 +0000 (18:56 +0000)]
x264 bump from r1563 to r1570
- various bug fixes and enhancements.

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

14 years agoWinGui:
sr55 [Wed, 28 Apr 2010 18:57:21 +0000 (18:57 +0000)]
WinGui:
- Fix an exception when a parsed source has no Main Title

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

14 years agoWinGui:
sr55 [Wed, 28 Apr 2010 18:14:44 +0000 (18:14 +0000)]
WinGui:
- Made some changes so that AssemblyInfo.cs and MakeNightly.nsi are auto generated correctly for appropriate builds

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

14 years agoWinGui:
sr55 [Wed, 28 Apr 2010 18:10:36 +0000 (18:10 +0000)]
WinGui:
- Exclude AssemblyInfo.cs from the svn

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

14 years agoWinGui:
sr55 [Wed, 28 Apr 2010 18:08:48 +0000 (18:08 +0000)]
WinGui:
- Only display version number on the nightly builds

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

14 years agoWinGui:
sr55 [Wed, 28 Apr 2010 18:03:01 +0000 (18:03 +0000)]
WinGui:
- Strip any illegal characters from the autoname path
- Display build number in program window title. Also added a hack to force this to display the correct number.
- Imported some settings for Stylecop for resharper 5

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

14 years agoforgot to update the dependency for libgudev in the debian packaging control
jstebbins [Tue, 27 Apr 2010 18:30:40 +0000 (18:30 +0000)]
forgot to update the dependency for libgudev in the debian packaging control

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

14 years agoLinGui: drop dependency on hal, use udev instead
jstebbins [Tue, 27 Apr 2010 18:24:12 +0000 (18:24 +0000)]
LinGui: drop dependency on hal, use udev instead
this means support for older linux versions is being dropped.
ubuntu 9.10 and above and fedora 12 and above are known to work.

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

14 years agoMacGui: reset hb_filter_decomb after use, so switching between default decomb and...
dynaflash [Tue, 27 Apr 2010 16:51:55 +0000 (16:51 +0000)]
MacGui: reset hb_filter_decomb after use, so switching between default decomb and a custom decomb string does cause a garbage string. Thanks j45 for the patch!

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

14 years agoCLI: add --main-feature title selection option
jstebbins [Tue, 27 Apr 2010 16:43:09 +0000 (16:43 +0000)]
CLI: add --main-feature title selection option
replaces -L longest title selection option

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

14 years agobump ffmpeg to rev 22950
jstebbins [Sun, 25 Apr 2010 21:15:43 +0000 (21:15 +0000)]
bump ffmpeg to rev 22950
offset ffmpeg seeks by value of initial timestamp since it can be non-zero
catch pix fmt that is unsupported by swscale, log it, skip the track
use new ffmpeg avg_frame_rate for more accurate framerate estimate

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

14 years agoget rid of extry CR at end of hb_log message
jstebbins [Sun, 25 Apr 2010 20:10:19 +0000 (20:10 +0000)]
get rid of extry CR at end of hb_log message

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

14 years agoWinGui:
sr55 [Sun, 25 Apr 2010 13:55:28 +0000 (13:55 +0000)]
WinGui:
- Fix an issue with the CLI version check logic. It was checking cached version data before checking the actual CLI data.

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

14 years agofix qdm2 audio decoding
jstebbins [Sun, 25 Apr 2010 01:10:25 +0000 (01:10 +0000)]
fix qdm2 audio decoding
it seems ffmpeg wants to be passed the same buffer repeatedly
while decoding this audio type.  we were exiting if ffmpeg said it
consumed 0 bytes.  Now we continue to feed the same buffer when
this happens.  I added a loop limit to protect against an hypothetical
ffmpeg bug that would never consume anything. I wonder if any other
codecs behave this way *scratches head in bewilderment*

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

14 years agomake count of video frames encoded logging accurate.
jstebbins [Sat, 24 Apr 2010 21:47:58 +0000 (21:47 +0000)]
make count of video frames encoded logging accurate.
it was missing the last frame in the count.

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

14 years agofix decoding of qtrle codec and possibly others
jstebbins [Sat, 24 Apr 2010 21:39:44 +0000 (21:39 +0000)]
fix decoding of qtrle codec and possibly others
we rely on ffmpeg calling context->get_buffer, which we override to
point to our get_frame_buf(),  to stuff our pts values into frames it
is decoding. but some decoders call context->reget_buffer
instead.  So I added an override for this callback as well.

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

14 years agomake sure HB_STATE_WORKING always gets set for a job
jstebbins [Sat, 24 Apr 2010 20:24:38 +0000 (20:24 +0000)]
make sure HB_STATE_WORKING always gets set for a job
very short video, or video that has no valid frames, can cause UpdateState
in sync.c to never be called.  This is the only way the sequence_id would
ever be set, so when the ui sees HB_STATE_WORKDONE, it could not look up
the job in it's queue based on the sequence_id causing it to never be
marked as complete.

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

14 years agoadd test to ensure that ffmpeg's reported audio layout agrees with channel count
jstebbins [Sat, 24 Apr 2010 17:36:07 +0000 (17:36 +0000)]
add test to ensure that ffmpeg's reported audio layout agrees with channel count
a crash report from a user leads me to believe ffmpeg is giving us
a channel layout that has a different number of channels than the
channel count it tells us.

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

14 years agoWinGui:
sr55 [Sat, 24 Apr 2010 15:25:40 +0000 (15:25 +0000)]
WinGui:
- More stylecop warnings cleaned up

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

14 years agoWinGui:
sr55 [Sat, 24 Apr 2010 15:10:03 +0000 (15:10 +0000)]
WinGui:
- Use Auto Properties in the Parser

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

14 years agox264 bump from r1538 to r1563
dynaflash [Fri, 23 Apr 2010 23:10:22 +0000 (23:10 +0000)]
x264 bump from r1538 to r1563
- various bug fixes and optimizations

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

14 years agoWinGui:
sr55 [Fri, 23 Apr 2010 22:10:44 +0000 (22:10 +0000)]
WinGui:
- Updated to make sure of the MainFeature feature.

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

14 years agoWinGui:
sr55 [Fri, 23 Apr 2010 21:01:57 +0000 (21:01 +0000)]
WinGui:
- Quality Slider tooltip fixed.
- More stylecop warnings cleaned up.

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

14 years agoWinGui:
sr55 [Fri, 23 Apr 2010 18:32:54 +0000 (18:32 +0000)]
WinGui:
- Fix a bug in the Parser/AudioTrack object. A Track regex couldn't handle "Greek, Modern" due to the space and comma.

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

14 years agofix LATM aac processing
jstebbins [Fri, 23 Apr 2010 00:08:16 +0000 (00:08 +0000)]
fix LATM aac processing
somewhere in the series of patch changes, setting the sample_fmt got
lost.  we were being told SAMPLE_FMT_NONE by ffmpeg for latm

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

14 years agoWinGui:
sr55 [Thu, 22 Apr 2010 17:12:51 +0000 (17:12 +0000)]
WinGui:
- Cleaned up a style issue

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

14 years agofix fps logging when there is no audio track.
jstebbins [Thu, 22 Apr 2010 01:57:09 +0000 (01:57 +0000)]
fix fps logging when there is no audio track.
where there's no audio, the muxer closes earlier than when there is audio
due to reference counting.  upon close, the muxer sets the muxing
state which overwrites the current state that includes the avg fps.
so log the avg fps before closing mux.

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

14 years agoWinGui:
sr55 [Wed, 21 Apr 2010 19:22:58 +0000 (19:22 +0000)]
WinGui:
- Tag the Assembly Version with the svn revision so the GUI can be identified correctly. This is for the nightly builds.

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

14 years agoLinGui: fix possible live preview failure with gtk 2.18
jstebbins [Wed, 21 Apr 2010 18:40:13 +0000 (18:40 +0000)]
LinGui: fix possible live preview failure with gtk 2.18
according to the doc's you must call gdk_window_ensure_native() before
getting the X11 XID for the window.  this is the only way to guarantee
that the window is native and has an XID.

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

14 years agofix a problem with point-to-point (and live preview) when there are subtitles
jstebbins [Wed, 21 Apr 2010 18:37:20 +0000 (18:37 +0000)]
fix a problem with point-to-point (and live preview) when there are subtitles
end of stream markers were not being put in the fifo for subtitles when
the end point was reached, causing a hang.

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

14 years agoWinGui:
sr55 [Wed, 21 Apr 2010 18:37:11 +0000 (18:37 +0000)]
WinGui:
- enforce a minimum CLI revision for svn builds.

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

14 years agospeed up main feature search in most circumstances
jstebbins [Tue, 20 Apr 2010 23:39:52 +0000 (23:39 +0000)]
speed up main feature search in most circumstances
and fix a couple more corner case titles.

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

14 years agoadd dvd main feature title detection
jstebbins [Tue, 20 Apr 2010 02:19:16 +0000 (02:19 +0000)]
add dvd main feature title detection
scans the dvd menus and presses buttons to see where they might lead.
when a button press leads to a title, i check to see if it is the
longest seen thus far and save it's index.

this only applies when dvdnav is enabled.  when dvdread is in use,
the longest title of all the titles is flagged as the "main feature"

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

14 years agofix an error in the tmp array size of hb_layout_remap
jstebbins [Mon, 19 Apr 2010 14:40:50 +0000 (14:40 +0000)]
fix an error in the tmp array size of hb_layout_remap
was 6, should be 8

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

14 years agofix typo in debian build dependencies
jstebbins [Mon, 19 Apr 2010 14:34:00 +0000 (14:34 +0000)]
fix typo in debian build dependencies

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

14 years agoLinGui: fix svn version in nightly packages
jstebbins [Sun, 18 Apr 2010 16:31:55 +0000 (16:31 +0000)]
LinGui: fix svn version in nightly packages
add subversion build dependency to debian rules so it can extract the
version number

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

14 years agoWinGui:
sr55 [Sun, 18 Apr 2010 16:23:40 +0000 (16:23 +0000)]
WinGui:
- Queue Edit now only scans the title that was added rather than all titles.

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

14 years agofix some dvdnav hangs
jstebbins [Sat, 17 Apr 2010 19:41:43 +0000 (19:41 +0000)]
fix some dvdnav hangs
title changes seem to confuse the vm sometimes.  so do a dvdnav_reset
whenever a title change is going to happen.

Also, fix dvdnav_reset since it would deadlock on a mutex when called.

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

14 years agoremove the libgcc dll file in the root directory.
sr55 [Sat, 17 Apr 2010 19:35:42 +0000 (19:35 +0000)]
remove the libgcc dll file in the root directory.

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

14 years agoRemove libgcc.....dll as it is no longer required in the WinCli build
sr55 [Sat, 17 Apr 2010 19:35:00 +0000 (19:35 +0000)]
Remove libgcc.....dll as it is no longer required in the WinCli build

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

14 years agorevert last checkin
sr55 [Sat, 17 Apr 2010 18:55:11 +0000 (18:55 +0000)]
revert last checkin

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

14 years agoremove libgcc... dll from zip package creation as it is no longer needed
sr55 [Sat, 17 Apr 2010 18:51:46 +0000 (18:51 +0000)]
remove libgcc... dll from zip package creation as it is no longer needed

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

14 years agoWinGui:
sr55 [Sat, 17 Apr 2010 13:44:35 +0000 (13:44 +0000)]
WinGui:
- More stylecop warnings cleaned up

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

14 years agoWinGui:
sr55 [Sat, 17 Apr 2010 11:56:12 +0000 (11:56 +0000)]
WinGui:
- Fix in-gui status updates.

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

14 years agofix debian binary package build
jstebbins [Fri, 16 Apr 2010 18:46:14 +0000 (18:46 +0000)]
fix debian binary package build
the pkg directory was not getting created

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

14 years agofix another problem with the rule to push debian src packages to launchpad
jstebbins [Fri, 16 Apr 2010 17:04:57 +0000 (17:04 +0000)]
fix another problem with the rule to push debian src packages to launchpad

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

14 years agofix typo in rule to push deb src package to launchpad
jstebbins [Fri, 16 Apr 2010 16:46:07 +0000 (16:46 +0000)]
fix typo in rule to push deb src package to launchpad

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

14 years agocleanup linux rpm and debian packaging
jstebbins [Fri, 16 Apr 2010 16:27:26 +0000 (16:27 +0000)]
cleanup linux rpm and debian packaging

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

14 years agoonly allow building i386 and amd64 builds on launchpad build farm
jstebbins [Fri, 16 Apr 2010 15:07:03 +0000 (15:07 +0000)]
only allow building i386 and amd64 builds on launchpad build farm
make sure contribs are all fetched before creating debian source pkg

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

14 years agofix build on mac and windows
jstebbins [Fri, 16 Apr 2010 15:03:50 +0000 (15:03 +0000)]
fix build on mac and windows
a52dec bootstrap is broken on these platforms.  use autoreconf instead

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

14 years agoWinGui:
sr55 [Thu, 15 Apr 2010 17:33:54 +0000 (17:33 +0000)]
WinGui:
- removed some unused code

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

14 years agoadd packaging rules for building debian source packages
jstebbins [Thu, 15 Apr 2010 14:44:30 +0000 (14:44 +0000)]
add packaging rules for building debian source packages
and fix a build issue with a52dec when the path has a '~' in it
this is a step towards using the launchpad build farm for ubuntu snapshots

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

14 years agox264 bump from r1523 to r1538
dynaflash [Wed, 14 Apr 2010 20:57:29 +0000 (20:57 +0000)]
x264 bump from r1523 to r1538
- Accompanying changes to encx264.c to address default min-keyint in x264, encx264.c patch courtesy of Rodeo.

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

14 years agoWinGui:
sr55 [Wed, 14 Apr 2010 19:56:36 +0000 (19:56 +0000)]
WinGui:
- Enabled higher bitrate audio for aac.
- Catch exceptions at application startup.

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

14 years agoMacGui: Allow up to 320 kbps bitrate for stereo and 768 kbps for 6 channel discrete...
dynaflash [Wed, 14 Apr 2010 17:04:01 +0000 (17:04 +0000)]
MacGui: Allow up to 320 kbps bitrate for stereo and 768 kbps for 6 channel discrete when using the faac audio encoder as per rev 3222 to the libhb.

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

14 years agopatch to allow higher bitrates with faac
jstebbins [Wed, 14 Apr 2010 16:47:02 +0000 (16:47 +0000)]
patch to allow higher bitrates with faac

2 channel allows up to 320kbps, 6 channel allows up to 768kbps

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

14 years agoLinGui: fix a mingw build issue
jstebbins [Wed, 14 Apr 2010 16:01:26 +0000 (16:01 +0000)]
LinGui: fix a mingw build issue
The new multi-instance file locking needs to be ifdef'd for mingw

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

14 years agoLinGui: improved rpm building
jstebbins [Mon, 12 Apr 2010 18:01:01 +0000 (18:01 +0000)]
LinGui: improved rpm building

Resulting rpms have fewer warnings and no errors according to rpmlint.
No need to pre-build binaries.  Just configure and "make pkg.create.rpm"

Standard fedora rpms can be found in:
build/stage/rpm/RPMS and SRPMS

Binary packages are renamed according to handbrake naming convention in:
build/pkg

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

14 years agoLinGui: don't strip debug symbols when installing
jstebbins [Sun, 11 Apr 2010 21:48:58 +0000 (21:48 +0000)]
LinGui: don't strip debug symbols when installing

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

14 years agoWinGui:
sr55 [Sat, 10 Apr 2010 17:26:46 +0000 (17:26 +0000)]
WinGui:
- Update GrowlConnector to 2.0.2.8
- Few UI tweaks to the updater.

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

14 years agofix some mingw warnings and a mingw build issue
jstebbins [Sat, 10 Apr 2010 01:10:15 +0000 (01:10 +0000)]
fix some mingw warnings and a mingw build issue

mingw gcc-4.5 has linker issues against shared libstdc++

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

14 years agoWinGui:
sr55 [Fri, 9 Apr 2010 20:08:54 +0000 (20:08 +0000)]
WinGui:
- Fix a few small issues with custom anamorphic preset loading. Thanks golgol7777

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

14 years agoWinGui:
sr55 [Fri, 9 Apr 2010 19:56:18 +0000 (19:56 +0000)]
WinGui:
- Clean up a switch statement that wasn't needed

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

14 years agoWinGui:
sr55 [Fri, 9 Apr 2010 19:52:09 +0000 (19:52 +0000)]
WinGui:
- Refactor the code to work out the slider value from the video quality. This fixes a bug when loading presets with ffmpeg and makes the code far easier to understand.

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

14 years agoLinGui: forgot to keep the activity logs distinct for multiple instances
jstebbins [Fri, 9 Apr 2010 18:41:21 +0000 (18:41 +0000)]
LinGui: forgot to keep the activity logs distinct for multiple instances

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

14 years agoLinGui: allow multiple instances of the gui to run
jstebbins [Fri, 9 Apr 2010 18:17:51 +0000 (18:17 +0000)]
LinGui: allow multiple instances of the gui to run

Each instance has a queue named "queue.<pid>".  On startup, the gui
opens and locks with lockf a file "ghb.pid.<pid>".  Then it searches
for any other ghb.pid.<pid> files that exist that are not locked.  If
it finds one, then some instance of ghb exited and may have left behind
a queue.  Try to reload it.  If there are no items in the queue, continue
looking for unlocked ghb.pid.<pid> files.

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

14 years agoMacGui: Remove another queue incrementing log message.
dynaflash [Fri, 9 Apr 2010 14:56:48 +0000 (14:56 +0000)]
MacGui: Remove another queue incrementing log message.

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

14 years agoMacGui: Remove more unneeded activity log messages and clean up some commented out...
dynaflash [Fri, 9 Apr 2010 14:47:47 +0000 (14:47 +0000)]
MacGui: Remove more unneeded activity log messages and clean up some commented out code.

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

14 years agoMacGui: Remove a bunch of verbose activity log messages for Point to Point encoding.
dynaflash [Fri, 9 Apr 2010 14:33:44 +0000 (14:33 +0000)]
MacGui: Remove a bunch of verbose activity log messages for Point to Point encoding.

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

14 years agoMacGui: Enable mp3 audio tracks in mp4.
dynaflash [Thu, 8 Apr 2010 21:04:38 +0000 (21:04 +0000)]
MacGui: Enable mp3 audio tracks in mp4.
- NOTE: Currently not supported by any native apple software including QuickTime even with Perian enabled (obviously applies to iPhone/iPod iPad afaik or really anything).
- Is supported by VLC and MPlayer on Mac.

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

14 years agoCLI: add single title scan support
jstebbins [Thu, 8 Apr 2010 20:43:49 +0000 (20:43 +0000)]
CLI: add single title scan support

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

14 years agoWinGui:
sr55 [Thu, 8 Apr 2010 20:34:38 +0000 (20:34 +0000)]
WinGui:
- MP3 in MP4 files is now enabled.

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

14 years agofix audio clipping when downmixing and output codec is lame
jstebbins [Wed, 7 Apr 2010 15:06:03 +0000 (15:06 +0000)]
fix audio clipping when downmixing and output codec is lame

The lame codec has a more limited input range than the other codecs.  So
tell the downmixers to stay strictly within the level range requested.

also changes some tabs into spaces in deca52 and decdca

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

14 years agox264 bump from r1510 to r1523
dynaflash [Wed, 7 Apr 2010 14:54:34 +0000 (14:54 +0000)]
x264 bump from r1510 to r1523
- Various bugfixes and enhancements.

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

14 years agoLinGui: fix crash when subtitle list has an invalid subtitle
jstebbins [Tue, 6 Apr 2010 23:22:30 +0000 (23:22 +0000)]
LinGui: fix crash when subtitle list has an invalid subtitle

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

14 years agoMacGui: Fix issue when selecting a preset with multiple audio tracks (ie. AppleTV...
dynaflash [Tue, 6 Apr 2010 15:45:40 +0000 (15:45 +0000)]
MacGui: Fix issue when selecting a preset with multiple audio tracks (ie. AppleTV preset) any track after the first track used the first source track which would cause track mismatches. Now if the first track is set to use source track 3 for instance, the seond track will use source track 3 as well.
- Fixes issue where the AppleTv Preset would use a different source track for its AC3 track than the first aac track on some multiple track sources.
- Addresses the bug explained here http://forum.handbrake.fr/viewtopic.php?f=12&t=15854

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

14 years agogeneralize audio channel map reordering
jstebbins [Mon, 5 Apr 2010 18:50:29 +0000 (18:50 +0000)]
generalize audio channel map reordering

this allows remapping any channel order to any other channel order
with the appropriate map definitions.  channel maps currently supplied
are smpte (used by ffmpeg), qt (our standard channel order), and ac3 (as
delivered by a52dec).

remapping can also be applied to the downmixer with the function
hb_downmix_set_chan_map(hb_chan_map_t * map_in, hb_chan_map_t * map_out).
this allows downmixing and channel reordering in a single step.  there
is no additional cost to reordering since the matrix multiply used to
do the downmix simultaneously reorders.

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

14 years agosmall error in the last change. Missed a comman in the libhb build script change.
sr55 [Mon, 5 Apr 2010 16:52:19 +0000 (16:52 +0000)]
small error in the last change. Missed a comman in the libhb build script change.

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

14 years agolibgcc is no longer needed. Thanks to golgol7777 for pointing out the necessary chang...
sr55 [Mon, 5 Apr 2010 16:35:25 +0000 (16:35 +0000)]
libgcc is no longer needed. Thanks to golgol7777 for pointing out the necessary changes in the build system

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

14 years agoWinGui:
sr55 [Mon, 5 Apr 2010 16:27:30 +0000 (16:27 +0000)]
WinGui:
- Remove check for libgcc_s_sjlj-1.dll since it is no longer required.

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

14 years agofix silence insertion problem in audio sync and pipeline stall problem
jstebbins [Sat, 3 Apr 2010 21:14:43 +0000 (21:14 +0000)]
fix silence insertion problem in audio sync and pipeline stall problem

the current audio buffer was being dropped when silence was inserted, causing
the time to fall even further behind and provoke more silence insertion
in some cases.

with pont-to-point, it is possible for one stream to complete before the
other(s).  when the work_loop exits for that stream, the fifo is no longer
serviced and may fill.  This can back up and cause a stall in reader
causing the streams that are not yet complete to stall. The Solution is
to continue servicing the fifo after work for a stream is complete.  This was
complicated by the fact that the video sync work object was being used as the
indicator that all work was finished.  When it exited everything was told
to stop.  So now, the muxer work object (last in the chain) is the
indicator when work is done.

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

14 years agofix stupid error in my last commit
jstebbins [Sat, 3 Apr 2010 01:47:43 +0000 (01:47 +0000)]
fix stupid error in my last commit
double hb_buffer_close caused crash

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

14 years agofix audio detection problem during scan of ffmpeg audio sources
jstebbins [Fri, 2 Apr 2010 23:58:24 +0000 (23:58 +0000)]
fix audio detection problem during scan of ffmpeg audio sources
audio frames can be larger than their container packet sizes, but during
scan, we only feed one container packet to the decoder, then reset
the decoder and try the next packet.  so the audio is never detected.

as buffers are tested, they are added to a cache.  the entire cache is
passed to the decoder to scan for info.  the cache is limited to 4KB.

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

14 years agoWinGui:
sr55 [Fri, 2 Apr 2010 21:02:57 +0000 (21:02 +0000)]
WinGui:
- Added a new NightlyBuild Build Configuration.
- Updated "Install" target so you now only need to provide HandBrakeCLI.exe and it's dll.

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

14 years agoWinGui:
sr55 [Fri, 2 Apr 2010 20:44:09 +0000 (20:44 +0000)]
WinGui:
- Fix a small error in the build config. Don't run makensis for non install configs

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

14 years agoWinGui:
sr55 [Fri, 2 Apr 2010 20:34:25 +0000 (20:34 +0000)]
WinGui:
- Add a new build target called "Install".  If you have NSIS installed and it's in your path, you can now use the "Install" target to automatically build the HandBrake Installer for the Windows GUI.
HandBrakeCLI.exe, libgcc_s_sjlj-1.dll, "doc" folder, and  handbrakepineapple.ico must all be copied into the "bin/install" folder for this to work.

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

14 years agoWinGui:
sr55 [Fri, 2 Apr 2010 19:43:46 +0000 (19:43 +0000)]
WinGui:
- Put in some checks on ui launch to make sure the cli and it's dll are present.

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

14 years agoWinGui:
sr55 [Fri, 2 Apr 2010 19:26:04 +0000 (19:26 +0000)]
WinGui:
- Updated AssemblyInfo.cs
- Added Subme 10 to x264 panel

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

14 years agoMacGui: Add subme 10 to the subpixel motion estimation widget in the advanced panel.
dynaflash [Fri, 2 Apr 2010 19:12:41 +0000 (19:12 +0000)]
MacGui: Add subme 10 to the subpixel motion estimation widget in the advanced panel.

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

14 years agoMacGui: Remove a bunch of useless comments from the point a to b code.
dynaflash [Fri, 2 Apr 2010 18:30:19 +0000 (18:30 +0000)]
MacGui: Remove a bunch of useless comments from the point a to b code.

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