OSDN Git Service

handbrake-jp/handbrake-jp-git.git
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

14 years agohandle YUV422P video in the mpeg2 decoder
jstebbins [Fri, 2 Apr 2010 18:16:12 +0000 (18:16 +0000)]
handle YUV422P video in the mpeg2 decoder
if the image format is 422, convert it to 420

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

14 years agoflush frames x264 has cached properly
jstebbins [Fri, 2 Apr 2010 17:12:13 +0000 (17:12 +0000)]
flush frames x264 has cached properly
waiting until the returned size is == 0 isn't adequate.
you must use the function x264_encoder_delayed_frames

encoding very short clips resulted in invalid unplayable files.

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

14 years agowhen in cfr mode, tell x264 we are doing cfr and allow x264 to set the timebase to...
jstebbins [Fri, 2 Apr 2010 16:34:45 +0000 (16:34 +0000)]
when in cfr mode, tell x264 we are doing cfr and allow x264 to set the timebase to the framerate.
fixes compatibility issue with tsMuxer which many PS3 users use.
now they can select a specific framerate, which will output cfr video
that tsMuxer can grok.  we should have been doing this anyway.

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

14 years agoMacGui: Remove the AC3 and DCA audio input codec limitations for selecting mono or...
dynaflash [Fri, 2 Apr 2010 15:50:35 +0000 (15:50 +0000)]
MacGui: Remove the AC3 and DCA audio input codec limitations for selecting mono or more importantly 6 channel discrete as per svn rev 3182.

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

14 years agoWinGui:
sr55 [Fri, 2 Apr 2010 15:17:04 +0000 (15:17 +0000)]
WinGui:
- Fix an issue with the Chapters tab where it wouldn't always enable the tab when the source had chapters

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

14 years agodownmix support for ffmpeg audio sources
jstebbins [Fri, 2 Apr 2010 15:10:48 +0000 (15:10 +0000)]
downmix support for ffmpeg audio sources
now we can eat our own dogfood. i.e. aac 6ch discrete input now works,
along with any other multi-channel audio ffmpeg can toss at us.

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

14 years agofix a problem processing PS stream that look a lot like DVD PS but are not.
jstebbins [Thu, 1 Apr 2010 22:14:08 +0000 (22:14 +0000)]
fix a problem processing PS stream that look a lot like DVD PS but are not.
these streams have start codes that all align on 2048 byte boundaries
which makes them look like DVD PS. But within the 2048 bytes, they have
multiple pack headers which we were tripping on.

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

14 years agolibhb: change the x264 header NAL array order from sei - sps - pps to sps - pps ...
dynaflash [Wed, 31 Mar 2010 15:13:17 +0000 (15:13 +0000)]
libhb: change the x264 header NAL array order from sei - sps - pps to sps - pps - sei as per x265 r1510
- Thanks golgol7777 for the patch!

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

14 years agox264 bump from r1471 to r1510 (current git head)
dynaflash [Tue, 30 Mar 2010 15:30:11 +0000 (15:30 +0000)]
x264 bump from r1471 to r1510 (current git head)

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

14 years agogive s55 a helping hand with createing mingw CLI zip
jstebbins [Sun, 28 Mar 2010 16:58:47 +0000 (16:58 +0000)]
give s55 a helping hand with createing mingw CLI zip

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

14 years agoBuild system now creates cli stage area for mingw
sr55 [Sun, 28 Mar 2010 15:29:22 +0000 (15:29 +0000)]
Build system now creates cli stage area for mingw

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

14 years agoMinGW:
sr55 [Sun, 28 Mar 2010 14:39:50 +0000 (14:39 +0000)]
MinGW:
- Initial checkin of some files for making CLI zip packages. This isn't functional yet but hopefully will be later. Also having to checkin a required dll which will be copied into the package.

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

14 years agohandle bluray LPCM streams
jstebbins [Sat, 27 Mar 2010 21:21:29 +0000 (21:21 +0000)]
handle bluray LPCM streams
bluray lpcm uses an stype that is normally used for digicipher.  so we use
the registration descriptor == HDMV in the PMT to recognize bluray streams.
also, ffmpeg doesn't provide a parser for this audio type because none
is needed.  so when the parser is NULL, pass our buffer data directly to
the decoder.

