flush lame encoder
The last mp3 frame was not complete. Most players ignore the broken frame, but
a user ran across some software that handled it badly and crashed.
LinGui: fix loading of multiple subtitles from a preset
under some circumstances the "default" and "forced" flags would end up
on the incorrect entry in the list.
theora: improvements to our theora implementation
- support 2-pass mode which is new to theora 1.1
- set soft target rate control so that single pass abr behaves more like
theora 1.0 and doesn't look quite so awful.
Lingui: make mbtree default follow the state of bframes
when bframes are 0, mbtree default is 0 and user can manually set mbtree to 1
when bframes are 1, mbtree default is 1 and user can manually set mbtree to 0
WinGui:
- Video Preview window is not forced to topMost. Stops VLC window appearing below it.
- Double click the max width label to switch to standard (-w) width
MacGui: Allow and check for 64 bit vlc. Match HandBrake architecture to VLC architecture and warn appropriately.
- This allows 64 bit HB and 64 bit vlc to work harmoniously.
- No vlc and architecture mistmatches link to http://www.videolan.org/vlc/download-macosx.html instead of the main vlc page where only the 32 bit version of vlc is listed for download for mac.
WinGui:
- Possible fix for some exceptions / issues in the Activity window that may occur under unusual conditions that may prevent the log file from being read properly
LinGui: make debian packaging rules work on ubuntu 8.04
needed to specify compatibility with debhelper scripts version 6
and add explicit source path to dh_install
van [Mon, 21 Sep 2009 07:18:49 +0000 (07:18 +0000)]
Fix bug that was causing one sec. of audio to be dropped on many ffmpeg files. Problem is that audio & video can be interleaved in any order but we drop everything up to the first video frame. Since ffmpeg returns a second of audio per read on an audio stream, if audio started before video we lose the first second of it. Changed to allow either audio or video to signal start 'reader'.
MacGui: Remove hosed up "NSString stringWithFormat :"in the advanced panel as we do not need it and never provided a format for some bizarre reason which I am at a loss to explain.
- Quites down two more compiler warnings.
Updates x264 to r1259-dd026f2, bringing with it a bunch of changes you can read about on their git log. The most prominent change is macroblock tree rate control (read about it on doom9), which is on by default, and for most content it produces smaller, better quality encodes. Due to a minor, temporary issue with fades in baseline profile encodes, for the moment I'm disabling mbtree when bframes=0, but this can be overridden through explicitly specifying mbtree=1 in the x264 options string.
Allow dvd sources that have no audio
Removed the code that dropped titles if there was no audio.
Do not add a default audio track in the CLI if there are no audios in the source
WinGui:
- Fix some tooltips in the options and make the "use m4v" tooltip clearer.
- Fix an error in the activity log window where an error message would repeat every few seconds if a log file wasn't found.
- Fix main window display on High Dpi Panels.
WinGui:
- Show the number of encodes pending on the main window. Updates after each new item is added to the queue. Also updates with the status of encodes / items left on the queue.
dvdnav: read error recovery
- patch libdvdnav seek to guarantee the position will move forward when making
a seek request to a position that is after the current position
- when a read error is detected, seek forward and retry.
LinGui: fix a Gtk-CRITICAL error when editing chapter names
After entering a chapter name AND navigitaing to the next name using
the keyboard THEN selecting another name using the mouse, gtk would barf:
Gtk-CRITICAL **: _gtk_tree_view_column_start_editing: assertion `tree_column->editable_widget == NULL' failed
LinGui: improve "auto" audio selection
picks the "best" audio (according to my personal criteria of what's best)
given the input codec and output formats.
build system: add capability to build Leopard target from Snow Leopard Host
To configure for building Leopard target from Snow Leopard:
configure --sysroot /Developer/SDKs/MacOSX10.5.sdk --minver 10.5
build system: fix 32 bit build on Snow Leopard
gcc-4.2 on SL reports i686 (but generates x86_64 code by default)
and uname -m reports i386 (unless you hold 6+4 keys while booting)
so modify configure.py to always add '-arch xxx' option on os x
Also, update libtheora to svn 16547 since the 1.0 release doesn't compile
on SL.
WinGui:
- Fix spelling error with regards to no auto name directory set.
- Lower Res check limit to 620. Should allow overscan tv's to work just fine.
- cleaned up program.cs a bit.
- Fixed the show queue button. It now activates the queue window correctly.
WinGui:
- Remove 2 options.
"Enable DVD drive detection..." Feature seems stable, so no longer required.
"Load my default preset" No real need for this option.
jstebbins [Mon, 31 Aug 2009 18:49:39 +0000 (18:49 +0000)]
libhb: fix PAR issue with DV
For some (maybe all) DV, ffmpeg doesn't give us the sample_aspect_ratio in
the context. So when it's missing, try looking it up in the AVStream info.
sr55 [Sat, 29 Aug 2009 21:08:50 +0000 (21:08 +0000)]
WinGui:
- Fix a nasty culture issue with the Video Quality slider. Should now work correctly for systems which represent floats as 1,25 instead of 1.25
ritsuka [Sat, 29 Aug 2009 07:00:01 +0000 (07:00 +0000)]
MacGUI: Renamed HBPreviewController.mm to HBPreviewController.m to enable the new clang static analyzer goodness, there was no reason for this file to use Objective-C++
sr55 [Fri, 28 Aug 2009 15:04:25 +0000 (15:04 +0000)]
WinGui:
- Fix issue changing file format causing the audio encoder dropdown to be set to ""
- Fixed an issue with autoName function and format dropdown with regards to AC3 in the audio list. Also, CC or SRT
- Combined a bunch of functions in x264Panel into one.
dynaflash [Wed, 26 Aug 2009 16:50:51 +0000 (16:50 +0000)]
MacGui: Picture Filters
- Re order NSPopupButton selections for Detelecine, Decomb, Deinterlace, and Denoise so the first three choices for each are ordered: Off, Custom, Default
- Change so off is "Off" instead of "None"
- NOTE: This *will* break any custom user presets that use these filters. You will need to recreate them. Built In Presets will be updated properly.
sr55 [Wed, 26 Aug 2009 16:47:33 +0000 (16:47 +0000)]
WinGui:
- Updated Growl to 2.0.0.20
- Added 2 new options. "Growl when queue completes" and "Growl when encode completes"
- Added 1 new option. "Disable Resolution Calculation for "None" and "Custom" modes."
- Changed Filters dropdown menus for consistency and to match the new layout
- Fixed a problem with the Destination save dialog box double appending a file extension. Also added m4v to the filer.
jstebbins [Wed, 26 Aug 2009 16:29:05 +0000 (16:29 +0000)]
LinGui: picture filter changes
- change "None" to "Off" for detelecine, decomb, deinterlace, and denoise
- add decomb/deinterlace switch, hide controls that are not active
- update builtin presets to reflect change in order of "Custom" option
sr55 [Tue, 25 Aug 2009 16:16:00 +0000 (16:16 +0000)]
WinGui:
- Fix several issues with Picture Settings panel related to aspect ration and resolution calculation.
- Fix issue where file extension could be mp4 when chapters is enabled. Problem in the autoname function.
- Fix a regex error in the appcast reader and make it more robust to errors.
- Clear up changelog
jstebbins [Mon, 24 Aug 2009 17:32:22 +0000 (17:32 +0000)]
build system: some changes that simplify things for packaging tools
- Add DESTDIR to install path for HandBrakeCLI
- Modify linux packaging rules for deb and rpm packages to use DESTDIR
- lingui: only update icon cache during install if DESTDIR is not set
- patch out the hardcoded install path for m4 macros in libdvdread and libdvdnav
when uid==0
ritsuka [Fri, 21 Aug 2009 12:25:51 +0000 (12:25 +0000)]
Reworked the hud to be more responsive, and added a category to QTMovieView so the hud is displayed even if fMovieView is the first responder.
Cleanup the movie loading code for future changes.
sr55 [Wed, 19 Aug 2009 13:02:50 +0000 (13:02 +0000)]
WinGui:
- Changed the Chapter Markers tab so that it doesn't clear the Chapter names if the feature is disable / re-enabled. It'll now keep user set names for each source.
- Moved the Add/Remove buttons to the top of the audio panel. This should better indicate the work flow.
- Moved the Add/remove subtitle buttons to the top of the subtitle panel for the same reason.
jstebbins [Mon, 17 Aug 2009 13:30:14 +0000 (13:30 +0000)]
LinGui: fix dependency in makefile
ghbcellrenderertext.$(OBJEXT) depends on marshalers.h, not ghbcellrenderertext.c
I can't see why, but this could be related to the random deletion of this
source file.
jstebbins [Mon, 17 Aug 2009 13:13:53 +0000 (13:13 +0000)]
LinGui: fix incorrect test in Makefile.am
change "test -n" to "test -d".
check for directory existence instead of checking for an empty string when
the string can never be empty
jstebbins [Tue, 11 Aug 2009 17:41:04 +0000 (17:41 +0000)]
LinGui: fix some compatibility issues
- use new gnome session manager when available for shutdown and pm inhibit
- fall back to old gnome power manager when sm is not available
- fix webkit build error on Ubuntu 8.04 TLS
jstebbins [Sun, 9 Aug 2009 16:51:44 +0000 (16:51 +0000)]
libhb: don't truncate last chapter of a stream
When an ffmpeg stream doesn't have chapters, we insert a dummy chapter
into our chapter list that has the same duration as the title. But the
title duration is only a guess. Later, when the chapter end time is reached,
we increment the chapter number. In the reader, we exit if the current
chapter number is greater than the last chapter. This patch only increments
the chapter number in stream if there is actually another chapter. This
way reader will continue till the file is exhausted