OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoMacGui: Remove legacy preset code
dynaflash [Thu, 4 Dec 2008 16:25:42 +0000 (16:25 +0000)]
MacGui: Remove legacy preset code
- Be aware this makes an 0.9.2 or earlier presets completely deprecated 0.9.3 presets are fine (including any made with the five preceding snapshots).
- Removed almost 300 lines of code

git-svn-id: svn://localhost/HandBrake/trunk@2003 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - validate frame sync the way the standard suggests (via checking the frame crc...
van [Thu, 4 Dec 2008 09:24:33 +0000 (09:24 +0000)]
 - validate frame sync the way the standard suggests (via checking the frame crc) rather than looking at multiple frames. This should reduce the probability of mis-identifying random junk as AC-3 to less than 1 in 2^32.
 - check the crc on every frame so we don't let corrupted data into the decoder.
 - interpret the PTS as per the standard (it's the time of the first frame that starts in the packet, not the time of the first byte of the packet). Incorrect interpretation was resulting in an average 15ms timing error (worse case 31ms).
 - do all the PTS calculations in doubles so we don't get round-off error that will desync the audio & video with 44.1KHz audio sources (these can't appear on DVDs but do show up in avi/mkv/... files).
 - don't rely on the container to give us large enough frame fragments to validate the sync (some containers split audio frames into really small pieces). Instead use the 8K of unused space in the esconfig of the audio object as an accumulation buffer.

git-svn-id: svn://localhost/HandBrake/trunk@2002 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - Elementary streams that scan couldn't type as audio streams have to be completely...
van [Thu, 4 Dec 2008 08:22:37 +0000 (08:22 +0000)]
 - Elementary streams that scan couldn't type as audio streams have to be completely ignored - some of these don't follow the normal PES packet encoding so feeding them downstream to the demuxer will cause strange timing and other problems.
 - make log message correctly reflect our uncertainty about audio stream type so people don't complain about missing AC-3 audio when it isn't really there.
 - add missing av_free_packet in VC-1 keyframe search.

git-svn-id: svn://localhost/HandBrake/trunk@2001 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoGives van the more prominent position in the AUTHORS file he deserves, and adds jsteb...
jbrjake [Thu, 4 Dec 2008 03:14:05 +0000 (03:14 +0000)]
Gives van the more prominent position in the AUTHORS file he deserves, and adds jstebbins to the roll.

git-svn-id: svn://localhost/HandBrake/trunk@2000 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: update readme with list of dependencies for building
jstebbins [Wed, 3 Dec 2008 18:49:40 +0000 (18:49 +0000)]
LinGui: update readme with list of dependencies for building

git-svn-id: svn://localhost/HandBrake/trunk@1999 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoRemove deprecated patch-x264-aq.patch from contribs
dynaflash [Wed, 3 Dec 2008 18:36:57 +0000 (18:36 +0000)]
Remove deprecated patch-x264-aq.patch from contribs

git-svn-id: svn://localhost/HandBrake/trunk@1998 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Picture Settings window - fix issue with freezing when resizing with anamorph...
dynaflash [Wed, 3 Dec 2008 18:13:38 +0000 (18:13 +0000)]
MacGui: Picture Settings window - fix issue with freezing when resizing with anamorphic set to None.

git-svn-id: svn://localhost/HandBrake/trunk@1997 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix live preview on 32 bit platforms
jstebbins [Wed, 3 Dec 2008 17:33:02 +0000 (17:33 +0000)]
LinGui: fix live preview on 32 bit platforms
found an ld flag that prevents export of specific libraries

git-svn-id: svn://localhost/HandBrake/trunk@1996 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFound the ffmpeg initialization problem with VC-1 video.
jstebbins [Wed, 3 Dec 2008 16:18:51 +0000 (16:18 +0000)]
Found the ffmpeg initialization problem with VC-1 video.
So now we can use our own demuxer for streams with VC-1.

git-svn-id: svn://localhost/HandBrake/trunk@1995 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMac: move decmetadata.c to "libhb Sources" in the xcode project like all of the other...
dynaflash [Wed, 3 Dec 2008 16:15:42 +0000 (16:15 +0000)]
Mac: move decmetadata.c to "libhb Sources" in the xcode project like all of the other libhb files

