Obsolete
+ Reply to Thread
Results 1 to 22 of 22
-
Maybe if you explained how you're doing it? I haven't experienced that myself. But subtitles added to video degrade the quality of the video. It has to do with the static subs against the moving background. At the very least, you'll get a lot of noise around the subs. But you seem to be experiencing something worse than that.
-
Quality loss shouldn't be that big unless the re-compression (which is probably not lossless) has some problems with some kind of artifacts in the source video.
-> I agree, you should share more details on how you add your subs.
@manono:At the very least, you'll get a lot of noise around the subs.users currently on my ignore list: deadrats, Stears555, marcorocchini -
I'm hardcoding them with handbrake. Here's a comparison between the soft subs and hard subs: https://imgur.com/a/IfmwVCt do you see how much the quality degrades? I'm encoding to HEVC CRF 18 Preset Slow
-
-
No, because your subs are being scaled up (along with the video) on playback
You might get better results with a better playback scaler , or hardcode an upscaled version with a better scaler, or don't hardcode -
1. I don't see 'a lof of noise around the subs' which is what manono wrote.
2. Your soft subs are larger and have a different color.
You might want to use a different tool which uses Avisynth or Vapoursynth and gives you more control over the subtitle rendering in case handbrake doesn't offer this.
(sorry, no clue since I don't use handbrake)
Tools like MeGui and StaxRip come to mind. (may be even some ffmpeg gui in case it gives control over the rendering of the subtitles)
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
Also when I open the subtitles with notepad it says ScriptType:
WrapStyle: 0
ScaledBorderAndShadow: yes
YCbCr Matrix: TV.601
PlayResX: 720
PlayResY: 480
And that's the resolution of the video so I don't understand the quality loss.
I tried to change the resolution of the subs to 1920x1080 but after hardcoding they still lose quality.Last edited by Felow; 4th Jul 2020 at 15:07.
-
-
I will look up the programs you mentioned but unless they're simple to use I'd rather stay with handbrake.
The point is that the 'engine' adding the soft subtitles isn't the same that adds the hardcoded subtitles.
When using text based subtitles different filters/engines and settings can change a lot.
+ when not playing the video at it's native resolution the used scaler also influences how the hardcoded subtitles look like, the soft coded subtitles are coded separately and get 'overlayed' and often use another scaler.
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
No. About all I see is that the subs have been stretched out horizontally. Apparently, in that bottom picture they were put on before the video was resized.
The subs are the same resolution of the video 720x480
As for the noise, you can't tell anything from a picture. You'd need the video moving behind the hard subs.
I don't (and won't) use Handbrake either. -
-
This has less to do with lossy compression or CRF (unless you go very high, or very low quality)
Soft subs are generally applied after the video scaling (it partially depends on what video player, what subtitle renderer), so they generally look razor sharp at any resolution. Even on a 8K display. ie. They are not "rasterized". The subs themselves are infinitely scalable without quality loss. It's analogous to a vector image in graphics
But when you hard sub, the hard coded subs are upscaled along with the SD video, so they have jaggy edges and low quality . If you look at your image the background building has jaggies too from the poor scaling. The only way to improve this is to use better scaling methods, or hardcode an upscaled version, so the hardsub is "baked" at a higher resolution -
-
1) If you use a better playback scaling method, it will look "less bad." Maybe one of the madvr algorithms . The benefit is the background video will look better too. But the subs themselves will never look as good as when applied at the native playback resolution, because you're still scaling the rasterized low resolution subs vs. applying hardcoded sub at say 1920x1080
2) There are many threads and guides on "how to upscale". Many options to choose from. If you get stuck, ask for help
You can use slower high scaling methods too if you wanted to. Or maybe for anime you could use waifu2x, or anime4k or one of the GAN "AI" based methods
Or maybe you don't care. The upscaling algorithm does not affect the hardcoded sub directly, because the hardcoded subs will be applied at 1920x1080. Upscaling beforehand is only for the video.
The negatives of upscaling video - it's slower, requires higher bitrate for certain level of quality -
Ahh now I understand what you're talking about I was thinking you were saying to upscale the subtitles so that when they are hard-coded into a low res video they would look better! Upscaling the videos would increase the size and decreasing the size is one of the reasons I'm encoding in the first place.
I will just live with low res subs thank you and everyone for the help. -
If your media player is VLC I can't see any reason why you need to hard code ie burn in the subs to the image. Simply wrapping the video and subs in an MKV container and marking the the subs default and forced, VLC will automatically show them. You may have other reasons but that's the way I do it.
SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
@Felow
To satisfy my curiosity, why do you want/need to hardcode the subs? As stated in all the posts about the subs, you'll never get a good quality as softsubs as well as will lower the quality of the whole video because you have to reencode.
I'm assuming it's because of a limitation of the player you're using to playback the video. -
Similar Threads
-
Losing the last character in lines when hard coding subtitles
By kasfig in forum SubtitleReplies: 9Last Post: 7th Nov 2019, 18:35 -
How to downscale MP4 without losing quality?
By Master Tape in forum Video ConversionReplies: 9Last Post: 8th Jun 2018, 15:32 -
Batch Run Hard code subtitles to video files
By kamalakar108 in forum MacReplies: 64Last Post: 19th Jan 2018, 09:34 -
Rip VCD without losing any quality
By PannenkoekenNL in forum Newbie / General discussionsReplies: 8Last Post: 5th Sep 2016, 14:01 -
Losing subtitles with Videostream
By johnjb in forum SubtitleReplies: 6Last Post: 26th Apr 2016, 16:54