View unanswered posts | View active topics It is currently September 20th, 2017, 10:10 pm



Reply to topic  [ 26 posts ]  Go to page Previous  1, 2, 3
 Sample code to use SupTitle to convert Blu-Ray PGS files ple 
Author Message

Joined: July 30th, 2009, 9:07 pm
Posts: 14
Post Re: Sample code to use SupTitle to convert Blu-Ray PGS files ple
I haven't had a lot of luck on this problem on the Doom9 Avisynth discussion group http://forum.doom9.org/showthread.php?t=148848. Grasping at straws,I was just wondering what if anything you have loaded on your machine in the way of special video codecs??? :?


August 21st, 2009, 3:15 am
Profile
Site Admin

Joined: July 4th, 2008, 2:56 pm
Posts: 226
Post Re: Sample code to use SupTitle to convert Blu-Ray PGS files ple
No. You shouldn't need any codecs at all either - you're not decoding anything.


August 21st, 2009, 3:26 pm
Profile

Joined: July 30th, 2009, 9:07 pm
Posts: 14
Post Re: Sample code to use SupTitle to convert Blu-Ray PGS files ple
That's what I thought but good to have you confirm it.


August 21st, 2009, 11:56 pm
Profile

Joined: July 30th, 2009, 9:07 pm
Posts: 14
Post Re: Sample code to use SupTitle to convert Blu-Ray PGS files ple
I took a bit of time this afternoon to reboot into XP and download the latest version of WMP. That, evidently, is the winning combination! SupTitle now works just fine with the blank clips in XP—as long as they are 1920 x 1080 clips, that is—not if they are 720 x 480.

So I have one left-over problem—how to resize the SupTitle output to 720 X 480. My favorite resizer for transcoding is Spline 36 (e.g, Spline36Resize(720,480)) but I couldn’t figure out any syntax to make it work on the output of SupTitle so it would conform to the size of video downsized from 1920 x 1080 to720 x 480.

Any ideas?


August 22nd, 2009, 7:18 am
Profile
Site Admin

Joined: July 4th, 2008, 2:56 pm
Posts: 226
Post Re: Sample code to use SupTitle to convert Blu-Ray PGS files ple
Can't you simply add the function to the script? :?: :?: :?:

Code:
LoadPlugin("C:\SupTitle.dll")
BlankClip(300000, 1920, 1080, "YV12", 24000, 1001, color=$aaaaaa)
SupTitle("m:\TheInternational\sub9.sup", forcedOnly=true, swapCbCr=false)
Spline36Resize(720,480)


Are you sure you're familiar with AviSynth? :?

This will help - New to AviSynth - start here.


August 22nd, 2009, 12:30 pm
Profile

Joined: July 30th, 2009, 9:07 pm
Posts: 14
Post Re: Sample code to use SupTitle to convert Blu-Ray PGS files ple
So the trick is to resize both video streams at the same time as below.

Code:
LoadPlugin("SupTitle.dll")
LoadPlugin("C:\Program Files (x86)\DGAVCIndex\DGAVCDecode.dll")
avcsource("E:\Video Hold\00001.track_4113.dga")
SupTitle("E:\Video Hold\eng1.sup", false)
Spline36Resize(720,480)


I make no pretense to being an expert with AviSynth although I use it quite frequently for a number of relatively simple purposes.

Now that I've finally gotten it working—and working in Vista—I am very grateful both for SupTitle and for the help. Many thanks!


August 23rd, 2009, 6:33 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 26 posts ]  Go to page Previous  1, 2, 3

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB.