OSDN Git Service

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

14 years agotemporary hack to use old x264 b-pyramid default of 0 (none)
jstebbins [Fri, 5 Mar 2010 22:27:53 +0000 (22:27 +0000)]
temporary hack to use old x264 b-pyramid default of 0 (none)
this will be reverted when the gui's and presets are updated to
reflect the new default of 2 (normal).

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

14 years agoWinGui:
sr55 [Fri, 5 Mar 2010 21:18:03 +0000 (21:18 +0000)]
WinGui:
- Attempt to stop the autogen code from adding extra -x to the x264 query.

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

14 years agoWinGui:
sr55 [Fri, 5 Mar 2010 20:02:06 +0000 (20:02 +0000)]
WinGui:
- Remove Processors options from the CLI tab since it's not really serving any purpose.

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

14 years agoWinGui:
sr55 [Thu, 4 Mar 2010 18:28:18 +0000 (18:28 +0000)]
WinGui:
- Fix 2 labels which were the wrong way around.

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

14 years agoWinGui:
sr55 [Sat, 27 Feb 2010 23:27:44 +0000 (23:27 +0000)]
WinGui:
- One more missing file checked in.

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

14 years agoWinGui:
sr55 [Sat, 27 Feb 2010 22:20:14 +0000 (22:20 +0000)]
WinGui:
- Checkin some missing files.

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

14 years agoWinGui:
sr55 [Sat, 27 Feb 2010 18:19:28 +0000 (18:19 +0000)]
WinGui:
- Moved the Activity Log Code out of the Activity window into the Encode and Scan services. They now provide the log data. (Some duplicate code here will need to be refactored into a base class later)

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

14 years agoWinGui:
sr55 [Fri, 26 Feb 2010 22:52:15 +0000 (22:52 +0000)]
WinGui:
- Another -x appended when it shouldn't be.

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

14 years agoWinGui:
sr55 [Fri, 26 Feb 2010 22:51:05 +0000 (22:51 +0000)]
WinGui:
- Fixed a small x264 panel desiger issue where it would append multiple -x to the query

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

14 years agoWinGui:
sr55 [Fri, 26 Feb 2010 22:49:18 +0000 (22:49 +0000)]
WinGui:
- Fixed some issues with the DirectRun() Code and implemented some standard input / error readers received events / handlers
- Moved some code around. EncodeQueue is now a services layer

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

14 years agoWinGui:
sr55 [Fri, 26 Feb 2010 22:39:19 +0000 (22:39 +0000)]
WinGui:
- Few StyleCop warnings cleared up.

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

14 years agoWinGui:
sr55 [Thu, 25 Feb 2010 20:45:44 +0000 (20:45 +0000)]
WinGui:
- Make the picture settings panel work more like the macgui.
No longer uses -X Max Width but instead does all the logic in-gui so it's less confusing to the user.

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

14 years agoMacGui: Audio fixes regarding CoreAudio as default.
dynaflash [Tue, 23 Feb 2010 18:07:07 +0000 (18:07 +0000)]
MacGui: Audio fixes regarding CoreAudio as default.
- Base Patch by Rodeo, thanks Rodeo!
-- Puts CoreAudo at index 0 in the encoder popup to assure it is selected by default if no preset is applied.
-- Fixes issue where going to AC3 or DTS Passthru then back to aac chose faac even if the old "Use CoreAudo instead of FAAC" pref was in effect.
-- Removes some legacy AVI/OGM Code.
- Additional features added after Base Patch:
-- "Use CoreAudio instead of FAAC" preference is now only applied to the built in presets
--- This change means that a custom preset specifying faac is now respected instead of it being overridden by the previously global preference.
--- Xib description changed accordingly
--- Note this means that previous custom presets that used faac will now use it instead of coreaudio.

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

14 years agoLinGui: let's try fixing hud expose rendering again
jstebbins [Tue, 23 Feb 2010 17:14:27 +0000 (17:14 +0000)]
LinGui: let's try fixing hud expose rendering again
the last try showed widgets on the hud that should have stayed hidden

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

