]>
granicus.if.org Git - handbrake/log
John Stebbins [Fri, 12 Jul 2019 18:31:03 +0000 (11:31 -0700)]
libhb: eliminate file path length limits
John Stebbins [Tue, 6 Aug 2019 22:56:50 +0000 (16:56 -0600)]
dvd: create track named from dvd track attributes
John Stebbins [Tue, 6 Aug 2019 20:02:05 +0000 (14:02 -0600)]
ffmpeg: make track names visible regarless of locale
Apple will not show a track name if it doesn't match the current locale
or it's language is not "und". This patch results in the language being
set to "und".
writes 3gpp track names for all language variations in metadata.
when the language is not specified, uses "und" as default.
HandBrake doesn't actually allow multiple track name languages, but one
of the side effects of this patch is to use "und" when the track name
language is unspecified. Before this patch, language specific variants
of metadata were ignored and "eng" was always set as the language.
John Stebbins [Tue, 6 Aug 2019 19:59:44 +0000 (13:59 -0600)]
stream: improve track name selection
ffmpeg will suppliy mulitple metadata entries for 3gpp track name
entries if there are language specific names in the source. Pick the
"best" option.
John Stebbins [Sun, 4 Aug 2019 18:07:02 +0000 (11:07 -0700)]
ffmpeg: add support to read/write mp4 'titl' track tag
John Stebbins [Sat, 3 Aug 2019 17:22:34 +0000 (10:22 -0700)]
fix build error
not sure how/why I committed somethng I didn't even compile :-\
John Stebbins [Fri, 2 Aug 2019 20:26:57 +0000 (13:26 -0700)]
muxavformat: set handler_name for subtitle track names also
John Stebbins [Fri, 2 Aug 2019 20:13:44 +0000 (13:13 -0700)]
muxavformat: fix writing alternative track name in mp4 hdlr atom
ffmpeg changed the name of the metadata key at some point
John Stebbins [Fri, 2 Aug 2019 19:23:07 +0000 (12:23 -0700)]
CLI: add subtitle name support
John Stebbins [Fri, 2 Aug 2019 19:22:17 +0000 (12:22 -0700)]
add subtitle name to job configuration log output
John Stebbins [Fri, 2 Aug 2019 18:41:13 +0000 (11:41 -0700)]
add subtitle track name read/write
Works similar to audio track names.
If source has a subtitle track name, hb_subtitle_t.name is set.
To set output subtitle track name, set hb_subtitle_config_t.name.
Source track names are available in title returned by hb_title_to_dict
and hb_title_to_json in SubtitleList[].Name
In job dict it is also SubtitleList[].Name
hb_preset_job_init and hb_preset_job_init_json initialize output tracks
with the source track name.
Also adds subtitle name support to LinGui
John Stebbins [Fri, 2 Aug 2019 18:21:42 +0000 (11:21 -0700)]
a few fixes for audio track name handling
fixes a memory leak makes name const
John Stebbins [Wed, 31 Jul 2019 22:36:16 +0000 (15:36 -0700)]
ffmpeg: add 'name' track udta tag reading
John Stebbins [Wed, 31 Jul 2019 17:59:25 +0000 (10:59 -0700)]
libhb: make source audio track name available to frontends
It gets stored in new hb_audio_config_t.in.name field.
It is available in the title dict read through hb_title_to_dict() or
hb_title_to_json() in AudioList[].Name.
When a job is initialized with hb_preset_job_init or
hb_preset_job_init_json(), output audio tracks are initialized with the
source track name.
Also adds output track name initialization to LinGui.
Bradley Sepos [Sun, 11 Aug 2019 19:27:45 +0000 (15:27 -0400)]
mac: Remove libsamplerate from Xcode project.
John Stebbins [Sun, 11 Aug 2019 17:35:58 +0000 (10:35 -0700)]
Remove libsamplerate
Convert the last use of libsamplerate in sync.c to swresample
Damiano Galassi [Sun, 11 Aug 2019 15:44:05 +0000 (17:44 +0200)]
MacGui: improve queue accessibility.
Damiano Galassi [Sun, 11 Aug 2019 13:22:07 +0000 (15:22 +0200)]
MaGui: fix xpc service localization.
Damiano Galassi [Sun, 11 Aug 2019 11:16:44 +0000 (13:16 +0200)]
MacGui: improve xpc crash recovery, set dvdnav option in the xpc service.
Damiano Galassi [Sun, 11 Aug 2019 08:28:23 +0000 (10:28 +0200)]
MacGui: properly cleanup the xpc service temporary files; fix encode toolbar items state when going from scanning to encoding.
Damiano Galassi [Sun, 11 Aug 2019 07:58:32 +0000 (09:58 +0200)]
MacGui: recover when the xpc service crashes.
Damiano Galassi [Sun, 11 Aug 2019 07:07:20 +0000 (09:07 +0200)]
MacGui: move the queue libhb instance to an xpc service.
Nomis101 [Wed, 7 Aug 2019 13:01:57 +0000 (15:01 +0200)]
[MacGUI] Update german localization (for new queue)
Sync with latest Transifex
Damiano Galassi [Tue, 6 Aug 2019 20:45:29 +0000 (22:45 +0200)]
MacGui: update Italian localization.
Damiano Galassi [Tue, 6 Aug 2019 10:22:00 +0000 (12:22 +0200)]
MacGui: rename the Actions toolbar item to Action to be coherent with the other Mac apps.
Nomis101 [Mon, 5 Aug 2019 11:31:02 +0000 (13:31 +0200)]
Update deprecated gnu dialects name in project.pbxproj
The name gnu++0x is deprecated since 2011. We should use the up-to-date name gnu++11 instead.
http://www.stroustrup.com/C++11FAQ.html
John Stebbins [Thu, 30 May 2019 15:45:13 +0000 (08:45 -0700)]
audio_resample: set input and output samplerate
Fixes https://github.com/HandBrake/HandBrake/issues/2124
Damiano Galassi [Mon, 5 Aug 2019 07:17:12 +0000 (09:17 +0200)]
MacGui: correct the HBEncodeLogLocation key. Fix #2220.
Bradley Sepos [Thu, 1 Aug 2019 14:14:20 +0000 (10:14 -0400)]
contrib: Update to x265 3.1.2.
Fixes hangs encoding some files.
John Stebbins [Wed, 31 Jul 2019 23:34:07 +0000 (16:34 -0700)]
LinGui: make selection of gtk3/gtk4 configure-able
John Stebbins [Wed, 31 Jul 2019 20:55:47 +0000 (13:55 -0700)]
LinGui: only show progress bar on active queue entry
sr55 [Wed, 31 Jul 2019 20:41:02 +0000 (21:41 +0100)]
WinGui: UI / Consistency improvements on Audio and Subtitle Defaults
John Stebbins [Wed, 31 Jul 2019 14:56:56 +0000 (07:56 -0700)]
stream: fix building of subtitle list in PES files
a very old cut & paste error. people must not use subtitles in PES
much ;)
Damiano Galassi [Wed, 31 Jul 2019 05:30:48 +0000 (07:30 +0200)]
MacGui: don't send the search pass progress to the Finder progress bar.
Nomis101 [Wed, 31 Jul 2019 05:27:27 +0000 (07:27 +0200)]
Fix some typos (#2202)
Fix some typos
John Stebbins [Tue, 30 Jul 2019 21:54:10 +0000 (14:54 -0700)]
LinGui: make chapter list rows non-selectable
I.e. do not highlight the entire row when clicked with the mouse
John Stebbins [Tue, 30 Jul 2019 19:51:13 +0000 (12:51 -0700)]
LinGui: change chapter list to GtkListBox
GtkListBox is more flexible than GtkTreeView. It is possible now to
process key press events without creating a custom text cell renderer.
Also due to the way event handling changes in GTK4, it was no longer
even possible to create a custom cell renderer that can process key
events. So this GtkListBox implementation is compatible with GTK4.
John Stebbins [Tue, 30 Jul 2019 14:58:04 +0000 (07:58 -0700)]
LinGui: fix build error on ubuntu bionic
Damiano Galassi [Tue, 30 Jul 2019 08:49:01 +0000 (10:49 +0200)]
MacGui: add a preference to automatically clear completed queue items.
Damiano Galassi [Tue, 30 Jul 2019 08:29:01 +0000 (10:29 +0200)]
MacGui: set the progress labels to a monospaced digit font.
Damiano Galassi [Tue, 30 Jul 2019 08:27:43 +0000 (10:27 +0200)]
MacGui: add a nicer icon to the details toolbar button.
John Stebbins [Tue, 30 Jul 2019 00:02:35 +0000 (17:02 -0700)]
LinGui: gtk4 port, use rotation transform in settings stack
Because we can :*p
John Stebbins [Mon, 29 Jul 2019 23:40:09 +0000 (16:40 -0700)]
LinGui: gtk4 port, fix reading/writing GtkSpinButton text
In GTK4, GtkSpinButton is no longer a subclass of GtkEntry. Must use
GtkEditable APIs in GTK4
John Stebbins [Mon, 29 Jul 2019 22:39:33 +0000 (15:39 -0700)]
LinGui: gtk4 port, minimize appearence of tool bar separators
These are not supposed to be visible, but gtk4 is not respecting the
"draw" property of GtkSeparatorToolItem. When this is fixed, I can
restore proper spacing between "Open Source" and "Add To Queue" toolbar
buttons.
John Stebbins [Mon, 29 Jul 2019 22:22:42 +0000 (15:22 -0700)]
LinGui: gtk4 port, fix summary tab preview image scaling
GTK4 added a new widgit GtkPicture that is almost identical to GtkImage.
The main difference appears to be that GtkImage now scales down the size
of the given pixbuf using some undocumented algorithm. It's filling
some of the space available, but not all of it. But it isn't a hard
size limit because making the window bigger continues to make the image
bigger.
GtkPicture shows the pixbuf unscaled as expected. So use GtkPicture for
the preview image :*(
John Stebbins [Mon, 29 Jul 2019 17:48:07 +0000 (10:48 -0700)]
LinGui: gtk4 port, fix search in language combo box
language search requires key-press handling which changed in gtk4
John Stebbins [Mon, 29 Jul 2019 17:02:02 +0000 (10:02 -0700)]
LinGui: disable gtk4 key-press handling for chapter list
gtk4 makes it very difficult to handle key-press in a GtkCellRenderer
I will need to rewrite the capter list as a GtkListBox instead of a
GtkTreeView to re-enable this.
key-press handling is used here to automatically move to the next
chapter when finished editing the current
John Stebbins [Mon, 29 Jul 2019 16:43:15 +0000 (09:43 -0700)]
LinGui: add queue row delete key handling for gtk4
Event handling in gtk4 is substantially different than gtk3. This
restores handling of delete key on queue rows in gtk4 port
John Stebbins [Mon, 29 Jul 2019 16:20:16 +0000 (09:20 -0700)]
LinGui: use GtkNotebookPage in gtk4 ui description
This is the modern gtk4 way...
John Stebbins [Mon, 29 Jul 2019 15:11:06 +0000 (08:11 -0700)]
LinGui: remove ubuntu 18.10 (cosmic) snapshots
Cosmic is EOL so launchpad no longer accepts build requests
Damiano Galassi [Mon, 29 Jul 2019 05:34:38 +0000 (07:34 +0200)]
MacGui: refactor the preferences keys and autonaming methods; fix the queue when running multiple HandBrake instances; fixed a number of bugs.
sr55 [Sun, 28 Jul 2019 16:27:31 +0000 (17:27 +0100)]
WinGui: Force set FastDecode = false for x265. It's only an option under the dropdown, not an additional set. Fixes #2211
Damiano Galassi [Sun, 28 Jul 2019 05:14:40 +0000 (07:14 +0200)]
MacGui: add file size to the statistics. Fix selected text color when dark mode is enabled.
sr55 [Sat, 27 Jul 2019 20:02:11 +0000 (21:02 +0100)]
WinGui: Better formatting for encode times
Damiano Galassi [Sat, 27 Jul 2019 14:39:06 +0000 (16:39 +0200)]
MacGui: show statistics for completed jobs.
Damiano Galassi [Sat, 27 Jul 2019 11:15:37 +0000 (13:15 +0200)]
MacGui: improve queue labels when multiple jobs are selected; fix some bugs.
John Stebbins [Wed, 24 Jul 2019 22:03:22 +0000 (15:03 -0700)]
LinGui: WIP gtk4 support
Known issues and todo:
notebooks, use GtkNotebookPage semantics in ui file
fix keypress delete in queue_list
fix dest_file grab-focus? (highlight of filename for editing)
focus-in/out with GtkEventControllerKey
preview_state_cb how to handle icon-ified preview?
preview_configure_cb, saving preview window size?
accelerator alt-d grab-focus destination
key-press-event in chapter list, ghbcellrenderertext -> GtkEventControllerKey
Why doesn't summary preview image scale correctly?
"System" in about dialog? why is the tab there when "system" prop not set?
GtkSeparatorToolitem seems to ignore "draw" prop?
Damiano Galassi [Thu, 25 Jul 2019 06:12:35 +0000 (08:12 +0200)]
MacGui: store queue items statistics.
Damiano Galassi [Thu, 25 Jul 2019 06:10:15 +0000 (08:10 +0200)]
MacGui: improve queue init.
John Stebbins [Mon, 22 Jul 2019 23:08:14 +0000 (16:08 -0700)]
LinGui: fix build error when update checks enabled
Fixes https://github.com/HandBrake/HandBrake/issues/2207
Bradley Sepos [Sat, 20 Jul 2019 16:18:04 +0000 (12:18 -0400)]
contrib: Update to x265 3.1.1.
Damiano Galassi [Sat, 20 Jul 2019 16:00:58 +0000 (18:00 +0200)]
MacGui: fix file menu validation. Closes #2200.
Damiano Galassi [Sat, 20 Jul 2019 08:15:19 +0000 (10:15 +0200)]
MacGui: fix a number of queue regressions.
Damiano Galassi [Sat, 20 Jul 2019 08:14:44 +0000 (10:14 +0200)]
MacGui: add a NSString extension to create monospaced strings.
Damiano Galassi [Sat, 20 Jul 2019 07:08:25 +0000 (09:08 +0200)]
MacGui: add inline progress status and bar in the queue.
Nomis101 [Fri, 19 Jul 2019 20:49:28 +0000 (22:49 +0200)]
build: Change hardening logic from None to False in configure.py.
Damiano Galassi [Fri, 19 Jul 2019 19:34:48 +0000 (21:34 +0200)]
MacGui: revert
8d5f8fc7f55d45a082efd5c624c04b84118fb2b5 because it breaks other links to specific topics pages.
Damiano Galassi [Fri, 19 Jul 2019 19:17:27 +0000 (21:17 +0200)]
MacGui: refactor the queue and implement part of the new queue ui.
John Stebbins [Thu, 18 Jul 2019 19:05:22 +0000 (12:05 -0700)]
LinGui: fix spacing between preset menu button and settings stack
John Stebbins [Wed, 17 Jul 2019 17:30:05 +0000 (10:30 -0700)]
LinGui: make "clear completed queue items" pref consistent with WinGui
move to "General" preferences pane
make text consistent
John Stebbins [Wed, 17 Jul 2019 17:13:20 +0000 (10:13 -0700)]
stream: add support for eia 608 subtitle tracks
eia 608 embedded in video was supported (i.e. ffmpeg frame side
data AV_FRAME_DATA_A53_CC), but not as it's own track.
Fixes https://github.com/HandBrake/HandBrake/issues/1300
sr55 [Tue, 16 Jul 2019 20:49:07 +0000 (21:49 +0100)]
WinGui: Show Day long encodes in hours consistent with the other UIs
sr55 [Tue, 16 Jul 2019 20:01:03 +0000 (21:01 +0100)]
WinGui: Support Encode Time in days. #523
sr55 [Tue, 16 Jul 2019 19:45:48 +0000 (20:45 +0100)]
MacGui: Set /docs rather than /docs/en/1.2.0 for the documentation. Better for presenting multiple languages. Fixes #1927
John Stebbins [Mon, 15 Jul 2019 16:49:20 +0000 (09:49 -0700)]
LinGui: Reduce disk monitoring free space limit to 2GB
John Stebbins [Mon, 15 Jul 2019 16:32:29 +0000 (09:32 -0700)]
Fix dropped audio when embedded CC sub is selected
The subtitle ID assigned to CC embedded in video collided with regular
track IDs in some file types.
Fixes https://github.com/HandBrake/HandBrake/issues/2103
sr55 [Sun, 14 Jul 2019 21:03:03 +0000 (22:03 +0100)]
WinGui: Since the UI now has active storage space left monitoring, set the default to 2GB rather than 10GB. Users can up this if they desire.
sr55 [Sun, 14 Jul 2019 20:57:32 +0000 (21:57 +0100)]
WinGui: Remove the experimental embedded queue. It's not been working right for a while and I don't intend to develop it out.
John Stebbins [Fri, 12 Jul 2019 21:55:35 +0000 (14:55 -0700)]
LinGui: update preset save dialog "Dimensions" label
Make it consistent with other UIs
Fixes https://github.com/HandBrake/HandBrake/issues/1309
John Stebbins [Fri, 28 Jun 2019 16:44:24 +0000 (09:44 -0700)]
dvd: remove dvd specific details from hb_title_t
This information isn't needed by the frontends and pollutes the API
John Stebbins [Fri, 7 Jun 2019 15:06:50 +0000 (08:06 -0700)]
hb_json: don't fail if audio is invalid for mux
Just drop the track. If audio is 'none' drop silently.
sr55 [Fri, 12 Jul 2019 20:16:56 +0000 (21:16 +0100)]
WinGui: Level support for x265
John Stebbins [Mon, 10 Jun 2019 15:43:45 +0000 (08:43 -0700)]
encx265: set level
It seems the encoder level has been supported in x265 since May 2014,
just a few months after initial support for x265 was added to
HandBrake :\
John Stebbins [Thu, 11 Jul 2019 19:39:33 +0000 (12:39 -0700)]
work: fix logging of SSA import tracks
John Stebbins [Thu, 11 Jul 2019 19:26:21 +0000 (12:26 -0700)]
decssasub: fix p-to-p encoding with SSA import
support for p-to-p with SSA import was completely omitted
John Stebbins [Thu, 11 Jul 2019 19:24:27 +0000 (12:24 -0700)]
decsrtsub: fix missing initial sub with p-to-p
If the p-to-p start time starts in the middle of a subtitle, that sub
was getting dropped. Only drop the sub if the *stop* time is after the
p-to-p *start* time
fixes https://github.com/HandBrake/HandBrake/issues/2176
Nomis101 [Tue, 9 Jul 2019 12:03:01 +0000 (14:03 +0200)]
Fix "Toolbar" issue in german HB
Closes #2185. It turned out you need to use the exact wording that Apple wants, to make the toggleToolbarShown work correctly.
Nomis101 [Mon, 8 Jul 2019 09:17:39 +0000 (11:17 +0200)]
MacGui: update german localization.
Bring german strings in sync with Transifex and add new deblock strings.
Damiano Galassi [Mon, 8 Jul 2019 17:00:36 +0000 (19:00 +0200)]
MacGui: better placement for the system default touch bar items.
Damiano Galassi [Mon, 8 Jul 2019 16:59:47 +0000 (18:59 +0200)]
MacGui: fix start toolbar button tooltip. Fixes #2184.
sr55 [Sat, 6 Jul 2019 20:57:00 +0000 (21:57 +0100)]
WinGui: Further work on the new dark theme.
sr55 [Fri, 5 Jul 2019 22:11:04 +0000 (23:11 +0100)]
WinGui: Build out code for active monitoring of storage and battery power on the system. (Similar to what the LinUI does)
- Automatic pause on "Low" or "Critical" battery alarms. The % level is set in Windows power settings. Automatic Resume when AC returns, if it was paused by an alarm.
- Automatic encode pause when destination drive drops below 2GB. (May make this a preference set later)
- Behaviour of pause queue on low disk space with a user defined level in preferences is unchanged.
#2109 #2181
sr55 [Fri, 5 Jul 2019 19:24:10 +0000 (20:24 +0100)]
WinGui: The preferences UI for "Pause on low disk space" was bad with the checkbox being separated from the size limit. Wording / layout for this now matches MacGui.
Nomis101 [Thu, 4 Jul 2019 16:41:34 +0000 (18:41 +0200)]
scripts: Update mac-toolchain-build
Update mac-toolchain-build to newest versions of automake, cmake and nasm
sr55 [Wed, 3 Jul 2019 20:23:49 +0000 (21:23 +0100)]
WinGui: Some minor further work to the dark theme.
sr55 [Wed, 3 Jul 2019 20:19:16 +0000 (21:19 +0100)]
WinGui: Nice display of statistics when information isn't available. #2179
John Stebbins [Mon, 1 Jul 2019 18:44:57 +0000 (12:44 -0600)]
LinGui: fix creating new preset category
sr55 [Mon, 1 Jul 2019 17:19:28 +0000 (18:19 +0100)]
WinGui: Fix an issue where Fast Decode appeared not to save as part of presets correctly for x265. Fixes #2174
sr55 [Mon, 1 Jul 2019 17:13:37 +0000 (18:13 +0100)]
WinGui: Prevent Fast Decode from being double set when changing to x265 from x264 where Fast Decode checkbox was checked. Fixes #2175
John Stebbins [Mon, 1 Jul 2019 14:47:15 +0000 (08:47 -0600)]
LinGui: remove webkit from Ubuntu build dependencies
It's only needed for the update checker which isn't used