• Most new users don't bother reading our rules. Here's the one that is ignored almost immediately upon signup: DO NOT ASK FOR FANEDIT LINKS PUBLICLY. First, read the FAQ. Seriously. What you want is there. You can also send a message to the editor. If that doesn't work THEN post in the Trade & Request forum. Anywhere else and it will be deleted and an infraction will be issued.
  • If this is your first time here please read our FAQ and Rules pages. They have some useful information that will get us all off on the right foot, especially our Own the Source rule. If you do not understand any of these rules send a private message to one of our staff for further details.
  • Please read our Rules & Guidelines

    Read BEFORE posting Trades & Request

TMPEG Express encoding my video upside down

Aztek463

Well-known member
Faneditor
Cover Artist
Messages
1,627
Reaction score
2
Trophy Points
51
I'm attempting to edit a home movie for a friend. The video needs to be de-interlaced, and TMPEG Express is trying to encode it upside down.

Here's my AviSynth Script, see if you gusy can spot some errors (this is being encoded in 4:3 as per the source material):

Code:
# Created with Gordian Knot
#
# [url]http://gknot.doom9.org[/url]

#  PLUGINS
LoadPlugin("L:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\decomb.dll")
#LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\KernelDeInt.dll")
LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
#LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\dgbob.dll")
#LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\Convolution3d.dll")
#LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\FluxSmooth.dll")
#LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\TomsMoComp.dll")
#LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\VSFilter.dll")
#LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\SimpleResize.dll")

#  SOURCE
mpeg2source("C:\Grindhouse Restored Theatrical Cut\Beowulf Test\Home Movie Edit\VTS_01_1 - 0xE0 - Video - MPEG-2 - 720x480 (NTSC) - 4~3.d2v")

#  TRIM
#trim(startframe,endframe)

#  IVTC
Telecide(order=1,guide=1).Decimate()
#  or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)

#  DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)

#  DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
#  or maybe
#DGBob(order=1,mode=0)

#  DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()

#  CROPPING
crop(0,0,720,480)

#  SUBTITLES
#VobSub("FileName")

#  RESIZING
LanczosResize(720,480)

#  DENOISING: choose one combination (or none)
Undot()

#  1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmoothST(5,7)

#  2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq") 
#FluxSmoothST(7,7)

#  3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq") 
#FluxSmoothST(10,15)

#  BORDERS
#AddBorders(left,top,right,bottom)

#  COMPRESSIBILITY CHECK
#  !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)

#  FOOL CCEnc
#empty = BlankClip()
#AudioDub(last,empty)

Any help would be much appreciated. :)
 
Did you turn on the flux capacitor? Man, all that avisynth stuff is G(r)eek to me.
 
It's not like I wrote out that whole script by hand. All I did was uncomment a few lines and stuff. :p
 
Yeah, well, it's still foreign to me. I wish there was some sort of an idiot's guide to avisynth.
 
Try using another method of deinterlacing. There are various ones. And yours might not be appropriate for your source video. To find out if tmpg xpress is causing the problem load the avs script into virtualdub and put out a little section in xvid avi. If the image is still turned around, you know that avisynth is causing that.
 
Tested in VDub, and it's definitely TMPEG that's causing it.
 
No clue. I'm very green. And I've forgotton half of what I did learn. Sure looks harmless, though.

Does Tmpeg Express have settings, or an ini?

Wait--- what? You're cropping it to 720x480, then resizing it to 720x480? I don't get it.


So to simplify it, though... (if I didn't mess up).

# PLUGINS
LoadPlugin("L:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\decomb.dll")
LoadPlugin("L:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")

# SOURCE
mpeg2source("C:\Grindhouse Restored Theatrical Cut\Beowulf Test\Home Movie Edit\VTS_01_1 - 0xE0 - Video - MPEG-2 - 720x480 (NTSC) - 4~3.d2v")

# IVTC
Telecide(order=1,guide=1).Decimate()

# CROPPING
crop(0,0,720,480)

# RESIZING
LanczosResize(720,480)

# DENOISING: choose one combination (or none)
Undot()
 
Back
Top Bottom