14 years agoLinGui: fix hud expose event rendering
jstebbins [Tue, 23 Feb 2010 16:53:48 +0000 (16:53 +0000)]
LinGui: fix hud expose event rendering
another "change" in gtk causes "hidden" widgets to be rendered with
reduced opacity instead of zero opacity.  So check the visibility of
the widgets manually and skip the hidden ones.

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

14 years agoLinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)
jstebbins [Tue, 23 Feb 2010 00:06:22 +0000 (00:06 +0000)]
LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)
gtk 2.19 has changed how object id's are stored by gtkbuilder.
The widget name is no longer assigned to the builder object id.  Instead
the id is stored in a special property. Getting incorrect object id's
caused all settings values to be referenced incorrectly.

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

14 years agoWinGui:
sr55 [Mon, 22 Feb 2010 21:23:28 +0000 (21:23 +0000)]
WinGui:
- Some more cleanup

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

14 years agoLinGui: fix stupid preset import bug
jstebbins [Mon, 22 Feb 2010 16:28:07 +0000 (16:28 +0000)]
LinGui: fix stupid preset import bug
after importing, save it to the preset file instead of just holding it
in memory

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

14 years agoWinGui:
sr55 [Sun, 21 Feb 2010 19:15:11 +0000 (19:15 +0000)]
WinGui:
- Few more stylecop warnings fixed + settings tweak

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

14 years agoWinGui:
sr55 [Sat, 20 Feb 2010 22:30:12 +0000 (22:30 +0000)]
WinGui:
- Cleanup more StyleCop warnings.

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

14 years agoWinGui:
sr55 [Sat, 20 Feb 2010 21:59:23 +0000 (21:59 +0000)]
WinGui:
- Some tweaks to the StyleCop Settings File.
- Some abbreviations added to the ReSharper config file.
- Some more warnings cleaned up.

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

14 years agoWinGui:
sr55 [Sat, 20 Feb 2010 18:08:41 +0000 (18:08 +0000)]
WinGui:
- Tied Microsoft StyleCop into the build process.
- Included a settings file for StyleCop so anyone who picks up the project can use the global project settings.
- Started Clearing up Warnings generated by stylecop.
- Also included Resharper 5 config files that users can use.

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

14 years agoMacGui: In preview only set the origin of the hud control panel for the preview windo...
dynaflash [Sat, 20 Feb 2010 15:51:17 +0000 (15:51 +0000)]
MacGui: In preview only set the origin of the hud control panel for the preview window when setting the title, after that the origin will animate much smoother along with the window.
- Avoids the nasty resetting of the hud controller when the preview window resizes.

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

14 years agoWinGui:
sr55 [Fri, 19 Feb 2010 20:57:25 +0000 (20:57 +0000)]
WinGui:
- Some in progress re-factoring.
- Enable Modulus for none/loose picture setting modes.

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

14 years agoMacGui: Preview replace a method that was hastily removed in 3125 when removing Full...
dynaflash [Fri, 19 Feb 2010 20:35:18 +0000 (20:35 +0000)]
MacGui: Preview replace a method that was hastily removed in 3125 when removing Full Screen. Fixes broken window scaling.

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

14 years agoMacGui: Removie Full Screen preview mode as its largely redundant when we have 100...
dynaflash [Fri, 19 Feb 2010 19:53:52 +0000 (19:53 +0000)]
MacGui: Removie Full Screen preview mode as its largely redundant when we have 100 percent full screen scaling in windowed mode. Removes a lot of code that is really not needed.

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

14 years agoMacGui: Preview ... Allow the preview to use 100% of the the avaialable screen if...
dynaflash [Fri, 19 Feb 2010 17:56:35 +0000 (17:56 +0000)]
MacGui: Preview ... Allow the preview to use 100% of the the avaialable screen if it needs it.
- Removes the 85% hard cap.

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

14 years agoMacGui: A bit of pixel nudging in the Destination area of the main window ... patch...
dynaflash [Thu, 18 Feb 2010 19:12:21 +0000 (19:12 +0000)]
MacGui: A bit of pixel nudging in the Destination area of the main window ... patch from Rodeo
- Moved "Destination" a bit higher up, "File:" a bit to the left, and made "Browse" Small instead of Mini

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

