MKV to hardsubs

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

Post Reply
jp34
Beginner
Beginner
Posts: 2
Joined: Thu Feb 27, 2014 8:04 am

MKV to hardsubs

Post by jp34 » Thu Feb 27, 2014 8:36 am

Hi all,

I'd like to convert the MKV file (description above) to a file (MP4, AVI, whatever) with video#1, audio#2 and hardsubs Text#2

I tried with AVI and MP4 settings: viewtopic.php?f=17&t=9643

In subtitle tab:
VobSub Render
Encoding auto
Font Aharoni Bold
Language fre
Subtitle File empty
Subtitle File(global) empty
ID 5 (Source file's Text#2 ID = 5)

But no hardsubs are displayed... why ?

General
Format : Matroska
Format version : Version 4 / Version 2
File size : 528 MiB
Duration : 21mn 57s
Overall bit rate : 3 360 Kbps
Encoded date : UTC 2013-08-23 15:00:11
Writing application : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01
Writing library : libebml v1.3.0 + libmatroska v1.4.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L1.3
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 21mn 57s
Nominal bit rate : 3 000 Kbps
Width : 1 024 pixels
Height : 768 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.153
Writing library : x264 core 116 r2074 2641b9e
Encoding settings : cabac=0 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 21mn 57s
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Default : No
Forced : No

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 21mn 57s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 30.2 MiB (6%)
Default : Yes
Forced : No

Text #1
ID : 4
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Default : No
Forced : No

Text #2
ID : 5
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : French
Default : Yes
Forced : No

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: MKV to hardsubs

Post by flagpole » Thu Feb 27, 2014 10:35 pm

there is a guide to using subs viewtopic.php?f=17&t=10927

myself i wouldn't bother rendering them in to the stream. i would use something like http://www.nikse.dk/SubtitleEdit/ to convert them to srt that your player should e able to handle.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

User avatar
HuggiL
Modest
Modest
Posts: 233
Joined: Tue Oct 18, 2011 3:44 am
Location: Perth, Australia

Re: MKV to hardsubs

Post by HuggiL » Fri Feb 28, 2014 4:29 pm

I too would recommend flagpole's suggestion. SRT files are universal and can be displayed by any decent player.
If you are set on hardsubbing it though, from what I remember, MediaCoder doesn't recognise embedded subs. You'll have to extract the subtitles (program called mkvextract can do it easily) then load it into the "Subtitle file" field in MediaCoder.
In theory, theory and practice are the same. In practice, they are not.

Tips & Guides: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Older versions: http://www.videohelp.com/tools/MediaCoder/old-versions#download

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: MKV to hardsubs

Post by flagpole » Fri Feb 28, 2014 7:46 pm

i've never managed to get it to work with embedded subs either. though it suggests it should.

i actually just use mkvmerge-gui. untick everything but the subtitle tack. which will save it as .mks

looking at those subs
Text #1
ID : 4
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Default : No
Forced : No

you are probably going to need to do something before they can be read.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

jp34
Beginner
Beginner
Posts: 2
Joined: Thu Feb 27, 2014 8:04 am

Re: MKV to hardsubs

Post by jp34 » Sat Mar 01, 2014 5:27 am

I know I can use another tool to manage subs but I think MediaCoder should successfully recognize subs from source track and hardcode them to ouput video... should be perfect :)
But thank you for your suggestions :mrgreen:

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: MKV to hardsubs

Post by meRobs » Sat Mar 01, 2014 9:28 am

As the developer said: subtitles from MKV cannot be copied over (viewtopic.php?f=28&t=12993)
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

Post Reply