OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoOrganizes anamorphic parameters in a struct, requiring some minor search and replace...
jbrjake [Mon, 26 Jan 2009 18:44:27 +0000 (18:44 +0000)]
Organizes anamorphic parameters in a struct, requiring some minor search and replace changes in the interfaces. Folds the logic for strict anamorphic mode into hb_set_anamorphic_size() and also stakes out a new, more customizable mode 3.

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

15 years agoLinGui: tweak how audio choices are made again
jstebbins [Sun, 25 Jan 2009 19:06:13 +0000 (19:06 +0000)]
LinGui: tweak how audio choices are made again
prefer audio tracks with more channels
prefer audio tracks that are not for
visually impaired or director's commentary

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

15 years agoLinGui: add option for title numbers to
jstebbins [Sat, 24 Jan 2009 21:13:05 +0000 (21:13 +0000)]
LinGui: add option for title numbers to
automatically generated destination names

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

15 years agoLinGui: fix how an audio is chosen after a source is scanned or the preset
jstebbins [Sat, 24 Jan 2009 19:26:05 +0000 (19:26 +0000)]
LinGui: fix how an audio is chosen after a source is scanned or the preset
selection changes.  It wasn't honoring the preferred language or matching
the codec when passthru is selected.

Also checking in the ui changes needed for dts pasthru.  The option is
disabled until we get libhb support.

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

15 years agoWinGui:
sr55 [Fri, 23 Jan 2009 21:08:28 +0000 (21:08 +0000)]
WinGui:
- Few more bits of code refactored.
- Added a 10 second limit for the CLI to respond at GUI startup. This will prevent the app from locking if the CLI stalls.

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

15 years agoWinGui:
sr55 [Thu, 22 Jan 2009 21:13:59 +0000 (21:13 +0000)]
WinGui:
- Fixes/Tweaks to the chapter markers tab and handling code.

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

15 years agoMacGui: Preview Window scale to screen initial implementation
dynaflash [Wed, 21 Jan 2009 03:46:14 +0000 (03:46 +0000)]
MacGui: Preview Window scale to screen initial implementation
- Allows scaling the preview to fit the screen when in full screen mode.
- Also hopefully fixes a bug where multiple cycles of windowed and full screen cause the hud overlay to not appear.
- hud overlay delay timer changed from 20 to 10 seconds

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

15 years agoUpdate libmkv and start writing mkv tags, no artwork as yet - haven't had time to...
eddyg [Tue, 20 Jan 2009 05:19:59 +0000 (05:19 +0000)]
Update libmkv and start writing mkv tags, no artwork as yet - haven't had time to do it, sorry. I also had a hard time testing that the tags work. But I could see that they were present in the file, and I could see that it didn't affect playability.

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

15 years agoWinGui:
sr55 [Fri, 16 Jan 2009 20:55:35 +0000 (20:55 +0000)]
WinGui:
- Perform source scanning in the main window rather than a separate window. File Menu > Cancel Scan added in case of a scan lockup.
- Fixed issue where a preset was loaded twice needlessly.
- Support for no audio added.

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

15 years agoMacGui: Remove the decomb string from the main window so decomb uses the libhb default
dynaflash [Thu, 15 Jan 2009 18:55:58 +0000 (18:55 +0000)]
MacGui: Remove the decomb string from the main window so decomb uses the libhb default
- Now instead of reading out the parameters for Decomb the main window just shows On/Off

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

15 years agoDon't resync based on subtitles since their average duration is meaningless.
van [Thu, 15 Jan 2009 07:03:26 +0000 (07:03 +0000)]
Don't resync based on subtitles since their average duration is meaningless.

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

15 years agoMacGui: Picture Preview and Settings window interaction fixes
dynaflash [Wed, 14 Jan 2009 20:20:09 +0000 (20:20 +0000)]
MacGui: Picture Preview and Settings window interaction fixes
- Putting the Preview Window into full screen mode no longer automatically opens up the Picture Settings inspector
- Fixed the Picture Settings inspector so that it isn't on top of every f'ing window on your screen.

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

15 years agoBump x264 to r1077 and remove our patch-x264-idr.patch since idr is now implemented...
dynaflash [Wed, 14 Jan 2009 17:29:06 +0000 (17:29 +0000)]
Bump x264 to r1077 and remove our patch-x264-idr.patch since idr is now implemented within x264
- Note: this will require yasm 0.7.xx to compile. Previous version of x264 would compile with 0.6.1 etc.

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

