Selur's Little Message Board

Full Version: My encode result is a green messed up video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Quote:Bad news: The subs that use the VSFilterMod (Karaoke.ass) don't show up, so I assume haven't been hardcoded for some reason.
Don't see how that is Hybrids fault.
Hybrid only decodes what your script does.
-> have you checked the output of your script? (For example using the Avisynth Preview?)

Cu Selur
I have checked the karaoke script in the program I use to make it (Aegisub), and it shows the correct preview fine when I switch the program's plugin to VSFilterMod.

(04.04.2020, 18:07)Selur Wrote: [ -> ]have you checked the output of your script? (For example using the Avisynth Preview?)

Cu Selur
When I try Avisynth Preview, the window pops up and shows a preview. But it's on the first frame and not on the frame where the karaoke subs should show up. So I scroll through. When I reach around the point the karaoke subs should show up, the window instantly closes - as if crashing?
Sounds like your plugin is broken.
Are you using the latest x86 version from https://github.com/sorayuki/VSFilterMod/releases ?

Cu Selur
I had two I was using. One was released in 2011 and the other 2014.

Now, I've downloaded the latest x86 release from the above link, and tried that plugin instead. But the same result Undecided for both encode and Avisynth Preview.

This is very strange, because the last time I used VSFilterMod with Hybrid was back in Jan 2016. And I had no issues at all back then.
Back then Hybrid used Avisynth 2.6 MT, nowadays it uses Avisynth+ 3.5.1.
Funny thing is, I don't see any of the hardsubbed subtitles in when I open the script with Avspmod. :/
Correction I see only the subs in the outro.
My guess is something is 'off' with the subtitles.

Cu Selur
I'm no subtitle expert, but shouldn't the subtitle time be ascending?

Code:
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Comment: 0,0:00:26.00,0:00:26.04,Ep Title,,0,0,0,,OP START
Comment: 0,0:01:45.91,0:01:45.96,Ep Title,,0,0,0,,END OF OP
Dialogue: 0,0:00:31.63,0:00:34.30,OP Eng,,0,0,0,,Stepping firmly on the ground,
Dialogue: 0,0:00:34.30,0:00:37.43,OP Eng,,0,0,0,,you are awakening.
Dialogue: 0,0:00:37.43,0:00:40.35,OP Eng,,0,0,0,,With the smile of an angel,
Dialogue: 0,0:00:40.35,0:00:44.35,OP Eng,,0,0,0,,{\fad(0,900)}take me away!
Dialogue: 0,0:00:50.40,0:00:55.91,OP Eng,,0,0,0,,You are not alone, even in solitude.
Dialogue: 0,0:00:55.91,0:01:01.41,OP Eng,,0,0,0,,There is definitely a reason as to why we are born.
Dialogue: 0,0:01:05.04,0:01:07.50,OP Eng,,0,0,0,,Bathing in the sun...
Dialogue: 0,0:01:11.09,0:01:16.34,OP Eng,,0,0,0,,The world is awaiting your brilliance!
Dialogue: 0,0:01:16.34,0:01:19.01,OP Eng,,0,0,0,,Stepping firmly on the ground,
Dialogue: 0,0:01:19.01,0:01:22.31,OP Eng,,0,0,0,,you are awakening.
Dialogue: 0,0:01:22.31,0:01:25.31,OP Eng,,0,0,0,,With the smile of an angel,
Dialogue: 0,0:01:25.31,0:01:28.56,OP Eng,,0,0,0,,Take me away! (you can smile!)
Dialogue: 0,0:01:28.56,0:01:34.86,OP Eng,,0,0,0,,It is never too late for a new “beginning”
Dialogue: 0,0:01:34.86,0:01:40.87,OP Eng,,0,0,0,,{\fad(0,900)}No matter what happens, keep getting back up!
Dialogue: 0,0:00:30.59,0:00:31.80,OP4 Roma,,0,0,0,fx,{\an5\moves3(313,-113,305,223,482,39,0,1000)\fad(500,0)\t(0,700,)\t(700,1100,)}d
Dialogue: 0,0:00:30.63,0:00:31.80,OP4 Roma,,0,0,0,fx,{\an5\moves3(656,223,695,-155,502,39,0,1000)\fad(500,0)\t(0,700,)\t(700,1100,)}a
Dialogue: 0,0:00:31.80,0:00:31.97,OP4 Roma,,0,0,0,fx,{\pos(492,39)\an5\t(0,80,0.7\fsvp30\frz-13)\t(80,200,0.5,\fscx100\fscy100\fsvp0\frz0)}da
Dialogue: 0,0:00:31.97,0:00:35.05,OP4 Roma,,0,0,0,fx,{\an5\pos(482,39)\bord2.2\blur0\t(2024,2124,\bord0\blur0\fsc100\alpha&ff&\1c&ffffff&)}d
Dialogue: 0,0:00:31.97,0:00:35.05,OP4 Roma,,0,0,0,fx,{\an5\pos(502,39)\bord2.2\blur0\t(2044,2144,\bord0\blur0\fsc100\alpha&ff&\1c&ffffff&)}a
Dialogue: 0,0:00:30.67,0:00:31.97,OP4 Roma,,0,0,0,fx,{\an5\moves3(361,-119,324,231,516,39,0,1000)\fad(500,0)\t(0,700,)\t(700,1100,)}i
Dialogue: 0,0:00:30.67,0:00:31.97,OP4 Roma,,0,0,0,fx,{\an5\moves3(689,215,704,-134,529,39,0,1000)\fad(500,0)\t(0,700,)\t(700,1100,)}c
Dialogue: 0,0:00:30.71,0:00:31.97,OP4 Roma,,0,0,0,fx,{\an5\moves3(350,-115,377,201,548,39,0,1000)\fad(500,0)\t(0,700,)\t(700,1100,)}h
Dialogue: 0,0:00:30.76,0:00:31.97,OP4 Roma,,0,0,0,fx,{\an5\moves3(713,200,754,-150,563,39,0,1000)\fad(500,0)\t(0,700,)\t(700,1100,)}i
Dialogue: 0,0:00:31.97,0:00:32.38,OP4 Roma,,0,0,0,fx,{\pos(540,39)\an5\t(0,160,0.7\fsvp30\frz11)\t(160,400,0.5,\fscx100\fscy100\fsvp0\frz0)}ichi
wild guess when reaching:
Code:
Dialogue: 0,0:01:34.86,0:01:40.87,OP Eng,,0,0,0,,{\fad(0,900)}No matter what happens, keep getting back up!
Dialogue: 0,0:00:30.59,0:00:31.80,OP4 Roma,,0,0,0,fx,{\an5\moves3(313,-113,305,223,482,39,0,1000)\fad(500,0)\t(0,700,)\t(700,1100,)}d
the subtitles might be reset.
-> nope sorting the subtitles doesn't help either.