git-svn-id: svn://localhost/HandBrake/trunk@1994 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - allow titles with video but no audio.
van [Tue, 2 Dec 2008 20:53:00 +0000 (20:53 +0000)]
 - allow titles with video but no audio.
 - don't throw away previews just because we hit eof while trying to find audio info.

git-svn-id: svn://localhost/HandBrake/trunk@1993 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoI suspect that eddyg's r1987 didn't really want to totally break transport and progra...
van [Tue, 2 Dec 2008 20:31:06 +0000 (20:31 +0000)]
I suspect that eddyg's r1987 didn't really want to totally break transport and program streams ...

git-svn-id: svn://localhost/HandBrake/trunk@1992 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agogit-svn-id: svn://localhost/HandBrake/trunk@1991 b64f7644-9d1e-0410-96f1-a4d463321fa5
sr55 [Tue, 2 Dec 2008 18:20:34 +0000 (18:20 +0000)]
git-svn-id: svn://localhost/HandBrake/trunk@1991 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: minor adjustments to the display of source information
jstebbins [Tue, 2 Dec 2008 17:16:46 +0000 (17:16 +0000)]
LinGui: minor adjustments to the display of source information

git-svn-id: svn://localhost/HandBrake/trunk@1990 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: free a mark thats used in activity log scrolling
jstebbins [Tue, 2 Dec 2008 16:57:56 +0000 (16:57 +0000)]
LinGui: free a mark thats used in activity log scrolling

git-svn-id: svn://localhost/HandBrake/trunk@1989 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Tue, 2 Dec 2008 14:10:23 +0000 (14:10 +0000)]
WinGui:
- Allows crop 0000 to be stored in presets. Sorry, forgot to change this when the PS3 preset started using it.

git-svn-id: svn://localhost/HandBrake/trunk@1988 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoAdd metadata support to libhb, add importing of MP4 metadata, add export of MP4 metad...
eddyg [Tue, 2 Dec 2008 01:07:02 +0000 (01:07 +0000)]
Add metadata support to libhb, add importing of MP4 metadata, add export of MP4 metadata, add importing of MP4 chapters, add seek to chapter for input files, add new libmp4v2, remove old MP4 chapter muxing - now in libmp4v2.

git-svn-id: svn://localhost/HandBrake/trunk@1987 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add logging level to preferences
jstebbins [Tue, 2 Dec 2008 00:27:38 +0000 (00:27 +0000)]
LinGui: add logging level to preferences

git-svn-id: svn://localhost/HandBrake/trunk@1986 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix cut/past capability in x264 options textview.
jstebbins [Mon, 1 Dec 2008 22:38:29 +0000 (22:38 +0000)]
LinGui: fix cut/past capability in x264 options textview.

git-svn-id: svn://localhost/HandBrake/trunk@1985 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a minor annoyance with how activity window scrolling works.
jstebbins [Mon, 1 Dec 2008 22:20:43 +0000 (22:20 +0000)]
LinGui: fix a minor annoyance with how activity window scrolling works.

git-svn-id: svn://localhost/HandBrake/trunk@1984 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoUpdate ffmpeg to svn r15974, fixed up minor incompatiblities in the ffmpeg LATM diff...
eddyg [Mon, 1 Dec 2008 21:40:15 +0000 (21:40 +0000)]
Update ffmpeg to svn r15974, fixed up minor incompatiblities in the ffmpeg LATM diff context.

git-svn-id: svn://localhost/HandBrake/trunk@1983 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix live preview scaling for PAR's < 1
jstebbins [Mon, 1 Dec 2008 18:21:43 +0000 (18:21 +0000)]
LinGui: fix live preview scaling for PAR's < 1

git-svn-id: svn://localhost/HandBrake/trunk@1982 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix Auto Crop in the Legacy AppleTV preset
dynaflash [Mon, 1 Dec 2008 17:58:56 +0000 (17:58 +0000)]
MacGui: Fix Auto Crop in the Legacy AppleTV preset

git-svn-id: svn://localhost/HandBrake/trunk@1981 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix the deblock filter for live previews.
dynaflash [Mon, 1 Dec 2008 04:54:51 +0000 (04:54 +0000)]
MacGui: Fix the deblock filter for live previews.

git-svn-id: svn://localhost/HandBrake/trunk@1980 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Add selectable logging levels to the Advanced preferences.
dynaflash [Mon, 1 Dec 2008 04:31:31 +0000 (04:31 +0000)]
MacGui: Add selectable logging levels to the Advanced preferences.
- Defaults to 1 still
- Range of 0 (off) to 2 (very verbose)

git-svn-id: svn://localhost/HandBrake/trunk@1979 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 30 Nov 2008 21:06:51 +0000 (21:06 +0000)]
WinGui:
- Fixes "Audio" typo on Queue Window
- If AppleTV is selected, don't reset audio track 2 on new scan

git-svn-id: svn://localhost/HandBrake/trunk@1978 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: when setting up a live preview encode, ignore current chapter settings.
jstebbins [Sun, 30 Nov 2008 17:52:45 +0000 (17:52 +0000)]
LinGui: when setting up a live preview encode, ignore current chapter settings.
if all chapters aren't enabled, the encode exits without completing.

git-svn-id: svn://localhost/HandBrake/trunk@1977 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFix one massively stupid & one moderately stupid bug I introduced into the DTS PTS...
van [Sun, 30 Nov 2008 08:01:51 +0000 (08:01 +0000)]
Fix one massively stupid & one moderately stupid bug I introduced into the DTS PTS handling.

git-svn-id: svn://localhost/HandBrake/trunk@1976 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Remove custome decomb option from preferences and Picture Settings
dynaflash [Sun, 30 Nov 2008 05:02:38 +0000 (05:02 +0000)]
MacGui: Remove custome decomb option from preferences and Picture Settings
- Remove the text field to enter  a custom decomb string in the Preferences > Picture window
- Change the NSPopup for decomb to a checkbox in Picture Settings.

git-svn-id: svn://localhost/HandBrake/trunk@1975 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: set job->seek_points when generating live preview
jstebbins [Sun, 30 Nov 2008 04:33:08 +0000 (04:33 +0000)]
LinGui: set job->seek_points when generating live preview

git-svn-id: svn://localhost/HandBrake/trunk@1974 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Picture Previews - increase the maximum number of previews per title from...
dynaflash [Sun, 30 Nov 2008 04:23:20 +0000 (04:23 +0000)]
MacGui: Picture Previews - increase the maximum number of previews per title from 20 to 30.

git-svn-id: svn://localhost/HandBrake/trunk@1973 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Implement variable number of preview frames
dynaflash [Sun, 30 Nov 2008 04:09:33 +0000 (04:09 +0000)]
MacGui: Implement variable number of preview frames
- Set in Preferences -> Advanced and defaulted to 10
- Allows for up to 20 previews per title for now.

git-svn-id: svn://localhost/HandBrake/trunk@1972 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: variable number of preview frames. preference option to set
jstebbins [Sun, 30 Nov 2008 04:01:14 +0000 (04:01 +0000)]
LinGui: variable number of preview frames.  preference option to set
the number of frames

git-svn-id: svn://localhost/HandBrake/trunk@1971 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoAdds two new parameters to hb_scan, to control the number of preview frames generated...
jbrjake [Sun, 30 Nov 2008 04:00:11 +0000 (04:00 +0000)]
Adds two new parameters to hb_scan, to control the number of preview frames generated during scan, and whether or not they're written to disk for later display. This will break any interfaces that use hb_scan until the new params are specified...sorry. Also adds a new job->seek_points setting (set this to the same as the number of previews) to be used with job->start_at_preview when doing live preview encodes, so the seek function has a frame of reference.

Wires up the CLI with a --previews option (long option only) to control the new scan parameters, and defaults the CLI to not writing previews to disk.

