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)"
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.
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.
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).
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.
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.
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.
jstebbins [Tue, 8 Feb 2011 01:24:07 +0000 (01:24 +0000)]
Fix issue with decoding DTS-HD streams
We now inspect the new profile member of AVCodecContext to determine if
the stream is DTS or DTS-HD and send it to the appropriate decoder.
jstebbins [Mon, 7 Feb 2011 22:46:01 +0000 (22:46 +0000)]
Fix a hang in sync
If one stream has no content and other streams have almost no content,
we were hanging while waiting for the first pts in the streams.
This could be reproduced by attempting to encode only the last 0-length chapter
of a DVD.
jstebbins [Fri, 4 Feb 2011 19:38:03 +0000 (19:38 +0000)]
bump ffmpeg from svn 25689 to git 185a155
Fixes a couple h.264 decode issues
Fixes uft16-le chapter names in mov/mp4 files
Improved ac3 encoder
Numerous other bug fixes and improvements
sr55 [Sat, 29 Jan 2011 21:29:26 +0000 (21:29 +0000)]
WinGui:
- Refactor the preset service and move to the Application Services.
* Left the old service in place for now, will hook the new service in later.
jstebbins [Fri, 28 Jan 2011 23:18:21 +0000 (23:18 +0000)]
LinGui: add CFR option for "Same as source" framerate.
Since there seem to be a lot of players that do not properly support VFR,
add a CFR option that can be used with "Same as source". The framerate to
use comes from the title and the cfr flag is set in the job.
saintdev [Wed, 26 Jan 2011 09:50:05 +0000 (09:50 +0000)]
libhb: Disable managed mode for Vorbis ABR.
Disable managed mode for Vorbis encoding. According to libvorbis docs this means
that although the bitrate is specified explicitly (instead of setting a quality
level), we get VBR encoding and the bitrate is only taken as a loose target.
sr55 [Sat, 22 Jan 2011 18:02:19 +0000 (18:02 +0000)]
WinGui:
- Refactored some more code out of the UI project into the Services Project.
- Added support for showing bluray drives to the "Source" dropdown menu
dynaflash [Wed, 19 Jan 2011 22:35:46 +0000 (22:35 +0000)]
MacGui: In Preferences, Instead of the old "Use iTunes / iPod friendly file extension for mp4" checkbox we allow three choices:
- Auto (Default): will use .mp4 unless any of the conditions are met for Apple devices to use .m4v such as AC3 audio or chapters, etc.
- .m4v: will set the extension to .m4v regardless of settings.
- .mp4: will set the extension to .mp4 regardless of settings.
Basically anything other than Auto forces either the .m4v or .mp4 file extension. Again "Auto" is default.
Note: This deprecates the old preferences plist key "DefaultMpegName" which was just a bool and adds "DefaultMpegExtension" which is a string. As a result users that had the old "Use iPod/iTunes friendly (.m4v) file extension for MP4" checkbox checked will need to select ".m4v" in the new preferences dialogue.
sr55 [Sun, 16 Jan 2011 19:50:00 +0000 (19:50 +0000)]
WinGui:
- Switch to .NET 4 Client Profile (Far smaller download size than the full profile .NET 3.5 installer that is currently required if the user does not have .Net installed)
- Import HandBrakeInterop library (by RandomEngy)
- Added experimental LibScan:IScan service to use libhb for scanning via the interop library. This is automatically used if hb.dll is detected in HandBrake's folder, otherwise HandBrakeCLI is used for the scan.
jstebbins [Sat, 15 Jan 2011 21:15:47 +0000 (21:15 +0000)]
fix problem with large ssa subtitle batches stalling the pipeline.
ssa subtitles can come in a large batch. since each subtitle gets it's own
buffer, a large batch of them was filling the fifo and causing a stall.
sr55 [Sat, 15 Jan 2011 20:14:03 +0000 (20:14 +0000)]
WinGui:
- Remove the limitations on the numeric widgets on the Picture settings panel. Seems that we can have some rather large par values >64K from time to time.
sr55 [Sat, 15 Jan 2011 19:11:12 +0000 (19:11 +0000)]
WinGui:
- Switch over to the new queue processor service. Please report any bugs found in the queue system. It may be a bit buggy until all the kinks are worked out
jstebbins [Thu, 13 Jan 2011 17:39:02 +0000 (17:39 +0000)]
fix double free in handling of last CC message
the code dealing with cc messages stores the last message in 2 places.
sometimes it would free both and sometimes it would send one down the
pipeline and free the other.
sr55 [Sun, 9 Jan 2011 14:37:29 +0000 (14:37 +0000)]
WinGui:
- Continuing on with the Application Services re-factoring:
* Added new QueueManager - Manages queue jobs, add, remove, up, down, save, etc
* Queue Processor - Processes a Queue
* New Models (Encode Task + associated model objects) Used for storing jobs as an object rather than query.
jstebbins [Mon, 3 Jan 2011 17:24:37 +0000 (17:24 +0000)]
Add a few items to news
Core
- VOBSUB subtitle now supported in MP4 files (Note: Limited Player compatibility)
- AC3 encoding support.
- Improved DVD Main Feature detection (when using dvdnav)
- Universal audio downmix support (all audio types can be downmixed)
All GUIs
- Peak framerate option (Capped VFR)
- Point-to-Point encoding (second or frame start and end times)
Mac GUI
- VLC detection in /Applications and ~/Applications
Linux GUI
- Multiple instance support (run multiple copies of ghb at once)