Since ffmpeg is doing the decoding, we will still suffer from the same problem
with multi-channel ffmpeg streams.  So this currenlty only works properly
with stereo.

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

14 years agoWinGui:
sr55 [Sat, 27 Mar 2010 16:08:37 +0000 (16:08 +0000)]
WinGui:
- Audio Panel will now remove all audio tracks from the audio list if the source has no tracks. When changing back to a source / title that has audio tracks, it will re-add audio tracks that are setup in the selected preset. If no preset is selected it will not re add any tracks.
- Fix duplicate preset created when importing macgui preset.
- Fix CQ/Filesize/AvgBitrate settings not being set correctly with macgui preset import.

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

14 years agofix sporadic incorrect bitrate calculation of muxed tracks
jstebbins [Sat, 27 Mar 2010 00:12:58 +0000 (00:12 +0000)]
fix sporadic incorrect bitrate calculation of muxed tracks

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

14 years agoMacGui: Fix crash where a source with no audio crashes the macgui.
dynaflash [Fri, 26 Mar 2010 18:59:47 +0000 (18:59 +0000)]
MacGui: Fix crash where a source with no audio crashes the macgui.
- If no source audio is found, set track 1 to None and disable controls.

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

14 years agoMacGui: Add call to hb_global_close() upon application termination as per changes...
dynaflash [Fri, 26 Mar 2010 15:03:11 +0000 (15:03 +0000)]
MacGui: Add call to hb_global_close() upon application termination as per changes in rev 3170
- Also added a missing call to hb_close for the live preview encoding instance

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

14 years agomake it possible to dynamically create and close multiple libhb instances
jstebbins [Fri, 26 Mar 2010 14:54:05 +0000 (14:54 +0000)]
make it possible to dynamically create and close multiple libhb instances
tweaks to make libhb more usable from a C# app
remove pointers from preview filenames, replaces with hb instance and title id's
removes only previews upon hb_close, leaves temp dir for hb_global_close

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

14 years agoreduce mux interleave threshold more to prevent out of memory situations
jstebbins [Fri, 19 Mar 2010 17:20:17 +0000 (17:20 +0000)]
reduce mux interleave threshold more to prevent out of memory situations
when skewed timestamps or premature end of a stream is encountered, the muxer
buffers streams in an attempt to interleave stream timestamps.  this
threshold tells it when to give up.  The previous value still allowed
out of memory conditions with windows 2GB per application limit.

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

14 years agoLinGui: use a more portable, elegant way of redirecting stderr to pipe
jstebbins [Sun, 14 Mar 2010 18:21:40 +0000 (18:21 +0000)]
LinGui: use a more portable, elegant way of redirecting stderr to pipe
Thanks to scsi guy for the patch.

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

14 years agoimprove lame audio quality by using ABR mode and disabling joint stereo mode
jstebbins [Sun, 14 Mar 2010 01:15:31 +0000 (01:15 +0000)]
improve lame audio quality by using ABR mode and disabling joint stereo mode
add mp3 muxing into mp4 container.  cli and gtk gui now support this.

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

14 years agoLinGui: fix crash when necessary gstreamer plugin is not installed
jstebbins [Sun, 14 Mar 2010 01:04:38 +0000 (01:04 +0000)]
LinGui: fix crash when necessary gstreamer plugin is not installed

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

14 years agoextend search range for TS re-sync
jstebbins [Sat, 13 Mar 2010 17:15:20 +0000 (17:15 +0000)]
extend search range for TS re-sync
we were only checking approx the next 16K bytes when sync was lost in
a transport stream.  now we will continues searching to the end of the file.

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

14 years agoWinGui:
sr55 [Fri, 12 Mar 2010 22:00:43 +0000 (22:00 +0000)]
WinGui:
- Missing comment

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

14 years agoWinGui:
sr55 [Fri, 12 Mar 2010 21:59:52 +0000 (21:59 +0000)]
WinGui:
Two new options for autocrop.
- Remove Underscores from source name.
- Change to Title Case. (e.g  "Source Name")

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

