I am using a program to hardcode subs into an AVI file. The problem is that is recompresses the video using a codec. I don't see why this is necessary and causes a noticeable loss of quality. Is there a program that will put the subs in without having to recompress the video so that there is no loss in video quality?
|
feedback
|
|
No. The hardsubs modify the video content and so recompressing it is necessary. | |||||||||
feedback
|
|
I think as it is typically used, hard subtitles mean they are embedded into the image data, which by definition requires re-compression. Soft subtitles are added as separate files, e.g. .srt. However, there is a middle way in embedded subtitles. Embedded subtitles are added into the video container as a separate track, which means they will be included in the file but not require re-compression. For Divx-format the best tool is Windows based application AVIAddXSubs. It can embed Idx/Sub/Srt subtitles. For MP4 and some other alternatives, Handbrake can embed soft subtitles. Read more at their wiki | |||||||
feedback
|
|
You can use mplayer to play the video with subtitles, and then output everything to a raw yuv file (-vo yuv4mpeg). If you play a movie, this outputted file will be really huge, hundreds of gigabytes, so make sure that it will not cause issues. After the file has been outputted, it can be compressed by using ffmpeg and then H264 codec. | ||||
|
feedback
|