15 years agoMacGui; save the expanded/collapsed state for folders in the presets drawer.
ritsuka [Wed, 14 Jan 2009 14:42:44 +0000 (14:42 +0000)]
MacGui; save the expanded/collapsed state for folders in the presets drawer.

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

15 years agoMacGui: save the size of the presets drawer in the preferences.
ritsuka [Wed, 14 Jan 2009 11:52:39 +0000 (11:52 +0000)]
MacGui: save the size of the presets drawer in the preferences.

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

15 years agoAdd importing of ffmpeg input chapters.
ritsuka [Wed, 14 Jan 2009 10:20:11 +0000 (10:20 +0000)]
Add importing of ffmpeg input chapters.

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

15 years agoMacGui: no need to reload the chapters nstableview when loading a queue item.
ritsuka [Tue, 13 Jan 2009 18:45:41 +0000 (18:45 +0000)]
MacGui: no need to reload the chapters nstableview when loading a queue item.

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

15 years agoLinGui: inhibit sleep mode while encoding
jstebbins [Tue, 13 Jan 2009 18:39:54 +0000 (18:39 +0000)]
LinGui: inhibit sleep mode while encoding

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

15 years agoLinGui: fix problem with special characters in destination file name
jstebbins [Mon, 12 Jan 2009 19:25:00 +0000 (19:25 +0000)]
LinGui: fix problem with special characters in destination file name
escape the string before displaying in the queue.

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

15 years agoMacGui: Preview Window
dynaflash [Mon, 12 Jan 2009 18:49:16 +0000 (18:49 +0000)]
MacGui: Preview Window
- Add a 20 second no mouse movement delay then fade out the hud overlay controls so that the controls are not always visible as long as the cursor is inside the preview area.
- Note: the 20 seconds might make a nice setting in preferences.

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

15 years agoh.264 i frame shouldn't be marked as sync sample.
ritsuka [Mon, 12 Jan 2009 10:00:59 +0000 (10:00 +0000)]
h.264 i frame shouldn't be marked as sync sample.

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

15 years agoMacGui: Separate Picture Settings and Preview Window Initial Implementation
dynaflash [Mon, 12 Jan 2009 00:07:38 +0000 (00:07 +0000)]
MacGui: Separate Picture Settings and Preview Window Initial Implementation
- Picture Settings is now a hud style inspector panel:
-- Allows more room to be displayed along with Main Window.
-- Has button (though ugly ... for now) to open the preview window.
- Separate Preview Window:
-- Preview Window can now show the entire preview content via a hud style overlay controller (ala iTunes, DvdPlayer controls) activated by mouse movement.
-- Has button to allow opening the Picture Settings inspector.
-- Full Screen Mode (ala iTunes, DvdPlayer) which should help for max preview size for HD sources.
- Note: all hud style controls in this implementation are created only using core animation filters, I decided against a third party hud control framework, though one can certainly be implemented at any time.
- Known Issues:
-- WARNING: Quitting HB while in full screen mode will crash the macgui.
-- The hud overlay controls in the Preview Window will align kind of wonky when the resolution is scaled way below the source.
-- Ideally, after moving the mouse within the preview area then stopping, after a certain amount of time the hud overlay control box should disappear.
-- Hud style controls still need alot of development to fit within the HIG.
-- Need a keboard shortcut for the Preview Window.
-- As usual with initial implementations there are likely many more Bugs/Issues.

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

15 years agoModified contrib Jamfile to use $(MAKE) not "make" for mp4v2 install, patch from...
eddyg [Sun, 11 Jan 2009 22:23:31 +0000 (22:23 +0000)]
Modified contrib Jamfile to use $(MAKE) not "make" for mp4v2 install, patch from KonaBlend.

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

15 years agoAlways use the track samplerate as the timescale for audio tracks. This fixes a probl...
ritsuka [Sun, 11 Jan 2009 09:21:22 +0000 (09:21 +0000)]
Always use the track samplerate as the timescale for audio tracks. This fixes a problem when creating an mp4 with multiple audio tracks that have different samplerate.

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

