OSDN Git Service

handbrake-jp/handbrake-jp-git.git
16 years agoMacGUI: Update to use the new audio layout.
saintdev [Tue, 1 Apr 2008 21:29:38 +0000 (21:29 +0000)]
MacGUI: Update to use the new audio layout.
This only updates the current interface, nothing new added.

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

16 years agoCLI: "Fun with string theory." Updates needed for new audio layout.
saintdev [Tue, 1 Apr 2008 21:26:00 +0000 (21:26 +0000)]
CLI: "Fun with string theory." Updates needed for new audio layout.
--audios takes a comma seperated list (or range) of the requested output tracks.
The other audio settings take either one argument, in which case it applies across
all tracks, or a comma seperated list that applies to each track.

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

16 years agoNew internal audio handling.
saintdev [Tue, 1 Apr 2008 21:25:54 +0000 (21:25 +0000)]
New internal audio handling.
Each audio track contains it's own settings for codec, bitrate, samplerate, etc.
This allows for very complex combinations of audio tracks if desired.

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

16 years agoFix up libs for building qt4 gui.
saintdev [Sun, 23 Mar 2008 23:54:40 +0000 (23:54 +0000)]
Fix up libs for building qt4 gui.

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

16 years agoFix theora linking when using make.
saintdev [Sun, 23 Mar 2008 23:54:37 +0000 (23:54 +0000)]
Fix theora linking when using make.

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

16 years agoFix Makefiles for dynamically linked dvdcss.
saintdev [Sun, 23 Mar 2008 23:54:33 +0000 (23:54 +0000)]
Fix Makefiles for dynamically linked dvdcss.
You can only build dynamically linked dvdcss with make.
If you want static dvdcss use jam.

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

16 years agoUpdate configure to allow dynamic linking on linux.
saintdev [Sun, 23 Mar 2008 23:54:21 +0000 (23:54 +0000)]
Update configure to allow dynamic linking on linux.

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

16 years agoCLI:
jbrjake [Sun, 23 Mar 2008 20:18:08 +0000 (20:18 +0000)]
CLI:
- If title->detected_interlacing is true, mention it in the non-verbose scan output
- Fixes a minor VFR bug that got the filter chain order wrong if other filters than detelecine were applied.

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

16 years ago= Adds an hb_detect_comb() function that indicates whether or not a frame shows inter...
jbrjake [Sun, 23 Mar 2008 19:53:39 +0000 (19:53 +0000)]
= Adds an hb_detect_comb() function that indicates whether or not a frame shows interlacing artifacts.
- Utilitizes that function in scan.c to analyze the preview frames
- Sets a new title->detected_interlacing variable to true if half or more previews show combing, and warns the user in the log.

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

16 years agoMake the configure script argument tests work everywhere
superdump [Sat, 22 Mar 2008 19:22:24 +0000 (19:22 +0000)]
Make the configure script argument tests work everywhere

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

16 years agoRemoves deprecated x264 modes (b13 and b30) from the CLI's help output.
jbrjake [Sat, 22 Mar 2008 14:36:29 +0000 (14:36 +0000)]
Removes deprecated x264 modes (b13 and b30) from the CLI's help output.

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

16 years agoMakes snapshots the default build method for both make and jam. To build a regular...
jbrjake [Sat, 22 Mar 2008 14:33:09 +0000 (14:33 +0000)]
Makes snapshots the default build method for both make and jam. To build a regular release with jam, use "./configure --release". To build a regular release with make, use "make all".

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

16 years agoxvid:
sr55 [Sat, 22 Mar 2008 00:39:29 +0000 (00:39 +0000)]
xvid:
- Updates the xvid nasm patch so that xvid correctly uses CPU optimizations under cygwin.

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

16 years ago"If one would give me six lines written by the hand of the most honest man, I would...
jbrjake [Sat, 22 Mar 2008 00:16:22 +0000 (00:16 +0000)]
"If one would give me six lines written by the hand of the most honest man, I would find something in them to have him hanged."

- Banishes libdvdcss, removing DVD decryption from HandBrake's binaries.
- For decrypttion, the MacGui and Mac CLI now will load at runtime VLC's dynamic library of dvdcss if the media player's available on the user's system.
- Linux users can build with a statically linked lib of dvdcss by using ./configure --libdvdcss, which will download it from a remote third party (videolan.org).

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