14 years agoMacGui: Preview, use screens visibleFrame instead of frame to get better scale to...
dynaflash [Thu, 18 Feb 2010 16:49:45 +0000 (16:49 +0000)]
MacGui: Preview, use screens visibleFrame instead of frame to get better scale to screen effect and clear the dock, etc.
- Some other code additions to troubleshoot initial window scaling where there shouldn't be any.

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

14 years agoMacGui: Preview fixes and changes
dynaflash [Thu, 18 Feb 2010 00:16:47 +0000 (00:16 +0000)]
MacGui: Preview fixes and changes
- Better scaling for windowed mode
- Re postion hud control panel so top is at 50% window y axis
- Other small enhancements

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

14 years agox264 bump from r1416-fcf70c2 to r1442-781d300
dynaflash [Mon, 15 Feb 2010 17:14:46 +0000 (17:14 +0000)]
x264 bump from r1416-fcf70c2 to r1442-781d300
- Various optimizations and bugfixes.
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=781d300ab73671bb2176ef2c3e6c0f2df425cee9

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

14 years agofix incorrect comment in PS detection function
jstebbins [Fri, 12 Feb 2010 23:31:09 +0000 (23:31 +0000)]
fix incorrect comment in PS detection function

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

14 years agotry harder to identify program streams that do not begin with a pack header
jstebbins [Fri, 12 Feb 2010 23:27:29 +0000 (23:27 +0000)]
try harder to identify program streams that do not begin with a pack header

search deeper into the file for a pack header followed by another start code
prefix.  Fixes problem with file cut by StreamClip on non-pack header boundary

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

14 years agoMacGui: Fix issue where switching modulus would not properly recalibrate the exisitin...
dynaflash [Fri, 12 Feb 2010 20:11:21 +0000 (20:11 +0000)]
MacGui: Fix issue where switching modulus would not properly recalibrate the exisiting pic size, only change the stepper increments.
- Bug found and fix tested by BradleyS.
- Do a dry run of hb_fix_aspect to reset dimensions as per the modulus before running through the rest of the settings.

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

14 years agoMacGui: Fix package default name types broken when batch scanning was introduced.
dynaflash [Fri, 12 Feb 2010 18:07:34 +0000 (18:07 +0000)]
MacGui: Fix package default name types broken when batch scanning was introduced.
- eg., .eyetv scans now produce a proper default output file name.

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

14 years agoMacGui: Queue edit rescan fix for multiple title sources
dynaflash [Fri, 12 Feb 2010 16:55:02 +0000 (16:55 +0000)]
MacGui: Queue edit rescan fix for multiple title sources
- Do not try to set the title popup to the original title number since its a single title rescan.

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

14 years agoMacGui: uncomment line commented for testing for editing queue item modulus from...
dynaflash [Thu, 11 Feb 2010 23:54:30 +0000 (23:54 +0000)]
MacGui: uncomment line commented for testing for editing queue item modulus from commit 3113

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

14 years agoAdjustable picture modulus: Base patch by BradleyS, Thanks BradleyS!
dynaflash [Thu, 11 Feb 2010 23:38:00 +0000 (23:38 +0000)]
Adjustable picture modulus: Base patch by BradleyS, Thanks BradleyS!
- Enables setting modulus for all anamorphic modes (including non-anamorphic) except strict. The job variable "anamorphic.modulus" is repurposed for this and is renamed to simply "modulus"
- Other changes: Increases minimum output dimensions to 32x32 pixels in libhb (prevents possible crashes, notably in macgui). Better crop value and maximum crop value calculations to prevent crashes. Some code optimization / refactoring.

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

14 years agoMacGui: Preview Window resizing bug fixes. Patch from BradleyS.
dynaflash [Thu, 11 Feb 2010 17:23:00 +0000 (17:23 +0000)]
MacGui: Preview Window resizing bug fixes. Patch from BradleyS.

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

14 years agoLinGui: add vbv settings to appletv preset
jstebbins [Wed, 10 Feb 2010 18:38:57 +0000 (18:38 +0000)]
LinGui: add vbv settings to appletv preset

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

14 years agocli: add vbv settings to appletv preset
jstebbins [Wed, 10 Feb 2010 18:38:25 +0000 (18:38 +0000)]
cli: add vbv settings to appletv preset

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