15 years agoRemove some unused variables
ritsuka [Sun, 11 Jan 2009 08:51:20 +0000 (08:51 +0000)]
Remove some unused variables

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

15 years agoBumps mp4v2 to r224
jbrjake [Sun, 11 Jan 2009 04:32:42 +0000 (04:32 +0000)]
Bumps mp4v2 to r224

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

15 years agoGet previews from H.264 content even if it's missing IDR frames (e.g., NZ TV & some...
van [Sat, 10 Jan 2009 04:47:48 +0000 (04:47 +0000)]
Get previews from H.264 content even if it's missing IDR frames (e.g., NZ TV & some blu-rays):
 - Grab stream characteristics (IDRs or not, PCRs or not, RAPs or not) while we're reading to compute the duration rather than trying to guess with no information later.
 - Only wait for an IDR after a seek if we know the stream has IDRs. Even then, wait for at most 255 frames.
 - If the stream doesn't have IDRs tell scan (via a new flag in the title struct) so that it can read but discard a second's worth of frames to get the decoder in sync withe stream.
 - While we're trying to sync the decoder, ffmpeg will spit out dozens of useless error messages so suppress them.

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

15 years agoLinGui: make the activity, queue, and picture tool bar buttons into toggles
jstebbins [Thu, 8 Jan 2009 22:44:02 +0000 (22:44 +0000)]
LinGui: make the activity, queue, and picture tool bar buttons into toggles
pressing while the corresponding window is displayed hides the window.

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

15 years agoWinGui:
sr55 [Thu, 8 Jan 2009 20:11:26 +0000 (20:11 +0000)]
WinGui:
- Code cleanup. Remoes old using tags, removes unused code, cleans up some functions to make them shorter/more readable etc.

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

15 years agoWinGui:
sr55 [Thu, 8 Jan 2009 19:51:08 +0000 (19:51 +0000)]
WinGui:
- Patch (slightly modified) by ween to allow users to update their own presets via a "save changes" option in the presets right click menu.

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

15 years agoWinGui:
sr55 [Wed, 7 Jan 2009 19:16:33 +0000 (19:16 +0000)]
WinGui:
- Check the encoded sample actually exists before trying to play it in VLC!

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

15 years agoWinGui:
sr55 [Wed, 7 Jan 2009 19:03:04 +0000 (19:03 +0000)]
WinGui:
- Removed rouge label which was used for testing.

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

15 years agoWinGui:
sr55 [Wed, 7 Jan 2009 19:00:57 +0000 (19:00 +0000)]
WinGui:
- Applies http://forum.handbrake.fr/viewtopic.php?f=4&t=8772
- Changes the File Save Dialog box to use the Format dropdown rather than the file extension. Some users seem to have an unusual workflow selecting a format before a file.

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

15 years agoMacGui: include the exact dylib name in the VLC check to pick up out of date versions...
dynaflash [Tue, 6 Jan 2009 15:40:09 +0000 (15:40 +0000)]
MacGui: include the exact dylib name in the VLC check to pick up out of date versions of VLC
- Update the no vlc window accordingly

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

15 years agoWinGui:
sr55 [Mon, 5 Jan 2009 22:28:52 +0000 (22:28 +0000)]
WinGui:
- Queue Encoding code moved from frmQueue.cs to QueueHandler.cs
- QueueHandler now works has events to allow frmMain and frmQueue to update their UI elements based on event triggers (e.g an encode starting or ending).

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

15 years agoWinGui:
sr55 [Mon, 5 Jan 2009 19:19:00 +0000 (19:19 +0000)]
WinGui:
- Removed some white space in a few files.
- Untied options window from frmMain.

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

15 years agoBump x264 to r1065-681544e
dynaflash [Mon, 5 Jan 2009 16:21:44 +0000 (16:21 +0000)]
Bump x264 to r1065-681544e
- Much faster CAVLC RDO and bitstream writing
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=681544ef803f3bd0429659495f97455aed1158a0

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

15 years agoWinGui:
sr55 [Sun, 4 Jan 2009 23:02:32 +0000 (23:02 +0000)]
WinGui:
- Makes the new preview window user accessible from the main window.
- Attempt at a fix for a QT lockup.

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

15 years agoWinGui:
sr55 [Sun, 4 Jan 2009 22:28:21 +0000 (22:28 +0000)]
WinGui:
- Fixes a few issues with the QT preview window and places it in the main directory.

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