git-svn-id: svn://localhost/HandBrake/trunk@1970 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoDon't allow multiple decodes of the same ffmpeg audio stream. Because ffmpeg mixes...
van [Sat, 29 Nov 2008 20:06:26 +0000 (20:06 +0000)]
Don't allow multiple decodes of the same ffmpeg audio stream. Because ffmpeg mixes stream reader state with decoder state we only have one decoder instance for the streamso multiple decode requests will garble the audio and/or cause an abort.
(Since the Universal preset specifies AC-3 passthru, using it on non-ac3 audio caused a second decode of the first audio track to be requested which triggered this bug and resulted in lots of aborts for wmv & avi conversions.)

git-svn-id: svn://localhost/HandBrake/trunk@1969 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 29 Nov 2008 14:44:26 +0000 (14:44 +0000)]
WinGui:
- Small display issue fixed. If audio tracks have no sub format. (e.g Director's Commentary), "()" would be displayed.  Thanks Canvas (http://forum.handbrake.fr/viewforum.php?f=12)

git-svn-id: svn://localhost/HandBrake/trunk@1968 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 28 Nov 2008 19:57:05 +0000 (19:57 +0000)]
WinGui:
- Fixes a problem with res calc.
- Cleans up the Main.cs file a bit.

git-svn-id: svn://localhost/HandBrake/trunk@1967 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 28 Nov 2008 19:21:00 +0000 (19:21 +0000)]
WinGui:
- Just cut down some code, got rid of some duplicated code etc.

git-svn-id: svn://localhost/HandBrake/trunk@1966 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFix 5.1 channels map for vorbis.
ritsuka [Thu, 27 Nov 2008 16:45:02 +0000 (16:45 +0000)]
Fix 5.1 channels map for vorbis.

git-svn-id: svn://localhost/HandBrake/trunk@1965 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
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.

git-svn-id: svn://localhost/HandBrake/trunk@1964 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: tidy up the video, audio, and advanced tabs
jstebbins [Wed, 26 Nov 2008 23:16:59 +0000 (23:16 +0000)]
LinGui: tidy up the video, audio, and advanced tabs

git-svn-id: svn://localhost/HandBrake/trunk@1963 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: remove etched frame clutter from the preview window
jstebbins [Wed, 26 Nov 2008 22:40:15 +0000 (22:40 +0000)]
LinGui: remove etched frame clutter from the preview window

git-svn-id: svn://localhost/HandBrake/trunk@1962 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoRemove the old mpeg4i patches that are now redundant.
eddyg [Wed, 26 Nov 2008 22:04:10 +0000 (22:04 +0000)]
Remove the old mpeg4i patches that are now redundant.

git-svn-id: svn://localhost/HandBrake/trunk@1961 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: reposition the presets frame below toolbar
jstebbins [Wed, 26 Nov 2008 20:01:49 +0000 (20:01 +0000)]
LinGui: reposition the presets frame below toolbar

git-svn-id: svn://localhost/HandBrake/trunk@1960 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 26 Nov 2008 19:52:04 +0000 (19:52 +0000)]
WinGui:
- Queue window is now resizeable. The list of queued items will resize with the window.

git-svn-id: svn://localhost/HandBrake/trunk@1959 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
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.

git-svn-id: svn://localhost/HandBrake/trunk@1958 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: move the picture filters to the preview window.
jstebbins [Wed, 26 Nov 2008 19:19:35 +0000 (19:19 +0000)]
LinGui: move the picture filters to the preview window.
and tidy up the picture tab.

git-svn-id: svn://localhost/HandBrake/trunk@1957 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Cleanup HBPreferncesController and the preferences nib a little. Original...
ritsuka [Wed, 26 Nov 2008 17:00:28 +0000 (17:00 +0000)]
MacGui: Cleanup HBPreferncesController and the preferences nib a little. Original path by blindjimmy

git-svn-id: svn://localhost/HandBrake/trunk@1956 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add a file chooser button for the dest directory. dest file is
jstebbins [Wed, 26 Nov 2008 16:23:23 +0000 (16:23 +0000)]
LinGui: add a file chooser button for the dest directory.  dest file is
separated with its own entry box.

git-svn-id: svn://localhost/HandBrake/trunk@1955 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: make socket connect for appcast run in its own thread. prevents
jstebbins [Tue, 25 Nov 2008 21:41:23 +0000 (21:41 +0000)]
LinGui: make socket connect for appcast run in its own thread.  prevents
long delay at startup when there are network issues.

git-svn-id: svn://localhost/HandBrake/trunk@1954 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - add John A. Stebbins' changes to handle TrueHD and DTS-HD multiplexed streams.
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.

git-svn-id: svn://localhost/HandBrake/trunk@1953 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix live preview window so that changes in the preview window are reflected...
dynaflash [Mon, 24 Nov 2008 19:47:46 +0000 (19:47 +0000)]
MacGui: Fix live preview window so that changes in the preview window are reflected in the main window in real time.

git-svn-id: svn://localhost/HandBrake/trunk@1952 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Live Preview Initial Implementation
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.

git-svn-id: svn://localhost/HandBrake/trunk@1951 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: arg! missed a file
jstebbins [Mon, 24 Nov 2008 00:30:27 +0000 (00:30 +0000)]
LinGui: arg! missed a file

git-svn-id: svn://localhost/HandBrake/trunk@1950 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: live preview.
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

git-svn-id: svn://localhost/HandBrake/trunk@1949 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
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)

