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: |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.