15 years agoWinGui:
sr55 [Sun, 4 Jan 2009 22:01:06 +0000 (22:01 +0000)]
WinGui:
- Updated Experimental Preview window to use QuickTime. Plays back video, Encodes samples just fine.

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

15 years agoWinGui:
sr55 [Sat, 3 Jan 2009 22:46:52 +0000 (22:46 +0000)]
WinGui:
- Fixes some bugs/issues with the Queue Windows / Main Window Queue/Encoding tie-in

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

15 years agoWinGui
sr55 [Sat, 3 Jan 2009 21:00:20 +0000 (21:00 +0000)]
WinGui
- Decoupled the Activity window from frmMain and frmQueue.

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

15 years agoWinGui:
sr55 [Sat, 3 Jan 2009 20:34:11 +0000 (20:34 +0000)]
WinGui:
- Just a small tidyup of title.cs and encode.cs

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

15 years agoDisable ssse3 h264_qpel optimizations to workaround a crash in h.264 decoder on OS X.
ritsuka [Thu, 1 Jan 2009 19:15:25 +0000 (19:15 +0000)]
Disable ssse3 h264_qpel optimizations to workaround a crash in h.264 decoder on OS X.
Original patch from the Perian project.

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

15 years agoLinGui: fix a problem with saving specific max-width/height to a preset.
jstebbins [Thu, 1 Jan 2009 17:33:21 +0000 (17:33 +0000)]
LinGui: fix a problem with saving specific max-width/height to a preset.
Legacy UsesMaxPictureSettings tag didn't get converted properly when
new preset is based on an old preset that used it.

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

15 years agoWinGui:
sr55 [Tue, 30 Dec 2008 22:47:48 +0000 (22:47 +0000)]
WinGui:
- Set Default now set's the currently selected preset to default, not the current settings.
- Add Preset can now optionally add a flag to allow saving of picture size information (just like the macgui)

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

15 years agoAdds --start-at-preview and --stop-at-duration and --stop-at-pts options. These corre...
jbrjake [Tue, 30 Dec 2008 21:12:02 +0000 (21:12 +0000)]
Adds --start-at-preview and --stop-at-duration and --stop-at-pts options. These correspond to the job->start_at_preview and job->pts_to_stop variables the MacGui and LinGui use to achieve live preview encodes.

While of course starting at a certain preview is not an optimal way of choosing a starting position for an encode (especially in a CLI), it is fast, and flexible. By altering the number of previews to scan with --previews, it is possible to start an encode at any percentage of the video.

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

15 years agoWinGui:
sr55 [Tue, 30 Dec 2008 21:04:29 +0000 (21:04 +0000)]
WinGui:
- Preview Video setup for Encodes for any of the 10 previews that you'd find in the mac gui, for durations from 5 to 60 seconds.
- Removed some old code

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

15 years agoBumps x264 from to r1063
dynaflash [Mon, 29 Dec 2008 15:42:39 +0000 (15:42 +0000)]
Bumps x264 from to r1063
- Many enhancements since the last r1028
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=84a1ca6ce70fe7bad4922ddc5a72c2e9cd73703b

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

15 years agoWinGui:
sr55 [Sun, 28 Dec 2008 17:53:25 +0000 (17:53 +0000)]
WinGui:
- Right Click menu for the new audio tab.
- Made the list rows a tad thicker to make it easier to right click them.

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

15 years agoWinGui:
sr55 [Sun, 28 Dec 2008 17:25:07 +0000 (17:25 +0000)]
WinGui:
- Option to hide the Query Editor tab.
- Fixed small issue with remove button on the new audio tab. Would error if no track was selected.
- Fixed an issue with the preset bar where selecting an already selected preset wouldn't reset the GUI settings for that preset.

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

15 years agoWinGui:
sr55 [Sat, 27 Dec 2008 21:37:16 +0000 (21:37 +0000)]
WinGui:
- Fix for Queue Pause/Resume not working as expected.

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

15 years agoWinGui:
sr55 [Sat, 27 Dec 2008 20:59:18 +0000 (20:59 +0000)]
WinGui:
- List based Audio Tab (Similar to the Linux GUI)
- Fix for a small bug where x264 widgets are not set for user default settings.

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

