Opening mkv Files With avisynth but keeping the subtitles
-
- Joined: Thu Aug 12, 2004 9:42 am
Opening mkv Files With avisynth but keeping the subtitles
Using the codecs and guide provided I was able to open my mkv files in virtualdub with a very simple avisynth script
FFCopyrightInfringement(filename)
I found that using DirectShowSource does get the file to open but when in virtualdub the playback slider doesn't move while in vritualdubmod I have a smooth playback but no audio. However that's ok cause the new script has taken care of that but now there are no subtitles in the video footage. Now I know for a fact that it is possible to get subtitles from these mkv files as I was able to do so by sheer luck in the past. I was fiddling with my CCP settings by randomly checking and unchecking boxes when all of a sudden I saw subtitles in virtual dub when I loaded the mkv. I was wondering how I can replicate those results again. Pretty much I intend to take my subbed anime episodes and make small clips out of them for personal projects. I figure learning how to keep/remove the subtitles on them would be a handy skill to learn just in case I need to do so again in the future.
FFCopyrightInfringement(filename)
I found that using DirectShowSource does get the file to open but when in virtualdub the playback slider doesn't move while in vritualdubmod I have a smooth playback but no audio. However that's ok cause the new script has taken care of that but now there are no subtitles in the video footage. Now I know for a fact that it is possible to get subtitles from these mkv files as I was able to do so by sheer luck in the past. I was fiddling with my CCP settings by randomly checking and unchecking boxes when all of a sudden I saw subtitles in virtual dub when I loaded the mkv. I was wondering how I can replicate those results again. Pretty much I intend to take my subbed anime episodes and make small clips out of them for personal projects. I figure learning how to keep/remove the subtitles on them would be a handy skill to learn just in case I need to do so again in the future.
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: Opening mkv Files With avisynth but keeping the subtitle
http://sourceforge.net/projects/mkvextractgui-2/
First, you'll need to extract the subtitle track and the fonts. Then, install the fonts in your system. After that, copy vsfilter.dll in your avisynth's plugins folder, and then, after loading the mkv, you can load subtitles with
Alternatively, you can use assrender instead to load subtitles. This one is based on libass instead of being based on vsfilter.
Feel free to use whichever solution you prefer; do mind that the rendering of some specific tags differ between the two.
First, you'll need to extract the subtitle track and the fonts. Then, install the fonts in your system. After that, copy vsfilter.dll in your avisynth's plugins folder, and then, after loading the mkv, you can load subtitles with
Code: Select all
TextSub("file.ass")
Feel free to use whichever solution you prefer; do mind that the rendering of some specific tags differ between the two.
-
- Joined: Thu Aug 12, 2004 9:42 am
Re: Opening mkv Files With avisynth but keeping the subtitle
Even after using google I'm a bit clueless on how to install/run mkvestractgui. Is it possible I get a step by step guide on how to use it?
I'm sorry for my general noobiness.
I'm sorry for my general noobiness.
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: Opening mkv Files With avisynth but keeping the subtitle
http://www.bunkus.org/videotools/mkvtoo ... ml#windows
First you'll need to install the MVToolnix. Then, you place the mkvextractgui2 exe in the same folder in which mkvtoolnix gets installed.
Should be easy after that.
First you'll need to install the MVToolnix. Then, you place the mkvextractgui2 exe in the same folder in which mkvtoolnix gets installed.
Should be easy after that.
-
- Joined: Tue Dec 25, 2007 8:26 am
- Status: better than you
- Contact:
Re: Opening mkv Files With avisynth but keeping the subtitle
assrender is a bit hard for nubs to use last I looked at it. That said, copying the VSFilter from CCCP and using that is surefine for TextSub, although still need the .ass file.
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Re: Opening mkv Files With avisynth but keeping the subtitle
Easiest way is to use directshowsource, and just enable subtitles in the ffdshow options.
-
- Joined: Thu Aug 12, 2004 9:42 am
Re: Opening mkv Files With avisynth but keeping the subtitle
I can't use directshowsource when opening mkv files through virtualdub. For some reason the playback doesn't work (slider doesn't move in virtualdub while there's no sound in virtualdub mod) Meanwhile the subtitle box is checked when I looked at the video options of ffdshow.Zarxrax wrote:Easiest way is to use directshowsource, and just enable subtitles in the ffdshow options.
Is there something I'm doing wrong?
-
- Joined: Tue Dec 25, 2007 8:26 am
- Status: better than you
- Contact:
Re: Opening mkv Files With avisynth but keeping the subtitle
Yes, you're using DSS. Don't do that. DSS SOUNDS easier in theory but ffcopyrightblahblahblah().textsub() isn't really that difficult.