OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoChange minimum vobsub time from 3sec to 2sec, been meaning to do this for a while.
eddyg [Tue, 19 May 2009 22:41:17 +0000 (22:41 +0000)]
Change minimum vobsub time from 3sec to 2sec, been meaning to do this for a while.

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

15 years agoLinGui: forgot a couple files needed for the subtitle support
jstebbins [Tue, 19 May 2009 22:32:12 +0000 (22:32 +0000)]
LinGui: forgot a couple files needed for the subtitle support

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

15 years agomkv soft subtitle support
jstebbins [Tue, 19 May 2009 22:27:11 +0000 (22:27 +0000)]
mkv soft subtitle support
- new libmkv 0.6.4 with subtitle track support
- muxmkv supports vobsub and closed caption subtitles
- added subtitle format, source, and dest initialization to dvdnav
- moved subtitle_force flag into hb_subtitle_t struct as it needs to
  be settable per subtitle
- gtk ui added subtitle tab which allows selection of multiple subtitles
- reorgainize subtitle sync code to prevent dropping of subtitles when
  multiple subtitles are enabled

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

15 years agox264 bump to r1153-1248a52
dynaflash [Tue, 19 May 2009 04:24:22 +0000 (04:24 +0000)]
x264 bump to r1153-1248a52
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=1248a5256780201b0d0615bd2ccb34b07960e974

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

15 years agoBuildSystem: fixed regression introduced in r2425.
konablend [Tue, 19 May 2009 03:47:27 +0000 (03:47 +0000)]
BuildSystem: fixed regression introduced in r2425.
- a 'space' snuck it's way into EXTRACT.tarbase default setting.
- solution is to strip value of leading/trailing whitespace.
- tested against a full-build.

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

15 years agoBuildSystem: fixed EXTRACT.tarbase default to support .tar.bz2 and .tar.gz extensions.
konablend [Tue, 19 May 2009 02:26:29 +0000 (02:26 +0000)]
BuildSystem: fixed EXTRACT.tarbase default to support .tar.bz2 and .tar.gz extensions.

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

15 years agoGet rid of silence inserted at the beginning of mp4/mov/mkv files. GENPTS seems to...
van [Sun, 17 May 2009 07:35:27 +0000 (07:35 +0000)]
Get rid of silence inserted at the beginning of mp4/mov/mkv files. GENPTS seems to do the wrong thing on files with real time stamps & inserts a delay equal to the audio/video interleave offset.

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

15 years ago - I confused max program chains (999) with max programs (99) and made loop detection...
van [Sat, 16 May 2009 20:19:18 +0000 (20:19 +0000)]
 - I confused max program chains (999) with max programs (99) and made loop detection array too small. Thanks to JAS for pointing out the problem!
 - Fix bonehead error in pgc-relative offset calculation that broke seeking for titles with one pgc (e.g., almost everything).

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

15 years agoMinor cleanup in chapter size computation (backported from dvdnav.c).
van [Sat, 16 May 2009 07:08:43 +0000 (07:08 +0000)]
Minor cleanup in chapter size computation (backported from dvdnav.c).

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