git-svn-id: svn://localhost/HandBrake/trunk@1948 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoUpdates change set for 0.9.3
jbrjake [Sun, 23 Nov 2008 19:28:04 +0000 (19:28 +0000)]
Updates change set for 0.9.3

git-svn-id: svn://localhost/HandBrake/trunk@1946 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 23 Nov 2008 19:06:23 +0000 (19:06 +0000)]
WinGui:
- Configured for 0.9.3 release

git-svn-id: svn://localhost/HandBrake/trunk@1943 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: update about box with new handbrake description
jstebbins [Sun, 23 Nov 2008 16:17:15 +0000 (16:17 +0000)]
LinGui: update about box with new handbrake description
and fix typo in preset description

git-svn-id: svn://localhost/HandBrake/trunk@1942 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fixes a minor typo in the description of a preset so it reads "it is no longe...
jbrjake [Sun, 23 Nov 2008 15:49:01 +0000 (15:49 +0000)]
MacGui: Fixes a minor typo in the description of a preset so it reads "it is no longer supported" instead of "it is no supported."

git-svn-id: svn://localhost/HandBrake/trunk@1941 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMakefile fixes. Official stable releases are now built with the "make official" targe...
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.

git-svn-id: svn://localhost/HandBrake/trunk@1940 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a reference to free'd preset dictionary when saving a preset.
jstebbins [Fri, 21 Nov 2008 19:27:59 +0000 (19:27 +0000)]
LinGui: fix a reference to free'd preset dictionary when saving a preset.

git-svn-id: svn://localhost/HandBrake/trunk@1939 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Connect outlet for Video Codec label to it enables/disables properly
dynaflash [Fri, 21 Nov 2008 18:03:48 +0000 (18:03 +0000)]
MacGui: Connect outlet for Video Codec label to it enables/disables properly

git-svn-id: svn://localhost/HandBrake/trunk@1938 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Thu, 20 Nov 2008 21:21:32 +0000 (21:21 +0000)]
WinGui:
- Small fix to allow the updated presets to display correctly.
Note to self: re-write the code for this function. It's awful!

git-svn-id: svn://localhost/HandBrake/trunk@1937 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix issue with queue where cancelling a two pass job during the first pass...
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

git-svn-id: svn://localhost/HandBrake/trunk@1936 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: fix compiler warnings in presets code for jbrjake who is amazed it even worked.
dynaflash [Thu, 20 Nov 2008 17:59:31 +0000 (17:59 +0000)]
MacGui: fix compiler warnings in presets code for jbrjake who is amazed it even worked.

git-svn-id: svn://localhost/HandBrake/trunk@1935 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui and CLI: Finalizes built-in presets for 0.9.3
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.

