Add external SRT are very tiny (MacOS)

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Add external SRT are very tiny (MacOS)

Post by marckyokay »

Dear Handbrake Team!

I need to send a screener for the selection of a film festival.
Handbrake helps me tremendously creating a h264 MP4 video with small file size but still good quality for the upload!

The downside: I need to add optional english subtitles.
I created my own subtitles and saved the originally ASS file to SRT.
It all works fine when I add the SRT in VLC to test it.
I click on "add external SRT" in handbrake and convert my video, like I'm used to do.
I used to convert a lot of video with handbrake, mostly MKV and PGS subtitles.
But when I add an external SRT to my MP4, the subtitles will become horribly small.
It's unusable.

So I don't know what to do and how to get my SRT into that one MP4 file so I can send it away...
I thought "This can't be, SRT usually adjusts it's size in the video player" and handbrake HAS to have an option to do this... I still believe in it!
Maybe someone knows something and can help :(

Maybe it has to do with the "SRT Encoding" dropdown menu? I tried a few, always the same result...
Image
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Add external SRT are very tiny (MacOS)

Post by Woodstock »

Without a log, there are about 40 questions that would need to be asked. Things like, "Are you burning the subtitles in, or just passing them through to allow the PLAYER to interpret them?" If you started with ASS, you usually would have included font size information, which affect this.

So, can you provide the log of the encode, as asked for in the big red-on-pink box above?
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Add external SRT are very tiny (MacOS)

Post by mduell »

Activity Log is required for support requests. See Must Read: How To Get Questions Answered on These Forums for details
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Re: Add external SRT are very tiny (MacOS)

Post by marckyokay »

Thanks for the replies.

It's my first post, I wasn't sure if this is a support request, I assumed it's like asking a community like any other forum. I was simply too tired and dysfunctional at that point so I overlooked the big pink-red glowing sign on top... Excuse my bumpy start in this forum.

I started out with an ASS and exported it as SRT since handbrake doesn't take ASS. When I export the ASS with Aegisub it only contains timecode and dialogue. No information about the font size.
Everything contained in there looks exactly like this:
1
00:00:09,900 --> 00:00:11,980
Nina, right?

I created a test export then and added an SRT, that's all I did. I didn't change the SRT Encoding and didn't check the "Burned In" and "Default" marks, since both is unwanted. Screenshot is added.

Image

And here is the Activity Log:

Code: Select all

[22:37:42] macgui: Handbrake Version: 1.0.7  (2017040900)
[22:37:42] hb_init: starting libhb thread
[22:37:42] hb_init: starting libhb thread
[22:38:01] macgui: trying to open a folder or file
[22:38:01] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[22:38:01] CPU: Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz
[22:38:01]  - Intel microarchitecture Haswell
[22:38:01]  - logical processor count: 8
[22:38:01] hb_scan: path=/Users/Marc/Movies/EXPORTS/NINA Sichtungskopie/NINA_SICHTUNGSKOPIE 2.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /Users/Marc/Movies/EXPORTS/NINA Sichtungskopie/NINA_SICHTUNGSKOPIE 2.mp4
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[22:38:01] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[22:38:01] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Marc/Movies/EXPORTS/NINA Sichtungskopie/NINA_SICHTUNGSKOPIE 2.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2017-10-28 11:08:33
  Duration: 01:26:43.17, start: 0.000000, bitrate: 57009 kb/s
    Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 1:1 DAR 16:9], 56688 kb/s
      24 fps, 24k tbn (default)
    Metadata:
      creation_time   : 2017-10-28 11:08:33
      handler_name    : Alias Data Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      creation_time   : 2017-10-28 11:08:33
      handler_name    : Alias Data Handler
