HELLO to All,
i'm using xvid4psp to hardcod subs and convert them to xvid format at same time .The resulting video is very much satisfactory but the problem is subtitle size is very small and difficult to see .Do anyone know a solution to this problem.
Many Thanks.
+ Reply to Thread
Results 1 to 28 of 28
-
Last edited by zammil; 18th Feb 2011 at 23:07.
-
sorry buddy,but SSA subs are not even showing in the XVID4PSP window.got any other solutions. i will give screen shots of the video with SRT subs. how can i make the fontsize bigger????
Last edited by zammil; 18th Feb 2011 at 23:07.
-
If they're not showing up, then customizing them won't help. How did you create them, or change them from SRT? Can you play them with a video (must have same name, like Movie.avi and Movie.ssa)? To increase the size, open in Notepad and change the FontSize (comes right after the Fontname).
After opening the subs in the Subtitle section, go AviSynth->Edit Filtering Script and check that the TextSub line is in there. Here's what mine looks like:
import("D:\Downloads\Encoders\XviD4PSP\dlls\AviSynth\functions\AudioFunctions.avs")
import("D:\Downloads\Encoders\XviD4PSP\dlls\AviSynth\functions\VideoFunctions.avs")
loadplugin("D:\Downloads\Encoders\XviD4PSP\apps\DGMPGDec\DGDecode.dll")
loadplugin("D:\Downloads\Encoders\XviD4PSP\dlls\AviSynth\plugins\bass\bassAudio.dll")
loadplugin("D:\Downloads\Encoders\XviD4PSP\dlls\AviSynth\plugins\VSFilter.dll")
video = MPEG2Source("E:\Brahmachari\Song.d2v",cpu=0,info=3 )
audio = bassAudioSource("E:\Brahmachari\Song.mp3")
AudioDub(video, audio)
AutoYV12()
Crop(8, 0, -8, -0)
Lanczos4Resize(640,480)
TextSub("E:\Brahmachari\Song.ssa") -
1- install ffdshow and enable subtitle playback with it
2- disable subtitle in xvid4psp
3- preview video in xvid4psp and you'll see that ffdshow will feed the sub to xvid4psp, customize size, colour etc in ffdshow and the changes will reflect on xid4psp, make sure to disable the subtitle in xvid4psp when you first load the video if you dont you'll have 2 burned subs on final videoI love it when a plan comes together! -
hi manono,
i converted SRT to SSA Subs using subtitle workshop and yes they are saved with the same filename but still they are not showing up .i used notepad to increase the size for SRT subs but the result is same.this is how it looks in avisynth filter when i add SSA subs. -
Open it in Notepad. To adjust anything, read which styles do which. The first one I've boldfaced adjusts the size and the second the height (increase to raise the subs):
[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Tahoma,25,12632256,8026746,12632256,-2147483640,0,0,1,2,0,2,20,20,20,0,0 -
As for colors, my suggestion is to open the SSA subs in the SubStation Alpha program and set up your styles, including colors, the way you want. It doesn't work for Windows 7 people, though. If you're on Windows 7 I'd suggest changing the extension to .ass from .ssa and opening it in Aegisub to select your colors.
-
You can also use a similar method to resize .srt subtitle files. I always want all of my subs to be the same size and font, so I have a file called style.txt that I copy to movie.srt.style. It applies the Style formating to that srt file. You can then avoid the step of needing to convert to .ass.
You would have the following three files when done (call out Textsub("movie.srt") like normal in your avisynth script.
movie.mpg
movie.srt
movie.srt.style
movie.srt.style would look like this:
Code:ScriptType: v4.00+ PlayResX: 1280 PlayResY: 720 [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style: Default,Tahoma,48,&H00ffffff,&H0000ffff,&H00000000,&H80000000,0,0,0,0,100,100,0,0.00,0,1,0,2,20,20,20,1
-
He needs to set up the colors and other things to the way he wants and he'll need SubStation Alpha or Aegisub for that. It's quite difficult to do with only all that styles text to go on, especially the colors. It's easy enough to save out the styles portion of the SSA/ASS file he creates the first time and apply it to any he gets in the future. Also, zammil made a big mistake by using SubtitleWorkshop to do the conversion when SubResynch would have done it much more easily without allowing him to mess up the styles so badly so that they didn't appear in XviD4PSP. He created topsubs (is that what they're called when they appear at the top of the screen?) and his vertical height placed them well above the video so they didn't show up.
So, I disagree about not having to convert to SSA or ASS at least once to get it set up the way you like. -
-
setup ffdshow like the above picture and disable "subtitle autoloading" in xvid4psp, while previewing the video in xvid4psp you'll see subtitles but they are rendered by ffdshow, setup the subs as you want and you'll se the changes in real time in the preview window in xvid4psp.
from the methods everyone explained here i think this is the simplest one.
make sure sub and video have the same name.I love it when a plan comes together! -
sorry manono to disturb u again.The SSA sub u posted worked fine. but i want to embed subs for other videos.so i would like to know how you converted the subs i posted(
New WinRAR ZIP archive.zip ) to the one you posted
(FightClubFinal.zip)
plz give step by step details so that i can use that method for hardcoding other subs.
Thanks.Last edited by zammil; 23rd Sep 2010 at 11:55.
-
Yes, it's because they're in SRT format. I've only ever seen that used with SRT format subs when they're accompanied by a separate styles file as txporter explained earlier. That is, I've never seen the styles inside of the main SRT file. I remember someone posting that was the way to do it, and if so you should ask him about it. Me, I always work with SSA.
But that's not the styles portion of the SSA file I gave you either. txporter gave you that one. -
when you open a video in xvid4psp it will automatically load a sub if the sub has the same nameas the video, just deselect that sub in the subtitle menu ( i dont use xvid4psp anymore but i recall its in that menu) and let ffdshow serve the sub to xvid4psp.
If you enable subtitle in ffdshow you'll se 2 subtitles in xvid4psp while previewing the video, if you disable the sub in xvid4psp you'll ende up with the sub that is rendered by ffdshow and then you can customize it.
i'll install xvid4psp and post a few screenshotsI love it when a plan comes together! -
I removed the stupid styles you created which placed the subs above and out of the picture and replaced it with my own. I already told you how to create a styles to your liking. Once you've done that save out the styles portion and apply it to your other subtitles. If the subs you get are all SRT, then create a style file as described by txporter and just reuse it. At some point you'll have to do your own experimenting and stop relying on others to do your work for you. I have no idea how you want your subs to appear. I just gave you what I like to use.
-
Atlast i have figured it out.thanks to everyone especially manono & everyone who spent time to look into my problem.you guys don't know how much i owe you.
Thanks.
Similar Threads
-
Hardcoding subs problem
By jliggett in forum SubtitleReplies: 3Last Post: 3rd Feb 2011, 18:04 -
help hardcoding subs to mkv
By striker9 in forum SubtitleReplies: 14Last Post: 20th Aug 2010, 06:40 -
Help hardcoding subs to mkv
By striker9 in forum Authoring (DVD)Replies: 1Last Post: 16th Aug 2010, 02:01 -
Hardcoding subs problem?
By elliottpen in forum ffmpegX general discussionReplies: 9Last Post: 22nd Apr 2010, 18:24 -
Hardcoding subs into H264 video and converting to MP4
By muhali5 in forum Video ConversionReplies: 4Last Post: 28th Aug 2009, 10:57