Quantcast DVD2SVCD: Subtitles Using Vobsub - digitalFAQ.com Forums [Archives]
  #1  
03-24-2004, 04:17 AM
DiCE DiCE is offline
Free Member
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-24-2004, 06:41 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #3  
06-26-2004, 10:12 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Similar prob here, wot line would we use to add .srt subs please?

ur reply would be appreciated.

Thx.
__________________
TheDJ®
Reply With Quote
  #4  
06-26-2004, 01:49 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Use simply :
Code:
Textsub("nameofthefile.srt")
(note DVD2SVCD can handle by itself subtitles in SRT but I can't remember the exact way... but if you see in a menu "external subtitle", that's there !)
Reply With Quote
  #5  
06-27-2004, 05:41 PM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Phil,

Thanks for the info, will give it a go!
__________________
TheDJ®
Reply With Quote
  #6  
06-29-2004, 11:34 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
(note DVD2SVCD can handle by itself subtitles in SRT but I can't remember the exact way... but if you see in a menu "external subtitle", that's there !)
Phil, i was wondering if u remembered how to use d2s to add the external subs? i cant seem to find it, but i am trying the manual way at the moment by adding the textsub line to the script, but would like to know how to add to d2s?

Hope u can remember!
__________________
TheDJ®
Reply With Quote
  #7  
06-29-2004, 11:46 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TheDJ®
Phil, i was wondering if u remembered how to use d2s to add the external subs? i cant seem to find it, but i am trying the manual way at the moment by adding the textsub line to the script, but would like to know how to add to d2s?
Don't you find this in the "go" button dropdown menu ? I know it is a strange place for that, but check this.
Reply With Quote
  #8  
06-29-2004, 11:54 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
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
Saving Subtitles ini fi
Thanks again.
__________________
TheDJ®
Reply With Quote
  #9  
06-29-2004, 11:55 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 ).
Reply With Quote
  #10  
06-29-2004, 11:57 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
i edited my post above, so wot script would u recommend to use an avi+subs?
__________________
TheDJ®
Reply With Quote
  #11  
06-29-2004, 12:02 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #12  
06-29-2004, 12:04 PM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Ok i will give that a go, cheers Phil.
__________________
TheDJ®
Reply With Quote
  #13  
06-29-2004, 01:41 PM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
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
__________________
TheDJ®
Reply With Quote
  #14  
06-29-2004, 03:29 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TheDJ®
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.
Unfortunally, you're right. I wasn't sure (I didn't use D2S since months).

Quote:
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.
If you put converttoYV12, subtitles won't work ! They absolutly leed to be in YUY2. What did you typed exactly ? You post "yuy12" that does not exists

If subtibtles work you can see them in the preview window of d2s, before encoding !
Reply With Quote
  #15  
06-30-2004, 09:59 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
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
__________________
TheDJ®
Reply With Quote
  #16  
06-30-2004, 10:17 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TheDJ®
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) }
I told you to remove this line

Quote:
This time it converted but failed at BBmpeg stage, heres script;
I don't see why but don't bore yourself and do the mux by hand. I think that is kust a "bad luck" problem and won't happen the next time.
Reply With Quote
  #17  
06-30-2004, 10:26 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
[quote="Dialhot"]
Quote:
Originally Posted by TheDJ®
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) }
I told you to remove this line

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?
__________________
TheDJ®
Reply With Quote
  #18  
06-30-2004, 10:37 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
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
__________________
TheDJ®
Reply With Quote
  #19  
06-30-2004, 10:40 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
failed again without the convertToYUY2 line....which line do i need to add please Phil??
__________________
TheDJ®
Reply With Quote
  #20  
06-30-2004, 10:41 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TheDJ®
But i tried without this line before, and tmpgenc would not convert, said illegal res (844x56).
please my friend, check the mpegedec version that you're using,
sometimes it can give problems like ilegal resolutions....change for other version and test, ok?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtitles: Vobsub and ffdshow raptor2000 Subtitles 0 04-04-2004 03:43 AM
Subtitles: New VobSub Filter and new VobSub ripper rds_correia Subtitles 0 12-13-2003 02:37 PM
Subtitles: Vobsub for Avisynth 2.5? TBO Subtitles 8 08-15-2003 11:50 AM
Subtitles: VobSub for AVISynth 2.25? TLTw Subtitles 2 07-16-2003 11:40 PM
Avisynth: Subtitles with Virtualdub + VobSub rendalunit Avisynth Scripting 5 05-29-2002 06:30 PM

Thread Tools



 
All times are GMT -5. The time now is 06:49 AM  —  vBulletin © Jelsoft Enterprises Ltd