[22:38:01] scan: decoding previews for title 1
[22:38:01] scan: audio 0x1: aac, rate=48000Hz, bitrate=317375 English (AAC) (2.0 ch)
[22:38:02] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 132/132/0/0, aspect 16:9, PAR 1:1
[22:38:02] libhb: scan thread found 1 valid title(s)
[22:38:02] macgui: ScanCore scan done
[22:38:43] macgui: trying to open a folder or file
[22:38:43] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[22:38:43] CPU: Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz
[22:38:43]  - Intel microarchitecture Haswell
[22:38:43]  - logical processor count: 8
[22:38:43] hb_scan: path=/Users/Marc/Movies/Teaser 2_1.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /Users/Marc/Movies/Teaser 2_1.mp4
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[22:38:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[22:38:43] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Marc/Movies/Teaser 2_1.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2017-10-28 21:25:54
  Duration: 00:01:27.36, start: 0.000000, bitrate: 20354 kb/s
    Stream #0:0(eng): Video: h264 (Main) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1920x1080, 20041 kb/s
      25 fps, 25k tbn (default)
    Metadata:
      creation_time   : 2017-10-28 21:25:54
      handler_name    : Alias Data Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      creation_time   : 2017-10-28 21:25:54
      handler_name    : Alias Data Handler
[22:38:43] scan: decoding previews for title 1
[22:38:44] scan: audio 0x1: aac, rate=48000Hz, bitrate=317375 English (AAC) (2.0 ch)
[22:38:45] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 136/136/0/156, aspect 16:9, PAR 1:1
[22:38:45] libhb: scan thread found 1 valid title(s)
[22:38:45] macgui: ScanCore scan done
[22:39:59] macgui: QueueCore scanning specifically for title: 1
[22:39:59] CPU: Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz
[22:39:59]  - Intel microarchitecture Haswell
[22:39:59]  - logical processor count: 8
[22:39:59] hb_scan: path=/Users/Marc/Movies/Teaser 2_1.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /Users/Marc/Movies/Teaser 2_1.mp4
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[22:39:59] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[22:39:59] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Marc/Movies/Teaser 2_1.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2017-10-28 21:25:54
  Duration: 00:01:27.36, start: 0.000000, bitrate: 20354 kb/s
    Stream #0:0(eng): Video: h264 (Main) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1920x1080, 20041 kb/s
      25 fps, 25k tbn (default)
    Metadata:
      creation_time   : 2017-10-28 21:25:54
      handler_name    : Alias Data Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      creation_time   : 2017-10-28 21:25:54
      handler_name    : Alias Data Handler
[22:39:59] scan: decoding previews for title 1
[22:40:00] scan: audio 0x1: aac, rate=48000Hz, bitrate=317375 English (AAC) (2.0 ch)
[22:40:01] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 136/136/0/156, aspect 16:9, PAR 1:1
[22:40:01] libhb: scan thread found 1 valid title(s)
[22:40:01] macgui: QueueCore scan done
[22:40:01] macgui: QueueCore started encoding Teaser 2_1.mp4
[22:40:01] 1 job(s) to process
[22:40:01] macgui: QueueCore with preset Custom
[22:40:01] starting job
[22:40:01] decomb filter thread started for segment 0
[22:40:01] decomb filter thread started for segment 1
[22:40:01] decomb filter thread started for segment 2
[22:40:01] decomb filter thread started for segment 3
[22:40:01] decomb filter thread started for segment 4
[22:40:01] decomb filter thread started for segment 5
[22:40:01] decomb filter thread started for segment 6
[22:40:01] decomb filter thread started for segment 7
[22:40:01] decomb check thread started for segment 0
[22:40:01] decomb check thread started for segment 1
[22:40:01] decomb check thread started for segment 2
[22:40:01] decomb check thread started for segment 3
[22:40:01] decomb check thread started for segment 4
[22:40:01] decomb check thread started for segment 5
[22:40:01] decomb check thread started for segment 6
[22:40:01] decomb check thread started for segment 7
[22:40:01] mask filter thread started for segment 0
[22:40:01] mask filter thread started for segment 1
[22:40:01] mask filter thread started for segment 2
[22:40:01] mask filter thread started for segment 3
[22:40:01] mask filter thread started for segment 4
[22:40:01] mask filter thread started for segment 5
[22:40:01] mask filter thread started for segment 6
[22:40:01] mask filter thread started for segment 7
[22:40:01] mask erode thread started for segment 0
[22:40:01] mask erode thread started for segment 1
[22:40:01] mask erode thread started for segment 2
[22:40:01] mask erode thread started for segment 3
[22:40:01] mask erode thread started for segment 4
[22:40:01] mask erode thread started for segment 5
[22:40:01] mask erode thread started for segment 6
[22:40:01] mask erode thread started for segment 7
[22:40:01] mask dilate thread started for segment 0
[22:40:01] mask dilate thread started for segment 1
[22:40:01] mask dilate thread started for segment 2
[22:40:01] mask dilate thread started for segment 3
[22:40:01] mask dilate thread started for segment 4
[22:40:01] mask dilate thread started for segment 5
[22:40:01] mask dilate thread started for segment 6
[22:40:01] mask dilate thread started for segment 7
[22:40:01] yadif thread started for segment 0
[22:40:01] yadif thread started for segment 1
[22:40:01] yadif thread started for segment 2
[22:40:01] yadif thread started for segment 3
[22:40:01] yadif thread started for segment 4
[22:40:01] yadif thread started for segment 5
[22:40:01] yadif thread started for segment 6
[22:40:01] yadif thread started for segment 7
[22:40:01] work: only 1 chapter, disabling chapter markers
[22:40:01] job configuration:
[22:40:01]  * source
[22:40:01]    + /Users/Marc/Movies/Teaser 2_1.mp4
[22:40:01]    + title 1, chapter(s) 1 to 1
[22:40:01]    + container: mov,mp4,m4a,3gp,3g2,mj2
[22:40:01]    + data rate: 20354 kbps
[22:40:01]  * destination
[22:40:01]    + /Users/Marc/Movies/MOTION PICTURES/Teaser 2_1.mp4
[22:40:01]    + container: MPEG-4 (libavformat)
[22:40:01]  * video track
[22:40:01]    + decoder: h264
[22:40:01]      + bitrate 20041 kbps
[22:40:01]    + filters
[22:40:01]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[22:40:01]      + Decomb (mode=39)
[22:40:01]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[22:40:01]        + frame rate: 25.000 fps -> constant 25.000 fps
[22:40:01]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[22:40:01]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[22:40:01]    + Output geometry
[22:40:01]      + storage dimensions: 1920 x 1080
[22:40:01]      + pixel aspect ratio: 1 : 1
[22:40:01]      + display dimensions: 1920 x 1080
[22:40:01]    + encoder: H.264 (libx264)
[22:40:01]      + preset:  ultrafast
[22:40:01]      + profile: main
[22:40:01]      + level:   4.0
[22:40:01]      + quality: 20.00 (RF)
[22:40:01]  * subtitle track 1, English (track 0, id 0xff) Text [SRT] -> Passthrough, offset: 0, charset: ISO-8859-1
[22:40:01]  * audio track 1
[22:40:01]    + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[22:40:01]      + bitrate: 317 kbps, samplerate: 48000 Hz
[22:40:01]    + AAC Passthru
[22:40:01] sync: expecting 2184 video frames
[22:40:01] encx264: encoding at constant RF 20.000000
[22:40:01] encx264: unparsed options: 8x8dct=0:level=4.0:analyse=none:ref=1:vbv-maxrate=20000:scenecut=0:bframes=0:no-deblock=1:cabac=0:subme=0:rc-lookahead=0:weightp=0:me=dia:mixed-refs=0:vbv-bufsize=25000:trellis=0:aq-mode=0:mbtree=0
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile Constrained Baseline, level 4.0
[22:40:01] sync: first pts video is 0
[22:40:01] sync: "Chapter 1" (1) at frame 1 time 0
[22:40:01] sync: first pts audio 0x1 is 0
[22:40:01] sync: first pts subtitle 0xff is 0
[22:40:06] sync: subtitle 0xff duration <= 0, PTS 0
[22:40:25] reader: done. 1 scr changes
[22:40:26] work: average encoding speed for job is 88.514267 fps
[22:40:26] comb detect: heavy 1 | light 212 | uncombed 1970 | total 2183
[22:40:26] decomb: deinterlaced 1 | blended 212 | unfiltered 1970 | total 2183
[22:40:26] vfr: 2183 frames output, 0 dropped and 0 duped for CFR/PFR
[22:40:26] vfr: lost time: 0 (0 frames)
[22:40:26] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:40:26] aac-decoder done: 4095 frames, 0 decoder errors
[22:40:26] h264-decoder done: 2183 frames, 0 decoder errors
[22:40:26] sync: got 2183 frames, 2184 expected
[22:40:26] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:9     Avg QP:15.22  size:133858
x264 [info]: frame P:2174  Avg QP:17.97  size: 52236
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4: 25.9%  0.0%  0.0%  P16..4: 34.3%  0.0%  0.0%  0.0%  0.0%    skip:39.8%
x264 [info]: coded y,uvDC,uvAC intra: 58.2% 43.6% 6.0% inter: 23.2% 28.2% 0.4%
x264 [info]: i16 v,h,dc,p: 33% 19% 35% 13%
x264 [info]: i8c dc,h,v,p: 48% 21% 22%  8%
x264 [info]: kb/s:10514.51
[22:40:26] mux: track 0, 2183 frames, 114765502 bytes, 10504.85 kbps, fifo 256
[22:40:26] mux: track 1, 4095 frames, 3465735 bytes, 317.23 kbps, fifo 512
[22:40:26] mux: track 2, 12 frames, 585 bytes, 0.05 kbps, fifo 8
[22:40:26] libhb: work result = 0
[22:40:26] macgui: QueueCore work done
[22:40:26] macgui: Queue Done, there are no more pending encodes
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Add external SRT are very tiny (MacOS)