15 years agoLinGui: Fix how preset list expands when window is resized.
jstebbins [Wed, 24 Dec 2008 00:01:29 +0000 (00:01 +0000)]
LinGui: Fix how preset list expands when window is resized.
It wasn't, now it does.

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

15 years agoLinGui: Fix a problem with individual activity logs.
jstebbins [Mon, 22 Dec 2008 22:28:59 +0000 (22:28 +0000)]
LinGui: Fix a problem with individual activity logs.
Race would close them immediately after opening sometimes.

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

15 years agoChanges to the Cygwin section of the make file. Allows building of zip packages for...
sr55 [Sun, 21 Dec 2008 17:31:36 +0000 (17:31 +0000)]
Changes to the Cygwin section of the make file. Allows building of zip packages for official and snapshot builds of the CLI using "make official" and "make snapshot"

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

15 years agoWinGui:
sr55 [Sun, 21 Dec 2008 17:08:55 +0000 (17:08 +0000)]
WinGui:
- Removed Experimental folder from project
- Typo in Download window fixed.

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

15 years agoWinGui:
sr55 [Fri, 19 Dec 2008 13:57:08 +0000 (13:57 +0000)]
WinGui:
- Fixes for a few rather stupid issues with the new queue/mainwindow encode link.
- Got rid of the queue encode progress bar. It's just a pain to keep it working and doesn't really offer much.

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

15 years agoWinGui:
sr55 [Wed, 17 Dec 2008 00:11:23 +0000 (00:11 +0000)]
WinGui:
- Some fixes in the new code which handles encoding across the Queue and MainWindow.
- Small UI tweaks on Activity Window and Generate Preview Window

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

15 years agoWinGui:
sr55 [Tue, 16 Dec 2008 20:51:46 +0000 (20:51 +0000)]
WinGui:
- Minimize to system tray is now optional and can be set in tools > options > advanced.
- Removed the minimize to system tray button since it's not really needed. The windows minimize button performs the same task

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

15 years agoMacGui: Increase the height of the Filters box in Picture Settings, was too crowded.
dynaflash [Tue, 16 Dec 2008 18:57:37 +0000 (18:57 +0000)]
MacGui: Increase the height of the Filters box in Picture Settings, was too crowded.
- Add outlets for the Size, Crop and Filters NSBoxes

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

15 years agoWinGui:
sr55 [Tue, 16 Dec 2008 18:01:48 +0000 (18:01 +0000)]
WinGui:
- Preview Generator Window. Can generate previews form 5 to 60 seconds long. Will launch VLC (from a user specified (in options) install path) to play back the clip.
Note: Clip duration is currently waiting for a patch to the CLI, so this part won't work yet.
- Experimental in-gui VLC media player via ActiveX. (This causes a Blue Screen of Death (See comments in code), however if anyone can fix this and submit a patch, id be grateful) Alternative suggestions welcome!

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

15 years agoLinGui: remove debug message
jstebbins [Tue, 16 Dec 2008 17:12:39 +0000 (17:12 +0000)]
LinGui: remove debug message

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

15 years agoMacGui: Fix issue where switching formats causes the video encoder drop down to reset...
dynaflash [Tue, 16 Dec 2008 15:33:40 +0000 (15:33 +0000)]
MacGui: Fix issue where switching formats causes the video encoder drop down to reset to the first selection, losing your previously chosen encoder.

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

15 years agoMacGui: Picture window now uses a subclass of HBController to access the main controller.
dynaflash [Mon, 15 Dec 2008 15:11:49 +0000 (15:11 +0000)]
MacGui: Picture window now uses a subclass of HBController to access the main controller.
- fixed issue where preview movie keeps playing even if the picture window is closed
- Removed deprecated -ClosePanel method since we now use the windows native close button.

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

15 years agoWinGui:
sr55 [Mon, 15 Dec 2008 12:58:04 +0000 (12:58 +0000)]
WinGui:
- MainWindow now uses the Queue for encoding. Essentially works the same as the MacGUI. You start an encode in either window, and the other shows the encoding status. This prevents users from starting 2 encodes at once (1 Queue, 1 Main Window)

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

15 years agoLinGui: make the destination file entry box wider.
jstebbins [Sun, 14 Dec 2008 00:52:39 +0000 (00:52 +0000)]
LinGui: make the destination file entry box wider.

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