git-svn-id: svn://localhost/HandBrake/trunk@1934 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: import the latest preset changes
jstebbins [Thu, 20 Nov 2008 15:17:57 +0000 (15:17 +0000)]
LinGui: import the latest preset changes

git-svn-id: svn://localhost/HandBrake/trunk@1933 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 19 Nov 2008 20:35:09 +0000 (20:35 +0000)]
WinGui:
- Fix Format dropdown. It was not setting the file extension correctly, thus not updating the audio and video encoder dropdowns.

git-svn-id: svn://localhost/HandBrake/trunk@1932 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 19 Nov 2008 19:59:41 +0000 (19:59 +0000)]
WinGui:
- Fixed small bug where release build numbers are not matched correctly with the regex.

git-svn-id: svn://localhost/HandBrake/trunk@1931 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 19 Nov 2008 19:29:03 +0000 (19:29 +0000)]
WinGui:
- Changed chapters "to" to "through"

git-svn-id: svn://localhost/HandBrake/trunk@1930 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Change "Chapter x to Chapter y" in the sources area to "Chapter x through...
dynaflash [Wed, 19 Nov 2008 18:15:30 +0000 (18:15 +0000)]
MacGui: Change "Chapter x to Chapter y" in the sources area to "Chapter x through Chapter y" so jbrjake doesn't get confused. ;)

git-svn-id: svn://localhost/HandBrake/trunk@1929 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoUpdate x264 to r1028
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

git-svn-id: svn://localhost/HandBrake/trunk@1928 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - get rid of an unnecessary seek that was messing up either mkv or vc1 decoding.
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.

git-svn-id: svn://localhost/HandBrake/trunk@1927 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix issue where proper width was not observed in preview image when using...
dynaflash [Tue, 18 Nov 2008 17:24:44 +0000 (17:24 +0000)]
MacGui: Fix issue where proper width was not observed in preview image when using loose anamorphic.

git-svn-id: svn://localhost/HandBrake/trunk@1926 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoDon't abort when the ffmpeg vc1 decoder hands us a bogus packet size
van [Tue, 18 Nov 2008 04:24:11 +0000 (04:24 +0000)]
Don't abort when the ffmpeg vc1 decoder hands us a bogus packet size

git-svn-id: svn://localhost/HandBrake/trunk@1925 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 16 Nov 2008 19:29:42 +0000 (19:29 +0000)]
WinGui:

Fix for Ticket #107 - Destination Save File Dialog window now shows extension of currently file in the destination field if there is one.

git-svn-id: svn://localhost/HandBrake/trunk@1924 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - search for IDR frames in blu-ray (m2ts) inputs so we get useful previews
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).

git-svn-id: svn://localhost/HandBrake/trunk@1923 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
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.

git-svn-id: svn://localhost/HandBrake/trunk@1922 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 15 Nov 2008 22:12:01 +0000 (22:12 +0000)]
WinGui:
- Fix: Enable the chapter markers tab if the preset uses chapter markers.

git-svn-id: svn://localhost/HandBrake/trunk@1921 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Add the svn and build number to the individual encode log headers
dynaflash [Sat, 15 Nov 2008 18:31:41 +0000 (18:31 +0000)]
MacGui: Add the svn and build number to the individual encode log headers
- thanks for noticing and reminding me cvk_b.

git-svn-id: svn://localhost/HandBrake/trunk@1920 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCLI: Rearranges and reorganizes the built-in help (-h) , fixes some spelling and...
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.

git-svn-id: svn://localhost/HandBrake/trunk@1919 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 12 Nov 2008 22:38:38 +0000 (22:38 +0000)]
WinGui:
- Fix a potential crash in the Activity window where the window handler may not be initialized in time for the function setText to use it.

git-svn-id: svn://localhost/HandBrake/trunk@1918 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
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.

git-svn-id: svn://localhost/HandBrake/trunk@1917 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agofix pmt processing
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.

git-svn-id: svn://localhost/HandBrake/trunk@1916 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agolibhb support for live preview
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