Post by Woodstock »

OK, output is MP4 using an extension (.mp4) that Apple products will turn off many feature extensions when playing (you need to have the .m4v extension to see "everything" Apple players can do). The subtitle track is being passed through for the player to interpret:
[22:40:01] * subtitle track 1, English (track 0, id 0xff) Text [SRT] -> Passthrough, offset: 0, charset: ISO-8859-1
And, unfortunately, your results are going to vary with the playback software. They will look different QuickTime and VLC and whatever other player you might use.

Is your target to be able to have "switchable" subtitles, or can they be "burned in"? The subtitle rendering library in handbrake is much better than a lot of players, but it is only used when handbrake is burning the subtitles in. Just selected "burned in" next to the track when you add it, to see what handbrake would do with it.

If you can burn them in, your best bet would be to include the original ASS information in the input file; since .mp4 files do not allow that, you can use a tool called mkvmerge (google will find it) to read the original mp4 file and the ASS information, and create an MKV file with both. This will allow all of the ASS positioning and font information to be used, rather than "just" the text.
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Re: Add external SRT are very tiny (MacOS)

Post by marckyokay »

Thanks for the reply.

The subtitles need to be switchable. Burn in is not an option. I have MKVmerge and know of the option of adding ASS to the MKV.
But I need an MP4 as it is demanded and I need to add switchable subtitles. This should be fine with one SRT as far as I know.
And passing the subtitle for the player to interpret is fine as well.
And usually the interpret, like VLC, handles the SRT fine, I can decide how they are displayed in the VLC preferences. Color, size.
But when I add an external SRT to Handbrake to add to the MP4, no matter what player I use, or settings I have in VLC's subtitle preferences, they will always displayed like in the screenshot, tiny and white.
I'd just like to add the SRT to the MP4 and have it be handled by the player. Like when I open VLC, open my video, then add my SRT manually. It displays fine there and let's itself manipulated by VLS. But not if I add it with handbrake... But sadly I need that subtitle in the file ...
Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Add external SRT are very tiny (MacOS)

Post by Cantar4 »

I encountered the very same problem with SRT soft subs on VLC 2.2 versions
now solved using VLC 3.0 nightly built
vlc-3.0.0-20171029-0400-git.dmg 29-Oct-2017 06:05 43M
see
https://nightlies.videolan.org/build/ma ... 1029-0400/
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Re: Add external SRT are very tiny (MacOS)

Post by marckyokay »

Thanks Cantar4 but this VLC version adds a transparent background to the subtitles and crashes when I skip in the timeline...
I doubt this will be the solution. Plus, all the other video players still show it as tiny subtitles. I can't control what kind of player the person receiving it will use.
There must be a way to include the SRT in HandBrake properly...
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Add external SRT are very tiny (MacOS)

Post by Woodstock »

The unfortunate part is having to use the subtitle renderer in the player. While Handbrake's renderer will accept SOME font commands, it has no control over what the player will do on a pass-through.

However, the PLAYER may have a setup for the minimum font size - VLC lets you set "bigger" or "smaller".
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Add external SRT are very tiny (MacOS)

Post by Ritsuka »

It seems HandBrake or libav set always the same font size for every resolution. This shouldn't be an issue (it's not in Apple devices), but VLC 2 treats it as a normal text track, so it's small.

A workaround for now is to use another app to mux in the subtitles.
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Re: Add external SRT are very tiny (MacOS)

Post by marckyokay »

Thank you Ritsuka you seem to ahve found out exactly what the problem is.

And as I said, the player should set a minimum font size and VLC also let's us use "bigger" "smaller". But with the SRT coming out of handbrake it doesn't change no matter what kind of adjustments I want to make in VLC.

As Ritsuka stated, it seems like VLC (Quicktime Player and MacGo Blu-Ray Player too btw) treat the SRT coming out of handbrake like text track . . .
So the workaround for now is using another app to mux.
But what app? Which app let's us mux a mp4 video with SRT track? Does anyone have a suggestion that works?
Much appreciated!
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Add external SRT are very tiny (MacOS)

Post by JohnAStebbins »

Ritsuka wrote: Mon Oct 30, 2017 3:40 pm It seems HandBrake or libav set always the same font size for every resolution. This shouldn't be an issue (it's not in Apple devices), but VLC 2 treats it as a normal text track, so it's small.

A workaround for now is to use another app to mux in the subtitles.
HandBrake is doing this. We set tx3g font size to 24. Do you have a suggestion for a better default? If I'm reading the tx3g spec right, font size is specified in pixels (not points). So this should be scaled with the video height I think. Since 24 was probably chosen initially for DVD resolutions, it should probably be something like 24 / 576 * video_height with some minimum to prevent 0.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Add external SRT are very tiny (MacOS)