Nope seems to be a filter problem, I simplified the subtitles to:
Code:
[Script Info]
ScriptType: v4.00+
WrapStyle: 0
PlayResX: 1280
PlayResY: 720
YCbCr Matrix: TV.709

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,50,&H00FFFFFF,&H000000FF,&H00000000,&H64000000,-1,0,0,0,100,100,1,0,1,3,1,2,20,20,20,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,1:00:00.00,Default,,0,0,0,,Hellooooooo
and
Code:
LoadPlugin("f:\Selur\ffms2.dll")
#LoadPlugin("f:\Selur\VSFilter.dll")
LoadPlugin("f:\Selur\VSFilterMod.dll")

FFVideoSource("f:\Selur\VID.mkv")

#TextSub("f:\Selur\Hardcoding.ass")
TextSubMod("f:\Selur\Karaoke.ass")

return last
isn't showing the subtitle.
Using VsFilter instead, I see the subtitle without a problem.

-> Ha found the culprit. Using Avisynth MT 2.6 I see the subtitles when using VSFilterMod.

Cu Selur
Will send you a new dev version link via pm with some instructions to use Avisynth MT instead of Avisynth+ in Hybrid in a few minutes.

Cu Selur
Accidentally I send you a wrong link, send the correct one now.

Cu Selur
Okay, I've installed the correct dev link and followed the instructions to rename the files in Hybrid folder.

The result is GREAT! Finally, it worked perfectly with no issues. Thanks so much for the time and effort you gave to fix this. 

By the way, does this mean I'll have to continue using this dev version with the file replacements every time I use VSFilterMod? Or are you thinking of releasing a stable version that incorporates all this?
I'll add the '_mt' versions to the official releases, but you'll have to rename/replace the files, since Avisynth+ is the default nowadays.
Sadly https://github.com/sorayuki/VSFilterMod has the issue tracker disabled so I don't know how to report the issue to the author.
(I mentioned the problem over at doom9, but I'm not sure whether it'll reach the author this way.)

Cu Selur
Pages: 1 2 3 4