15 years agoforgot to checkin the new icon for picutre settings
jstebbins [Sat, 13 Dec 2008 19:05:29 +0000 (19:05 +0000)]
forgot to checkin the new icon for picutre settings

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

15 years agoLinGui: add picture settings button to toolbar
jstebbins [Sat, 13 Dec 2008 18:52:51 +0000 (18:52 +0000)]
LinGui: add picture settings button to toolbar

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

15 years agofix tarball name when building linux snapshot builds
jstebbins [Sat, 13 Dec 2008 18:26:03 +0000 (18:26 +0000)]
fix tarball name when building linux snapshot builds
force calling libhb and test makefiles so that all dependencies are checked.

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

15 years ago - have to account for a non-zero start time when we're seeking in ffmpeg files.
van [Sat, 13 Dec 2008 07:43:42 +0000 (07:43 +0000)]
 - have to account for a non-zero start time when we're seeking in ffmpeg files.
 - try harder to get keyframes from ffmpeg files: if we've just done a seek, search the next 50 frames for a keyframe.
 - detect WMV3 keyframes since ffmpeg doesn't.

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

15 years ago - try to determine the sample rate, channels, etc., of audio streams rather than...
van [Sat, 13 Dec 2008 06:59:50 +0000 (06:59 +0000)]
 - try to determine the sample rate, channels, etc., of audio streams rather than hardwiring 48KHz & 2 channels.
 - have to discard audio that starts before video time zero otherwise we desync the audio & video.

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

15 years agoConsolidate all the ffmpeg-related includes into libhb/hbffmpeg.h then prototype...
van [Sat, 13 Dec 2008 06:55:01 +0000 (06:55 +0000)]
Consolidate all the ffmpeg-related includes into libhb/hbffmpeg.h then prototype hb_avcodec_{init,open,close} so that we don't get gcc warnings from a dozen modules.

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

15 years agoLoosen tolerance on Program Stream SCR change - 100ms is too tight for an EyeTV S...
van [Fri, 12 Dec 2008 20:45:04 +0000 (20:45 +0000)]
Loosen tolerance on Program Stream SCR change - 100ms is too tight for an EyeTV S-Video capture.

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

15 years agofix a threading issue with avcodec_open/close
jstebbins [Fri, 12 Dec 2008 18:54:36 +0000 (18:54 +0000)]
fix a threading issue with avcodec_open/close
these functions can not be called from 2 threads simultaneosly.
made a wrapper function that holds a lock while making the call

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

15 years agoMacGui: Add to queue fix so that it not only checks that a file does not already...
dynaflash [Fri, 12 Dec 2008 17:31:16 +0000 (17:31 +0000)]
MacGui: Add to queue fix so that it not only checks that a file does not already exist at the destination path, but also check through the existing queue items and warn of an overwrite.

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

15 years agoMacGui: Add "Picture Settings" toolbar item to main window toolbar
dynaflash [Fri, 12 Dec 2008 15:53:15 +0000 (15:53 +0000)]
MacGui: Add "Picture Settings" toolbar item to main window toolbar
- Currently uses the same icon as the picture item in the preferences toolbar
- Performs same function as the "Picture Settings ..." button in the video tab which is to say it opens the picture settings window
- Removed the "Picture Settings ..." button in the video tab

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

15 years agoMacGui: Add a preference so we can specify what we do at launch, choices are:
dynaflash [Fri, 12 Dec 2008 02:40:21 +0000 (02:40 +0000)]
MacGui: Add a preference so we can specify what we do at launch, choices are:
- Do Nothing
- Open Source
- Open Source (Title Specific)
- Pref defaults to Open Source

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

15 years agoMacGui: Fix destination path so that last one used in the destination choice window...
dynaflash [Thu, 11 Dec 2008 15:59:55 +0000 (15:59 +0000)]
MacGui: Fix destination path so that last one used in the destination choice window is saved and reused upon the next opening instead of the last destination path encoded.
- Addressed here http://forum.handbrake.fr/viewtopic.php?f=12&t=8281

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