14 years agomanicure: fix some output format issues in api generation
jstebbins [Wed, 10 Feb 2010 18:37:50 +0000 (18:37 +0000)]
manicure: fix some output format issues in api generation
and fix the "-" that should have been a "=".  was only used by the defunct PS3 preset, but
a bug none the less.

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

14 years agofix compiler warning about "definition has no type or storage class"
jstebbins [Wed, 10 Feb 2010 18:36:03 +0000 (18:36 +0000)]
fix compiler warning about "definition has no type or storage class"

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

14 years agoLinGui: When translating legacy presets, vquality 0 means RF 0, not 0%
jstebbins [Wed, 10 Feb 2010 17:59:55 +0000 (17:59 +0000)]
LinGui: When translating legacy presets, vquality 0 means RF 0, not 0%

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

14 years agoput a limit on how many buffers the muxer will cache when it is
jstebbins [Tue, 9 Feb 2010 23:34:56 +0000 (23:34 +0000)]
put a limit on how many buffers the muxer will cache when it is
having trouble interleaving timestamps

This prevents some out of memory crashes.  In particular, it fixes
a crashed caused by a source in which the audio stream ends substantially
before the video stream ends.

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

14 years agoWinGui:
sr55 [Mon, 8 Feb 2010 20:59:46 +0000 (20:59 +0000)]
WinGui:
- Banish % Quality display.
- Code Refactoring.

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

14 years agoMacGui: Get rid of % read out in constant quality mode. Now displays rf only.
dynaflash [Mon, 8 Feb 2010 16:04:22 +0000 (16:04 +0000)]
MacGui: Get rid of % read out in constant quality mode. Now displays rf only.

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

14 years agoremove pthread deatch calls
sr55 [Sat, 6 Feb 2010 21:22:04 +0000 (21:22 +0000)]
remove pthread deatch calls

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

14 years agoremoved test code
sr55 [Sat, 6 Feb 2010 21:10:44 +0000 (21:10 +0000)]
removed test code

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

14 years agolibhb dll fix by RandomEngy
sr55 [Sat, 6 Feb 2010 21:09:29 +0000 (21:09 +0000)]
libhb dll fix by RandomEngy

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

14 years agofix keyint mismatch between 1st and 2nd passes of a 2pass encode
jstebbins [Sat, 6 Feb 2010 20:24:11 +0000 (20:24 +0000)]
fix keyint mismatch between 1st and 2nd passes of a 2pass encode

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

14 years agoLinGui: remove % display from video quality slider. only show RF/QP
jstebbins [Sat, 6 Feb 2010 20:18:50 +0000 (20:18 +0000)]
LinGui: remove % display from video quality slider. only show RF/QP

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

14 years agodvdnav: fix seeking on some dvds that use multiple pgc's in a title
jstebbins [Sat, 6 Feb 2010 18:03:22 +0000 (18:03 +0000)]
dvdnav: fix seeking on some dvds that use multiple pgc's in a title
The code that was in place to handle this did not allow for the
possibility that there could be sector gaps between the segments

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

14 years agouse DTS generated by x264 when computing duration and offset in muxmp4
jstebbins [Sat, 6 Feb 2010 16:30:31 +0000 (16:30 +0000)]
use DTS generated by x264 when computing duration and offset in muxmp4
also fix an issue where ffmpeg generated negative PTS for initial
frames of video.

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

14 years agoMacGui: Fix issue where sources would round down 16 pixels from full width with some...
dynaflash [Fri, 5 Feb 2010 20:17:15 +0000 (20:17 +0000)]
MacGui: Fix issue where sources would round down 16 pixels from full width with some presets.
- i.e. 720 width would come out at 704.

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

14 years agoMacGui: Fix issue with six channel discreet presets where no bitrate was chosen there...
dynaflash [Fri, 5 Feb 2010 16:06:49 +0000 (16:06 +0000)]
MacGui: Fix issue with six channel discreet presets where no bitrate was chosen thereby borking the encode among other things.

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

