View Single Post
Old 2nd August 2008, 23:36   #7  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Hi guys; i've been investigating how to add subtitles into x264 mkv(or TS) files and this time you don't need to open them with MPC-HC for watching in DXVA mode.

I've found the practical way, i suppose.

Lets start:

Tools:
TSMuxer
Eac3to
SUPread
GraphStudio latest version by RadScorpion,
DirectVobSub (vsfilter 2.37)
MeGui


OK..

First of all, we are demuxing our m2ts file via TSMuxer.

Video: h264 (do nothing)
Audio: convert to ac3 with eac3to
Subtitle: convert to srt via SUPread

Rename all raw media files with the same name; in our sample common first name is "hh".



Mux just hh.h264 into TS with TSMuxer: we've gotten hh.ts.



Now, we're gonna prepare a graph like this: (Source filter is Haali)



And an avs:

Code:
DirectShowSource("F:\SPIDER_MAN_3\BDMV\STREAM\New Folder\output\new.GRF",fps=23.976,audio=false)


ConvertToYV12()
We have these in our folder:



BE CAREFUL: ts and srt files must have to be under the same folder ...

We are opening MeGui and select x264 DXVA HD-HQ ready profile, bitrate 6000/two-pass and we get the mkv(exluding audio)...



(You'd better uninstall DirectVobSub on this stage-after getting mkv.)

Lets check whether our mkv is working in DXVA mode on GraphStudio:







Then, it's time to make BD with TSMuxer; import created mkv and hh.ac3 into TSMuxer and make BD.


Checked with Cyberlink, TMT, MPC-HC and Graph; everything works fine in DXVA mode:



sample file:

http://rapidshare.com/files/134404587/BD.rar.html


Some more reading:

http://forum.doom9.org/showthread.ph...30#post1166230

Any - or + input would be appreciated.
_ _ _ _ _

Last edited by rica; 6th August 2008 at 19:59.
rica is offline   Reply With Quote