15 years agoDon't reject MPEG PS files just because they're missing a SYS header (clips won't...
van [Thu, 11 Dec 2008 01:06:43 +0000 (01:06 +0000)]
Don't reject MPEG PS files just because they're missing a SYS header (clips won't have one). The standard says we just need a PACK header followed by some other legal start code.

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

15 years agoImprove duration calculation for transport streams. Streams that have
jstebbins [Wed, 10 Dec 2008 01:56:50 +0000 (01:56 +0000)]
Improve duration calculation for transport streams.  Streams that have
many discontinuities (like concatenated blu-ray m2ts files) are handled
better.

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

15 years agoWinGui:
sr55 [Sun, 7 Dec 2008 23:24:27 +0000 (23:24 +0000)]
WinGui:
- Fixes an issue where if there are no presets, that is, the user removed them all, then the GUI would throw a null pointer exception after scanning a source.

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

15 years agoLinGui: fix me_method/me_range dependency
jstebbins [Sat, 6 Dec 2008 17:23:52 +0000 (17:23 +0000)]
LinGui: fix me_method/me_range dependency
umh, esa, tesa -- me_range 4 - 64
dia, hex -- me_range 4 - 16

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

15 years agoIf we don't get signed 16 bits samples from the audio decoder, convert to signed...
van [Sat, 6 Dec 2008 09:31:16 +0000 (09:31 +0000)]
If we don't get signed 16 bits samples from the audio decoder, convert to signed 16 bit. (Fix for the pcm_u8 audio generated by Canon cameras.)

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

15 years agoLinGui: add a duration widget for live preview
jstebbins [Fri, 5 Dec 2008 20:02:40 +0000 (20:02 +0000)]
LinGui: add a duration widget for live preview
stop live encode if user changes settings or the current preview frame
during the encode.

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

15 years agoLinGui: stop live preview playback when the preview window is closed
jstebbins [Fri, 5 Dec 2008 18:21:20 +0000 (18:21 +0000)]
LinGui: stop live preview playback when the preview window is closed
otherwise you still continue to hear the audio.

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

15 years agoMacGui: Live Preview fixes
dynaflash [Fri, 5 Dec 2008 18:20:05 +0000 (18:20 +0000)]
MacGui: Live Preview fixes
- Fix proper sizing when max source size and loose anamorphic is selected in presets
- Fix vertical alignment issue when the move height is >= the still preview height.

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

15 years agoLinGui: add a flush to activity log output to prevent large chunks of it
jstebbins [Fri, 5 Dec 2008 16:06:15 +0000 (16:06 +0000)]
LinGui: add a flush to activity log output to prevent large chunks of it
from being dropped on a crash.

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

15 years agofix some floating point rounding errors in aspect ratio calculations
jstebbins [Fri, 5 Dec 2008 16:02:38 +0000 (16:02 +0000)]
fix some floating point rounding errors in aspect ratio calculations

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

15 years agoMore code to deal with the flakey streams from NZ TV. They like to change the PCR...
van [Fri, 5 Dec 2008 05:09:05 +0000 (05:09 +0000)]
More code to deal with the flakey streams from NZ TV. They like to change the PCR without sending a new PCR and we get big timestamp changes but no new reference clock. So now we look at the PTS and if its change is outside a tolerance window we use the new PTS as a PCR & declare a clock discontinuity.

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

15 years agoLinGui: make preview scalling take screen PAR into account
jstebbins [Fri, 5 Dec 2008 00:11:09 +0000 (00:11 +0000)]
LinGui: make preview scalling take screen PAR into account

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

15 years agolibhb:
sr55 [Thu, 4 Dec 2008 20:57:31 +0000 (20:57 +0000)]
libhb:
The malloc() function in cygwin doesn't return 16-byte aligned memory which causes it to randomly crash. Replaced with memalign() for the cygwin platform only.

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

15 years agoMacGui: correct month output in the names of the individual encode logs
dynaflash [Thu, 4 Dec 2008 18:58:03 +0000 (18:58 +0000)]
MacGui: correct month output in the names of the individual encode logs
- Duh! In struct tm,  tm_mon is the month number from 0 to 11, so we needed to be using tm_mon + 1

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

15 years agoMacGui: Fix a built error introduced in 2003
dynaflash [Thu, 4 Dec 2008 16:41:00 +0000 (16:41 +0000)]
MacGui: Fix a built error introduced in 2003
- Note to self: (don't leave an errant */ )

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

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