16 years agolibswscale accurate rounding is now re-enabled for all arches except x86_64.
saintdev [Fri, 21 Mar 2008 03:06:02 +0000 (03:06 +0000)]
libswscale accurate rounding is now re-enabled for all arches except x86_64.

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

16 years agoReverts r1254, so ffmpeg-in-avi again reports as DivX 5. Giving it the "correct"...
jbrjake [Thu, 20 Mar 2008 16:27:20 +0000 (16:27 +0000)]
Reverts r1254, so ffmpeg-in-avi again reports as DivX 5. Giving it the "correct" codes was a problem for lame Windows media players and didn't help the CrackBerry user who requested it. Moral of the story? Greet user requests with skepticism.

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

16 years agoFix two of my stupid bugs that prevented using the queue with transport streams:
van [Thu, 20 Mar 2008 05:28:36 +0000 (05:28 +0000)]
Fix two of my stupid bugs that prevented using the queue with transport streams:
 - keep a cache of the pid/substream id mappings from each scan rather than assuming an encode will immediately follow a scan (there will be lots of scans followed by lots of encodes when the queue is used).
 - rewrite a few things to get rid of static variables. hb_ts_stream_decode is called by both scan & reader and they're in different threads. All the working storage & state has to either be in the stream struct or on the stack so it's private to the calling thread or it gets corrupted when doing a scan in the middle of an encode.

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

16 years agoTheora.
saintdev [Thu, 20 Mar 2008 02:40:02 +0000 (02:40 +0000)]
Theora.
This adds the theora encoder to the Xcode project as well. It does not enable
anything in the Mac GUI, just allows it to build.

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

16 years agoWinGui:
sr55 [Wed, 19 Mar 2008 22:06:07 +0000 (22:06 +0000)]
WinGui:
- Fixed a bug in the startup init sequence. H264 window needed to be generated before the presets were init'd.
- Setup the tab markers for the h264 tab

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

16 years agoWinGui:
sr55 [Wed, 19 Mar 2008 21:30:15 +0000 (21:30 +0000)]
WinGui:
- Fixed some text label alignment issues around the cropping boxes

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

16 years agoWinGui:
sr55 [Wed, 19 Mar 2008 21:29:22 +0000 (21:29 +0000)]
WinGui:
- The x264 tab has been replaced by a completely new panel with widgets for many of the available x264 options. It operates in a similar way to the macgui's panel. (It however will not disable widgets based on selections on other widgets yet(like the macgui does) this will come later when the bugs have been worked out.

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

16 years ago- Method for generating snapshot builds marked with the svn revision by using ./confi...
jbrjake [Wed, 19 Mar 2008 18:34:36 +0000 (18:34 +0000)]
- Method for generating snapshot builds marked with the svn revision by using ./configure --snapshot; ./jam
- Targets for generating snapshot Mac universal binaries by using make snapshot and packaging Mac snapshot releases
- Sets the current date for HB_BUILD in jam
- Sets the Mac .plist version and build based on the jam/make config
- Bumps the version number to 0.9.3

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

16 years agoWinGui:
sr55 [Tue, 18 Mar 2008 16:35:28 +0000 (16:35 +0000)]
WinGui:
- Few bug fixes in the preset system
- File > open is now Import preset. Loads in old presets into the preset bar.

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

16 years agoMacGui: Write version info the the activity log and activity window
dynaflash [Mon, 17 Mar 2008 15:09:39 +0000 (15:09 +0000)]
MacGui: Write version info the the activity log and activity window
- writes the Handbrake version number and build number to the activity window and log text file upon startup (this no longer occured out of libhb once we updated the update system to Sparkle)
- Add writing the version info upon clearing of either the log file or the window, this way we have version info from users even if they have cleared the top of the logs.

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

16 years agoWinGui:
sr55 [Sun, 16 Mar 2008 16:50:29 +0000 (16:50 +0000)]
WinGui:
- When selecting a destination, The audio encoder selection dropdown now repopulates with only compatible encoders (based on file container)
- Misc other changes

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