14 years agox264 bump to r1416-fcf70c2
dynaflash [Wed, 3 Feb 2010 17:58:58 +0000 (17:58 +0000)]
x264 bump to r1416-fcf70c2
- Various fixes and enhancements.

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

14 years agoWinGui:
sr55 [Sun, 31 Jan 2010 14:41:28 +0000 (14:41 +0000)]
WinGui:
- Missed a file in the last checkin

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

14 years agoWinGui:
sr55 [Sun, 31 Jan 2010 14:40:06 +0000 (14:40 +0000)]
WinGui:
- More refactoring.

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

14 years agoWinGui:
sr55 [Sun, 31 Jan 2010 14:28:23 +0000 (14:28 +0000)]
WinGui:
- Refacotring Code.

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

14 years agoosx doesn't have fread_unlocked
jstebbins [Sun, 31 Jan 2010 00:57:46 +0000 (00:57 +0000)]
osx doesn't have fread_unlocked

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

14 years agofix problem with reading program streams
jstebbins [Sun, 31 Jan 2010 00:13:03 +0000 (00:13 +0000)]
fix problem with reading program streams
audio PES packets can have sequences that look like start codes in the data
so parse PES enough to get the length and skip the data.

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

14 years agoWinGui:
sr55 [Sat, 30 Jan 2010 23:52:47 +0000 (23:52 +0000)]
WinGui:
- Added some code to allow direct execution of the CLI rather than using CMD. This may be useful later on.
- Re-factoring. Added Many code comments / Cleaned up some code style issues.

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

14 years agoBuild System: disable avs, lavf, and ffms input to x264 as per j45
dynaflash [Tue, 26 Jan 2010 17:15:40 +0000 (17:15 +0000)]
Build System: disable avs, lavf, and ffms input to x264 as per j45

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

14 years agoMacGui: Add Video Buffer Verifier (VBV) to the built in AppleTV preset as per test...
dynaflash [Tue, 26 Jan 2010 16:13:18 +0000 (16:13 +0000)]
MacGui: Add Video Buffer Verifier (VBV) to the built in AppleTV preset as per test results using HD Plane Earth Birds clip for testing.
- Settings: vbv-maxrate=9500:vbv-bufsize=9500
- Note, in testing vbv-maxrate=10000:vbv-bufsize=10000 worked when testing via sync, but dropping it a bit for safety in the preset.

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

14 years agoWinGui:
sr55 [Sun, 24 Jan 2010 17:39:17 +0000 (17:39 +0000)]
WinGui:
- Quick patch to allow "," to be used in CSV files when importing into the gui.

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

14 years agoWinGui:
sr55 [Sun, 24 Jan 2010 16:15:16 +0000 (16:15 +0000)]
WinGui:
More Keyboard ShortCuts
- Ctrl-A remapped to add to queue
- Ctrl-L for log window
- Ctrl-S to start an encode

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

14 years agoWinGui:
sr55 [Sun, 24 Jan 2010 16:08:09 +0000 (16:08 +0000)]
WinGui:
- Added keyboard shortcuts:
* Ctrl-O = Open File
* Ctrl-Shift-O = Open Folder
* Ctrl-A = Show Activity Log window

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

14 years agoMacGui: Queue Edit uncomment remove reloaded queue item since "somehow" I missed...
dynaflash [Fri, 22 Jan 2010 00:11:08 +0000 (00:11 +0000)]
MacGui: Queue Edit uncomment remove reloaded queue item since "somehow" I missed it on the first go round.

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

14 years agoWinGui:
sr55 [Thu, 21 Jan 2010 20:47:15 +0000 (20:47 +0000)]
WinGui:
- Some code refactoring.

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

14 years agoMacGui: Queued item editing initial implementation.
dynaflash [Thu, 21 Jan 2010 18:58:17 +0000 (18:58 +0000)]
MacGui: Queued item editing initial implementation.
- Sends a chosen queued item back to the main window for reload ( and rescan ) via contextual menu (right click)
- Deletes queued item from queue after being reloaded to main window ( after editing or whatever, send back to queue via Add To Queue Button same as a new source).
- New queue window contextual menu also includes delete and show options previously only available via separate icons.
- Note: Needs testing particularly in the subtitle area, which is not to say there aren't other bugs.

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