]> granicus.if.org Git - handbrake/log
handbrake
12 years agocli: allow use of hh:mm:ss format when specifying p-to-p start/stop time
jstebbins [Tue, 1 May 2012 15:23:51 +0000 (15:23 +0000)]
cli: allow use of hh:mm:ss format when specifying p-to-p start/stop time

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4624 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMinor simplification.
Rodeo [Tue, 1 May 2012 14:00:59 +0000 (14:00 +0000)]
Minor simplification.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4623 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoSimplify Foreign Audio Search code:
Rodeo [Tue, 1 May 2012 13:53:12 +0000 (13:53 +0000)]
Simplify Foreign Audio Search code:

- move all subtitle hit counting to the decoders instead of reader
---> allows us to count actual subtitles rather than just packets

- always count subtitles, even when not doing a scan (may be useful in the future)

Miscellaneous improvements:

- always insert select_subtitle at the head of the output subtitle list, to make it less likely to be dropped

- when multiple subtitle tracks have forced hits, pick the track with the fewest forced hits
---> Foreign Audio Search should now work with Star Wars on Blu-ray

- logging improvements (more readable, and log job->select_subtitle configuration - Forced Only vs. All, Render vs. Passthrough)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4622 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agomerge assorted fixes provided by Rogerio Brito
jstebbins [Tue, 1 May 2012 11:23:36 +0000 (11:23 +0000)]
merge assorted fixes provided by Rogerio Brito

Pretty much all resource cleanup issues on error condition handling.
Thanks Rogerio!

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4620 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix problem with incorrect addition of audio silence
jstebbins [Tue, 1 May 2012 10:05:53 +0000 (10:05 +0000)]
libhb: fix problem with incorrect addition of audio silence
sync needs the precise duration of a frame of audio and has
no way to compute it for passthru audio.  So add a duration
member to hb_buffer_t and set it in the audio decoders.

This should eventually supersede hb_buffer_t member "stop"
since it provides redundant information.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4618 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: allow arbitrary number of preview images, fixes potential crash
jstebbins [Tue, 1 May 2012 07:55:41 +0000 (07:55 +0000)]
libhb: allow arbitrary number of preview images, fixes potential crash
scan.c had a limit of 30 previews due to fixed array size.  But test.c didn't
limit the max number of previews, so it was possible to generate a crash
by specifying > 30.  This removes the limitation.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4616 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Updates to the new Query Generator to deal with passthru tracks correctly.
sr55 [Tue, 1 May 2012 00:55:30 +0000 (00:55 +0000)]
WinGui: (WPF) Updates to the new Query Generator to deal with passthru tracks correctly.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4615 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Improvements to the new audio panel.
sr55 [Tue, 1 May 2012 00:13:20 +0000 (00:13 +0000)]
WinGui: (WPF) Improvements to the new audio panel.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4614 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui (WPF) Fix a bug in the GongSolutions WPF Drag/Drop Library to prevent a crash...
sr55 [Sun, 29 Apr 2012 01:04:55 +0000 (01:04 +0000)]
WinGui (WPF) Fix a bug in the GongSolutions WPF Drag/Drop Library to prevent a crash with dropdowns when clicking an item outside of the listbox control area.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4613 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Basic support for PGS subtitles in the forms UI.
sr55 [Sun, 29 Apr 2012 00:33:13 +0000 (00:33 +0000)]
WinGui: Basic support for PGS subtitles in the forms UI.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4612 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix Preview Window Play button crash.
sr55 [Sat, 28 Apr 2012 23:13:25 +0000 (23:13 +0000)]
WinGui: Fix Preview Window Play button crash.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4611 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoFix a potential null pointer reference
jstebbins [Sat, 28 Apr 2012 14:23:43 +0000 (14:23 +0000)]
Fix a potential null pointer reference

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4609 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: fix problem with fallback audio encoder selection
jstebbins [Fri, 27 Apr 2012 17:41:48 +0000 (17:41 +0000)]
LinGui: fix problem with fallback audio encoder selection
sanitizing for mkv was broken and sanitized out vorbis and flac

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4607 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoFix naming of ubuntu 12.04 repository. it expects "precise" not "pangolin"
jstebbins [Fri, 27 Apr 2012 07:24:16 +0000 (07:24 +0000)]
Fix naming of ubuntu 12.04 repository. it expects "precise" not "pangolin"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4606 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoPGS (bluray) subtitle support \o/
jstebbins [Thu, 26 Apr 2012 19:11:03 +0000 (19:11 +0000)]
PGS (bluray) subtitle support \o/

