PDA

View Full Version : Problem with Vobsub, flipped video, etc.


TEB
13th June 2003, 15:54
Hi i have a few questions regarding avisynth scripting:
Using:
avisynth 2.5.2
nic's mpeg2dec3 1.08
VSFilter 2.25:

heres my script:

#loading plugins
LoadPlugin("c:\program files\avisynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("c:\program files\avisynth 2.5\plugins\VSFilter.dll")

#AddBorders(0, 0, 64, 64)

VobSub("G:\dvdrip\LOTR_THE_FELLOWSHIP_OF_THE_RING\VIDEO_TS\VTS_01_0.sub")

video = MPEG2Source("G:\dvdrip\LOTR_THE_FELLOWSHIP_OF_THE_RING\VIDEO_TS\lotr.d2v", idct=5)
audio = WavSource("G:\dvdrip\lotr.wav")

AudioDub(video, audio)
#.---------------------

Im getting a bad argument for vobsub...?
And why is the picture updown in classic mediaplayer when i view the file (remmed out sub's)?

Anyone have any suggestion how to letterbox an anamorphic videosource inside of avisynth? i want to keep the 720x576 origional frame but with a more "right" perspective since the STB im gonna test this on doesnt support auto letterboxing..

I would really apriciate if anyone would respond.

Best regards t.e

Wilbert
13th June 2003, 16:01
because vobsub needs a videoclip...

video = MPEG2Source("G:\dvdrip\LOTR_THE_FELLOWSHIP_OF_THE_RING\VIDEO_TS\lotr.d2v", idct=5)
audio = WavSource("G:\dvdrip\lotr.wav")
audiodub(video,audio)
VobSub("G:\dvdrip\LOTR_THE_FELLOWSHIP_OF_THE_RING\VIDEO_TS\VTS_01_0.sub")

btw, is it only in mpc flipped? What about WMP6.4?

TEB
13th June 2003, 16:09
Thx i moved it down and it works like a charm, tho i still get a flipped picture (updown) and flipped sideways also both in mplayer2 and classic mplayer from gabest...

No idea whats happening..

bilu
13th June 2003, 16:25
How are you watching the video?

- Previewing the AVS script in a media player?
- Watching after encoding?

If the last one, check your Dshow filters. Both FFDshow and Dvobsub have flipping options.


Bilu

TEB
13th June 2003, 16:26
1st one.. im previewing the .avs script
before i start the encode in proenc

best regards te

TEB
13th June 2003, 18:16
ok i got it to work now:

i used the following line:

video = MPEG2Source("G:\dvdrip\LOTR_THE_FELLOWSHIP_OF_THE_RING\VIDEO_TS\lotr.d2v", idct=2).crop(0,80,0,-80).LanczosResize(720,320).Addborders(0, 128, 0, 128)

Is this the recommended way of getting the right AR in a 4:3 window outa 2:35 source? (was a pal D1 source origionally)

Regarding the upsidedown window in .avs preview mode it is correct whenever i use any of those filters (LanczosResize, Addborders ...)
DOes this have anything to say with colourspace convertions? Does it do any convertion without telling me ? :)

edit: Ive added .info on all the stages and verified that all steps are fully yv12. And since im going from mpeg2 -> mpeg2 afaik thats the best way to do it..

But im curious about whats the best process regarding interlacing. The target file is supposed to be a mpeg2 interlaced source since its meant to be seen on tv from a STB. How do i keep frames interlaced all the way through this avisynth process? or is that the default?
I can see on .info that it says that its not fieldbased, tho Procoder says on input lower field first, maybe im mixing stuff here.. me=newb:)
It seems like the fonts/bitmaps on the subs are somewhat blurred out.

best te