Nope......still much too low
I used : ScriptType: v4.00+ PlayResX: 384 (why you use 380 ?) PlayResY: 288 [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,Arial,10,&H00ffffff,&H0000ffff,&H00000000, &H80000000,-1,0,0,0,75,100,0,0.00,1,2,3,2,20,20,5,1 |
Quote:
|
An other question : does the palce change when you change the Margin value or not ?
In other words : did you notice that the .style file has an influence or not ? |
Well that's the point excactly Phil ! I DON't see any influence in the various MarginV settings (5, 17 or 20) or in the ScaleX (75 or 100).
I've tried changing PlayResX and Y also but don't know exactly where to change them to or even what they represent. Maybe it's in the D2S 121B2 version ? What version are you using staigerpaip ? I remember that the guy from the other thread (Payasa) used the 113B2A I think, but I don't have that version...... Getting desparate :x but will never surrender (that's my attitude :) .. |
Can you copy the script generated by D2S ?
Why don't you make your test by hand, out of D2S, and when you will find a .style that is correct to your wishes, return under D2S to do the actual job ? |
Hi Phil,
Below is my svcdinfo.txt. Don't exactly know what you mean by "making test by hand, out of D2S" and "return under D2S to do the actual job". I've edited the .style sheet with the suggested parameter settings but none showed any change in the way subs appeared in the TMPEG screen. If you could explain this I gladly try it..... --------------SVCDINFO.TXT-------------- GENERAL INFO - Source: - Movie Offset: 2 sec - CD Overlap seconds: No - Startup delays: Video: 344 ms Audio 1: 344 msAudio 2: 344 ms - Video format: NTSC - Length: 01:52:37 - CD Images: 1 IMDB INFO: Movie title: User rating: Directed by: Writing credits: Genre: Tagline: Plot outline: VIDEO INFO: - Encoder: TMPGEnc 2.513.53.162 - Rate Control Mode: Constant quality (CQ) - Max. bitrate: 2300 - CQ Value 76.00 - Min. bitrate: 400 - Motion search prec.: Motion estimate search (fast) - Field order: Yes - DC component prec.: 8 bits - Output YUV as YCbCr: No - Floating point DCT: Yes - No motion search: False - Soften block noise: No - iDCT Algorithm: - NTSC Field Operation: - Deinterlace: None - Pulldown: Yes, TMPGEnc internal - Width: 480 - Height: 480 - Matrix: Intra: 8 16 19 22 26 27 29 34 16 19 22 26 27 29 34 37 19 22 26 27 29 34 37 38 22 26 27 31 36 37 38 40 26 27 29 36 39 38 40 48 27 29 34 37 38 40 48 58 29 34 37 38 40 48 58 69 34 37 38 40 48 58 69 79 Non-Intra: 16 18 20 22 24 26 28 30 18 20 22 24 26 28 30 32 20 22 24 26 28 30 32 34 22 24 26 30 32 32 34 36 24 26 28 32 34 34 36 38 26 28 30 32 34 36 38 40 28 30 32 34 36 38 42 42 30 32 34 36 38 40 42 44 AVISYNTH SCRIPT: LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg 2dec\MPEG2D~1.DLL") AVISource("D:\ARLING~1\ARLING~1.AVI",False) ConvertToYUY2() Undot() Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823) ATC(2,3,5,0.5,false) TemporalSoften(2,7,7,3,2) GripCrop(480, 328+76+76, overscan=1, source_anamorphic=false, dest_anamorphic=false) GripSize(resizer="LanczosResize") DCTFilter(1,1,1,1,1,1,0.5,0) Blockbuster(method="noise",detail_min=1,detail_max =10,variance=0.5,seed=5623) GripBorders() Textsub("d:\movie\subtitle.srt") AUDIO INFO: - Audiostreams: 1 - Audio 1 Language: Unspecified - Audio 1 Bitrate: 128 - Audio 1 Sample freq: 44100 - Audio 1 Mode: Dual channel - Audio 1 Besweet: SUBTITLE INFO: - Subtitlestreams: 0 - Type: - Sub. 1 Language: - Sub. 2 Language: - Sub. 3 Language: - Sub. 4 Language: AUTHORING INFO: - CD Image program: VCDXBuild - Entrysvd: No |
Paulus,
With the avisynthscript you are using, you could use the regular dvd2svcd subtitle function. You replaced the "deen()" with "atc" and removed the "function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }". That was the problem with the dvd2svcd subs. The point was to get subtitles with the "optimal script". Below a few thoughts about what you could check/change/do to make it work. Here is the avisynthscript I use: Code:
[AVISYNTH_Divx Filter] Make sure you have the .srt and the .srt.style in the same directory. I have for instance: C:\subs\subtitle.srt (your subfile) and a C:\subs\subtitle.srt.style (your style file) with this in it: Code:
ScriptType: v4.00+ Try downloading just the VSFilter.dll from http://dvx.sf.net/plugins/SubtitlesRipperPlugin3.0.exe This is the program subtitleripper. If you extract it you'll find the VSFilter.dll. I hope this works. You can test everything in dvd2svcd with 'preview video'. If you make an subtitle.srt file with 1 sub like this: Code:
1 One last thing: If you change the fontsize in the subtitle.srt.style, you should see the change! If it's not vissible, there might be a problem with the subtitle.srt/subtitle.srt.style not in the same directory, not the same name (subtitle.*). Or a problem with Vsfilter.dll. I hope I could be of some help to you. Tinus. |
Hello Staigerpaip,
Thanks for the extensive reply ! I will have a lot to try/check this evening (my wive begins to miss me :-) ). Goal is definitely to use the optimal script. I tested that as wel but got error message at the start of video encoding "deen need YV12 input", so I use the previous script from Dialhot. Will try D2S 1.2.1.B3 (didn't knew it was out already). I've put .srt and .srt style always in same directory before I've put the VSFilter.dll everywhere (I'm always a bit puzzled were to put it so I've put it in Avisynth/filters directory as well as in the DVD2SVCD directory.....Maybe do some clean up (download again from your link). I will test / check with changing the fontsize in .style. I was focussed on the sub position all the time so I didn't look at fontsize so much... But for you subs work OK Tinus ? Also with the optimal DivX script ? (also solved sub quality on TV screen now ?). Will post result of testing this evening............... |
I'm at work also right now (but it's a slow day :D).......
If you want to use the 'old' script, just use the build-in sub function of d2s. The quality is better and it's MUCH easier to accomplish :lol:. Maybe Dialhot can explain what the differences are between the 'old' and 'new'(optimal) script. (I meen quality, final filesize i.e.). If there is not much of a difference, I think is better to use the 'old' script. My subs are visible, I get them at the place I want with the size I want, but there is a visible difference in quality between the Textsub and the avisynthsubtitler. So try and watch what you like best. And most important: Keep your wife happy.... It's better to enjoy a well made kvcd together then alone :P Goodluck and post your results. I will centainly take a look tomorrow. Tinus |
Generally I change the optimal sccript when the quality is better (generally in the details of the picture) or the file size obtained is smaller.
The problem is I do not know what you refer as "new" and "old" script as I do new ones every time and do not really remember which one I give to the forum :-) |
Phil,
I meant Code:
[AVISYNTH_Divx Filter_NOSUBS] Code:
0=ConvertToYV12() The scripts for DivX converting. The new scripts gives the problems with perm. subs in d2s. Tinus |
Okay.
Both scripts gave problems with permsub because it comes from the usage of YV12 color space. So you have to remove line 8 of "new" script and line 0 of "old" one. Now, for the diff between the two, the one with deen gives better results on removing blocks. But some find it too heavy on details. So we did a new optimal script for avi and you can find it in the avi->kvcd section of the forum. I can adapt it to D2S if you want and update the "optimal script for D2S" thread in this forum. Do you want that ? |
Quote:
|
Okay. I'll do that perhaps tonight and this time I will put two version : with and without permsub.
|
Just to let you know
I tried the 'old' script: Code:
0=ConvertToYV12() Looking forward to the adjusted scripts :D |
Good news from me as well guys ! :D It's working finally.
Code:
ScriptType: v4.00+ I went all the wrong way earlier with the Margin V. I should have increased this value (not decrease) to get the subs higher ! (Why didn't you guys tell me this ? :) Now I use 45 for this avi i'm encoding now. Also, both the ScaleX and the ScaleY need to be adjusted both to keep the correct "aspect ratio" for the characters (not compressing them). Lowering ONLY the ScaleX makes the height of the sub characters bigger (compressing them from both sides so to say). So Staigerpaip -> I'm guessing you must have characters wich relatively "long/high" letters/characters ?. Pretty sure this must work with all scripts (I already saw your new scripts in DiVx->KVCD forum, Dialhot but didn't brought it up before. First things first......). I'm trying them later this week with more avi's to encode. All in all I'm pretty happy now (but.....wait until I check my burned result in the Cyberhome DVD player for final conclusions :-) ). |
Paulus,
Quote:
Great job Paulus :lol: . As we say in The Netherlands: De aanhouder wint! Then a correction: Quote:
In D2S preview they showup, but not in the final encoding. The preview uses a converttoYUY2 in the script. The final script doesn't. I hope Phil has the time to adapt the optimal scripts for D2S to one with perm subs. Thanks all........ |
He Staigerpaip,
.......I DID start with the MarginV=20 (because it's default in the .style file). This value resulted in subs too low in the black bar. (I think it depends on the avi size/res which value work best). I think Dialhot recommended using the value 5 (in any case: lower than default) to "Payasa" in another thread. :lol:....With 5 the subs showed up only slightly lower than with 20 so I didn't notice any change at first. It's working now, so I'm happy. Hope that the standard DVD2SVCD subtitle option will work in next version. Maybe I should test with this as well, because using TextSub is not very "efficiënt"/easy to use. Closing thread (I think ?.... :? ) But I have lot's more so......... :) |
Quote:
So I don't think D2S developper intends to fix that. We have to modify the script (I work on this). And textsub is very efficient. You just had been very unlucky in having a problem with it in your first try :-). But I used it for dozens of encoding without any problems. In fact, I just need to make a .style for two of them. That's very few. |
Phil,
I used the "old" DivX script with "convert ty Y..." line removed but could not position external subtitles with standard D2S subtitle / avisynthsubtitler...... I tried changing the positioning parameter options in standard D2S subtitle menu but that didn't seem to work..........-> that's when the TextSub function came in the picture. Anyway, I will test standard D2S subtitle parameters again to see if it DOES work. Definitely look forward to your new scripts Dialhot. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.