Thanks to patches supplied by David Mitchell and Rob McMullen
we finally have PGS support.

I added a fix for libav pgs timestamp processing and
detection of forced subtitles to their work, then
made foreign audio search work with PGS subs.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4605 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: allow the user to select and use a bitrate for audio autopassthru
jstebbins [Thu, 26 Apr 2012 19:02:38 +0000 (19:02 +0000)]
LinGui: allow the user to select and use a bitrate for audio autopassthru
If the fallback encoder is used, the user should be able to set the
bitrate that is used.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4604 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui:
jstebbins [Thu, 26 Apr 2012 17:48:48 +0000 (17:48 +0000)]
LinGui:
Remove Lucid builds.  Add Pangolin.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4603 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Always pass down the --previews flag for encodes when it's not defaulted...
sr55 [Sun, 22 Apr 2012 23:43:51 +0000 (23:43 +0000)]
WinGui: Always pass down the --previews flag for encodes when it's not defaulted to 10

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4601 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix crash when subtitle render filter fails to initialize
jstebbins [Sun, 15 Apr 2012 16:43:16 +0000 (16:43 +0000)]
libhb: fix crash when subtitle render filter fails to initialize
This can happen for non-fatal reasons when doing foreign audio search.

This makes all filter init failures non-fatal.  We may want to introduce
fatal errors at some point.  I need to inspect all the filters and see
if there are any errors that really must be fatal.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4600 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix problem with fps calculation in 2 pass encodes
jstebbins [Sat, 14 Apr 2012 19:32:21 +0000 (19:32 +0000)]
libhb: fix problem with fps calculation in 2 pass encodes
interjob was not getting initialized at the end of the 1st pass
because for some unfathomable reason, I did not save the job in
the filter objects private data even though I had a job variable there.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4599 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Remove deprecated variable to avoid confusion.
sr55 [Thu, 12 Apr 2012 20:57:04 +0000 (20:57 +0000)]
WinGui: Remove deprecated variable to avoid confusion.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4598 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Audio Panel Auto Passthru implementation.
sr55 [Thu, 12 Apr 2012 20:42:17 +0000 (20:42 +0000)]
WinGui: (WPF) Audio Panel Auto Passthru implementation.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4597 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: File Handler was not being released, now fixed.
sr55 [Thu, 12 Apr 2012 19:51:19 +0000 (19:51 +0000)]
WinGui: File Handler was not being released, now fixed.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4595 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Lots of fixes to the Plist Import / Export functionality.
sr55 [Thu, 12 Apr 2012 19:30:26 +0000 (19:30 +0000)]
WinGui: Lots of fixes to the Plist Import / Export functionality.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4593 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix estimated number of frames expected
jstebbins [Wed, 11 Apr 2012 21:39:15 +0000 (21:39 +0000)]
libhb: fix estimated number of frames expected
we don't need to overestimate it anymore since we do not terminate
the encode when this value is reached.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4588 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: handle TS streams that have broken DTS timestamps
jstebbins [Wed, 11 Apr 2012 16:34:21 +0000 (16:34 +0000)]
libhb: handle TS streams that have broken DTS timestamps
If the DTS is > PTS, ignore it because this can't happen in a properly
constructed TS stream.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4586 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix a problem with start times of frames in CFR mode
jstebbins [Tue, 10 Apr 2012 18:31:48 +0000 (18:31 +0000)]
libhb: fix a problem with start times of frames in CFR mode
some errors would allow gaps between frames and overlapping start times

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4585 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix problem with rendering burned in subtitles
jstebbins [Tue, 10 Apr 2012 18:27:33 +0000 (18:27 +0000)]
libhb: fix problem with rendering burned in subtitles
Remove unnecessary test of uninitialized alpha channel pointer. If the
uninitialized value was NULL, alpha wasn't factored into the blend.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4584 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoRevision 4546 lost a call to hb_set_anamorphic_size, which in turn called hb_reduce...
Rodeo [Tue, 10 Apr 2012 14:15:29 +0000 (14:15 +0000)]
Revision 4546 lost a call to hb_set_anamorphic_size, which in turn called hb_reduce on PAR values. Restore the call to hb_reduce, as the MacGui's custom anamorphic code doesn't reduce fractions on its own.

