Subtitles using Vobsub
Hi! I want to tryout using DVD2SVCD again with CCE 2.5 SP and I have a problem concerning the subtitles. Since I dont like the outcome of the subtitles using it's default method within the bundle I wish to use Vobsub. I have used Vobsub with other encoders such as Tmpeg, Canopus Procoder within a avs script, ie:
VobSub("D:\DVD_VIDEO\VIDEO_TS\VTS_10_0") My problem is on how to convert the command line above so that DVD2SVCD can recognize it. Cheers! :P |
Go in "Frameserver" tab. Ask to DVD2SVCD to edit the avisynth script at video encoding phase.
Just before to call CCe, DVD2SVCD will pop up a window where you can edit the script and add the line. Unfortunally, there is no way to do that automatically. |
Similar prob here, wot line would we use to add .srt subs please?
ur reply would be appreciated. Thx. |
Use simply :
Code:
Textsub("nameofthefile.srt") |
Hi Phil,
Thanks for the info, will give it a go! |
Quote:
Hope u can remember! |
Quote:
|
Thanks Phil, 1 place i wouldnt have thought of looking.
Do i select permanent subs? Are there any other options i need to check? I got this error after adding the srt, then checked forced subs, and it continued, is this normal?; Code:
EInvalidGridOperation tsGrid1: Column index -1 out of range |
I think this work only with permanent subtitle, yes. But in this case do remember that you can't use my optimal script (mutual exclusino between the two things :-().
|
i edited my post above, so wot script would u recommend to use an avi+subs?
|
You can take my script, edit it with the internal editor of dvd2svcd and just remove the line where the function "ConvertToYUY2" is redefined.
That should work. |
Ok i will give that a go, cheers Phil.
|
Phil,
I tried the script without the "convertToYUY12" line and each time tmpgenc started, the resolution was wrong (544x86), and tmpgenc would only do a sample for a split second then stop encoding. But i tried with the "ConvertToYUY12" line, and now tmpgenc is encoding, but if subs are working, would i see the subs during tmpgenc encode or does d2s add them afterwards? coz tmpgenc is not showing the subs during encode. thx |
Quote:
Quote:
If subtibtles work you can see them in the preview window of d2s, before encoding ! |
Hi Phil, Only just got another chance to try this, it has failed again using this line;
9=function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) } Should the 'return is & convertTO' also be YUY2?? This time it converted but failed at BBmpeg stage, heres script; WNASPI32.DLL 4.6.0.1021 -------------------------------------------------------- - 29/06/2004 19:01:53 - AVI to SVCD Conversion - AVI2SVCD ver. 1.2.1 build 3 -------------------------------------------------------- Initializing - D:\**.avi Initializing finished. Saving Subtitles ini file -------------------------------------------------------- - 29/06/2004 19:02:19 - Free on drive D: 56438.11 mb - AUDIO Extraction -------------------------------------------------------- Audio extraction finished. -------------------------------------------------------- - 29/06/2004 19:03:15 - Free on drive D: 56438.11 mb - AUDIO conversion -------------------------------------------------------- -------------------------------------------------------- - 29/06/2004 19:03:16 - Free on drive D: 56438.11 mb - AUDIO conversion -------------------------------------------------------- Converting MP2 to WAV. Filename: D:\DVD2SVCD\Movie\Extracted_audio_1.mpa Executing MADPlay (mp2 to wav). Commandline: "D:\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"D:\DVD2SVCD\Movie\Encoded_audio_1.mp2 .wav" "D:\DVD2SVCD\Movie\Extracted_audio_1.mpa" Conversion (mp2 to wav) of D:\DVD2SVCD\Movie\Extracted_audio_1.mpa finished. Encoding Audio. Filename: D:\DVD2SVCD\Movie\Extracted_audio_1.mpa Executing BeSweet. Commandline: "D:\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "D:\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" -output "D:\DVD2SVCD\Movie\Encoded_audio_1.mp2" -logfile "D:\DVD2SVCD\Movie\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 112 -m d ) Audio conversion of D:\DVD2SVCD\Movie\Extracted_audio_1.mpa finished. Audio conversion finished. -------------------------------------------------------- - 29/06/2004 19:17:06 - Free on drive D: 55733.88 mb - Video Encoding using TMPGEnc -------------------------------------------------------- Saving Subtitle Timecodes. Permanent subtitles. - Encoding Test Clip D:\DVD2SVCD\Movie\AviSynth_Script_file_CQ_TEST.avs Executing TMPGEnc. Commandline: "D:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.exe" "D:\DVD2SVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\DVD2SVCD\Movie\AviSynth_Script_file_CQ_TEST.avs Wanted: 813288601 (794227kb) Predicted: 1004018470 (980487kb) Using CQ Value: 80.00 Calculated next CQ Value: 71.06 Executing TMPGEnc. Commandline: "D:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.exe" "D:\DVD2SVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\DVD2SVCD\Movie\AviSynth_Script_file_CQ_TEST.avs Wanted: 813288601 (794227kb) Predicted: 767705233 (749712kb) Using CQ Value: 71.06 Calculated next CQ Value: 73.01 Executing TMPGEnc. Commandline: "D:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.exe" "D:\DVD2SVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\DVD2SVCD\Movie\AviSynth_Script_file_CQ_TEST.avs Wanted: 813288601 (794227kb) Predicted: 806664902 (787759kb) Using CQ Value: 73.01 Calculated final CQ Value: 73.01 - Encoding D:\DVD2SVCD\Movie\AviSynth_Script_file.avs StreamSectors: 938865788 AudioSectors: 109860128 VideoPAPO: 12841740 ScanOffsetBytes: 44540 SeqAligningBytes: 2830775 DVDBytes: 0 VideoEndHeader: 4 SubtitleSectors: 0 EmptySectors: 238.00 PictureSectors: 0.00 PureMPEGStream: 813288601.23 Seconds: 7742.41 CalcMPEGStream: 813288601.23 Frames: 185584 CDSize: 900.00 Number of CDs: 1 Cut point 896.00 Using CQ Value: 73.01 Aspect Ratio: 16:9 (borders added, encoded as 4:3) ---AVS Begin--- LoadPlugin("D:\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG 2D~1.DLL") LoadPlugin("D:\DVD2SVCD\AVISYN~1.5PL\AVISYN~2.DLL" ) AVISource("D:\**.AVI",False) ConvertToYUY2() BlindPP(cpu=4) Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1) Convolution3D(1, 6, 12, 6, 8, 2.8, 0) GripCrop(480, 368+56+56, overscan=1, source_anamorphic=false, dest_anamorphic=false) GripSize(resizer="LanczosResize") Undot() TemporalSoften(2,7,7,3,2) DCTFilter(1,1,1,1,1,1,0.5,0) GripBorders() function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) } AvisynthSubtitler("D:\DVD2SVCD\Movie\","permsubs.t xt") ----AVS End---- Executing TMPGEnc. Commandline: "D:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.exe" "D:\DVD2SVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. -------------------------------------------------------- - 29/06/2004 21:26:53 - Free on drive D: 55060.67 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: D:\DVD2SVCD\bbMPEG\default.ini -------------------------------------------------------- - 29/06/2004 21:26:55 - Free on drive D: 55060.66 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: D:\DVD2SVCD\bbMPEG\default.ini -------------------------------------------------------- - 29/06/2004 21:26:58 - Free on drive D: 55060.66 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: D:\DVD2SVCD\bbMPEG\default.ini -------------------------------------------------------- - 29/06/2004 21:27:00 - Free on drive D: 55060.66 mb - Multiplexing and cutting -------------------------------------------------------- Saving bbMPEG settings: D:\DVD2SVCD\bbMPEG\default.ini Offset in Seconds: 5 Executing bbMPEG. Variable Settings: Movie offset: 5 seconds Cut point: 896 mb Executing RunbbMPEG. Commandline: "D:\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "D:\DVD2SVCD\Movie\bbMPEG_Muxed_File.mpg" bbMPEG failed. Exitcode: 3221225786 |
Quote:
Quote:
|
[quote="Dialhot"]
Quote:
But i tried without this line before, and tmpgenc would not convert, said illegal res (844x56). So which YUY2 line do i add? u said i need this? ConvertToYUY2? Also i checked the movie preview in D2S, and subs are not showing, although i have loaded the .srt and selected permanent subs? why else wouldnt it show? |
Ok i totally removed the ConvertToYUY2 line, and subs are showing in movie preview, i just hope tmpgenc encodes it now and doesnt state illegal res. will report back, thx
|
failed again without the convertToYUY2 line....which line do i need to add please Phil??
|
Quote:
sometimes it can give problems like ilegal resolutions....change for other version and test, ok? :wink: |
Quote:
How can i found out wot version of mpegedec i have please? thx |
in the D2s folder--->Avisynth2.5 Plugins folder--->Mpeg2dec folder,
you have 3 differents versions...change the versions in the framserver tab of D2s program and test ... maybe using "preview" in :arrow: convertion tab--->GO--->preview can help in your tests...(i don't use subs then i'm in doubt)! :) |
Quote:
For the remainder, I don't use this tool anymore. So if something doesn't work I can't help you. Just drop that script. When I developped the scripts, I put the warning "permanent subtitles don't work with these script" on purpose ! Perhaps by browsing the forum you will retrieve the thread where someone explained how he manages to use them but I'm not sure this really exits (memories...). I trust enought in my skills to think that if there was a way to use permsub AND my script together, I would have modified it and remove the warning. I can't help you more. Note: your problem of bad resolution if because avisynth produces an error. And this error is : blindpp need to work in YV12 and if you remove the line 9, D2S will force your script to work in YUY2 ! That is the error ! So what you can do is remove also blindPP line. Just test that ? Note2 : without blindPP you have a script that does only 50% the work on the normal script ! Be warned about that. |
Ok guys cheers for all ur help i know its an old matter, but it seems i am unable to make skvcd's + subs :(
|
Check the end of my previous post ! I was editing it while you typed your last answer.
|
Hi Phil,
Thanks for the reply, i try again without BlindPP this time, will report back... |
it failed encoding stage & then stated missing mp2 file towards the end.
Trying with different mpeg2decdg.dll, got this error; Saving Subtitles ini file EAccessViolation Access violation at address 0065808F in module 'DVD2SVCD.exe'. Read of address 0000004C and dvd2svcd stopped working. gonna try the last mpeg2dec.dll... |
Quote:
(i say that even if you have removed this line now, just FYI). Why don't you use the dll and DVD2AVI that is provided with D2S ? |
i just wanted to check something, after i click GO, i get screen asking to choose the colour of font, do i check "forced subs"?
|
Quote:
|
WNASPI32.DLL 4.6.0.1021
-------------------------------------------------------- - 01/07/2004 16:04:16 - AVI to SVCD Conversion - AVI2SVCD ver. 1.2.2 build 1 -------------------------------------------------------- Initializing - D:\**.avi Initializing finished. Saving Subtitles ini file -------------------------------------------------------- - 01/07/2004 16:04:21 - Free on drive D: 49234.62 mb - AUDIO Extraction -------------------------------------------------------- Undoing Nandubs 1152 BlockAlign value to 1 Redoing Nandubs 1152 BlockAlign value Audio extraction finished. -------------------------------------------------------- - 01/07/2004 16:05:35 - Free on drive D: 49234.62 mb - AUDIO conversion -------------------------------------------------------- Converting MP2 to WAV. Filename: D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa Executing MADPlay (mp2 to wav). Commandline: "D:\Program Files\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"D:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" "D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa" Conversion (mp2 to wav) of D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa finished. Encoding Audio. Filename: D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa Executing BeSweet. Commandline: "D:\Program Files\DVD2SVCD\Tylo\BeSweetLater.bat" -core( -input "D:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" -output "D:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp 2" -logfile "D:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.lo g" ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 112 -m d ) Audio conversion of D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa finished. Audio conversion finished. -------------------------------------------------------- - 01/07/2004 16:08:16 - Free on drive D: 49234.62 mb - Video Encoding using TMPGEnc -------------------------------------------------------- Saving Subtitle Timecodes. Permanent subtitles. - Encoding D:\Program Files\DVD2SVCD\Movie\AviSynth_Script_file.avs StreamSectors: 938865788 AudioSectors: 227752 VideoPAPO: 14540004 ScanOffsetBytes: 58 SeqAligningBytes: 3661 DVDBytes: 0 VideoEndHeader: 4 SubtitleSectors: 0 EmptySectors: 238.00 PictureSectors: 0.00 PureMPEGStream: 924094309.60 Seconds: 16.00 CalcMPEGStream: 924094309.60 Frames: 240 CDSize: 900.00 Number of CDs: 1 Cut point 896.00 Using CQ Value: 80.00 Executing TMPGEnc. Commandline: "D:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.exe" "D:\Program Files\DVD2SVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. -------------------------------------------------------- - 01/07/2004 16:08:44 - Free on drive D: 49234.62 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: D:\Program Files\DVD2SVCD\bbMPEG\default.ini -------------------------------------------------------- - 01/07/2004 16:08:47 - Free on drive D: 49234.62 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: D:\Program Files\DVD2SVCD\bbMPEG\default.ini -------------------------------------------------------- - 01/07/2004 16:08:49 - Free on drive D: 49234.62 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: D:\Program Files\DVD2SVCD\bbMPEG\default.ini -------------------------------------------------------- - 01/07/2004 16:08:52 - Free on drive D: 49234.62 mb - Multiplexing and cutting -------------------------------------------------------- Saving bbMPEG settings: D:\Program Files\DVD2SVCD\bbMPEG\default.ini Offset in Seconds: 1 Executing bbMPEG. Variable Settings: Movie offset: 1 seconds Cut point: 896 mb Executing RunbbMPEG. Commandline: "D:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "D:\Program Files\DVD2SVCD\Movie\bbMPEG_Muxed_File.mpg" Multiplexing and cutting finished. Image creation finished. -------------------------------------------------------- - 01/07/2004 16:08:59 - Free on drive D: 49234.62 mb - Conversion done! -------------------------------------------------------- |
Can you please open these file into a media player (or virtualdub) and see the error :
Code:
D:\Program Files\DVD2SVCD\Movie\AviSynth_Script_file.avs |
when avisynth is played in media player;
Convolution 3D supports YV12 colour format only (D:\Program files\DVD2SVCD\Movie/AviSynth_Script_file.avs line 6) So i need to replace this line? |
i removed the convolution line only, and now it is encoding and subs can be seen on tmpgenc during encode!
Looking good Phil!!! Fingers crossed :!: |
Phil, i dont see an mp2 file in the movie folder, only an '**.mp2.wav' file?
Has d2s misnamed the file? it seems that way, at bbmpeg stage i think an error will occour saying mp2 could not be found again. |
Whaow.
Without BlinPP, the script works at 50% of its stength. Without BlindPP and C3D, it works at... 15% may be ? You should better Dl and use the YUY2 version of C3D but the problem is that you will have to replace manually in the plugin directory of avisynth the dll because you can't have both of them at the same time. See here to dl both version (but you already have the YV12 one) : http://www.avisynth.org/warpenterprises/ For your audio problem, you can see that besweet work took 3 minutes (that's short !) and that no space was consumed on the disc during this operation. That means clearly that besweet failed ! But I do not understand that : "D:\Program Files\DVD2SVCD\Tylo\BeSweetLater.bat" I never saw this bat file ! I don't know what is inside it but the name suggest that besweet will be called... later. Later, when ??? |
Hi Phil, yes i am also surprised the script is working @ 15% !
Ok i have downloaded the other version of C3D, but i noticed that i have them both already in the same folder, so wot problem will this cause, because the file is currently encoding. should i stop the encode now, and move the C3D-YV12 and restart the encode ?? Quote:
|
Phil, i dont recognise the Nandub part, is this normal?
Code:
-------------------------------------------------------- |
Quote:
But the day you will need to use C3D-YV12, you will have an error because it is C3D that will be used ! Quote:
It's seems that yes ! Hum... normally D2S do not use Nandub. That's strange... Roba again ? |
hmmm....maybe i uninstall d2s, and reinstall without roba, see if this helps!
thx Phil, i report back soon. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.