14 years agoWinGui:
sr55 [Fri, 12 Mar 2010 21:24:42 +0000 (21:24 +0000)]
WinGui:
The Source button dropdown menu can now display multiple ready DVD drives. Previously only the first ready drive would be displayed.

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

14 years agoLinGui: fix an issue with hud widget sytle overrides
jstebbins [Thu, 11 Mar 2010 22:54:32 +0000 (22:54 +0000)]
LinGui: fix an issue with hud widget sytle overrides
The overrides are based on widget name, and the names are no longer
being set by GtkBuilder.  So I have to set them myself.

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

14 years agoWinGui:
sr55 [Thu, 11 Mar 2010 19:18:19 +0000 (19:18 +0000)]
WinGui:
- Fix the DVD Drive Option on the source menu.

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

14 years agodisable asserts in libdvdnav except when configured with --debug=max
jstebbins [Thu, 11 Mar 2010 18:33:57 +0000 (18:33 +0000)]
disable asserts in libdvdnav except when configured with --debug=max
dvdnav asserts on things are are almost never fatal.  so lets not
crash on them.

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

14 years agoLinGui: add 'orientation vertical' property to GtkVBox
jstebbins [Wed, 10 Mar 2010 21:40:03 +0000 (21:40 +0000)]
LinGui: add 'orientation vertical' property to GtkVBox
Works around a bug in the Glade-3 ui layout tool. It shows VBoxs
as if they were HBoxs if this property is not set.  libgtk has no such issue.

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

14 years agoWinGui:
sr55 [Wed, 10 Mar 2010 21:11:07 +0000 (21:11 +0000)]
WinGui:
- Revert extra added -x and hopefully fix the cause of it being autogend

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

14 years agoWinGui:
sr55 [Wed, 10 Mar 2010 21:09:05 +0000 (21:09 +0000)]
WinGui:
- Don't reset mixdown to mono on source scan.

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

14 years agoMacGui: Fix pending encodes left in queue at quit warning that was borked in 3154.
dynaflash [Tue, 9 Mar 2010 14:58:02 +0000 (14:58 +0000)]
MacGui: Fix pending encodes left in queue at quit warning that was borked in 3154.
- applicationShouldTerminate was trying to call a method that was removed in that revision which then aborted the rest of the shutdown logic.

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

14 years agofix a crash that happens when subtitle scan selects a subtitle that
jstebbins [Sun, 7 Mar 2010 16:24:06 +0000 (16:24 +0000)]
fix a crash that happens when subtitle scan selects a subtitle that
is alread in the list of subtitles to encode.

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

14 years agox264 bump from r1442-781d300 to r1471-1144615
dynaflash [Fri, 5 Mar 2010 22:44:14 +0000 (22:44 +0000)]
x264 bump from r1442-781d300 to r1471-1144615

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

14 years agoMacGui: Fix issue where closing the main window, then clicking on the dock icon did...
dynaflash [Fri, 5 Mar 2010 22:40:29 +0000 (22:40 +0000)]
MacGui: Fix issue where closing the main window, then clicking on the dock icon did not make the main window reappear.
- Note: this does not fix the issue in snow leopard where minimizing the main window behind the dock icon does not reappear when dock icon is clicked.

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

14 years agoMacGui: More Preview Window changes.
dynaflash [Fri, 5 Mar 2010 22:37:48 +0000 (22:37 +0000)]
MacGui: More Preview Window changes.
- Refactor more code and reduce calls to setViewSize even more.
- Correctly show the gray storage size - display size area in both windowed and scale to screen.
- Restore 85% max windowed size which was changed in 3124 (unless in scale to screen mode).
- Correct Live Preview movie size when in scale to screen.
- Depending on window resizing and screen constraints repositioning of window after resize is a bit wonky.
- Known issue with live preview, when the movie is the full size of the window, the controller bar does not show during live preview playback, however the movies plays fine. Needs to rescale to allow for the 15 px increase in height for controller bar or better yet, implement hud movie controls.

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