Also, call hb_reduce after each modification to the PAR in libavcodec compatibility code. This should reduce the loss of precision somewhat, by avoiding another division when the divided PAR width & height can be reduced to values <= 255.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4583 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Initial Implementation of title specific scanning.
sr55 [Fri, 6 Apr 2012 22:47:52 +0000 (22:47 +0000)]
WinGui: (WPF) Initial Implementation of title specific scanning.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4582 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Update Caliburn Micro Framework to 1.3.1
sr55 [Fri, 6 Apr 2012 21:29:49 +0000 (21:29 +0000)]
WinGui: Update Caliburn Micro Framework to 1.3.1

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4581 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) User Setting Service fixes, Query Generation fixes, Logviewer live...
sr55 [Sun, 1 Apr 2012 17:32:36 +0000 (17:32 +0000)]
WinGui: (WPF) User Setting Service fixes, Query Generation fixes, Logviewer live updates.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4580 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Cleanup and fixes to the main window and preferences screen.
sr55 [Sun, 1 Apr 2012 17:09:11 +0000 (17:09 +0000)]
WinGui: (WPF) Cleanup and fixes to the main window and preferences screen.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4579 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Bug fixes to the advanced panel
sr55 [Sun, 1 Apr 2012 17:07:05 +0000 (17:07 +0000)]
WinGui: (WPF) Bug fixes to the advanced panel

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4578 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix an filepath issue in libhb scan service.
sr55 [Sun, 1 Apr 2012 16:49:21 +0000 (16:49 +0000)]
WinGui: Fix an filepath issue in libhb scan service.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4577 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (0.9.x) User Settings Service Fixes/Improvements from Trunk
sr55 [Sun, 1 Apr 2012 16:41:23 +0000 (16:41 +0000)]
WinGui: (0.9.x) User Settings Service Fixes/Improvements from Trunk

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4576 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix incorrect audio gaps
jstebbins [Sun, 1 Apr 2012 15:34:47 +0000 (15:34 +0000)]
libhb: fix incorrect audio gaps
When the duratation of an audio packet is not evenly divisible by the
90khz clock, we were loosing a fraction of a tick per audio packet.  This
causes every packet to be tagged with a timestamp that is a little early
and eventually a gap must be filled to maintain sync.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4574 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoInterop: Fixes / API Updates for Encoding.
sr55 [Sat, 31 Mar 2012 18:48:27 +0000 (18:48 +0000)]
Interop: Fixes / API Updates for Encoding.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4573 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoInterop: Update hb_job_s and hb_title_s with latest API changes.
sr55 [Sat, 31 Mar 2012 18:39:03 +0000 (18:39 +0000)]
Interop: Update hb_job_s and hb_title_s with latest API changes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4572 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoInterop: Expose option to enable or disable LibDVDNav on scans.
randomengy [Sat, 31 Mar 2012 18:37:15 +0000 (18:37 +0000)]
Interop: Expose option to enable or disable LibDVDNav on scans.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4571 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoBump x264 to r2184-5c85e0a.
Rodeo [Sat, 31 Mar 2012 16:28:54 +0000 (16:28 +0000)]
Bump x264 to r2184-5c85e0a.

