View Full Version : Hardsubs on mp4


42Yoda42
21st August 2007, 20:32
Hi. I've search a lot on the internet lately about how I could embed subtitles to a Mp4 file.

First of all, the reason is I'd like to stream some of my videos on my XBox 360, but since there is no subtitles options anywhere while streaming, I'd really like to embed them to it.

So does anybody knows how I could do this? Maybe re-encode it with the subs, and if so, how? Would I loose any quality? These are HD files I'd like to keep the same resolution.

Thanks a lot.

bond
21st August 2007, 20:55
for hardcoding subs you need to reencode the audio. add the subs to your source .avs script and feed this script to your favourite encoder

for how to do that :search:

TheRyuu
24th August 2007, 01:03
Demux your video then re-encode it with something that takes avisynth scripts.

Then, if you have vsfilter you could use textsub:
LoadPlugin("C:\Program Files\Avisynth 2.5\Plugins\vsfilter.dll")
sourcefilter() #replace with appropriate source filter...
textsub("C:\test.srt") #could be srt, ass, ssa, etc...

Then just remux it all back together.