16 years agoShould have removed this as part of the r1341 checkin - we now add silence based...
van [Sun, 16 Mar 2008 06:13:33 +0000 (06:13 +0000)]
Should have removed this as part of the r1341 checkin - we now add silence based only on gaps in the timestamp sequence. The heuristic of looking at what fifos are full or empty can misbehave based on random variation in the thread scheduling.

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

16 years ago- Add mpeg2 "Standard Target Decoder" clock recovery to the low level mpeg stream...
van [Sat, 15 Mar 2008 08:02:08 +0000 (08:02 +0000)]
- Add mpeg2 "Standard Target Decoder" clock recovery to the low level mpeg stream reader so we don't have to guess about the clock in sync.
- Since sync now has a fairly reliable clock, make it just trim excess audio or video and fill holes so that we maintain cross media sync.
- Redo the TS-to-PS transmuxing code to work on smaller units so that we can reliably convert the TS clock (PCR) to a PS clock (SCR).

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

16 years agominor bug fix: AC3 passthru audio frames with no pts were getting a bogus start and...
van [Sat, 15 Mar 2008 07:54:22 +0000 (07:54 +0000)]
minor bug fix: AC3 passthru audio frames with no pts were getting a bogus start and stop time which caused bad things to happen later on in sync.c. Move up the code that generates a pts for non-passthru frames so that it applies to both.

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

16 years agoUse unix-style line endings (LF) for libhb/Makefile instead of Windows style (CRLF).
saintdev [Sat, 15 Mar 2008 02:04:55 +0000 (02:04 +0000)]
Use unix-style line endings (LF) for libhb/Makefile instead of Windows style (CRLF).

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

16 years agoWinGui:
sr55 [Fri, 14 Mar 2008 19:47:17 +0000 (19:47 +0000)]
WinGui:
- Users can now have their own presets appear in the presets bar. They can both add and remove their own presets.
- Anamorphic option is now a dropdown menu like the macgui.
- Video tab re-arrange  to be consistant with the macgui.
- Video Framerate dropdown: Changed Automatic to Same as soure (same as the macgui)

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