Miscellaneous fixes and improvements.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4570 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoCosmetic after last commit.
Rodeo [Sat, 31 Mar 2012 16:05:51 +0000 (16:05 +0000)]
Cosmetic after last commit.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4569 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoencx264: cleanup.
Rodeo [Sat, 31 Mar 2012 16:03:34 +0000 (16:03 +0000)]
encx264: cleanup.

libx264 can detect the CPU count, so no need to set the number of threads.
We now use the x264 default, even when sliced threads are enabled.

Move some initializations until after parsing job->advanced_opts.
Width, height and annexb aren't meant to be set by the user.

Only get a new temporary filename if we're actually doing 2-pass encoding.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4568 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: fix queue display problem with "same as source (constant)" framerate
jstebbins [Sat, 31 Mar 2012 15:29:19 +0000 (15:29 +0000)]
LinGui: fix queue display problem with "same as source (constant)" framerate

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4566 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoActivity Log: fix some typos and make indentation a bit more consistent.
Rodeo [Sat, 31 Mar 2012 15:22:00 +0000 (15:22 +0000)]
Activity Log: fix some typos and make indentation a bit more consistent.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4565 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMacGUI: use hb_reset_job.
Rodeo [Sat, 31 Mar 2012 15:13:48 +0000 (15:13 +0000)]
MacGUI: use hb_reset_job.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4564 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix cfr encoding
jstebbins [Sat, 31 Mar 2012 15:03:16 +0000 (15:03 +0000)]
libhb: fix cfr encoding
when frames are duplicated, the frame was not copied properly and resulted
in divide by 0 later when the frame is processed.

This fix is a bit larger than the minimum size necessary to fix the problem.
I took the oportunity to clean up some buffer initialization and copy
operations.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4563 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoAdd hb_dict_unset and hb_dict_to_encopts.
Rodeo [Sat, 31 Mar 2012 12:33:45 +0000 (12:33 +0000)]
Add hb_dict_unset and hb_dict_to_encopts.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4562 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: Fix problem with TS streams that have no PAT or PMT
jstebbins [Fri, 30 Mar 2012 18:30:00 +0000 (18:30 +0000)]
libhb: Fix problem with TS streams that have no PAT or PMT
Fall back to using libav in this case.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4560 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agocqm=/some/path has the same effect as cqmfile=/some/path AND param.psz_cqm_file overr...
Rodeo [Thu, 29 Mar 2012 23:17:34 +0000 (23:17 +0000)]
cqm=/some/path has the same effect as cqmfile=/some/path AND param.psz_cqm_file overrides param.i_cqm_preset so you can effectively use cqm in place of cqmfile (but not the opposite).

Thus, add it to the x264_encopt_synonyms array.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4559 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agohb_apply_h264_level: avoid division by zero due to some x264_param_t fields being...
Rodeo [Thu, 29 Mar 2012 23:04:08 +0000 (23:04 +0000)]
hb_apply_h264_level: avoid division by zero due to some x264_param_t fields being uninitialized.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4558 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: More refactoring of user settings / exception handling for the user setting...
sr55 [Thu, 29 Mar 2012 20:29:13 +0000 (20:29 +0000)]
WinGui: More refactoring of user settings / exception handling for the user setting service.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4557 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb/hd_dict.c, add newline at end of file.
Rodeo [Thu, 29 Mar 2012 15:06:59 +0000 (15:06 +0000)]
libhb/hd_dict.c, add newline at end of file.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4556 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agohb_dict: cosmetics.
Rodeo [Thu, 29 Mar 2012 13:37:27 +0000 (13:37 +0000)]
hb_dict: cosmetics.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4555 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoencx264: add functionality to retrieve the "preferred" option name for options that...
Rodeo [Thu, 29 Mar 2012 13:31:33 +0000 (13:31 +0000)]
encx264: add functionality to retrieve the "preferred" option name for options that have multiple names.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4554 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agohb_dict: minor improvements.
Rodeo [Thu, 29 Mar 2012 13:25:24 +0000 (13:25 +0000)]
hb_dict: minor improvements.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4553 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: use source colorimetry information when available.
Rodeo [Wed, 28 Mar 2012 23:22:17 +0000 (23:22 +0000)]
libhb: use source colorimetry information when available.