git-svn-id: svn://localhost/HandBrake/trunk@1915 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a race in update checking that causes random crashes
jstebbins [Tue, 11 Nov 2008 15:50:38 +0000 (15:50 +0000)]
LinGui: fix a race in update checking that causes random crashes

git-svn-id: svn://localhost/HandBrake/trunk@1914 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBumps libx264 to r1024, bringing with it Nehalem optimizations and a goodly number...
jbrjake [Mon, 10 Nov 2008 22:05:27 +0000 (22:05 +0000)]
Bumps libx264 to r1024, bringing with it Nehalem optimizations and a goodly number of spped boosts for those of us on older chips, too.

git-svn-id: svn://localhost/HandBrake/trunk@1913 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Mon, 10 Nov 2008 15:07:28 +0000 (15:07 +0000)]
WinGui:
- Small chapter marker tab fix.  Thanks canvas.

git-svn-id: svn://localhost/HandBrake/trunk@1912 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: oops. forgot to add new appcast files
jstebbins [Sun, 9 Nov 2008 19:27:46 +0000 (19:27 +0000)]
LinGui: oops. forgot to add new appcast files

git-svn-id: svn://localhost/HandBrake/trunk@1911 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add update checking. shows a dialog similar to the macui when
jstebbins [Sun, 9 Nov 2008 19:12:00 +0000 (19:12 +0000)]
LinGui: add update checking.  shows a dialog similar to the macui when
an update is available, but without the "install" option.

git-svn-id: svn://localhost/HandBrake/trunk@1910 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBumps libtheora to 1.0 final and fixes a small problem with r1905's chroma rounding...
jbrjake [Sun, 9 Nov 2008 17:14:55 +0000 (17:14 +0000)]
Bumps libtheora to 1.0 final and fixes a small problem with r1905's chroma rounding re: Theora.

git-svn-id: svn://localhost/HandBrake/trunk@1909 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoHack to make VC1 work: If we get a ts or m2ts with VC1 video, don't say we have a...
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.

git-svn-id: svn://localhost/HandBrake/trunk@1908 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoIf 'auto' audio output rate is selected and that results in an invalid rate for AAC...
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.

git-svn-id: svn://localhost/HandBrake/trunk@1907 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCLI: Adds some conidtionals to manicure.rb so CLI users can override audio settings...
jbrjake [Sat, 8 Nov 2008 20:57:27 +0000 (20:57 +0000)]
CLI: Adds some conidtionals to manicure.rb so CLI users can override audio settings and x264 options when using built-in presets.

git-svn-id: svn://localhost/HandBrake/trunk@1906 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCorrect chroma size for raw video frames - width & height need to be rounded up if...
van [Sat, 8 Nov 2008 06:50:15 +0000 (06:50 +0000)]
Correct chroma size for raw video frames - width & height need to be rounded up if they're odd before dividing by 2.

git-svn-id: svn://localhost/HandBrake/trunk@1905 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - Always use HandBrake's DTS decoder rather than ffmpeg's even for inputs we read...
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.

git-svn-id: svn://localhost/HandBrake/trunk@1904 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 7 Nov 2008 22:28:57 +0000 (22:28 +0000)]
WinGui:
- Fix for the "frmReadDVD.cs - startProc()System.OverflowException:Arithmetic operation resulted in an overflow" error in Title.cs

git-svn-id: svn://localhost/HandBrake/trunk@1903 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix multibyte character issue for Chapter Names
dynaflash [Fri, 7 Nov 2008 15:05:25 +0000 (15:05 +0000)]
MacGui: Fix multibyte character issue for Chapter Names
- Patch by youk, thanks!
- Addressed here http://forum.handbrake.fr/viewtopic.php?f=12&t=7580

git-svn-id: svn://localhost/HandBrake/trunk@1902 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoclean up picture allocation in hb_get_preview and fix minor picture corruption
jstebbins [Fri, 7 Nov 2008 00:22:48 +0000 (00:22 +0000)]
clean up picture allocation in hb_get_preview and fix minor picture corruption
that happens when the width is not divisible by 8.

git-svn-id: svn://localhost/HandBrake/trunk@1901 b64f7644-9d1e-0410-96f1-a4d463321fa5