16 years agoWinGui:
sr55 [Fri, 14 Mar 2008 15:52:04 +0000 (15:52 +0000)]
WinGui:
- Added warning about UNC file paths
- Removed the generate presets.dat function on start-up. (It wasn't really needed)
- Changed a few tooltips
- Switched back to .Net version 2

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

16 years agoMacGui: When selecting one x264 option disables another (like turning off CABAC disab...
jbrjake [Wed, 12 Mar 2008 17:31:39 +0000 (17:31 +0000)]
MacGui: When selecting one x264 option disables another (like turning off CABAC disables trellis), remove the disabled option from the string and fade the widget out of view with an animation proxy.

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

16 years agoMacGui: Clean up some formatting and errant comments left over from some of the snipp...
dynaflash [Fri, 7 Mar 2008 20:05:46 +0000 (20:05 +0000)]
MacGui: Clean up some formatting and errant comments left over from some of the snippets I robbed out of HBQueueController on the drag and drop preset commit. :)

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

16 years agoMacGui: Initial implementation of drag and drop in the presets drawer.
dynaflash [Fri, 7 Mar 2008 19:43:17 +0000 (19:43 +0000)]
MacGui: Initial implementation of drag and drop in the presets drawer.
- Allows drag and drop arrangement of custom user presets
- Does not allow reordering of built in presets.
- Sorting of presets now done only by type ie. built in and custom user.
- Provides functionality for future nested presets and drag and drop arranging.
- Subclasses the presets outline view for better control over drag and drop behavior

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

16 years agoApplies Dark_Shikari's Variable Adaptive Quantization patch v0.48 to libhb's copy...
jbrjake [Fri, 7 Mar 2008 15:28:52 +0000 (15:28 +0000)]
Applies Dark_Shikari's Variable Adaptive Quantization patch v0.48 to libhb's copy of libx264. This major change to x264 drastically reduces blockiness on flat parts of the picture as well as blurring. It is on by default; to disable it, add "aq-strength=0" to your x264 options string. For now, it's only applied to jam builds. Make will come later.

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

16 years agoWinGui:
sr55 [Fri, 7 Mar 2008 00:07:31 +0000 (00:07 +0000)]
WinGui:
- Fixed small localization issue in the query parser in regard to -q option.
- Changed update checker so if it fails on the startup update scan, it'll fail silently instead of displaying an error message behind the startup screen.

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

16 years agoMacGui: Presets - change the cursor highlighted color of the preset name to black...
dynaflash [Thu, 6 Mar 2008 15:04:31 +0000 (15:04 +0000)]
MacGui: Presets - change the cursor highlighted color of the preset name to black, so when changing the name, you can see the letters. The old white made it almost impossible.... duh!

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

16 years agoMacGui: Fix issue where renaming a preset does not reflect the new name immediately...
dynaflash [Thu, 6 Mar 2008 14:56:32 +0000 (14:56 +0000)]
MacGui: Fix issue where renaming a preset does not reflect the new name immediately in the preset drawer
- call [fPresetsOutlineView reloadData];
- use "-sortPresets" method instead of sorting it in its own method

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

16 years agoMacGui: move the presets sorting into a new method "-sortPresets" so it can be done...
dynaflash [Thu, 6 Mar 2008 13:57:37 +0000 (13:57 +0000)]
MacGui: move the presets sorting into a new method "-sortPresets" so it can be done independently of adding a preset in preparation for drag and drop preset arranging capability.

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

16 years agoMacGui: Increase the preset drawer max width and content view width by 60 px. This...
dynaflash [Thu, 6 Mar 2008 13:53:15 +0000 (13:53 +0000)]
MacGui: Increase the preset drawer max width and content view width by 60 px. This still leaves us 1024 width compatible and allows more room for longer preset names, vertical scroller as well as the disclosure triangles for nested presets.

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

16 years agoMacGui: Fix issue where prepareJob was not sensing MKV in the Format popup correctly.
dynaflash [Wed, 5 Mar 2008 14:29:45 +0000 (14:29 +0000)]
MacGui: Fix issue where prepareJob was not sensing MKV in the Format popup correctly.
- Takes care of the no mkv chapter issues reported here: http://forum.handbrake.fr/viewtopic.php?f=12&t=5120
- Thanks for the diagnostic testing and bringing it to our attention simoncoul !

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

16 years agoencx264: Fix timecodes when using x264 with avi.
saintdev [Wed, 5 Mar 2008 00:29:09 +0000 (00:29 +0000)]
encx264: Fix timecodes when using x264 with avi.

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

16 years agoDVB teletext streams and ATSC AC3 audio streams use the same code points. If we miscl...
van [Sun, 2 Mar 2008 09:18:19 +0000 (09:18 +0000)]
DVB teletext streams and ATSC AC3 audio streams use the same code points. If we misclassify teletext as audio we'll die early in the encode while trying to find an AC3 sync frame. So, if we don't find a sync frame after searching a megabyte of the stream decide it's not AC3, delete the audio entry & keep going.
Problem & test case from ncbp http://forum.handbrake.fr/viewtopic.php?p=29137#p29137.

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

16 years agoDon't crash just because some dvd title uses an illegal pgn number.
van [Sun, 2 Mar 2008 05:15:56 +0000 (05:15 +0000)]
Don't crash just because some dvd title uses an illegal pgn number.
(Fixes bug reported in http://forum.handbrake.fr/viewtopic.php?p=28767&sid=23308d0c02b70fceb54db71b0d0f2660#p28767).

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

16 years agoOops - left in a mistake from an intermediate version. We want aspect ratio from...
van [Sat, 1 Mar 2008 20:19:20 +0000 (20:19 +0000)]
Oops - left in a mistake from an intermediate version. We want aspect ratio from all previews but crop from only frame two (otherwise we'll crop down to nothing if there's a preview with a lot of black).

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

16 years agoDon't crash while scanning when we can't get previews for some title.
van [Fri, 29 Feb 2008 18:33:45 +0000 (18:33 +0000)]
Don't crash while scanning when we can't get previews for some title.
 - if we get no previews for some title, ignore the title
 - use the most common aspect ratio found from our 10 previews rather than just the aspect of preview 2 (otherwise we'll crash in hb_fix_aspect if we don't get preview 2).
 - check parameters in hb_fix_aspect so we don't divide by zero.

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

16 years agoIt's a good idea to have a buffer for every pid you decide to decode.
van [Fri, 29 Feb 2008 18:24:46 +0000 (18:24 +0000)]
It's a good idea to have a buffer for every pid you decide to decode.
Max buffers was 1/4 max streams. This makes it same as max streams.
(Fixes crash reported by ncbp at http://forum.handbrake.fr/viewtopic.php?p=28899&sid=0c89bb9c9aed7eee51c294f25ac61e99#p28899)

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

16 years agoUpdate Gabriel B's x264 vbv 2 pass patch to latest (Feb 26) found here http://article...
dynaflash [Wed, 27 Feb 2008 16:57:30 +0000 (16:57 +0000)]
Update Gabriel B's x264 vbv 2 pass patch to latest (Feb 26) found here article.gmane.org/gmane.comp.video.x264.devel/3550

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

16 years agoAdds Dark_Shikari's vbv 1 pass patch for x264
dynaflash [Wed, 27 Feb 2008 16:32:15 +0000 (16:32 +0000)]
Adds Dark_Shikari's vbv 1 pass patch for x264
- While not optimal by any means according to Dark_Shikari over at x264, it definitely seems to help with the borked I frames we have been seeing using vbv 1 pass over x264 standard vbv.
- Rumors are that a more comprehensive fix is in the works for x264. But who wants to hold their breath. HB presets rely on vbv too much to have squashed I frames in the meantime.

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

16 years agolibvorbis expects kbps, not bps.
saintdev [Wed, 27 Feb 2008 04:24:51 +0000 (04:24 +0000)]
libvorbis expects kbps, not bps.

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

16 years agoSet an minimum subtitle display time of three seconds *or* until the next subtitle...
eddyg [Tue, 26 Feb 2008 00:51:49 +0000 (00:51 +0000)]
Set an minimum subtitle display time of three seconds *or* until the next subtitle is displayed. This makes subtitles easier to read for the slow readers or for the DVD authors why display the subtitles for too short a period (e.g. only display the subtitles during the talking in a fast speaking tongue).

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

16 years agoDon't allow negative durations. These shouldn't happen but occasionally do due to...
van [Mon, 25 Feb 2008 06:39:42 +0000 (06:39 +0000)]
Don't allow negative durations. These shouldn't happen but occasionally do due to upstream bugs. Replace them with a small positive duration so the mp4 file will be playable.

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

16 years agoWork-around for xvid crash - dct coeff tables are being loaded with SSE 'load aligned...
van [Mon, 25 Feb 2008 06:35:41 +0000 (06:35 +0000)]
Work-around for xvid crash - dct coeff tables are being loaded with SSE 'load aligned' instructions which require 16-byte alignment but either nasm or the loader is ignoring the .rodata section alignment request. Since .rodata is in the text section which is correctly aligned, pad the text section so it's 16-byte aligned which will cause the following data to be correctly aligned.

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

16 years agoWinGui:
sr55 [Sun, 24 Feb 2008 18:47:29 +0000 (18:47 +0000)]
WinGui:
- Fixed small issue with last checkin

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

16 years agoWinGui:
sr55 [Sun, 24 Feb 2008 18:40:27 +0000 (18:40 +0000)]
WinGui:
- Fixed bug where the chapter markers csv filename renamed the same for every item on the queue. This meant the same chapter names got added to each encode when in fact, each encode should have had a separate file.
- Disabled development expiry code.

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

16 years agoMacGui: Be Gone rotten 64-bit preferences check. Be Gone!
dynaflash [Thu, 21 Feb 2008 17:34:42 +0000 (17:34 +0000)]
MacGui: Be Gone rotten 64-bit preferences check. Be Gone!

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

16 years agoAAC+AC3 in MKV
jbrjake [Thu, 21 Feb 2008 16:28:12 +0000 (16:28 +0000)]
AAC+AC3 in MKV

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

16 years agoMacGui: Un-Banish the 64 bit mp4 checkbox from the Siberia known as the preferences...
dynaflash [Thu, 21 Feb 2008 14:33:01 +0000 (14:33 +0000)]
MacGui: Un-Banish the 64 bit mp4 checkbox from the Siberia known as the preferences now that we have a device and a preset designed specifically for 64 bit mp4's.
- Don't say it jbrjake :)

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

16 years agoMacGui: Fix and issue for auto adding the .m4v file extension for the aac + ac3 encod...
dynaflash [Thu, 21 Feb 2008 13:47:09 +0000 (13:47 +0000)]
MacGui: Fix and issue for auto adding the .m4v file extension for the aac + ac3 encoder for mp4 where reselecting mp4 format would reset the extension back to .mp4 and not .m4v
- Moves this to a new method called codecsPopUpChanged: so it is easier to call form multiple methods

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

16 years agoMacGui: Fix issue where canceling the open source window, then re opening it and...
dynaflash [Thu, 21 Feb 2008 13:20:21 +0000 (13:20 +0000)]
MacGui: Fix issue where canceling the open source window, then re opening it and selecting a source or cancelling is could cause a crash.
- Patch courtesy of Xeri

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

16 years agoFormatting: Remove a lot of trailing whitespace.
saintdev [Thu, 21 Feb 2008 02:02:42 +0000 (02:02 +0000)]
Formatting: Remove a lot of trailing whitespace.

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

16 years agoWinGui:
sr55 [Wed, 20 Feb 2008 16:59:39 +0000 (16:59 +0000)]
WinGui:
- Fixed Cropping not setting to Custom when loading user default settings.

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

16 years agoWinGui: minor bug fixes.
sr55 [Wed, 20 Feb 2008 16:36:09 +0000 (16:36 +0000)]
WinGui: minor bug fixes.
- Queue window now allows selection of queued items on the whole panel, not just the left side of the panel.
- Fixed a few rouge extensions not getting changed correctly when selecting a preset. (may need to revisit this for psp preset)
- When using AAC+AC3 use m4v if mp4 is currently on the extension.
- Fixed the user defaults not setting video / audio encode properly.

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

16 years agoMacGui: Change Home Page, Forum, and Wiki links in the help menu to use handbrake.fr
dynaflash [Tue, 19 Feb 2008 16:43:20 +0000 (16:43 +0000)]
MacGui: Change Home Page, Forum, and Wiki links in the help menu to use handbrake.fr

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

16 years agoUpdates jam and make's HB_BUILD and HB_VERSION numbers for 0.9.2.
jbrjake [Tue, 19 Feb 2008 16:26:43 +0000 (16:26 +0000)]
Updates jam and make's HB_BUILD and HB_VERSION numbers for 0.9.2.

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

16 years agoMacGui: Change version number to 0.9.2 and build number to 2008021900 in preparation...
dynaflash [Tue, 19 Feb 2008 16:25:23 +0000 (16:25 +0000)]
MacGui: Change version number to 0.9.2 and build number to 2008021900 in preparation for tagging 0.9.2 release.

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

16 years agoWinGui:
sr55 [Tue, 19 Feb 2008 16:24:50 +0000 (16:24 +0000)]
WinGui:
AssemblyInfo Updated.

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

16 years agoWinGui:
sr55 [Tue, 19 Feb 2008 16:24:05 +0000 (16:24 +0000)]
WinGui:
- Build numbers updated.

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

16 years agoCygwin:
sr55 [Tue, 19 Feb 2008 16:02:32 +0000 (16:02 +0000)]
Cygwin:
- Updated Cygwin contrib pack to 0015

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

16 years agoWinGui:
sr55 [Tue, 19 Feb 2008 15:35:57 +0000 (15:35 +0000)]
WinGui:
- Switched internal build number to date system.

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

16 years agoChangeset for 0.9.2
jbrjake [Tue, 19 Feb 2008 15:18:43 +0000 (15:18 +0000)]
Changeset for 0.9.2

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

16 years agoMacGui: As per newer vfr implementation. No longer disable the framerate popup and...
dynaflash [Tue, 19 Feb 2008 04:37:47 +0000 (04:37 +0000)]
MacGui: As per newer vfr implementation. No longer disable the framerate popup and no longer force it to 29.967 fps.

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

16 years agoDon't try to show muxing progress since it always stays at 0 anyway.
jbrjake [Tue, 19 Feb 2008 01:00:55 +0000 (01:00 +0000)]
Don't try to show muxing progress since it always stays at 0 anyway.

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

16 years agoWinGui:
sr55 [Mon, 18 Feb 2008 23:16:41 +0000 (23:16 +0000)]
WinGui:
- Reverted Last change

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

16 years agoWinGui:
sr55 [Mon, 18 Feb 2008 23:07:44 +0000 (23:07 +0000)]
WinGui:
- Added eyetv and dvdmedia file extensions to the supported list for the source open box.

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

16 years agoUse 64-bit MP4 containers for the AppleTV preset, in case the 2500kb/s video and...
jbrjake [Mon, 18 Feb 2008 23:01:33 +0000 (23:01 +0000)]
Use 64-bit MP4 containers for the AppleTV preset, in case the 2500kb/s video and 448kb/s AC3 and 160kb/s AAC push the file size over 4 gigs for long movies.

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

16 years agoSanity check the input codec is AC3 when selecting AC3 pass through to avoid crash...
eddyg [Mon, 18 Feb 2008 22:57:44 +0000 (22:57 +0000)]
Sanity check the input codec is AC3 when selecting AC3 pass through to avoid crash when it is mpega or lpcm etc.

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

16 years agoWinGui:
sr55 [Mon, 18 Feb 2008 17:54:02 +0000 (17:54 +0000)]
WinGui:
- Fixed small regex bug in the destination field of the query parser.

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

16 years agoWinGui:
sr55 [Mon, 18 Feb 2008 17:43:31 +0000 (17:43 +0000)]
WinGui:
- Fixed issue with iPod Atom displaying an error with the new presets when switching from a preset with ipod atom to one without.
- Fixed the CLI preset grab during startup. This wasn't working.

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

16 years agoMacGui: fix preset drawer so that the presets outline view expands down with the...
dynaflash [Mon, 18 Feb 2008 17:40:45 +0000 (17:40 +0000)]
MacGui: fix preset drawer so that the presets outline view expands down with the drawer when encoding.

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

16 years agoMacGui: Make sure that mp4's using ac3 passthru whether by itself or in combination...
dynaflash [Mon, 18 Feb 2008 15:59:12 +0000 (15:59 +0000)]
MacGui: Make sure that mp4's using ac3 passthru whether by itself or in combination with aac use the .m4v file extension as otherwise quicktime will not play it at all.

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

16 years agoOnly store chapter markers separate from their buffers when doing VFR.
jbrjake [Mon, 18 Feb 2008 14:33:13 +0000 (14:33 +0000)]
Only store chapter markers separate from their buffers when doing VFR.

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

16 years agoPreset updates, including AC3 and AAC for ATV, less insane settings for some others...
jbrjake [Mon, 18 Feb 2008 06:27:28 +0000 (06:27 +0000)]
Preset updates, including AC3 and AAC for ATV, less insane settings for some others, and more insane settings for Bedlam.

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

16 years agoYou know what I said in r1271 about not using the delay_queue except when VFR is...
jbrjake [Mon, 18 Feb 2008 06:16:40 +0000 (06:16 +0000)]
You know what I said in r1271 about not using the delay_queue except when VFR is enabled? This time, I mean it.

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

16 years agoFix hb_log to truncate the message at the correct point, fixes 1244.
eddyg [Mon, 18 Feb 2008 01:58:19 +0000 (01:58 +0000)]
Fix hb_log to truncate the message at the correct point, fixes 1244.

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

16 years agoOnly futz with frame durations at render-time when using VFR.
jbrjake [Mon, 18 Feb 2008 01:28:19 +0000 (01:28 +0000)]
Only futz with frame durations at render-time when using VFR.

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

16 years agoRemove the transformation matrix, and use the width field of the tkhd atom to do...
ritsuka [Sun, 17 Feb 2008 17:05:24 +0000 (17:05 +0000)]
Remove the transformation matrix, and use the width field of the tkhd atom to do anamorphic in quicktime based players and devices.

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

16 years agoMacGui: add HB_AMIXDOWN_AC3 to HB QueueController so it reports the new hybrid sound...
dynaflash [Sun, 17 Feb 2008 11:01:03 +0000 (11:01 +0000)]
MacGui: add HB_AMIXDOWN_AC3 to HB QueueController so it reports the new hybrid sound track(s) correctly

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

16 years agoSignal anamorphic in the MP4 container though the pixel aspect atom as well as the...
jbrjake [Sun, 17 Feb 2008 06:15:29 +0000 (06:15 +0000)]
Signal anamorphic in the MP4 container though the pixel aspect atom as well as the transformation matrix. This allows anamorphic on the iPhone and iPod Touch. One day, if Apple fixes a QuickTime Player bug, the only way to get it to display right in QuickTime might be to remove the transformation matrix the AppleTV still depends upon. It's a gamble. Oh well.

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

16 years agoMsc OS Contrib Binaries ++ to 0022, bringing to make builds the wonders of AC3-in...
jbrjake [Sun, 17 Feb 2008 06:09:18 +0000 (06:09 +0000)]
Msc OS Contrib Binaries ++ to 0022, bringing to make builds the wonders of AC3-in-MP4, multi-track audio and anamorphic for the iPhone, and a fresh copy of libx264 with the vbv 2-pass patch applied.

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

16 years agomacgui: change the human readable name for the dpl2 + ac3 hybrid from "DPLII + AC3...
dynaflash [Sun, 17 Feb 2008 06:04:27 +0000 (06:04 +0000)]
macgui: change the human readable name for the dpl2 + ac3 hybrid from "DPLII + AC3" to "Dolby Pro Logic II + AC3" for consistency.

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

16 years agoMacGui: Fix DPL2 + AC3 mixdown crash if the input audio source is DTS
dynaflash [Sun, 17 Feb 2008 05:08:22 +0000 (05:08 +0000)]
MacGui: Fix DPL2 + AC3 mixdown crash if the input audio source is DTS
- Since DTS cannot pass thru AC3, revert to just DPL2

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

16 years agoOnly show a line in the log for filters if there are any, only show a line for dynami...
jbrjake [Sat, 16 Feb 2008 23:27:05 +0000 (23:27 +0000)]
Only show a line in the log for filters if there are any, only show a line for dynamic range compression if it's enabled.

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

16 years agoWinGui:
sr55 [Sat, 16 Feb 2008 23:09:40 +0000 (23:09 +0000)]
WinGui:
- Added aac+ac3 option to the audio codec dropdown. Mixdown gets disabled when this is selected.

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

16 years agoMacGui: Change aac/ ac3 hybrid to utilize the codecs popup and only offer one mixdown...
dynaflash [Sat, 16 Feb 2008 22:49:08 +0000 (22:49 +0000)]
MacGui: Change aac/ ac3 hybrid to utilize the codecs popup and only offer one mixdown for each additional choice.
- adds AVC h.264 / AAC + AC3 Audio and AVC h.264 / AC3
- First corresponds to the dpl2 + ac3 passthru mixdown
- Second corresponds to the AC3 pass thru mixdown

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

16 years agoFixes crashes with 2-pass when b-frames are enabled, by only using the delay_queue...
jbrjake [Sat, 16 Feb 2008 16:17:17 +0000 (16:17 +0000)]
Fixes crashes with 2-pass when b-frames are enabled, by only using the delay_queue in render.c to actually delay frames when VFR is enabled.

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

16 years agoAdds another safeguard to ensure AC3 pass-thru uses a 48khz sample rate.
jbrjake [Sat, 16 Feb 2008 16:15:20 +0000 (16:15 +0000)]
Adds another safeguard to ensure AC3 pass-thru uses a 48khz sample rate.

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

16 years agoMcdeint is broken, so avoid using it as a deinterlacer. No more "Slowest," "Slow...
jbrjake [Sat, 16 Feb 2008 16:10:18 +0000 (16:10 +0000)]
Mcdeint is broken, so avoid using it as a deinterlacer. No more "Slowest," "Slow" becomes yadif without spatial checks, "Slower" becomes yadif with spatial checks.

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

16 years agoWires up the CLI for doing AAC and AC3 at the same time, with a new audio encoder...
jbrjake [Sat, 16 Feb 2008 15:15:52 +0000 (15:15 +0000)]
Wires up the CLI for doing AAC and AC3 at the same time, with a new audio encoder value, aac+ac3. Allows up to 4 source tracks to be selected, all are handled the same way. (Track-by-track audio configuration waits for 0.9.3.)

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

16 years agoAllow mac gui to select AC-3 + AAC at the same time, still needs CLI work for the...
eddyg [Sat, 16 Feb 2008 01:13:09 +0000 (01:13 +0000)]
Allow mac gui to select AC-3 + AAC at the same time, still needs CLI work for the same.

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