Post by JohnAStebbins »

This isn't tested yet, but here's a crack at fixing the problem https://github.com/HandBrake/HandBrake/pull/967
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Add external SRT are very tiny (MacOS)

Post by Ritsuka »

In Subler I use height * 0.05. I don't remember why :|
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Re: Add external SRT are very tiny (MacOS)

Post by marckyokay »

JohnAStebbins wrote: Mon Oct 30, 2017 6:16 pm This isn't tested yet, but here's a crack at fixing the problem https://github.com/HandBrake/HandBrake/pull/967
This seems like it's the way to go, but I have no idea what to do with this and I can't test it :lol:
Ritsuka wrote: Mon Oct 30, 2017 6:27 pm In Subler I use height * 0.05. I don't remember why :|
Subler works great for adding appleTV style subtitles. I just don't like the transparent background...
Where do you use height * 0.05 anyways? No matter what I type in the visual settings offset, they always stay the same.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Add external SRT are very tiny (MacOS)

Post by JohnAStebbins »

0.05 is 24 / 480 :wink:
mpv, totem, and vlc all ignore the font size on Fedora and show the subtitles in various slightly different sizes. So I don't have a way of testing this.
Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Add external SRT are very tiny (MacOS)

Post by Cantar4 »

marckyokay wrote: Mon Oct 30, 2017 5:16 pm Which app let's us mux a mp4 video with SRT track? Does anyone have a suggestion that works?
My suggestion would be to use DCP-o-Matic http://dcpomatic.com/test-download
It works on most OSes and is utmost simple to use (plus it allows you to later make a DCP :) )
In "File" "New" go to
"Content" 'Video" "Add file(s)", select and import your MP4 file,
then "Subtitles" "Add file(s)", select and import your SRT file ; then set the subs position size and appearence. (Only 'outline or not' (no shadow nor color) will be interpreted by most players).
"File" "Save", then "Jobs" and "Export". Select h264 ; give a file name and select an export folder.
It takes about two to four times the real time to get an .mp4 with meta subtitles in your's set dimension and position.
Last edited by Cantar4 on Sun Nov 05, 2017 6:28 pm, edited 1 time in total.
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Re: Add external SRT are very tiny (MacOS)

Post by marckyokay »

Cantar4 wrote: Mon Oct 30, 2017 9:37 pm
marckyokay wrote: Mon Oct 30, 2017 5:16 pm Which app let's us mux a mp4 video with SRT track? Does anyone have a suggestion that works?
My suggestion would be to use DCP-o-Matic http://dcpomatic.com/test-download
It works on most OSes and is utmost simple to use (plus it allows you to later make a DCP :) )
In "File" "New" go to
"Content" 'Video" "Add file(s)", select and import your MP4 file,
then "Subtitles" "Add file(s)", select and import your SRT file ; then set the subs position size and appearence. (Only 'outline or not' (no shadow nor color) will be interpreted by most players).
"File" "Save", then "Jobs" and "Export". Select h264 ; give a file name and select an export folder.
It takes about two to four times the real time to get an .mp4 with meta subtitles in their set dimension and position.
Oh, totally new approach. I never used that...
Seems like I can neither use 1920x1080 nor add multiple subtitles... and it re-encodes the video when I export to h.264?
That's the kind of experimenting I can't allow right now since the deadline is close and the upload takes time :lol: :mrgreen:
But thanks for the suggestion I will experiment with it.
Seems like for now Subler and the kinda ugly Tx3g subtitles with transparent background are my only chance...
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Add external SRT are very tiny (MacOS)

Post by Ritsuka »

Is the transparent background actually visible in VLC?
If you are referring to the background in QuickTime or Apple devices, it's a user configurable option (see System Preferences -> Accessibility -> Captions, or similar preferences panel on iOS)
marckyokay
Posts: 8
Joined: Sat Oct 28, 2017 9:42 pm

Re: Add external SRT are very tiny (MacOS)

Post by marckyokay »

They are visible in VLC.
And your suggestion made me dig deeper... which made me find out that I wasn't looking deep enough in the first place...
VLC has a background visibility slider under the subtitles tab of the media player... This one wasn't fully turned off / pulled to the far left.
Well damn, I never saw that option in the subtitles tab on Windows...
But I at least see now that it doesn't have to have background.
And about Quicktimes preset: I were able to find it in Accessibility and could create a custom preset for the subtitles.
Thanks!
Post Reply