When source colorimetry can't be determined, guess.
Added code to guess PAL SD content and updated code to guess HD content.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4552 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoencx264: use x264_param_apply_fastfirstpass.
Rodeo [Wed, 28 Mar 2012 23:09:08 +0000 (23:09 +0000)]
encx264: use x264_param_apply_fastfirstpass.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4551 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: add basic dictionary implementation.
Rodeo [Wed, 28 Mar 2012 22:56:52 +0000 (22:56 +0000)]
libhb: add basic dictionary implementation.

Note: under OS X, this commit may require a full rebuild to work properly.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4550 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoController.m: replace usage of hb_strdup_printf with NSString.
Rodeo [Wed, 28 Mar 2012 22:43:54 +0000 (22:43 +0000)]
Controller.m: replace usage of hb_strdup_printf with NSString.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4549 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Add code to overwrite corrupted settings file.
sr55 [Wed, 28 Mar 2012 20:32:30 +0000 (20:32 +0000)]
WinGui: Add code to overwrite corrupted settings file.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4548 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMacGui: fix commit 4546 so it works on os x which is the filter pipeline rework from...
dynaflash [Wed, 28 Mar 2012 01:18:33 +0000 (01:18 +0000)]
MacGui: fix commit 4546 so it works on os x which is the filter pipeline rework from j45.
- libhb fix by Rodeo

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4547 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoRework filter pipeline
jstebbins [Tue, 27 Mar 2012 20:11:26 +0000 (20:11 +0000)]
Rework filter pipeline

This patch enhances the filter objects.  The 2 key improvements are:
1. A filter can change the image dimensions as frames pass through it.
2. A filter can output more than one frame.

In addition, I have:
Moved cropping & scalling into a filter object
Added 90 degree rotation to the rotate filter
Moved subtitle burn-in rendering to a filter object.
Moved VFR/CFR handling into a framerate shaping filter object.
Removed render.c since all it's responsibilities got moved to filters.
Improves VOBSUB and SSA subtitle handling.  Allows subtitle animations.
SSA karaoke support.

My apologies in advance if anything breaks ;)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4546 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: fix default value for fallback audio encoder for autopassthru
jstebbins [Mon, 26 Mar 2012 19:13:31 +0000 (19:13 +0000)]
LinGui: fix default value for fallback audio encoder for autopassthru
incorrect string caused fallback to go to aac instead of ac3 as it should.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4544 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix build scripts.
sr55 [Sun, 25 Mar 2012 19:07:39 +0000 (19:07 +0000)]
WinGui: Fix build scripts.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4543 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGuWinGui:(WPF) Remove some legacy queue code with the queue models and fix up...
sr55 [Sun, 25 Mar 2012 18:14:10 +0000 (18:14 +0000)]
WinGuWinGui:(WPF) Remove some legacy queue code with the queue models and fix up some issues with the quality slider on the new video tab. Improve the User settings service code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4542 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoFix hb_apply_h264_level. x264_sps_init doesn't yet take VBV into account when setting...
Rodeo [Sun, 25 Mar 2012 16:53:11 +0000 (16:53 +0000)]
Fix hb_apply_h264_level. x264_sps_init doesn't yet take VBV into account when setting the H.264 profile.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4541 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoAdd Auto Passthru support to manicure.
Rodeo [Sun, 25 Mar 2012 15:24:50 +0000 (15:24 +0000)]
Add Auto Passthru support to manicure.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4539 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoAdd "Web Optimized" support to manicure. Patch by Sam Homer, thanks!
Rodeo [Sun, 25 Mar 2012 14:38:07 +0000 (14:38 +0000)]
Add "Web Optimized" support to manicure. Patch by Sam Homer, thanks!

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4537 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Port the Advanced Panel for x264 from VidCoder.
sr55 [Sat, 24 Mar 2012 21:31:49 +0000 (21:31 +0000)]
WinGui: (WPF) Port the Advanced Panel for x264 from VidCoder.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4536 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMisc. improvements to the previous commit.
Rodeo [Sat, 24 Mar 2012 20:13:53 +0000 (20:13 +0000)]
Misc. improvements to the previous commit.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4535 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoAdd hb_apply_h264_level(). Sets and ensures compliance with the specified H.264 level...
Rodeo [Sat, 24 Mar 2012 19:26:12 +0000 (19:26 +0000)]
Add hb_apply_h264_level(). Sets and ensures compliance with the specified H.264 level. Does not modify framerate and resolution but prints warnings when they are incompatible with the requested level.