15 years agoRemove some noise from the log: Only announce chapters when we're reading, not while...
van [Sat, 16 May 2009 07:06:38 +0000 (07:06 +0000)]
Remove some noise from the log: Only announce chapters when we're reading, not while we're getting previews and get rid of a spurious chapter annoucement in sync (video decoders announce chapters since that's where they first get put in the output data stream).

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

15 years ago - Handle titles that use more than one PGC (like the one in this thread: http:/...
van [Sat, 16 May 2009 07:00:02 +0000 (07:00 +0000)]
 - Handle titles that use more than one PGC (like the one in this thread: forum.handbrake.fr/viewtopic.php?f=5&t=10678&p=55575&hilit=genesis#p55620).
 - Make pgcn_map local rather than static since there can be simultaneous scans from both GUI and queue service threads and statics aren't thread safe. Also make map 32 bytes since standard allows only 255 PGCs per title.
 - Fix minor bugs in NextPgcn (used pgcn rather than next_pgcn so tested wrong bit) and dvdnav_seek (missing 'break' & extraneous 'while').

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

15 years agoLinGui: fix gtk building on ubuntu 8.0.4 LTS
jstebbins [Fri, 15 May 2009 16:58:47 +0000 (16:58 +0000)]
LinGui: fix gtk building on ubuntu 8.0.4 LTS

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

15 years agoWinGui:
sr55 [Wed, 13 May 2009 20:16:32 +0000 (20:16 +0000)]
WinGui:
- Create a log file directory if one doesn't exist on start-up.
- Always create presets.xml if the file doesn't exist. (not only if the HandBrake AppData folder doesn't exist)

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

15 years agoWinGui:
sr55 [Wed, 13 May 2009 20:07:52 +0000 (20:07 +0000)]
WinGui:
- Fix Activity Log window not updating for scan log
- Fix Process Affinity not being set for encodes.

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

15 years agoWinGui:
sr55 [Wed, 13 May 2009 19:50:47 +0000 (19:50 +0000)]
WinGui:
- The CLI status information can now optionally be displayed in the encode status bar in the GUI.
- Fixed Scan and Encode cancel functions with a hack. It was killing CMD.exe, not HandBrakeCLI.exe

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

15 years ago- set HandBrakeCLI stdio/stderr to unbuffered on native win32 platform;
konablend [Wed, 13 May 2009 19:27:22 +0000 (19:27 +0000)]
- set HandBrakeCLI stdio/stderr to unbuffered on native win32 platform;
  desired behavior is line-buffering but on win32 msvcrt there is no such thing and
  it becomes full-buffering which delays log/output enough to make it nonsensical.

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

15 years agoBuildSystem: docs
konablend [Wed, 13 May 2009 00:17:52 +0000 (00:17 +0000)]
BuildSystem: docs
- added blurb about troubleshooting and log files.
- regenerated doc/ txt files.

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

15 years agoMacGui: Implement DTS Pass Thru for MKV and DTS Sources.
dynaflash [Tue, 12 May 2009 18:06:22 +0000 (18:06 +0000)]
MacGui: Implement DTS Pass Thru for MKV and DTS Sources.

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

15 years ago# Changed
sr55 [Mon, 11 May 2009 12:49:29 +0000 (12:49 +0000)]
# Changed
- Initial work for multi-instance support. All CLI processes controled by their process ID, not Name. This prevents a scan from 1 instance killing a CLI encode from another.

# Fixed
- Disable angle dropdown when not using Libdvdnav
- Fixed issue with angle dropdown where first item is not selected. This caused the generate query to break due to "--angle" with no value.
- Fixed issue with the dropdown menu setup on the audio tab not working correctly due to updated encoder names and DTS support.
- Fixed an exception conditon on cancel scan.

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

15 years agoMake chapters in mp4 & mkv ffmpeg input files work again (not sure when they got...
van [Mon, 11 May 2009 07:22:49 +0000 (07:22 +0000)]
Make chapters in mp4 & mkv ffmpeg input files work again (not sure when they got broken). Correct timestamp type (it's signed, not unsigned) and do some code cleanup.
Fixes problem reported in http://forum.handbrake.fr/viewtopic.php?f=12&t=10701&sid=4c007d887bf65f3e397203fc2bba1d12

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

15 years agoAnother subtitle muxing fix: Don't check the rdy bit before calling OutputTrackChunk...
van [Mon, 11 May 2009 07:12:39 +0000 (07:12 +0000)]
Another subtitle muxing fix: Don't check the rdy bit before calling OutputTrackChunk so subtitles get output as early as possible based on their start time rather than just before their stop time. (rdy is still checked for non-subtitle tracks since their rdy bit is in the allRdy mask that's tested in the outer loop.)

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

15 years agoFix another subtitle interleaving botch - for mkv's we want the subtitle in the clust...
van [Sat, 9 May 2009 20:49:00 +0000 (20:49 +0000)]
Fix another subtitle interleaving botch - for mkv's we want the subtitle in the cluster where it starts, not the cluster where it ends.

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

15 years agoEnable chapter boundary check for ffmpeg input even when chapters marker are disabled...
ritsuka [Sat, 9 May 2009 08:49:30 +0000 (08:49 +0000)]
Enable chapter boundary check for ffmpeg input even when chapters marker are disabled, fixes an issue where the encoding process wouldn't stop at the right time.

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

15 years agoWork around ffmpeg bug where raw video decoder doesn't use frame buffer allocation...
van [Sat, 9 May 2009 04:39:28 +0000 (04:39 +0000)]
Work around ffmpeg bug where raw video decoder doesn't use frame buffer allocation routine in context.get_buffer so we never get a chance to put our pts in the frame.

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

15 years ago- Fixed the size for tx3g samples in muxmp4.c I forgot to add the size of the string...
ritsuka [Fri, 8 May 2009 16:03:21 +0000 (16:03 +0000)]
- Fixed the size for tx3g samples in muxmp4.c I forgot to add the size of the string byte count to the total sample size.
- Small fixes in deccc608sub.c, trim null characters away.
- Moved the duration time from hb_mux_object_s to hb_mux_data_s so that multiple subtitle tracks can be muxed with interference.
- Uses par to calculate the subtitle track width so that It will be the same as the video track.

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

15 years agoMacGui: Preset Import / Export initial implementation and auto updating of built...
dynaflash [Fri, 8 May 2009 04:24:46 +0000 (04:24 +0000)]
MacGui: Preset Import / Export initial implementation and auto updating of built in presets.
- Preset Import / Export:
-- Export is only available to custom user presets.
-- Export is only the selected preset at this time.
-- Exported presets will be tagged with their build number.
-- Import of mutiple presets.
--- Compatible with LinGui presets.
--- NOT compatible with WinGui presets at this time.
- Built-In preset auto-updating:
-- Adds the key/value pair to the UserPresets.plist file for key "PresetBuildNumber".
-- If the HandBrake.app build number as defined in the Info.plist key "CFBundleVersion" is > the built in presets  "PresetBuildNumber" then the - (IBAction)addFactoryPresets:(id)sender is called to automagically update the built in presets.
-- An alert window is shown along with a system beep ( can be turned off in Preferences -> Advanced for svn mavens and devs) to tell the user that the built in presets are going to be updated.
-- NOTE: First launch of this build will initiate a built in preset update even though the built in presets are the same, since the build number will be added to the built in presets.

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

15 years agoBuildSystem: minor meta-data fix: HB_PROJECT_BUILD_SYSTEMF now correctly defined.
konablend [Fri, 8 May 2009 03:24:30 +0000 (03:24 +0000)]
BuildSystem: minor meta-data fix: HB_PROJECT_BUILD_SYSTEMF now correctly defined.

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

15 years agoFix timestamps on CC's they are now 100% ready and working. Thanks to j45 and ritsuka...
eddyg [Fri, 8 May 2009 00:33:01 +0000 (00:33 +0000)]
Fix timestamps on CC's they are now 100% ready and working. Thanks to j45 and ritsuka for their assistence in getting soft subs finally in HB.

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

15 years agoCombine multiple CC lines into one, trimming whitespace, and adding proper language...
eddyg [Thu, 7 May 2009 23:52:25 +0000 (23:52 +0000)]
Combine multiple CC lines into one, trimming whitespace, and adding proper language code based on first audio track language.

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

15 years agoWinGui:
sr55 [Thu, 7 May 2009 23:00:33 +0000 (23:00 +0000)]
WinGui:
- Notify users that built-in presets have been updated (when preset version < handbrake version.)
- Option to disable that alert in Options > Advanced tab

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

15 years agoSoft Subtitle Support in the MP4 Muxer.
ritsuka [Thu, 7 May 2009 21:59:20 +0000 (21:59 +0000)]
Soft Subtitle Support in the MP4 Muxer.

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

15 years agoWinGui:
sr55 [Thu, 7 May 2009 20:29:25 +0000 (20:29 +0000)]
WinGui:
- Built-in presets get automatically re-generated if a newer build number is detected. This is required since the installer no longer installs presets. (overwrite older versions on install of new version) (As of a few builds ago, presets are automatically generated on first launch)

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

15 years ago# New
sr55 [Thu, 7 May 2009 15:09:33 +0000 (15:09 +0000)]
# New
- DTS support on the audio tab
- Angle support added to the source options

# Changed
- Chapter Markers are not selectable when only 1 chapter is selected or available
- Last Encode and scan logs now stored in application data folder. This will make them more persistent.
- Option to open the HandBrake log folder from the Activity window right click menu

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

15 years agoMacGui: Change new preset code to use AudioList for storing the audio track informati...
dynaflash [Thu, 7 May 2009 14:38:48 +0000 (14:38 +0000)]
MacGui: Change new preset code to use AudioList for storing the audio track information as per the lingui.
- This does *not* change existing presets, only affects any new presets created.
- Results in the macgui and lingui being in sync in terms of preset.plist structure

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

15 years agoChange CC608 decoder to be its own thread
eddyg [Thu, 7 May 2009 04:37:47 +0000 (04:37 +0000)]
Change CC608 decoder to be its own thread

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

15 years agoMinor change in sub printing
eddyg [Wed, 6 May 2009 23:03:06 +0000 (23:03 +0000)]
Minor change in sub printing

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

15 years agoRemoved double EOF for CC's (one from dvd and one from cc), fixed compiler warnings...
eddyg [Wed, 6 May 2009 22:58:21 +0000 (22:58 +0000)]
Removed double EOF for CC's (one from dvd and one from cc), fixed compiler warnings for CC.

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

15 years agosubtitle muxing:
jstebbins [Wed, 6 May 2009 22:41:17 +0000 (22:41 +0000)]
subtitle muxing:
initialize mux_data for passthru subtitles in muxmp4 and muxmkv
add non-continuous tracks for passthru subtitles in muxcommon
log closed caption data that gets to the muxer

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

15 years agoFix Closed Caption start/stop times, switched to SRT encoding including markup for...
eddyg [Wed, 6 May 2009 22:25:34 +0000 (22:25 +0000)]
Fix Closed Caption start/stop times, switched to SRT encoding including markup for text subs internal to HB.

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

15 years agoFix several boneheaded mistakes in fifo ready logic.
van [Wed, 6 May 2009 06:42:21 +0000 (06:42 +0000)]
Fix several boneheaded mistakes in fifo ready logic.

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

15 years agoMissed file
eddyg [Wed, 6 May 2009 04:17:18 +0000 (04:17 +0000)]
Missed file

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

15 years agoVOBSUB encoder skeleton for use with mkv VOBSUB pass-through
eddyg [Wed, 6 May 2009 04:16:40 +0000 (04:16 +0000)]
VOBSUB encoder skeleton for use with mkv VOBSUB pass-through

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

15 years agoPush an EOF onto the subtitle fifos from the reader for DVD VOBSUBs and also from...
eddyg [Wed, 6 May 2009 02:25:58 +0000 (02:25 +0000)]
Push an EOF onto the subtitle fifos from the reader for DVD VOBSUBs and also from cc608 for closed captions

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

15 years agoClean up subtitles at end of encode if not consumed and free fifo.
eddyg [Tue, 5 May 2009 21:41:15 +0000 (21:41 +0000)]
Clean up subtitles at end of encode if not consumed and free fifo.

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

15 years agoMacGui: disable and deselect chapter markers when only one chapter is being encoded...
dynaflash [Tue, 5 May 2009 17:28:50 +0000 (17:28 +0000)]
MacGui: disable and deselect chapter markers when only one chapter is being encoded, whether it be a single chapter title or user specified chapter.

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

15 years agoLinGui:
jstebbins [Tue, 5 May 2009 16:00:13 +0000 (16:00 +0000)]
LinGui:
disable chapters markers when there is only one chapter in the title
or when the user chooses to encode only one chapter of the title

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

15 years agoRewrite pass-through timestamps in sync, put on subtitle->fifo_out for muxing. Also...
eddyg [Tue, 5 May 2009 04:49:28 +0000 (04:49 +0000)]
Rewrite pass-through timestamps in sync, put on subtitle->fifo_out for muxing. Also put the mp4 subtitle display inline with muxing - easy for ritsuka to put into a subtitle track ;)

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

15 years agoWinGui:
sr55 [Mon, 4 May 2009 22:40:46 +0000 (22:40 +0000)]
WinGui:

# New
- Setup LibDVDNav option for scanning.

# Directory and logging changes
- The GUI now stores preset data in the systems user Application Data directory. This means that multi-user systems don't share the same single set of user presets.
- A History of logs are automatically stored in the systems application data directory.
- Changed the log preferences to make them a bit easier to understand.

# Bugs / Typos
- Fixed small bug in the version info regex parser.
- Fixed typo on x264 tab
- Fixed minor GUI issue on the Add Preset window (button transparency)
- Fixed disable Query Editor tab option (Thanks tlindgren)

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

15 years agoLinGui: arg! and remove debuggin output
jstebbins [Mon, 4 May 2009 21:04:32 +0000 (21:04 +0000)]
LinGui: arg! and remove debuggin output

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

15 years agoLinGui: preview crop border fix
jstebbins [Mon, 4 May 2009 21:01:42 +0000 (21:01 +0000)]
LinGui: preview crop border fix
fix slight virtical stretching when borders applied and mod is 16

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

15 years agoLinGui: another tweak to preview cropping borders
jstebbins [Mon, 4 May 2009 18:10:31 +0000 (18:10 +0000)]
LinGui: another tweak to preview cropping borders

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

15 years agoLinGui: tweaks to appearance of visible crop borders
jstebbins [Mon, 4 May 2009 17:18:06 +0000 (17:18 +0000)]
LinGui: tweaks to appearance of visible crop borders

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

15 years agofix mkv muxing. eddyg forgot to add a break in a switch he modified.
jstebbins [Mon, 4 May 2009 15:43:35 +0000 (15:43 +0000)]
fix mkv muxing.  eddyg forgot to add a break in a switch he modified.

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

15 years agoMacGui: preview changes to coincide with rev 2376
dynaflash [Mon, 4 May 2009 05:29:45 +0000 (05:29 +0000)]
MacGui: preview changes to coincide with rev 2376
- as per the LinGui changes to hb_get_preview (thanks jstebbins)
- also restores the gray crop border color
- consolidates some macgui preview code

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

15 years agoLinGui: preview changes
jstebbins [Mon, 4 May 2009 05:26:13 +0000 (05:26 +0000)]
LinGui: preview changes
- update hb_get_preview to allow upscaling and remove borders
- allow upscaling in the gui
- add user option to show visible cropping borders
- gui generates borders when needed instead of hb_get_preview, which
  allows for flexible alternatives like alternate colors

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

15 years agoSoft Subs Part 2: Auto-detect CC during scan, add CC to subtitle list in title, if...
eddyg [Mon, 4 May 2009 04:56:19 +0000 (04:56 +0000)]
Soft Subs Part 2: Auto-detect CC during scan, add CC to subtitle list in title, if selected then CC's are extracted, MP4 Muxer will dump the subs to the log at the end of encoding. TODO: Translate PTS for buf->start to HB format, add MP4 subtitle track and subs during muxing.

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

15 years agoLinGui: integrate with eddyg's subtitle list changes
jstebbins [Mon, 4 May 2009 03:09:29 +0000 (03:09 +0000)]
LinGui: integrate with eddyg's subtitle list changes

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

15 years agoStage 1 Soft Subtitle Support - Allow multiple subtitle tracks to be selected, and...
eddyg [Mon, 4 May 2009 01:39:48 +0000 (01:39 +0000)]
Stage 1 Soft Subtitle Support - Allow multiple subtitle tracks to be selected, and mark them for Render or Pass Through. No functional difference from the UIs, however in theory they could render multiple tracks - would be a dogs breakfast on screen though, and is untested. Have tested all normal operations from the UIs, including scanning.

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

15 years ago- minor code cleanup - use x264_nal_t.i_type instead of buffer+offset&mask.
konablend [Sun, 3 May 2009 21:53:37 +0000 (21:53 +0000)]
- minor code cleanup - use x264_nal_t.i_type instead of buffer+offset&mask.
- use constants instead of hardcoded values.
- explicitly list expected nal types to be processed further.

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

15 years ago- encx264 sets HB_FRAME_REF to expose ref/non-ref frame status to muxer.
konablend [Sun, 3 May 2009 14:34:16 +0000 (14:34 +0000)]
- encx264 sets HB_FRAME_REF to expose ref/non-ref frame status to muxer.
- bump libmp4v2 r286 -> r290; required for new API (sdtp atom support).
- use new API MP4WriteSampleDependency() in muxer to signal disposable frames and set a few other dependency bits for sdtp atom.

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

15 years agoLinGui:
jstebbins [Sat, 2 May 2009 23:58:23 +0000 (23:58 +0000)]
LinGui:
poll for dvd volume labels after the ui is fully displayed
truncate leading and trailing spaces in volume labels
sanitize volume label after making a copy instead of stepping
on dvdreads private copy.

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

15 years agoLinGui: adjust vfr code to accomidate new method of handling vfr in libhb
jstebbins [Sat, 2 May 2009 23:24:55 +0000 (23:24 +0000)]
LinGui: adjust vfr code to accomidate new method of handling vfr in libhb

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

15 years ago - Move frame rate code from sync to the end of render so it can account for frame...
van [Sat, 2 May 2009 21:28:39 +0000 (21:28 +0000)]
 - Move frame rate code from sync to the end of render so it can account for frame timing changes made by filters.
 - Fix a bug that would make CFR alternate between massive drops and massive dups on
some titles.
 - If we're not doing CFR add a factor-of-two fudge factor to init_delay to account f
or the awful clock resolution of some mkvs and mp4s.

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

15 years agoBuildSystem: fix libmp4v2 error: Error: file number 2 already allocated
konablend [Sat, 2 May 2009 21:18:28 +0000 (21:18 +0000)]
BuildSystem: fix libmp4v2 error: Error: file number 2 already allocated
- building libmp4v2 w/ --debug=max (-g3) exposes a gch issue.
- workaround is to disable gch.
- corrected variant/*.defs files: GCC.args.g.default -> GCC.args.g.std

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

15 years agoMacGui: restore the gray border to show crop, etc. in the picture preview.
dynaflash [Sat, 2 May 2009 00:22:11 +0000 (00:22 +0000)]
MacGui: restore the gray border to show crop, etc. in the picture preview.

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

15 years agoMacGui: Add an "Attempt Scan Anyway" option to the 64-bit physical dvd scan warning.
dynaflash [Fri, 1 May 2009 21:40:35 +0000 (21:40 +0000)]
MacGui: Add an "Attempt Scan Anyway" option to the 64-bit physical dvd scan warning.
- Allows reading of un-encrypted physical dvd's.

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

15 years agoMacGui: Fix issue in custom anamorphic where the modulus was not changed back after...
dynaflash [Fri, 1 May 2009 21:01:58 +0000 (21:01 +0000)]
MacGui: Fix issue in custom anamorphic where the modulus was not changed back after leaving custom anamorphic which caused the steppers to freeze when anamorphic was turned off and keep ar was on among other things.
- Thanks s55 for the heads up.

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

15 years agoMacGui: Custom Anamorphic
dynaflash [Fri, 1 May 2009 20:04:04 +0000 (20:04 +0000)]
MacGui: Custom Anamorphic
- Remove modulus 1 as it causes issues with preview and x264 could crash on odd dimensions.
- Told you it was experimental.

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

15 years agoMacGui: Custom Anamorphic initial implementation (experimental) and pic settings...
dynaflash [Fri, 1 May 2009 19:54:18 +0000 (19:54 +0000)]
MacGui: Custom Anamorphic initial implementation (experimental) and pic settings and preview changes.
- Custom Anamorphic mode allows more customization of pixel and display dimensions.
-- NOTE: The layout and even functionality are considered very experimental and not ready for prime time yet.
-- Change to hb_get_preview allowing a preview size > title->width and height courtesy of jbjake.
-- Allows setting the modulus to 16 (default), 8, 4, 2, or 1.
-- Adds display height, pixel width and pixel height fields.
- Picture Inspector:
-- Changes shape and size according to the size/filter tab and anamorphic and filter settings.
- Picture Preview:
-- Now crops the gray borders from around the image returned from hb_get_preview and recreates cropping and resizing itself.
-- Add size and scale information to the preview window title bar so you can see it without activating the hud controls.
-- Attempt to fix the intermittent aliasing problem with the hud control overlay by making sure the hud origin is a whole int (fix courtesy of KonaB1end).
- Known Issues:
-- Scale to Screen mode is currently borked. The actual image does not scale yet.
-- Depending on how far you upscale the display dimensions in custom anamorphic, the preview image can get a bit wonky. Returning to one of the standard modes clears it up.

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

15 years agodvdnav: improve title scanning
jstebbins [Fri, 1 May 2009 17:27:51 +0000 (17:27 +0000)]
dvdnav: improve title scanning
- looks for ptt with longest pgc sequence instead of just picking first ptt
    solves many 'short title' problems
- constructs chapters from the pg's within the pgc's instead of using ptt's
    solve the problem of ptt's that point to an intro pgc instead of
    to the actual chapter position in the title.

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

15 years agodvdnav: fix problem with vm entering stopped state
jstebbins [Wed, 29 Apr 2009 17:06:42 +0000 (17:06 +0000)]
dvdnav: fix problem with vm entering stopped state
when the vm enters the stopped state, there's no way to recover
you must close and re-open dvdnav. dvdnav_reset() doesn't help.

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

15 years agoLinGui: fix stupid mistake in setting the audio codec
jstebbins [Wed, 29 Apr 2009 00:53:33 +0000 (00:53 +0000)]
LinGui: fix stupid mistake in setting the audio codec

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

15 years agoLinGui: add "auto" passthru audio option
jstebbins [Tue, 28 Apr 2009 21:49:18 +0000 (21:49 +0000)]
LinGui: add "auto" passthru audio option
This selects the "best" ac3 *or* dts track for passthru
i got tired of my encodes ending up with stereo ac3 instead of 6ch dts
because I forgot to verify the audio before starting an encode

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

15 years agoLinGui: fix drag and drop problems in presets and queue
jstebbins [Mon, 27 Apr 2009 23:53:21 +0000 (23:53 +0000)]
LinGui: fix drag and drop problems in presets and queue
don't allow dragging unknown widget types into treeviews

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

15 years agoWinGui: dvdnav option added to preferences.
sr55 [Mon, 27 Apr 2009 15:41:45 +0000 (15:41 +0000)]
WinGui: dvdnav option added to preferences.

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

15 years agoadd libdvdnav support
jstebbins [Mon, 27 Apr 2009 15:18:05 +0000 (15:18 +0000)]
add libdvdnav support
emulates the vm of a dvd player in order to navigate the disc more reliably
it is optional and disabled by default
CLI option '--dvdnav' enables.  GUI's have a new option in preferences.
When dvdnav is enabled, you can also select angles (cli '--angle')

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

15 years agox264 bump to r1130-8475977
dynaflash [Sat, 25 Apr 2009 15:01:30 +0000 (15:01 +0000)]
x264 bump to r1130-8475977
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=d2e1e1c35c43ea9c90c9211be6202143b69b35b9
- minor speedups and some ppc enhancements

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

15 years agoLinGui: change some preset keys to sync with mac presets
jstebbins [Fri, 24 Apr 2009 14:59:23 +0000 (14:59 +0000)]
LinGui: change some preset keys to sync with mac presets

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

15 years agoWinGui:
sr55 [Thu, 23 Apr 2009 23:26:31 +0000 (23:26 +0000)]
WinGui:
- Moved the code which loads the preset panel into the PresetHandler class.
- rewritten the preset panel loader so that it's easier to understand.

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

15 years agoFix ffmpeg module to use scoped-gcc value.
konablend [Thu, 23 Apr 2009 07:09:19 +0000 (07:09 +0000)]
Fix ffmpeg module to use scoped-gcc value.

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

15 years agoLeave video tracks on the 90KHz MPEG timebase so we don't end up with constantly...
van [Thu, 23 Apr 2009 05:04:00 +0000 (05:04 +0000)]
Leave video tracks on the 90KHz MPEG timebase so we don't end up with constantly varying frame sizes due to the sample rate conversion.

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

15 years agoWinGui:
sr55 [Wed, 22 Apr 2009 12:27:37 +0000 (12:27 +0000)]
WinGui:
- Queue: Can now store unlimited number of audio tracks in presets. It is no longer limited to 4.
- Activity Window: Fixed a bug where it was looking at the wrong class for checking the status of encoding.
- Activity Window: Improved update / display performance dramatically by removing a List data structure.
- Misc: Old code removed / code tweaks

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

15 years ago - Get rid of deadlock that would halt processing some mkv files.
van [Tue, 21 Apr 2009 05:09:33 +0000 (05:09 +0000)]
 - Get rid of deadlock that would halt processing some mkv files.
 - Interleave media streams to reduce player buffer requirements and initial latency.
 - Add support for intermittent media streams like subtitles or closed captions (we don't have any of these yet but may one day).

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

15 years agobump libmp4v2 r224 ->r286; chunk duration; tags; cover-art
konablend [Tue, 21 Apr 2009 02:36:46 +0000 (02:36 +0000)]
bump libmp4v2 r224 ->r286; chunk duration; tags; cover-art

The major changes to libmp4v2 include the new Tags API for iTunes metadata management
and new API to set track chunk duration limits. Additionally, the patches for libmp4v2
are no longer required and libmp4v2 should build significantly faster as it now
enabled precompiled headers on various platforms.

Tags API effects common.h, decmetdata.c and muxmp4.c and replaces the operations in
a near 1:1 mapping for functionality except all access happens in between alloc/fetch
and store/free pattern.

libhb no longer checks the bits of cover-art in order to determine image type. That
functionality is now delegated to libmp4v2; and libhb identify_art_type() has been
removed accordingly.

Chunk duration support has been added which makes use of new API from libmp4v2:

    MP4SetTrackDurationPerChunk( MP4File, MP4TrackId );

And muxmp4 adds new internal function MP4TuneTrackDurationPerChunk() which is
invoked after all video/audio track creation which tunes chunk duration to the
equivalent of 4-frames in track timescale; as per van's suggestion.

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

15 years agoBuildSystem:
konablend [Mon, 20 Apr 2009 16:33:07 +0000 (16:33 +0000)]
BuildSystem:
- fixed project metadata for website URL; r2326 inadvertantly merged hbfork website

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

15 years agoLinGui:
jstebbins [Mon, 20 Apr 2009 16:18:19 +0000 (16:18 +0000)]
LinGui:
change destination file extension from mp4 to m4v
when chapter markers are enabled

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

15 years agoBuildSystem: fix darwin/xcode to avoid double-configure/build after svn up
konablend [Sun, 19 Apr 2009 01:47:13 +0000 (01:47 +0000)]
BuildSystem: fix darwin/xcode to avoid double-configure/build after svn up
- build system automagically rebuilds certain files from libhb upwards after
  an svn up to maintain accurate repository information in binaries; if building
  with xcode the process was inadvertantly repeated on subsequent 'make'.
- enhanced make/xcodemake to record the user's environment when shunted through
  xcode. this should help in diagnosing build issues from Xcode.app in the future.

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

15 years agolibhb: set min:max key intervals ratio to 1:10 of fps
konablend [Sat, 18 Apr 2009 22:44:37 +0000 (22:44 +0000)]
libhb: set min:max key intervals ratio to 1:10 of fps
- new behavior effects ratios only for whole-numbered input FPS
- old behavior { 23.976, 24, 29.976, 30, 59.94, 60 } -> { 24:240, 25:251, 30:300, 31:301, 60:600, 61:601 }
- new behavior { 23.976, 24, 29.976, 30, 59.94, 60 } -> { 24:240, 24:240, 30:300, 30:300, 60:600, 60:600 }

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

15 years agoHandBrakeCLI: change --help to send output to stdout instead of stderr
konablend [Sat, 18 Apr 2009 20:50:48 +0000 (20:50 +0000)]
HandBrakeCLI: change --help to send output to stdout instead of stderr

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

15 years agoupdate cli help to include dts audio in list of options
jstebbins [Sat, 18 Apr 2009 18:44:12 +0000 (18:44 +0000)]
update cli help to include dts audio in list of options

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

15 years agoLinGui: disable DTS passthru option for MP4 file output
jstebbins [Sat, 18 Apr 2009 18:44:07 +0000 (18:44 +0000)]
LinGui: disable DTS passthru option for MP4 file output

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

15 years agoEnable DTS passthru for matroska container
jstebbins [Sat, 18 Apr 2009 18:44:01 +0000 (18:44 +0000)]
Enable DTS passthru for matroska container
since we have no way to create silent dts frames for insertion to
maintain sync, frames from other streams may be dropped when there is
a sync problem on the DTS stream

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

15 years agoLinGui: fix segfault on startup for older fedora versions
jstebbins [Fri, 17 Apr 2009 18:06:27 +0000 (18:06 +0000)]
LinGui: fix segfault on startup for older fedora versions
multiple drive change events caused multiple source scans to be started

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

15 years agoLinGui:
jstebbins [Fri, 17 Apr 2009 17:29:38 +0000 (17:29 +0000)]
LinGui:
- add volume label to dvd source shortcuts in the file menu
- move loose crop option from preferences to picture settings
- add label to show cropped dimensions to picture settings

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

15 years agoLinGui: fix an error in the libs that came from the mingw merge
jstebbins [Fri, 17 Apr 2009 01:54:06 +0000 (01:54 +0000)]
LinGui: fix an error in the libs that came from the mingw merge
another one of those works on fedora, not on ubuntu things.

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

15 years agoLinGui: minor change to how dvd devices are added to the file menu
jstebbins [Thu, 16 Apr 2009 23:43:48 +0000 (23:43 +0000)]
LinGui: minor change to how dvd devices are added to the file menu

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

15 years agoLinGui: fix problem with allocating size of an unrealized widget
jstebbins [Thu, 16 Apr 2009 22:47:39 +0000 (22:47 +0000)]
LinGui: fix problem with allocating size of an unrealized widget

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

15 years agoLinGui: a couple bug fixes
jstebbins [Thu, 16 Apr 2009 22:32:41 +0000 (22:32 +0000)]
LinGui: a couple bug fixes
- cropping arithmatic error
- uninitialized pointer reference in hud compositor

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

15 years agoLinGui: merge gtk mingw cross compiling support
jstebbins [Thu, 16 Apr 2009 01:46:08 +0000 (01:46 +0000)]
LinGui: merge gtk mingw cross compiling support

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

15 years ago- added libtool patch for xvidcore to fix build error --> configure: error: cannot...
konablend [Wed, 15 Apr 2009 23:47:57 +0000 (23:47 +0000)]
- added libtool patch for xvidcore to fix build error --> configure: error: cannot run /bin/bash ./config.sub
- bug was reported on Unbuntu 8.10 and is heterogeneous in nature, exposed by libtool circa 2.2 -> 2.2.4

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