sr55 [Thu, 27 Nov 2008 14:39:02 +0000 (14:39 +0000)]
WinGui:
- Removed RAM limitation code on startup.
- Gets rid of the SystemInfo Class. It's no longer required. Since the ram limitation code has been remove, only the activity window needs access to the information, so, the code has been moved to frmActivityWindow.cs
- Removed some redundant code from frmMain.cs. Cleaned the startup code block up a bit.
- Re-structured frmMain.cs. Moved the code around into more logical regions.
sr55 [Wed, 26 Nov 2008 19:32:53 +0000 (19:32 +0000)]
WinGui:
- The Queue Recovery, inport/export features now use an XML based file system rather than text file.
- Queue now uses class based Queue Items for storing data rather than an arraylist.
- Fixes an issue where the source and/or destination would not show up in the list of queue items.
- Queue progress meter will now update correctly if a user adds more items to the queue after starting the queue.
van [Tue, 25 Nov 2008 07:55:51 +0000 (07:55 +0000)]
- add John A. Stebbins' changes to handle TrueHD and DTS-HD multiplexed streams.
- give transport streams their own demuxer rather than constructing fake PS packets to use the DVD demuxer.
- start re-doing the transport stream code so it does fewer memory to memory copies.
dynaflash [Mon, 24 Nov 2008 10:01:06 +0000 (10:01 +0000)]
MacGui: Live Preview Initial Implementation
- Uses a separate instance of libhb called fPreviewLibhb to do the preview encode. Bypasses the queueing system so you can encode a live preview on one source while encoding another.
- All facets of the encode are replicated (including but not limited to audio tracks, subtitles and picture filters) *except* 2 pass. For speed's sake we only do one pass which should be more than sufficient for a 6 to 60 second preview.
- Live Preview clips are stored in "~/Library/Application Support/HandBrake/Previews/" and remain until a new preview is called for of the same format in which case the old version of "mymovie.mkv" would be replaced with a current version called "mymovie.mkv".
- Uses QTMovieView and QTMovieKit to show 5 - 60 seconds in 5 second increments (determined by a user set NSPopUpButton) of a live preview from the starting point of any of the existing 10 still previews.
- Preview window is now non-modal so can be kept open to see the effect of changing presets, etc.
- Next and Previous buttons replaced with a 10 position slider
- Live Preview is shown same as users QuickTime implementation would show it. ie. without Perian installed, mkv's will not play back, etc.
- Uses QT's stock controller bar with volume, scrubber and single frame advance buttons.
- Known Issues: Movie alignment against the still preview considering the additional height of the movie controller bar. Particularly using loose anamorphic. I am sure there are others.
jstebbins [Mon, 24 Nov 2008 00:18:17 +0000 (00:18 +0000)]
LinGui: live preview.
this adds new prerequisites to the build. now needs:
gthread-2.0, gstreamer-0.10, gstreamer-interfaces-0.10,
gstreamer-video-0.10, gstreamer-pbutils-0.10
sr55 [Sun, 23 Nov 2008 21:54:21 +0000 (21:54 +0000)]
WinGui:
- Seriously? Again? yes, well, 2 big bugs right after release. Release build update with these fixes.
- Presets don't set m4v correctly.
- Presets reset Title and chapters to auto. (this is bad)
jbrjake [Fri, 21 Nov 2008 20:54:03 +0000 (20:54 +0000)]
Makefile fixes. Official stable releases are now built with the "make official" target, while the default remains a snapshot. This stuff really needs to be revised after 0.9.3.
dynaflash [Thu, 20 Nov 2008 20:52:03 +0000 (20:52 +0000)]
MacGui: Fix issue with queue where cancelling a two pass job during the first pass would leave the second pass in libhh which caused the next job to start by processing the remaining pass from the cancelled job.
- addresses bug reported here http://forum.handbrake.fr/viewtopic.php?f=12&t=7420
jbrjake [Thu, 20 Nov 2008 17:08:09 +0000 (17:08 +0000)]
MacGui and CLI: Finalizes built-in presets for 0.9.3
- Adds a Legacy folder nested inside the Apple folder, which holds 0.9.2's AppleTV preset, the old iPod High-Rez preset (iPod Legacy), and the old iPhone preset.
- The standard iPhone preset has ben changed to CRF, loses the iPod 5.5G atom since its prescence was misleading (the preset doesn't employ VBV controls), and gains 2 mixed reference frames.
- The new AppleTV preset has been slightly nerfed down to subme 7 from subme 9.
- The iPod Classic and Nano preset (formerly known as iPod Low-Rez) has been retitled to simply iPod as it is compatible with the older 5G models.
dynaflash [Wed, 19 Nov 2008 16:42:31 +0000 (16:42 +0000)]
Update x264 to r1028
- couple of bufixes since the previous r1024
http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=83baa7fdd2edf3e2f9522fc8b79e0826bcf190fc
van [Wed, 19 Nov 2008 04:13:11 +0000 (04:13 +0000)]
- get rid of an unnecessary seek that was messing up either mkv or vc1 decoding.
- switch av_seek_frame to zero back to time-based rather than byte-based since time-based screws up mkv & mp4 while time-based works for everything but vc1.
- since ffmpeg doesn't correctly indicate key frames in vc1 look for them ourselves so that vc1 previews & cropping will work.
van [Sun, 16 Nov 2008 03:50:13 +0000 (03:50 +0000)]
- search for IDR frames in blu-ray (m2ts) inputs so we get useful previews
- don't require a key frame after we seeking to the beginning of the file (this was probably causing the leading PPS & SPS of some blu-ray h.264 content to get dropped which resulted in a few seconds of missing video).
sr55 [Sat, 15 Nov 2008 22:42:22 +0000 (22:42 +0000)]
WinGui:
- Fix a problem with loading presets. Height would be automatically generated if only a width was selected and a source had been scanned. The MaxWidth and Height causes a small libhb conflict, therefor, do not automatically generate a height when maxHeight or maxWidth is used.
jbrjake [Thu, 13 Nov 2008 16:47:38 +0000 (16:47 +0000)]
CLI: Rearranges and reorganizes the built-in help (-h) , fixes some spelling and technical errors in the descriptions, and removes the hard tabs from that section of test.c.
sr55 [Wed, 12 Nov 2008 15:57:39 +0000 (15:57 +0000)]
WinGui:
- Adds the CLI query to the top of every log file generated after an encode finishes. Note: CLI query will only display in the activity window after the CLI has exited. This can be sorted later.
jstebbins [Tue, 11 Nov 2008 17:20:03 +0000 (17:20 +0000)]
fix pmt processing
there were 2 problems
1. when the program list in the pat contains a network PID, the pmt parsing
code doesn't properly skip this entry. this causes attempts to interpret
a pat as a pmt since the pid entry in the table is left initialized to 0.
2. pmt parsing always waits till the start of the second pmt section before
parsing the first. if for some reason there were only one pmt in the
stream, it would never parse the pmt. I've changed it to parse the pmt
as soon as all the necessary bytes are collected.
jstebbins [Tue, 11 Nov 2008 16:05:16 +0000 (16:05 +0000)]
libhb support for live preview
set job->start_at_preview to the preview frame you want to start at
set job->pts_to_stop to the number of 90khz ticks duration
van [Sun, 9 Nov 2008 01:49:59 +0000 (01:49 +0000)]
Hack to make VC1 work: If we get a ts or m2ts with VC1 video, don't say we have a valid stream. This will cause HB to try to open it with ffmpeg which often can read VC1 TS streams.
van [Sun, 9 Nov 2008 01:45:52 +0000 (01:45 +0000)]
If 'auto' audio output rate is selected and that results in an invalid rate for AAC, select the next higher valid rate. This should make wmv's & avi's with weird audio rates more likely to work with the default HB settings.
van [Sat, 8 Nov 2008 06:26:57 +0000 (06:26 +0000)]
- Always use HandBrake's DTS decoder rather than ffmpeg's even for inputs we read via ffmpeg so that we get the user-specified mixdown. Otherwise we eventually abort in the sample rate converter or audio encoder.
- Teach HB's DTS coder to handle implicit timestamps so that it doesn't screw up on mkv's & some m2ts inputs.
- mkv's produced from Bluray HD content seem to have large timestamp errors - filter them out in the decoder so that sync doesn't drop big chunks of our audio.
jstebbins [Thu, 6 Nov 2008 22:30:11 +0000 (22:30 +0000)]
LinGui: fix start chapter range. allowed entry of chapter numbers beyond
the number of chapters on the disc
Fix a problem with picture scaling. non-anamorphic was allowing dimensions to
be entered that were larger than the title dims.
sr55 [Thu, 6 Nov 2008 21:26:55 +0000 (21:26 +0000)]
WinGui:
- Set's DRC to 1 by default.
- Chapter Markers tab only enabled if it's a DVD source or ISO image.
- -X and -Y options now parsed by the query parser.
- Added a small hack to allow built-in presets to use -X and -Y and have the query generator correctly generate the query.
jbrjake [Sat, 1 Nov 2008 15:32:37 +0000 (15:32 +0000)]
Minor tweaks the job config display for the COLR atom: only show when not using a default value, display with the name "color matrix" instead of "color space" to avoid confusion with conversions to YUV420 planar color space, and appear with the other container settings instead of video settings.
jstebbins [Fri, 31 Oct 2008 23:29:38 +0000 (23:29 +0000)]
LinGui: purge old activity logs that are older than 1 week
this only applies to logs stored in the users config dir
logs that are stored in the movies destination directory are never purged
jstebbins [Fri, 31 Oct 2008 18:03:24 +0000 (18:03 +0000)]
LinGui: Activity Logs for individual encodes
- Individual activity logs are saved in the file format
"YYYY-MM-DD HH-MM-SS mymoviename.log".
- Default directory is <user config idr>/ghb/EncodeLogs
(usually ~/.config/ghb/EncodeLogs)
- Preference available to alternatively put them in the users output
movie directory with the output movie (by default set to "off").
sr55 [Thu, 30 Oct 2008 21:15:28 +0000 (21:15 +0000)]
WinGui:
- Activity logs for individual encodes can now be saved either:
+ With the encoded file
+ or to a a directory which is configured from options.
Log file format: "YYYY-MM-DD HH-MM-SS {Destination File Name}.txt"
Feature is disabled by default
dynaflash [Thu, 30 Oct 2008 18:11:58 +0000 (18:11 +0000)]
MacGui: Acivity Logs for individual encodes initial implementation
- Individual activity logs are saved in the file format "YYYY-MM-DD HH-MM-SS mymoviename.txt".
- Default directory is "~/Library/Application Support/HandBrake/EncodeLogs/".
- Advanced preference available to alternatively put them in the users output movie directory with the output movie (by default set to "off").
- Renamed the existing contextual menu items for the Activity Window to better reflect choices (function remains the same) as follows:
-- "Copy All Output" -> "Copy Window Contents".
-- "Clear Output" -> "Clear Window Contents".
-- "Open Log File" -> "Open Log File For This Session".
-- "Clear Log File" -> "Clear Log File For This Session".
- Added "Open Individual Log File Directory" to the Activity Window contextual menu to open this directory with the Finder
- Also commented out some macgui based activity log messages that were used to troubleshoot the new queue.
- Note: the individual activity logs are in addition to the existing session based activity log. If you do a scan of a new source during encoding, the new source scan log messages will be intermixed with the encode log messages as I have no clue how to separate stderr/stdout based on which instance of libhb is sending the messages.
van [Thu, 30 Oct 2008 05:38:36 +0000 (05:38 +0000)]
Fix for mpeg content that changes size in the middle of a decode (such as Doctor Who season 1 disc 2 title 4).
Problem reported in http://forum.handbrake.fr/viewtopic.php?f=4&t=4306
eddyg [Wed, 29 Oct 2008 21:22:53 +0000 (21:22 +0000)]
ETSI TS 102 366 V1.2.1 compliant AC3 in MP4, replaces older hacked version that was hardcoding the AC3 stream information in the dac3 atom based on the AppleTV startup movie stream.
van [Sun, 26 Oct 2008 03:33:29 +0000 (03:33 +0000)]
If an input uses a different color space than YUV420 (for example DV video uses YUV411) convert it to YUV420. Also, scale down inputs that have an odd width or height since h.264 requires that the width and height be even.
sr55 [Sat, 25 Oct 2008 20:36:04 +0000 (20:36 +0000)]
WinGui:
- Nested Presets bar (Built-in presets only)
- Both user and built-in presets are now stored in XML files
- Preset bar now has right-click menu with: Expand All, Collapse All and Delete
Known Issues:
- When a preset is removed, all items in the preset bar with child presets are collapsed.
- Right Click menu only works if the preset was selected before right clicking.
Code is probably a bit buggy so all feedback on this new bar is welcome.
dynaflash [Fri, 24 Oct 2008 15:43:55 +0000 (15:43 +0000)]
MacGui: Fix Target Size mode for Video Quality.
- Moved appropriate functions that used to be in prepareJob (pre resilient queue) into -calculateBitrate
- Added calls to -calculateBitrate when the format, audio tracks or chapters change.