Exposed to CLI users only via the --h264-level option. GUI support may come later, once we decide how to handle x264 presets/tunes/profiles.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4534 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Setup all the Installer (Nightly and Release, x86/64) and Build scripts...
sr55 [Sat, 24 Mar 2012 19:18:24 +0000 (19:18 +0000)]
WinGui: (WPF) Setup all the Installer (Nightly and Release, x86/64) and Build scripts for the new UI.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4533 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Fixes to the Audio and Subtitle panels. Add pdb's to installer.
sr55 [Sat, 24 Mar 2012 16:17:04 +0000 (16:17 +0000)]
WinGui: (WPF) Fixes to the Audio and Subtitle panels. Add pdb's to installer.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4532 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Turn Full debug on for the Windows GUI, and include pdb's in the nightly...
sr55 [Fri, 23 Mar 2012 23:58:32 +0000 (23:58 +0000)]
WinGui: Turn Full debug on for the Windows GUI, and include pdb's in the nightly builds.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4531 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (trunk) Fix Default preset option not working for custom presets.
sr55 [Fri, 23 Mar 2012 21:29:03 +0000 (21:29 +0000)]
WinGui: (trunk) Fix Default preset option not working for custom presets.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4529 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Wired up the queue window and added missing functionality. Fixed issues...
sr55 [Fri, 23 Mar 2012 20:00:02 +0000 (20:00 +0000)]
WinGui: (WPF) Wired up the queue window and added missing functionality. Fixed issues on the main windows with regards to GUI widgets not updating during encoding.

