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)
jstebbins [Sun, 2 Jan 2011 20:35:30 +0000 (20:35 +0000)]
fix a problem reading flv files that have null packets
ffmpeg will return error code EAGAIN for these packets. we were terminating
when seeing this error code.
jstebbins [Sun, 2 Jan 2011 18:21:45 +0000 (18:21 +0000)]
LinGui: add more informative warning about x264 RF 0 usage
When the user sets RF 0, the slider displays "RF: 0 (Warning: lossless)"
and the user will get a dialog when adding to the queue that says
Warning: lossless h.264 selected
Lossless h.264 is not well supported by
many players and editors.
It will produce enormous output files.
Are you sure you wish to use this setting?
sr55 [Fri, 31 Dec 2010 17:08:18 +0000 (17:08 +0000)]
WinGui:
- Quick fix for the folder source selection when selecting a drive letter. It appears escape chars were getting sent to the CLI when they shouldn't have been. I'll tidy this up later.
jstebbins [Thu, 30 Dec 2010 19:18:37 +0000 (19:18 +0000)]
fix a re-synchronization problem in bluray reading
bd_seek doesn't seek to exactly where you tell it to. It goes to the nearest
access unit that is *before* the position you request. When we loose
TS sync, we were doing a bd_seek in the process of resynchronizing that
would take us to a much earlier position. Then we would hit the same
bad location and loose sync again. Lather, rinse, repeat...
dynaflash [Tue, 28 Dec 2010 17:52:00 +0000 (17:52 +0000)]
MacGui: Fix popup and output file extension inconsistency. Patch by Rodeo. Thanks!
- Issue with mis matching formats and extensions described here http://forum.handbrake.fr/viewtopic.php?f=4&t=19001 .
dynaflash [Tue, 28 Dec 2010 17:22:39 +0000 (17:22 +0000)]
MacGui: Only scan ten previews when doing a queue encode scan since we don't need additional previews at this point since everything is already set.
- Patch by Rodeo. Thanks!
dynaflash [Mon, 27 Dec 2010 16:22:21 +0000 (16:22 +0000)]
MacGui: Free the source display name for the ui before re-allocating it when doing a queue edit rescan.
- Fixes a consistent crash when trying to edit a queue item.
jstebbins [Thu, 16 Dec 2010 23:38:58 +0000 (23:38 +0000)]
Adjust x264 qpmin for QT compatibility.
A recent change in x264 lowered the default qpmin to 0.
QuickTime has trouble with very low QPs (resulting in visual artifacts).
Known to affect QuickTime 7, QuickTime X and iTunes.
Testing shows that a qpmin of 3 works.
dynaflash [Thu, 2 Dec 2010 00:25:54 +0000 (00:25 +0000)]
x264 bump from r1790 to r1804
- this bump actually has the weightp 1 improvement which was an error in the last bump. Duh!
- Again the weightp 1 improvement is noted here http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=e440dc0f7909c67cdca148fc8a9ea413521e0e5b
- Also changes qpmin default to 0 as addressed here http://git.videolan.org/?p=x264.git;a=commit;h=04256645537d17b66f2a46bd8605859e91e0cf8a