sr55 [Sun, 27 Mar 2011 20:08:33 +0000 (20:08 +0000)]
WinGui:
- Some move re factoring to push the logic code into the service library.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3885
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 27 Mar 2011 18:26:46 +0000 (18:26 +0000)]
LinGui: fix type in tooltip
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3884
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 27 Mar 2011 14:29:06 +0000 (14:29 +0000)]
WinGui:
- Add option for playing previews in the systems default player.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3883
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 27 Mar 2011 13:52:36 +0000 (13:52 +0000)]
WinGui:
- Remove built-in quicktime based video preview support.
- Resigned the Preview window as a result. Currently only supports VLC launching, but will later add an option to use the systems default player for the format produced.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3882
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Mar 2011 16:19:52 +0000 (16:19 +0000)]
WinGui:
- Trim the contents of the advanced options box. Prevents -x being used with only spaces
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3881
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Mar 2011 14:50:14 +0000 (14:50 +0000)]
WinGui:
- Fix for the AutoName helper. Should now set the correct file extension based on the user preference.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3880
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Mar 2011 14:39:23 +0000 (14:39 +0000)]
WinGui:
- Fix a couple of possible culture issues in the query parser util.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3879
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 24 Mar 2011 22:24:30 +0000 (22:24 +0000)]
LinGui: fix building on ubuntu 10.04
A couple gtk functions were deprecated at a different version than I thought.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3878
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 24 Mar 2011 21:40:17 +0000 (21:40 +0000)]
WinGui: Fix for "{source_path}" option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3877
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 23 Mar 2011 15:13:55 +0000 (15:13 +0000)]
LinGui: backwards compatibility fix
gtk versions prior to 2.22 don't have gtk_widget_set/get_realized() func
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3876
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 23 Mar 2011 01:52:45 +0000 (01:52 +0000)]
LinGui: a few more random deprecated functions and macros removed
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3875
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 23 Mar 2011 00:44:34 +0000 (00:44 +0000)]
LinGui: remove some deprecated widget properties
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3874
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 23 Mar 2011 00:27:41 +0000 (00:27 +0000)]
LinGui: Fix incorrect base class in ghbcompositor
"Works" with gtk2, but causes error in gtk3
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3873
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 23:41:03 +0000 (23:41 +0000)]
LinGui: don't use private gtk_marshal_* functions
They are not exported in gtk+-3, so create our own marshalers
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3872
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 17:22:56 +0000 (17:22 +0000)]
LinGui: fix backward compatibility issue
Versions of gdk on Ubuntu 9.10 and 10.04 do not have GDK_KEY_* macros
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3871
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 03:11:01 +0000 (03:11 +0000)]
LinGui: another improper access to gtk member variables
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3870
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 03:08:27 +0000 (03:08 +0000)]
LinGui: clean up more accesses to private gtk member variables
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3869
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 02:25:05 +0000 (02:25 +0000)]
LinGui: use g_object_set to set widget properties
instead of directly setting the member variables. The member variables
dissepear into priv data in gtk+-3.0.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3868
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 02:12:32 +0000 (02:12 +0000)]
LinGui: Fix printf with too many parameters
cut/paste error
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3867
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 01:31:48 +0000 (01:31 +0000)]
LinGui: Remove use of deprecated GTK_WIDGET_VISIBLE macro
Replace with gtk_widget_get_visible()
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3866
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 01:25:59 +0000 (01:25 +0000)]
LinGui: Remove use of depricated GDK_DRAWABLE_XID
Replace with GDK_WINDOW_XID
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3865
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 01:22:52 +0000 (01:22 +0000)]
LinGui: Remove use of private member "window" of GtkWidget
It doesn't exist in gtk+-3.0. Use gtk_widget_get_window() instead.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3864
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 01:08:37 +0000 (01:08 +0000)]
LinGui: No need to call gtk_set_locale
gtk_init does it for us. And since gtk_set_locale is being removed
from gtk+-3.0, might as well remove the call.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3863
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 01:07:07 +0000 (01:07 +0000)]
LinGui: Remove deprecated use of GDK_* keysyms
They have been changed to GDK_KEY_*
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3862
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 01:03:17 +0000 (01:03 +0000)]
LinGui: Remove use of deprecated GTK_WIDGET_SENSITIVE and GTK_WIDGET_HAS_FOCUS
Replace with gtk_widget_is_sensitive and gtk_widget_has_focus
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3861
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 00:57:01 +0000 (00:57 +0000)]
LinGui: remove use of deprecated GTK_WIDGET_TYPE and GTK_OBJECT_TYPE macros
replace with G_OBJECT_TYPE
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3860
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 22 Mar 2011 00:51:26 +0000 (00:51 +0000)]
LinGui: remove use of deprecated gdk_draw_pixbuf
Use gdk_ciaro_set_source_bixbuf and ciaro_paint instead
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3859
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 21 Mar 2011 18:14:04 +0000 (18:14 +0000)]
Fix linking on mingw when using libtool
Linking the gtk gui uses libtool. The *.la files libtool uses specify
the dependency libraries that libraries are built against. Our
libbluray contrib was being built against the system libxml2 due to
dependencies that were not set in our build system and PKG_CONFIG_PATH
not being set when configuring.
Note that on fedora (and possibly other systems) the ${cross}-pkg-config
script provided is broken and explicitely sets PKG_CONFIG_PATH="". You
need to replace this script with something like this:
PKG_CONFIG_LIBDIR=$(${cross}-gcc --print-sysroot)/mingw/lib/pkgconfig pkg-config $*
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3858
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 21 Mar 2011 02:20:48 +0000 (02:20 +0000)]
Remove legacy % to RF mapping.
Although the % option has been gone for a while in the cli and gui's,
there were some mappings happening in libhb and for preset imports.
This removes the last vestages of % quality mapping.
Thanks to Rodeo for the patch.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3857
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 20 Mar 2011 17:49:20 +0000 (17:49 +0000)]
WinGui:
- Bugfixes in the audio panel to handle the enumerations correctly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3856
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 20 Mar 2011 17:42:56 +0000 (17:42 +0000)]
WinGui:
- Minor error. Don't try to serialize a dictionary in a model.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3855
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 20 Mar 2011 17:39:20 +0000 (17:39 +0000)]
WinGui:
- Bunch of work to help OO the UI code a bit better and prepare for the WPF UI.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3854
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 19 Mar 2011 20:58:01 +0000 (20:58 +0000)]
Add mpeg-2 encoding support to libhb, cli, and lingui
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3853
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 19 Mar 2011 18:54:37 +0000 (18:54 +0000)]
Use TEMP or TEMPDIR environment variables for location of tmp directory
Falls back to /tmp if neither are set.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3852
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 19 Mar 2011 18:43:19 +0000 (18:43 +0000)]
Add support for DTS-HD High Resolution Audio for BD streams
Thanks to Rodeo for the patch.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3851
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 19 Mar 2011 15:46:21 +0000 (15:46 +0000)]
WinGui:
- Improvements to the log window code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3850
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 13 Mar 2011 21:58:01 +0000 (21:58 +0000)]
cosmetics and improved comments
Thanks Rodeo ;)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3849
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 13 Mar 2011 21:51:14 +0000 (21:51 +0000)]
fix 2 pass cfr x264 crash
An error in interjob->vrate calculation lead to specifying a different
timebase for the 1st and 2nd pass which x264 does not allow. This
improves the interjob->vrate calculation accuracy and also guarantees
the timebase is the same on both passes regardless of the calculations
accuracy.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3848
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 13 Mar 2011 17:14:36 +0000 (17:14 +0000)]
Fix source dimensions problem with some mpeg2 streams
Was using the incorrect field for actual "display" dimensions of video.
The field I was using is most often used for pan and scan which
crops a 16:9 image to fit a 4:3 display.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3847
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 13 Mar 2011 16:44:49 +0000 (16:44 +0000)]
Rename Direction C# to CS
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3846
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 13 Mar 2011 16:41:42 +0000 (16:41 +0000)]
WinGui:
- Another build path fix
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3845
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 13 Mar 2011 16:22:26 +0000 (16:22 +0000)]
WinGui:
- Fix a path error in the build script.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3844
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 13 Mar 2011 13:14:55 +0000 (13:14 +0000)]
WinGui:
- Complete work to remove the framework library.
- Fix a couple of issues with the build script and updated the nsis scripts/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3843
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 13 Mar 2011 12:35:48 +0000 (12:35 +0000)]
WinGui:
- Shuffle some more code around. Aiming to remove the framework library completely soon.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3842
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 12 Mar 2011 01:12:39 +0000 (01:12 +0000)]
fix potential infinite loop in ffmpeg mpeg-4 b-frame handling
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3841
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 11 Mar 2011 22:42:30 +0000 (22:42 +0000)]
WinGui:
- Advanced options panel for ffmpeg mpeg-4 encoder options.
- Bug fixes in the new preset service and handling code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3840
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Mar 2011 22:40:30 +0000 (22:40 +0000)]
Add parameter parsing and b-frame support to ffmpeg mpeg-4 encoder
The cli will now accept ':' separated parameters using the '-x' option
for ffmpeg mpeg-4. The linux gui has an entry box on the advanced tab
to add options. The option keys and values are the same as what the
ffmpeg command line allows.
Calculation of DTS timestamps was added to encavcodec.c in order to allow
out of order b-frames. The algorithm is similar to what x264 uses.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3839
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Mar 2011 22:09:18 +0000 (22:09 +0000)]
Fix PAR and height of mpeg-2 1080 content.
mpeg-2 dimensions must be multiples of 16, so the actual coded height
is 1088. But there are fields in the sequence header that define
the "display" height and width. We were ignoring these which lead
to slightly incorrect height and PAR.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3838
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 11 Mar 2011 19:36:20 +0000 (19:36 +0000)]
WinGui:
- Delete documentation file for Caliburn.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3837
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 11 Mar 2011 19:35:20 +0000 (19:35 +0000)]
WinGui:
- Update Caliburn to 2.0RC, update the current source files to work with the new version. Introduces MEF to the project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3836
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Mar 2011 15:26:31 +0000 (15:26 +0000)]
Fix mkv timestamps that derive from SimpleBlock and default track duration.
Since I've gotten no response to this patch yet on ffmpeg-devel, I'm
committing it here till someone has the time to look at it.
When a SimpleBlock has lacing (multiple frames in a block) the duration
of each frame should come from the default track duration. An initialization
error in ffmpeg causes them to set the duration to 0 which triggers
code higher in the stack to estimate the duration based on bitrate
and frame size. This is wildly inaccurate and leads to very bad timestamps.
Fixes issues with MakeMKV audio timestamps.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3835
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 10 Mar 2011 23:34:08 +0000 (23:34 +0000)]
Use ffmpeg's lock manager for locking needed by ffmpeg
This lets ffmpeg tell us when it needs a lock instead of
us trying to guess which functions we need to wrap in a mutex.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3834
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 8 Mar 2011 17:05:34 +0000 (17:05 +0000)]
Remove a workaround for an ffmpeg bug that has been fixed.
Removal of the workaround also removes the need for a patch
that fails to apply cleanly to latest ffmpeg git. So remove
the patch as well.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3833
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 8 Mar 2011 16:20:57 +0000 (16:20 +0000)]
add dbus-glib to configure lib checks
ifdef libnotify call for compatibility with new 0.7 version.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3832
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 8 Mar 2011 16:12:57 +0000 (16:12 +0000)]
make keyint match between 1st and 2nd passes of vfr and pfr encodes.
make keyint and fps settings consistent across video encoders.
make interjob->vrate changes for pfr mode like we do for vfr since
pfr is the same as vfr except when it hits it's peak.
in mkv, set track default duration to actual measured vrate on 2 pass encodes.
thanks to Rodeo for the corrections in encx264
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3831
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 6 Mar 2011 15:43:37 +0000 (15:43 +0000)]
WinGui:
- Another change to the video tab to make it consistent with the lingui.
- Fix for the Audio Panel to correctly set the default bit-rate for each encoder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3830
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 6 Mar 2011 12:48:44 +0000 (12:48 +0000)]
Try to fix errors in readme file.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3829
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 6 Mar 2011 12:39:09 +0000 (12:39 +0000)]
A Readme file for github.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3828
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 5 Mar 2011 19:42:27 +0000 (19:42 +0000)]
WinGui:
- Default to VFR in the preset loading code if CFR and PFR is not set.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3827
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 4 Mar 2011 21:32:25 +0000 (21:32 +0000)]
WinGui:
- Fixed dodgy tooltip
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3826
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 4 Mar 2011 21:30:37 +0000 (21:30 +0000)]
WinGui:
- Updated layout of the "Video" tab to empathises Constant Quality.
* Added far better tooltips on the controls.
- Added better control over the encoding methods (VFR, PFR, CFR)
* "Same as source" can now be Constant or Variable
* "5,10,15,20....." framerates can now be set as WConstant Framerate" or "Peak Framerates (VFR)"
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3825
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 4 Mar 2011 18:51:17 +0000 (18:51 +0000)]
LinGui: fix display of "quality" units in queue when ffmpeg encoder is used
was showing "RF" when should have been "QP"
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3824
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 1 Mar 2011 18:45:17 +0000 (18:45 +0000)]
MacGui: Remove Target Size as a rate control option as it doesn't really work correctly and should die an overdue death.
- Also rearranged the video quality layout a bit.
- Moved Constant Quality above Average Bitrate
- Moved the entire Video Quality matrix down below frame rate where it belongs.
- Presets are mapped accordingly internally in the macgui code so that they are unchanged across platforms.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3823
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 1 Mar 2011 00:37:34 +0000 (00:37 +0000)]
silence compiler warning about const char *
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3822
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 1 Mar 2011 00:06:41 +0000 (00:06 +0000)]
initialize title->angle_count to 1
sources that don't support multiple angles should default to 1
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3821
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 28 Feb 2011 23:19:04 +0000 (23:19 +0000)]
LinGui: missed removing a part of target file size code
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3820
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 28 Feb 2011 22:00:26 +0000 (22:00 +0000)]
Fix PFR issue where there are different number of frames in 1st and 2nd pass.
Waiting for a fill threshhold in the fifos causes some non-determinism
in finding the first PTS value. Sometimes the fill level of one fifo
would not be reached until after another fifo is completely full, causing
an early exit in the loop that looks for the first PTS. When the initial PTS
is different between passes, the duration of the first frame is different.
This affects the PFR algorithm and can cause it to drop a different number
of frames.
The fill level was initially intended as a way to prevent thrashing between
threads to improve performance. But my testing indicates no degradation
when removing it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3819
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 27 Feb 2011 18:41:24 +0000 (18:41 +0000)]
bump ffmpeg from git-
185a155 to git-
0b32da9
fixes win64 crash
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3818
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 27 Feb 2011 16:33:55 +0000 (16:33 +0000)]
WinGui:
- Fix an issue that was causing queue processing to crash out.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3817
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 27 Feb 2011 14:25:31 +0000 (14:25 +0000)]
WinGui:
- Fix a possible crash on startup
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3816
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 27 Feb 2011 12:42:24 +0000 (12:42 +0000)]
WinGui:
- Fix Build
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3815
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Feb 2011 23:01:54 +0000 (23:01 +0000)]
WinGui:
- Few UI updates around the Help and Presets Menus and Presets Control Bar.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3814
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Feb 2011 17:22:36 +0000 (17:22 +0000)]
Remove depreciated cpu count from the api
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3813
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Feb 2011 16:48:04 +0000 (16:48 +0000)]
Remove the set cpu count option as it doesn't do anything now
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3812
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Feb 2011 16:26:03 +0000 (16:26 +0000)]
WinGui:
- Add new WPF toolkit Library
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3811
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Feb 2011 16:24:38 +0000 (16:24 +0000)]
WinGui:
- Started designing the Picture Settings Panel
- Added a WindowManager.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3810
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 26 Feb 2011 14:35:55 +0000 (14:35 +0000)]
WinGui:
- Bump the Control limitations for the picture settings once again.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3809
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 26 Feb 2011 00:04:39 +0000 (00:04 +0000)]
LinGui: remove target file size option
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3808
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 25 Feb 2011 17:50:18 +0000 (17:50 +0000)]
fix crash with bd lpcm audio decoding
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3807
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 25 Feb 2011 17:44:52 +0000 (17:44 +0000)]
bump x264 from r1900 to r1913
fixes memory leak when cancelling an encode
various other bug fixes and improvements
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3806
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 25 Feb 2011 17:37:59 +0000 (17:37 +0000)]
Improve audio labels for BD audio decoded by ffmpeg
Give lpcm and e-ac3 proper labels
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3805
b64f7644-9d1e-0410-96f1-
a4d463321fa5
davidfstr [Fri, 25 Feb 2011 01:08:33 +0000 (01:08 +0000)]
Add temporally overlapping subtitle support.
* New subtitle sync algorithm added to sync work-object ("simultaneous").
Classic algorithm preserved but disabled.
* Render work-object now supports queueing a /list/ of subtitles.
* FIFOs have been extended to support pushing/popping buffer-lists as single elements.
* Added SUBSYNC_VERBOSE_TIMING flag to debug timing issues related to subtitle display.
Observable behaviors changed in the new subtitle sync algorithm:
* Temporally overlapping subtitles are no longer trimmed to be non-overlapping.
* Subtitles less than two seconds long are no longer artificially extended. Sorry, Indochine fans.
* Subtitles that stop before they start will never be displayed. The old algorithm will display such subtitles if they begin in the future (relative to the current video frame being processed).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3804
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 20 Feb 2011 16:08:29 +0000 (16:08 +0000)]
Remove 2 unneeded lines.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3803
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 20 Feb 2011 16:07:48 +0000 (16:07 +0000)]
WinGui:
- Add some locking onto the CLI Exited and CLI StdErr Message received threads to prevent exceptions. This is only a temporary fix as we may lose a few log messages off the end by cancelling the logging too early.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3802
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 19 Feb 2011 19:14:12 +0000 (19:14 +0000)]
WinGui:
- Give more control over MP4 file extensions. (Automatic, Always use MP4, Always use M4v)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3801
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 19 Feb 2011 17:28:58 +0000 (17:28 +0000)]
WinGui:
- Setting up the structure of the WPF UI. Just empty files with some basic wiring up between them.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3800
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 18 Feb 2011 21:56:19 +0000 (21:56 +0000)]
WinGui
- Wire in the new preset service.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3799
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 17 Feb 2011 18:39:47 +0000 (18:39 +0000)]
WinGui:
- Remove target file size option. This feature is being mis-used, doesn't really work well and is generally causing far too much confusion.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3798
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 12 Feb 2011 21:38:34 +0000 (21:38 +0000)]
plug some memory leaks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3797
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Feb 2011 21:38:41 +0000 (21:38 +0000)]
Improve loop detection in dvdnav
Loops in titles of only a single chapter were not being detected.
We now also check the cell number for loops.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3796
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Feb 2011 21:36:50 +0000 (21:36 +0000)]
Remove unnecessary translation of string "LIBFAAD" to "AAC".
ffmpeg will never give us this name anymore since it no longer
wraps faad.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3795
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Feb 2011 21:35:29 +0000 (21:35 +0000)]
Remove a couple more remnants of faad from make files
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3794
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Feb 2011 21:31:00 +0000 (21:31 +0000)]
remove libfaad from build
We don't use it anymore. We have been using ffaac decoder for a while now.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3793
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Feb 2011 18:22:16 +0000 (18:22 +0000)]
LinGui: do not uncheck chapter markers when single chapter selected
Instead, grey out the chapter marker checkbox to indicate it is inactive
(but leave it checked) and do not enable chapter markers in the job.
This way, if the user modifies chapter selections, chapter markers will
automatically be re-enabled when more than one chapter is selected again.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3792
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 11 Feb 2011 17:00:13 +0000 (17:00 +0000)]
fix sync issue introduced in 3786
Thanks to mac_man_ad for pointing this out and providing a sample.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3791
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 9 Feb 2011 00:15:28 +0000 (00:15 +0000)]
LinGui: Change "Blind" to "Simple" in weightp combo box
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3790
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 8 Feb 2011 19:20:56 +0000 (19:20 +0000)]
WinGui:
- Didn't quite get the tab order setup right in the last checkin. Should now be fixed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3789
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 8 Feb 2011 19:05:04 +0000 (19:05 +0000)]
WinGui:
- Enable TabStops on the Main Toolbar and Tabs Panel.
- Reset some of the tab indexes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3788
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 8 Feb 2011 16:43:35 +0000 (16:43 +0000)]
bump libbluray from 0.0.1-pre-16 to 0.0.1-pre-129
fixes segfault when there is a damaged clpi file.
fixes segfault when title has no playmarks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3787
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 8 Feb 2011 01:27:06 +0000 (01:27 +0000)]
Improve timestamp handling in decavcodec
Use new ffmpeg facility for passing timestamps through from
AVPackets to AVFrames during parsing and decoding.
Also fix a bug in handling of the timestamp of the first audio frame. We
were putting the timestamp of the second frame on the first and shifting
all audio by one frame time.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3786
b64f7644-9d1e-0410-96f1-
a4d463321fa5