WinGui: (WinForms): Added >=30fps options in framerate dropdown

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4526 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMacGui: Remove Detelecine from the Hi Profile Preset.
dynaflash [Fri, 23 Mar 2012 14:22:32 +0000 (14:22 +0000)]
MacGui: Remove Detelecine from the Hi Profile Preset.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4525 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoFix loop counter decrement in CFR frame duplication code. CFR would never duplicate...
Rodeo [Wed, 21 Mar 2012 22:09:35 +0000 (22:09 +0000)]
Fix loop counter decrement in CFR frame duplication code. CFR would never duplicate a frame more than once, causing major A/V desync when the output framerate was over twice that of the input.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4523 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix exception when adding to queue.
sr55 [Tue, 20 Mar 2012 19:49:31 +0000 (19:49 +0000)]
WinGui: Fix exception when adding to queue.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4522 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Fix duration display
sr55 [Tue, 20 Mar 2012 19:45:32 +0000 (19:45 +0000)]
WinGui: (WPF) Fix duration display

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4521 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix broken duration display.
sr55 [Tue, 20 Mar 2012 19:44:28 +0000 (19:44 +0000)]
WinGui: Fix broken duration display.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4520 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoAdd framerate values for 30, 50, 60000/1001 and 60 fps.
Rodeo [Mon, 19 Mar 2012 22:00:26 +0000 (22:00 +0000)]
Add framerate values for 30, 50, 60000/1001 and 60 fps.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4518 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Started implementing the startup procedure: Update checking, Preset...
sr55 [Mon, 19 Mar 2012 20:18:46 +0000 (20:18 +0000)]
WinGui: (WPF) Started implementing the startup procedure: Update checking, Preset updates, CLI monitoring.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4517 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix problem with early termination when stream has no PCRs
jstebbins [Sun, 18 Mar 2012 19:43:12 +0000 (19:43 +0000)]
libhb: fix problem with early termination when stream has no PCRs
A prior change I made fixed an issue with misdetection of discontinuities,
but it created this early termination problem.  I didn't see it because
all my PCR-less samples were less than 5 minutes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4514 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: Fix detection of streams in tivo captures
jstebbins [Sun, 18 Mar 2012 18:25:35 +0000 (18:25 +0000)]
libhb: Fix detection of streams in tivo captures
Tivo creates an initial program stream map that is incomplete, missing
the video stream definition.  So don't quit scanning for new streams after
seeing the first program stream map.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4513 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoTesting Github SVN Access.
sr55 [Sun, 18 Mar 2012 15:18:52 +0000 (15:18 +0000)]
Testing Github SVN Access.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4512 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Numerous fixes / UI tweaks.
sr55 [Sun, 18 Mar 2012 14:36:15 +0000 (14:36 +0000)]
WinGui: (WPF) Numerous fixes / UI tweaks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4511 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Added Debug menu (1. Show CLI Query to allow for easier debugging)...
sr55 [Sat, 17 Mar 2012 23:33:54 +0000 (23:33 +0000)]
WinGui: (WPF) Added Debug menu (1. Show CLI Query to allow for easier debugging).  Wired up most tabs into the EncodeTask object so the parameters are sent to the encode engine. General code tidy-up and fixes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4510 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Add x64 target for HandBrakeWPF
sr55 [Sat, 17 Mar 2012 18:49:01 +0000 (18:49 +0000)]
WinGui: (WPF) Add x64 target for HandBrakeWPF

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4509 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Wired up the Add Preset window and setup the build scripts to create...
sr55 [Sat, 17 Mar 2012 18:36:35 +0000 (18:36 +0000)]
WinGui: (WPF) Wired up the Add Preset window and setup the build scripts to create Alpha Builds for this project.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4508 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix an issue with the Query Parser Utility Class which would miss out x264...
sr55 [Sat, 17 Mar 2012 14:18:34 +0000 (14:18 +0000)]
WinGui: Fix an issue with the Query Parser Utility Class which would miss out x264 settings when importing presets.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4506 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (trunk) Fix an issue with the update check / build number storage code. It...
sr55 [Sat, 17 Mar 2012 13:11:46 +0000 (13:11 +0000)]
WinGui: (trunk) Fix an issue with the update check / build number storage code. It could throw an exception under certain circumstances.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4505 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Preview pane grouping added.
sr55 [Sat, 10 Mar 2012 16:15:42 +0000 (16:15 +0000)]
WinGui: (WPF) Preview pane grouping added.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4503 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (trunk) Fix an issue with Autonaming destination file with multi-dot extensions
sr55 [Sat, 10 Mar 2012 16:15:06 +0000 (16:15 +0000)]
WinGui: (trunk) Fix an issue with Autonaming destination file with multi-dot extensions

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4502 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fixed a display issue on the audio mixdown control when AutoPassthru is selected
sr55 [Tue, 6 Mar 2012 20:44:26 +0000 (20:44 +0000)]
WinGui: Fixed a display issue on the audio mixdown control when AutoPassthru is selected

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4500 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: trunk ranch switch installer to use .NET 4 Client Profile.
sr55 [Sun, 4 Mar 2012 21:41:26 +0000 (21:41 +0000)]
WinGui: trunk ranch switch installer to use .NET 4 Client Profile.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4497 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Add basic Preview window.
sr55 [Sun, 4 Mar 2012 16:27:56 +0000 (16:27 +0000)]
WinGui: (WPF) Add basic Preview window.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4495 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Wiring up the Subtitles Auto-selection and Point-to-Point on the main...
sr55 [Sun, 4 Mar 2012 14:59:30 +0000 (14:59 +0000)]
WinGui: (WPF) Wiring up the Subtitles Auto-selection and Point-to-Point on the main window.
Also fixed the subtitles key defaults.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4494 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoUpdating doc files in trunk
sr55 [Sun, 4 Mar 2012 12:42:44 +0000 (12:42 +0000)]
Updating doc files in trunk

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4492 b64f7644-9d1e-0410-96f1-a4d463321fa5