PDA

View Full Version : Transcoding just for the sake of burning in subtitles



mrgenie
09-20-2019, 03:34 AM
Transcoding is quite a daunting task to do...

but what if I already have 100% of my videos encoded using handbrake and know without transcoding they play the video + audio 100% perfectly fine on ALL my devices..

The only thing I really need is burning in the subtitles.

it's basically just "maintain the video stream" and replace the pixels where applicable for the subtitles with bright white pixels.

this should be doable at a rate easy of 100+ Mbps

1) does ffmpeg have such an option: leave video stream 1 intact, PASSTHROUGH and just merge in the white pixels
2) I suppose ffmpeg being extremely feature rich can do this, how/what profile we chose to make mezzmo doing this?

Instead of re-encoding a 100% compatible H.264 into a 100% compatible H.264

Peter
09-20-2019, 09:06 AM
ffmpeg does not have the ability to merge the pixels of the subtitle without re-encoding the video frames. If the video is a DVD rip with picture based subtitles then you will need to pre-transcode the file in Mezzmo http://www.mezzmo.com/wiki/doku.php?id=pre-transcoding_files&s[]=pre&s[]=transcode to burn in the subtitles so that you don't have problems streaming when the encoding is too slow.

mrgenie
09-25-2019, 09:43 PM
THanks for the reply Peter.

I discovered only now Mezzmo in a temp directory EXTRACTS all embedded .srt!!

So, I rewrote my mkv tools I have written myself to merge back everything into the .mkv

since upon "refresh all subs" mezzmo then exports in the temp dir..

basically I have all subs then INSIDE and OUTSIDE the container.. while I as user only need to maintain the ones inside the container.

So that's a good solution for me..

Had I know mezzmo creates a temp folder and extracts all subs as "external" LOL