hi
i need a tool or prog to hardcode subtitle without do anything to the video resolution or encode or anything .. just hardcode the subtitle
i tried mkvtoolnix but it does not work correctly
-regars
+ Reply to Thread
Results 1 to 20 of 20
-
-
"Hardcoding" means video re-encoding.
It is difficult to give you a different recommendation than mkvtoolnix if you don't tell us:
1.) how/why it "does not work correctly"
2.) what your source video file format (container, codecs) is
3.) what your subtitle file format is
4.) what your target container is
Generally, other choices are ffmpeg, mp4box, Avi Mux GUI ... -
-
1.) Upload it where? Youtube? Subtitle support depends on the video service you use. You have to be more specific.
If the service you are using does not support soft subtitles you have to hardcode (i.e. re-encode to burn-in the subtitles). HandBrake can burn-in ASS and SRT subtitles that are embed in mkv.
4.) MKV, MP4, AVI ... -
HandBrake does support burning in ASS if the subtitles are embed in an mkv file. But it can indeed only burn 1 subtitle track (at least the GUI). You could merge your 2 (or more) subtitle files using Subtitle Edit or Aegisub first, then add the merged subtitle to the mkv using mkvtoolnix. But it depends on how exactly they (should) look like (one top one bottom, both overlaying, ...).
Alternatively you can burn in multiple external subtitles files using ffmpeg:
ffmpeg -i "input.mkv" -vf "ass=subtitle_file1.ass, ass=subtitle_file2.ass" -c:v libx264 -crf 18 -preset medium -c:a copy -sn "output.mkv"
But read this beforehand, esp. the part about the ffmpeg font config. -
I can not see an option to upload ass/srt files in Handbrake, only the srt files - could you explain how to do this? I downloaded mkvtoolnix and created a mkv file, but Handbrake isn't letting me open it.
I don't want to lose the formatting that I included in the ass file when hardcoding onto my MP4 file, what is the best way to do this? -
Thanks, sneaker.
I merged the two files but end up with a mkv file that I don't know how to open in Handbrake so that I can have an MP4 file with hardcoded subtitles without funny symbols instead of apostrophes and has subtitles that are formatted the way I formatted them in Aegisub.
How do I open the mkv file in Handbrake? -
Open the mkv file in HandBrake (choose in file source selector or just drag&drop from explorer to HandBrake window), go subtitles tab, select the ASS ("SSA") track and tick "burn in". Then encode. Does this not work for you? If you have funny symbols either mkvmerge did not see the correct character encoding, HandBrake cannot access the needed font (you can add fonts to the mkv as "attachments" or install in system) or some bug in HandBrake/libass. If in doubt upload the ASS file and font here so we can take a look at it.
-
I get an error message when I try to upload my .ass file - No Valid Source Found. When I try to upload the file here, I get another error message - Invalid File.
I just opened the file in Aegisub and everything looks great. Re-saved it as .ass but it isn't being recognized by the forum or by Handbrake, but I had no problem opening it in mkvtoolnik.
I had funny characters this morning when I used HandBrake to Hard Code the subtitles using the .srt file I saved from Aegisub, plus the first line of the subtitles is being skipped by the video. The font was just Arial, so I wouldn't think it would be a problem. Anyway, that's why I'd like to use the .ass file if possible, just can't figure out how to do it.
I'm a little bit frustrated todayThanks for your help!
Last edited by Lisa V; 24th Mar 2017 at 20:41.
-
I attached .png files of what the MP4 looks like after hardcoding using the .srt file - you can see the funny font and also the first line of the sub titles that doesn't show up. the font is also twice as big as I what I had set it at.
Any suggestions? -
-
I don't have the problem with the apostroph here on Windows 7 + HandBrake 1.0.3. Can you try to do it again with the file I attached? Otherwise try a different font or try replacing ’ by '. I don't know if it's a problem with apple or with HandBrake.
Alternative would be to try a different software like ffmpeg but usage is more complicated than HandBrake. -
I don't know, then. Try HandBrake nightly and if it has the problem as well report to HandBrake developers, either through github or their forum.
https://github.com/HandBrake/HandBrake/issues
https://forum.handbrake.fr/viewforum.php?f=12
Similar Threads
-
Hardcode a video file subtitle
By kasfig in forum SubtitleReplies: 2Last Post: 22nd Sep 2016, 17:05 -
Hardcode subtitle without quality loss
By ben45 in forum Video ConversionReplies: 8Last Post: 24th Aug 2016, 20:21 -
How to hardcode srt subtitle in 720p mkv.
By Haroon Khan in forum SubtitleReplies: 6Last Post: 20th Aug 2013, 09:20 -
Megui Hardcode subtitle
By ssdt in forum SubtitleReplies: 0Last Post: 22nd Nov 2012, 06:15 -
Hardcode two subtitle languages (AutoGK allows only one)
By sinth in forum DVD RippingReplies: 3Last Post: 5th Aug 2012, 15:48