03-24-2004, 03:17 AM
|
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
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
03-24-2004, 05:41 AM
|
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.
|
06-26-2004, 10:12 AM
|
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®
|
06-26-2004, 01:49 PM
|
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 !)
|
06-27-2004, 05:41 PM
|
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®
|
06-29-2004, 11:34 AM
|
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®
|
06-29-2004, 11:46 AM
|
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.
|
06-29-2004, 11:54 AM
|
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®
|
06-29-2004, 11:55 AM
|
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  ).
|
06-29-2004, 11:57 AM
|
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®
|
06-29-2004, 12:02 PM
|
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.
|
06-29-2004, 12:04 PM
|
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®
|
06-29-2004, 01:41 PM
|
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®
|
06-29-2004, 03:29 PM
|
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 !
|
06-30-2004, 09:59 AM
|
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®
|
06-30-2004, 10:17 AM
|
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.
|
06-30-2004, 10:26 AM
|
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®
|
06-30-2004, 10:37 AM
|
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®
|
06-30-2004, 10:40 AM
|
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®
|
06-30-2004, 10:41 AM
|
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?
|
All times are GMT -5. The time now is 05:27 PM — vBulletin © Jelsoft Enterprises Ltd
|