OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agorevert an erroneous modification to the build system
jstebbins [Tue, 26 May 2009 15:34:55 +0000 (15:34 +0000)]
revert an erroneous modification to the build system

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

15 years agoLinGui: expunge the remaining bits of xvid from the gtk gui
jstebbins [Tue, 26 May 2009 15:25:54 +0000 (15:25 +0000)]
LinGui: expunge the remaining bits of xvid from the gtk gui

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

15 years agoExcises xvid from libhb because it's not worthy. Having two different MPEG-4 Part...
jbrjake [Tue, 26 May 2009 15:23:21 +0000 (15:23 +0000)]
Excises xvid from libhb because it's not worthy. Having two different MPEG-4 Part 2 encoders is superfluous and when choosing between ffmpeg and xvid, xvid is the clear loser since we need to keep ffmpeg around for other functions and xvid constantly requires attention to ensure it compiles.

MacGui: Removes some stray references to the codec and unlinks it from the Xcode project.
CLI: Removes references to the codec and removes it as a dependency.

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

15 years agox264: bump to r1159-3da3f95
dynaflash [Mon, 25 May 2009 19:06:45 +0000 (19:06 +0000)]
x264: bump to r1159-3da3f95
- Various CABAC / CAVLC optimisations

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

15 years ago- bump to mp4v2-trunk-r349.
konablend [Sat, 23 May 2009 16:03:16 +0000 (16:03 +0000)]
- bump to mp4v2-trunk-r349.
- muxmp4.c minor updates to recent subtitle API changes.
- muxmp4.c do not set zero-length tags.
- renamed module libmp4v2 -> mp4v2.

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

15 years agoWinGui:
sr55 [Sat, 23 May 2009 14:58:01 +0000 (14:58 +0000)]
WinGui:
- Renamed the Queue folder and moved the Encoding stuff into it.
- Moves encode process information into a class object.

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

15 years agoWinGui:WinGui:
sr55 [Sat, 23 May 2009 14:57:00 +0000 (14:57 +0000)]
WinGui:WinGui:
- Stop button, now allows the CLI to cleanly exit by sending ctrl-c rather than killing the process.

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

15 years agoDarwin Xcode builds:
konablend [Sat, 23 May 2009 10:23:03 +0000 (10:23 +0000)]
Darwin Xcode builds:
- changed Xcode.app to build contrib with jobs=2 by default.
- changed Xcode project Base SDK for all Configurations from '10.5' to 'Current Mac OS' which
  will help us build on Snow Leopard.

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

15 years agoForgot a comma in common.c .
ritsuka [Sat, 23 May 2009 09:52:40 +0000 (09:52 +0000)]
Forgot a comma in common.c .

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

15 years ago- Add CoreAudio AAC as one of the encoder on Mac OS X.
ritsuka [Sat, 23 May 2009 09:46:36 +0000 (09:46 +0000)]
- Add CoreAudio AAC as one of the encoder on Mac OS X.
- Remove hb_init() and hb_init_express() macro. Rename hb_init_real() to hb_init()
- Add two more bitrate combination for audio codecs in common.h

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

15 years agoLinGui: fix a couple bugs in subtitle handling
jstebbins [Fri, 22 May 2009 22:46:59 +0000 (22:46 +0000)]
LinGui: fix a couple bugs in subtitle handling
- validation of subtitiles wasn't looking at the 'enabled' flag so it
  gave an incorrect warning message for subtitles that were not enabled
- subtitles were being erroneously enabled when there was no subtitle
  list in the preset

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

15 years agoLinGui: check gstreamer return values more carefully
jstebbins [Fri, 22 May 2009 19:08:44 +0000 (19:08 +0000)]
LinGui: check gstreamer return values more carefully
gstreamer seems to fail when run on remote X sessions

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

15 years agoLinGui:
jstebbins [Fri, 22 May 2009 16:22:04 +0000 (16:22 +0000)]
LinGui:
reload subtitles properly when a queue item is edited

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

15 years agoWinGui:
sr55 [Fri, 22 May 2009 13:33:39 +0000 (13:33 +0000)]
WinGui:
- Offer option to disable balloon popups on the tray icon.
- Misc code cleanup

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

15 years agoWinGui:
sr55 [Fri, 22 May 2009 00:08:58 +0000 (00:08 +0000)]
WinGui:
- Should probably have included the new audio panel files with that last check-in.

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

15 years agoWinGui:
sr55 [Fri, 22 May 2009 00:07:38 +0000 (00:07 +0000)]
WinGui:
- Moved the AudioPanel to it's own userControl.
- Tweaks to the Audio Track list to improve usability. Now shows track ID's to indicate which track is selected.
- Added missing file headers to some files.
- Moved subtitles onto their own tab in preparation for the new subtitle features.
- Improved control (widget) appearance on the Advanced tab.

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

15 years agoLinGui:
jstebbins [Thu, 21 May 2009 20:23:04 +0000 (20:23 +0000)]
LinGui:
add 'enable' checkbox to subtitle list and show all subtitles
in the list after scanning. Thanks eddyg for the suggestions.

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

15 years agoLinGui:
jstebbins [Wed, 20 May 2009 23:39:06 +0000 (23:39 +0000)]
LinGui:
- Move the subtitle track combo into the treeview list
  Each subtitle entry has its own combo to select the track now

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

15 years agoLinGui: give feedback indicating problems with subtitle selections
jstebbins [Wed, 20 May 2009 16:00:52 +0000 (16:00 +0000)]
LinGui: give feedback indicating problems with subtitle selections
- highlight subtitles that can not be encoded for some reason
  example: user adds several subtitles, then changes container from mkv to mp4
- validate subtitle list when adding to queue and show warning popup when
  there's a problem

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

15 years agoLinGui:
jstebbins [Wed, 20 May 2009 00:28:51 +0000 (00:28 +0000)]
LinGui:
- fix a couple ui widget size/position issues
- fix subtitle selection when no match is found in a title for a subtitle preset
- fix an error in generating strings that describe a subtitles type

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

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